Package jadex.bpmn.model
Class MAnnotation
- java.lang.Object
-
- jadex.bpmn.model.MIdElement
-
- jadex.bpmn.model.MAnnotation
-
public class MAnnotation extends MIdElement
An annotation serves for storing extra information about the model. It saves this information in annotation details.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List
details
The details.protected java.lang.String
source
The source.protected java.lang.String
type
The type.-
Fields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR
-
-
Constructor Summary
Constructors Constructor Description MAnnotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDetail(MAnnotationDetail detail)
Add a detail.java.util.List
getDetails()
Get the details.java.lang.String
getSource()
Get the source.java.lang.String
getType()
Get the type.void
removeDetail(MAnnotationDetail detail)
Remove a detail.void
setSource(java.lang.String source)
Set the source.void
setType(java.lang.String type)
Set the type.-
Methods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
-
-
-
Method Detail
-
getType
public java.lang.String getType()
Get the type.- Returns:
- The type.
-
setType
public void setType(java.lang.String type)
Set the type.- Parameters:
type
- The type to set.
-
getSource
public java.lang.String getSource()
Get the source.- Returns:
- The source.
-
setSource
public void setSource(java.lang.String source)
Set the source.- Parameters:
source
- The source to set.
-
addDetail
public void addDetail(MAnnotationDetail detail)
Add a detail.- Parameters:
detail
- The detail.
-
removeDetail
public void removeDetail(MAnnotationDetail detail)
Remove a detail.- Parameters:
detail
- The detail.
-
getDetails
public java.util.List getDetails()
Get the details.- Returns:
- The details.
-
-