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 List
The details.protected String
The source.protected String
The type.Fields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDetail
(MAnnotationDetail detail) Add a detail.Get the details.Get the source.getType()
Get the type.void
removeDetail
(MAnnotationDetail detail) Remove a detail.void
Set the source.void
Set 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.
-