Package jadex.bpmn.model
Class MAnnotationElement
- java.lang.Object
-
- jadex.bpmn.model.MIdElement
-
- jadex.bpmn.model.MAnnotationElement
-
- Direct Known Subclasses:
MAssociation
,MBpmnModel
,MNamedIdElement
,MProperty
public class MAnnotationElement extends MIdElement
Base class for annotated elements.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List
annotations
The annotations.-
Fields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR
-
-
Constructor Summary
Constructors Constructor Description MAnnotationElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAnnotation(MAnnotation annotation)
Add an annotation.java.util.List
getAnnotations()
Get the annotations.-
Methods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
-
-
-
Method Detail
-
addAnnotation
public void addAnnotation(MAnnotation annotation)
Add an annotation.- Parameters:
annotation
- The annotation.
-
getAnnotations
public java.util.List getAnnotations()
Get the annotations.- Returns:
- The annotations.
-
-