Package io.lionweb.model.impl
Class DynamicAnnotationInstance
java.lang.Object
io.lionweb.model.impl.AbstractClassifierInstance<T>
io.lionweb.model.impl.DynamicClassifierInstance<Annotation>
io.lionweb.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.model.impl.DynamicClassifierInstance
containmentValues, id, propertyValues, referenceValuesFields inherited from class io.lionweb.model.impl.AbstractClassifierInstance
annotations -
Constructor Summary
ConstructorsConstructorDescriptionDynamicAnnotationInstance(String id, Annotation annotation) DynamicAnnotationInstance(String id, Annotation annotation, ClassifierInstance<?> annotated) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe immediate parent of the Node.inthashCode()voidsetAnnotated(ClassifierInstance<?> annotated) voidsetAnnotation(Annotation annotation) toString()Methods inherited from class io.lionweb.model.impl.DynamicClassifierInstance
addChild, addReferenceValue, getChildren, getID, getPropertyValue, getReferenceValues, removeChild, removeChild, removeReferenceValue, removeReferenceValue, setID, setPropertyValue, setReferenceValuesMethods inherited from class io.lionweb.model.impl.AbstractClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.lionweb.model.AnnotationInstance
getClassifierMethods inherited from interface io.lionweb.model.ClassifierInstance
addAnnotation, getAnnotations, getAnnotations, getID, removeAnnotationMethods inherited from interface io.lionweb.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:
getAnnotationDefinitionin interfaceAnnotationInstance
-
getParent
Description copied from interface:ClassifierInstanceThe immediate parent of the Node. This should be null only for root nodes.- Specified by:
getParentin interfaceClassifierInstance<Annotation>
-
toString
-