Class AnnotationImpl
- java.lang.Object
-
- org.processmining.variantfinder.models.annotatedtransitionsystems.impl.AnnotationImpl
-
- All Implemented Interfaces:
Annotation
public class AnnotationImpl extends java.lang.Object implements Annotation
-
-
Constructor Summary
Constructors Constructor Description AnnotationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddElement(AnnotationElement<?> element)Add an annotation element (e.g., frequency annotation, elapsed time) The element should provide its own name (to be stored here)booleancontainsElement(java.lang.String elementName)AnnotationElement<?>getElement(java.lang.String elementName)java.util.Set<java.lang.String>getElementNames()
-
-
-
Method Detail
-
addElement
public void addElement(AnnotationElement<?> element)
Description copied from interface:AnnotationAdd an annotation element (e.g., frequency annotation, elapsed time) The element should provide its own name (to be stored here)- Specified by:
addElementin interfaceAnnotation
-
getElementNames
public java.util.Set<java.lang.String> getElementNames()
- Specified by:
getElementNamesin interfaceAnnotation- Returns:
- the names of the annotation elements stored in this annotation wrapper
-
containsElement
public boolean containsElement(java.lang.String elementName)
- Specified by:
containsElementin interfaceAnnotation- Returns:
- true if it contains an annotation element with that name
-
getElement
public AnnotationElement<?> getElement(java.lang.String elementName)
- Specified by:
getElementin interfaceAnnotation- Returns:
- the annotation element
-
-