|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HighLevelDataAttribute
A data attribute represents a case data attribute that is available to activities
in the process (i.e., they can read it and provide new values).
Each data attribute has
HighLevelProcess.addDataAttribute(HighLevelDataAttribute)
,
HighLevelActivity.addDataAttribute(HighLevelDataAttribute)
Nested Class Summary | |
---|---|
static class |
HighLevelDataAttribute.AttributeType
Defines an enumeration type for a data attribute. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines when two highLevelDataAttributes are the same. |
java.lang.String |
getInitialValueNominal()
Retrieves the initial value for the associated data attribute. |
int |
getInitialValueNumeric()
Retrieves the initial value for the associated data attribute. |
java.lang.String |
getName()
Retrieves the name of this data attribute |
java.util.List<java.lang.String> |
getPossibleValuesNominal()
Retrieves the possible values for the associated data attribute in the case that it is of a nominal type. |
Distribution |
getPossibleValuesNumeric()
Retrieves the possible values for the associated data attribute in the case that it is of a numeric type. |
HighLevelDataAttribute.AttributeType |
getType()
Retrieves the attribute type for this data attribute. |
int |
hashCode()
Returns the hashcode for a HighLevelDataAttribute object. |
void |
writeDistributionToDot(java.lang.String boxId,
java.lang.String nodeId,
java.lang.String addText,
java.io.Writer bw)
Writes the highlevel data attribute to dot. |
Method Detail |
---|
java.lang.String getName()
HighLevelDataAttribute.AttributeType getType()
java.lang.String getInitialValueNominal()
int getInitialValueNumeric()
java.util.List<java.lang.String> getPossibleValuesNominal()
Distribution getPossibleValuesNumeric()
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object object to be compared for equality with this HighLevelDataAttribute
int hashCode()
hashCode
in class java.lang.Object
void writeDistributionToDot(java.lang.String boxId, java.lang.String nodeId, java.lang.String addText, java.io.Writer bw) throws java.io.IOException
boxId
- the identifier of the box (in the DOT file) in which the relevant information of the highlevel data attribute
will be written.nodeId
- the identifier of the node (in the DOT file) to which the box that will be created has to be connected.
""
has to be provided if the box that will be created does not need to be connected to another node in the DOT file.addText
- additional text that needs to be filled in at the beginning of the boxbw
- Writer the BufferedWriter used to stream the data to the file
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |