Package jadex.bpmn.model
Class MAnnotation
java.lang.Object
jadex.bpmn.model.MIdElement
jadex.bpmn.model.MAnnotation
An annotation serves for storing extra information about the model.
It saves this information in annotation details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ListThe details.protected StringThe source.protected StringThe type.Fields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDetail(MAnnotationDetail detail) Add a detail.Get the details.Get the source.getType()Get the type.voidremoveDetail(MAnnotationDetail detail) Remove a detail.voidSet the source.voidSet the type.Methods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
Field Details
-
type
The type. -
source
The source. -
details
The details.
-
-
Constructor Details
-
MAnnotation
public MAnnotation()
-
-
Method Details
-
getType
Get the type.- Returns:
- The type.
-
setType
Set the type.- Parameters:
type- The type to set.
-
getSource
Get the source.- Returns:
- The source.
-
setSource
Set the source.- Parameters:
source- The source to set.
-
addDetail
Add a detail.- Parameters:
detail- The detail.
-
removeDetail
Remove a detail.- Parameters:
detail- The detail.
-
getDetails
Get the details.- Returns:
- The details.
-