jadex.bpmn.model.MAnnotationElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-model-bpmn Show documentation
Show all versions of jadex-model-bpmn Show documentation
Business Process Model and Notation (BPMN) implementation.
The newest version!
package jadex.bpmn.model;
import java.util.ArrayList;
import java.util.List;
/**
* Base class for annotated elements.
*/
public class MAnnotationElement extends MIdElement
{
//-------- attributes --------
/** The annotations. */
protected List annotations;
//-------- methods --------
/**
* Add an annotation.
* @param annotation The annotation.
*/
public void addAnnotation(MAnnotation annotation)
{
if(annotations==null)
annotations = new ArrayList();
annotations.add(annotation);
}
/**
* Get the annotations.
* @return The annotations.
*/
public List getAnnotations()
{
return annotations;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy