public class MAnnotationElement extends MIdElement
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
annotations
The annotations.
|
id, ID_GENERATOR
Constructor and Description |
---|
MAnnotationElement() |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(MAnnotation annotation)
Add an annotation.
|
java.util.List |
getAnnotations()
Get the annotations.
|
equals, getId, hashCode, setId
public void addAnnotation(MAnnotation annotation)
annotation
- The annotation.public java.util.List getAnnotations()