public class SetValueNode extends ValueNode
Modifier and Type | Field and Description |
---|---|
static int |
MODEL_REFERENCE_SET
It is a concept
|
static int |
SET
It is a set
|
static int |
VALUE
It is an attribute of this ate.
|
Constructor and Description |
---|
SetValueNode(int type) |
SetValueNode(int type,
OntologyCollection ontologies) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asParseableDefaultValue() |
java.util.Set<java.lang.String> |
getModelReferencesInLog() |
java.util.List<java.lang.String> |
getModelReferencesInOntology() |
java.util.TreeSet |
getSet() |
int |
getType() |
Attribute |
getValue() |
boolean |
hasInstanceOf(java.util.List<java.lang.String> refs) |
boolean |
in(java.lang.String name)
Is a string in this set?
|
void |
setModelReferenceSet(java.util.List<java.lang.String> modelReferencesInOntology) |
void |
setSet(java.util.TreeSet set)
Set the set.
|
void |
setValue(SetAttribute val)
Set the value.
|
java.lang.String |
toString() |
java.lang.String |
value(org.deckfour.xes.model.XTrace pi,
java.util.LinkedList ates,
int ateNr)
Compute the value of this node, either getting the string representation
fo the attribute or giving the literal.
|
public static final int VALUE
public static final int MODEL_REFERENCE_SET
public static final int SET
public SetValueNode(int type)
public SetValueNode(int type, OntologyCollection ontologies)
public void setValue(SetAttribute val)
val
- The value to set.public void setSet(java.util.TreeSet set)
set
- The set to set.public java.util.TreeSet getSet()
public void setModelReferenceSet(java.util.List<java.lang.String> modelReferencesInOntology)
public boolean in(java.lang.String name)
name
- String to test.public java.lang.String value(org.deckfour.xes.model.XTrace pi, java.util.LinkedList ates, int ateNr) throws AttributeNoValueException, ParseAttributeException
pi
- The current process instance.ate
- The current audit trail entry of this pi.AttributeNoValueException
ParseAttributeException
public int getType()
public java.util.List<java.lang.String> getModelReferencesInOntology()
public java.util.Set<java.lang.String> getModelReferencesInLog()
public boolean hasInstanceOf(java.util.List<java.lang.String> refs)
public java.lang.String asParseableDefaultValue()
asParseableDefaultValue
in class ValueNode
public Attribute getValue()