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 SummaryFields Modifier and Type Field Description protected java.util.ListdetailsThe details.protected java.lang.StringsourceThe source.protected java.lang.StringtypeThe type.- 
Fields inherited from class jadex.bpmn.model.MIdElementid, ID_GENERATOR
 
- 
 - 
Constructor SummaryConstructors Constructor Description MAnnotation()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDetail(MAnnotationDetail detail)Add a detail.java.util.ListgetDetails()Get the details.java.lang.StringgetSource()Get the source.java.lang.StringgetType()Get the type.voidremoveDetail(MAnnotationDetail detail)Remove a detail.voidsetSource(java.lang.String source)Set the source.voidsetType(java.lang.String type)Set the type.- 
Methods inherited from class jadex.bpmn.model.MIdElementequals, getId, hashCode, setId
 
- 
 
- 
- 
- 
Method Detail- 
getTypepublic java.lang.String getType() Get the type.- Returns:
- The type.
 
 - 
setTypepublic void setType(java.lang.String type) Set the type.- Parameters:
- type- The type to set.
 
 - 
getSourcepublic java.lang.String getSource() Get the source.- Returns:
- The source.
 
 - 
setSourcepublic void setSource(java.lang.String source) Set the source.- Parameters:
- source- The source to set.
 
 - 
addDetailpublic void addDetail(MAnnotationDetail detail) Add a detail.- Parameters:
- detail- The detail.
 
 - 
removeDetailpublic void removeDetail(MAnnotationDetail detail) Remove a detail.- Parameters:
- detail- The detail.
 
 - 
getDetailspublic java.util.List getDetails() Get the details.- Returns:
- The details.
 
 
- 
 
-