org.processmining.framework.models.hlprocess
Interface HighLevelDataDependency

All Known Implementing Classes:
HLDataDependency

public interface HighLevelDataDependency

Represents a data dependency, which is a constraint on chosing the corresponding alternative path at a decision point in the process.

Author:
arozinat, rmans

Method Summary
 boolean equals(java.lang.Object obj)
          Determines when two HighLevelDataDependencies are the same.
 java.lang.String getExpression()
          Retrieves the expression representing the constraint specified for chosing the represented alternative path.
 ModelGraphVertex getSourceNode()
          Retrieves the source node of the data dependency, i.e., the choice node representing the decision point.
 ModelGraphVertex getTargetNode()
          Retrieves the target node of the data dependency, i.e., the first task or router node on the corresponding alternative path.
 int hashCode()
          Returns the hashcode for a HighLevelDataDependency object.
 void setExpression(java.lang.String expression)
          Sets the expression representing the constraint for chosing the alternative path for this dependency (between two nodes)
 void setSourceNode(ModelGraphVertex source)
          Assigns the starting point of the data dependency, i.e., the choice node representing the decision point.
 void setTargetNode(ModelGraphVertex target)
          Assigns the end point of the data dependency, i.e., the first task or router node on the corresponding alternative path.
 

Method Detail

setExpression

void setExpression(java.lang.String expression)
Sets the expression representing the constraint for chosing the alternative path for this dependency (between two nodes)

Parameters:
expression - String the expression for this dependency

getExpression

java.lang.String getExpression()
Retrieves the expression representing the constraint specified for chosing the represented alternative path.

Returns:
the dependency expression

getSourceNode

ModelGraphVertex getSourceNode()
Retrieves the source node of the data dependency, i.e., the choice node representing the decision point.

Returns:
the source node of this data dependency

getTargetNode

ModelGraphVertex getTargetNode()
Retrieves the target node of the data dependency, i.e., the first task or router node on the corresponding alternative path.

Returns:
the target node of this data depencency

setSourceNode

void setSourceNode(ModelGraphVertex source)
Assigns the starting point of the data dependency, i.e., the choice node representing the decision point.

Parameters:
source - the source node to be set

setTargetNode

void setTargetNode(ModelGraphVertex target)
Assigns the end point of the data dependency, i.e., the first task or router node on the corresponding alternative path.

Parameters:
target - the target node to be set

equals

boolean equals(java.lang.Object obj)
Determines when two HighLevelDataDependencies are the same. Two HighLevelDataDependencies are the same when the following items are the same for the two HighLevelDataAttributes:

Overrides:
equals in class java.lang.Object
Parameters:
obj - Object object to be compared for equality with this HighLevelDataDependency
Returns:
boolean true if the specified object is equal to this HighLevelDataDependency with regard to the source and target node and expression. False otherwise.

hashCode

int hashCode()
Returns the hashcode for a HighLevelDataDependency object. The hashcode value for a HighLevelDataDependency object is calculated according to the recipe of Josha Bloch in Effective Java (Addison-Wesley 2001). For this recipe, we have to consider the following items:

Overrides:
hashCode in class java.lang.Object
Returns:
int the hashcode value for this highLevelDataDependency