Class DynamicAnnotationInstance
java.lang.Object
io.lionweb.lioncore.java.model.impl.AbstractClassifierInstance<T>
io.lionweb.lioncore.java.model.impl.DynamicClassifierInstance<Annotation>
io.lionweb.lioncore.java.model.impl.DynamicAnnotationInstance
- All Implemented Interfaces:
AnnotationInstance
,ClassifierInstance<Annotation>
,HasFeatureValues
public class DynamicAnnotationInstance
extends DynamicClassifierInstance<Annotation>
implements AnnotationInstance
-
Field Summary
Fields inherited from class io.lionweb.lioncore.java.model.impl.DynamicClassifierInstance
containmentValues, id, propertyValues, referenceValues
Fields inherited from class io.lionweb.lioncore.java.model.impl.AbstractClassifierInstance
annotations
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicAnnotationInstance
(String id, Annotation annotation) DynamicAnnotationInstance
(String id, Annotation annotation, ClassifierInstance<?> annotated) -
Method Summary
Modifier and TypeMethodDescriptionboolean
The immediate parent of the Node.int
hashCode()
void
setAnnotated
(ClassifierInstance<?> annotated) void
setAnnotation
(Annotation annotation) toString()
Methods inherited from class io.lionweb.lioncore.java.model.impl.DynamicClassifierInstance
addChild, addReferenceValue, getChildren, getID, getPropertyValue, getReferenceValues, removeChild, removeChild, removeReferenceValue, removeReferenceValue, setID, setPropertyValue, setReferenceValues
Methods inherited from class io.lionweb.lioncore.java.model.impl.AbstractClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotation
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.lionweb.lioncore.java.model.AnnotationInstance
getClassifier
Methods inherited from interface io.lionweb.lioncore.java.model.ClassifierInstance
addAnnotation, getAnnotations, getAnnotations, getID, removeAnnotation
Methods inherited from interface io.lionweb.lioncore.java.model.HasFeatureValues
addChild, addReferenceValue, getChildren, getPropertyValue, getReferenceValues, removeChild, removeChild, removeReferenceValue, removeReferenceValue, setPropertyValue, setReferenceValues
-
Constructor Details
-
DynamicAnnotationInstance
-
DynamicAnnotationInstance
-
DynamicAnnotationInstance
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
setAnnotation
-
setAnnotated
-
getAnnotationDefinition
- Specified by:
getAnnotationDefinition
in interfaceAnnotationInstance
-
getParent
Description copied from interface:ClassifierInstance
The immediate parent of the Node. This should be null only for root nodes.- Specified by:
getParent
in interfaceClassifierInstance<Annotation>
-
toString
-