Class AnnotationElementLiteral
- java.lang.Object
-
- org.processmining.variantfinder.models.annotatedtransitionsystems.impl.AnnotationElementLiteral
-
- All Implemented Interfaces:
AnnotationElement<java.lang.String>
public class AnnotationElementLiteral extends java.lang.Object implements AnnotationElement<java.lang.String>
This class represents literal values. To save space, we store strings only once, and have a cardinality assigned to them- Author:
- abolt
-
-
Constructor Summary
Constructors Constructor Description AnnotationElementLiteral(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(java.lang.String newElement)java.util.List<java.lang.String>getDistinctValues()java.lang.StringgetName()java.util.List<java.lang.String>getValues()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceAnnotationElement<java.lang.String>
-
addValue
public void addValue(java.lang.String newElement)
- Specified by:
addValuein interfaceAnnotationElement<java.lang.String>
-
getValues
public java.util.List<java.lang.String> getValues()
- Specified by:
getValuesin interfaceAnnotationElement<java.lang.String>
-
getDistinctValues
public java.util.List<java.lang.String> getDistinctValues()
- Specified by:
getDistinctValuesin interfaceAnnotationElement<java.lang.String>
-
-