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 Details

    • type

      protected String type
      The type.
    • source

      protected String source
      The source.
    • details

      protected List details
      The details.
  • Constructor Details

    • MAnnotation

      public MAnnotation()
  • Method Details

    • getType

      public String getType()
      Get the type.
      Returns:
      The type.
    • setType

      public void setType(String type)
      Set the type.
      Parameters:
      type - The type to set.
    • getSource

      public String getSource()
      Get the source.
      Returns:
      The source.
    • setSource

      public void setSource(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 List getDetails()
      Get the details.
      Returns:
      The details.