Class Annotation


  • public class Annotation
    extends Object
    This class represents an annotation. The Annotation.AnnotationBuilder should preferably be used to build an annotation. An annotation always needs a name and an annotationObject. Optionally, an annotation can also have a specific name for the value and the arc, that should be used to connect the annotation
    Author:
    Jan Keim
    • Constructor Detail

      • Annotation

        public Annotation​(String name,
                          Object annotationObject)
    • Method Detail

      • getName

        public String getName()
        Returns:
        the name
      • getValueName

        public String getValueName()
        Returns:
        the valueName
      • getAnnotationObject

        public Object getAnnotationObject()
        Returns:
        the annotationObject
      • getArcName

        public String getArcName()
        Returns:
        the valueName
      • setValueName

        public void setValueName​(String valueName)
        Parameters:
        valueName - the valueName to set
      • setArcName

        public void setArcName​(String arcName)
        Parameters:
        arcName - the arcName to set