xflow.common
Class Destination

java.lang.Object
  extended byxflow.common.Destination
All Implemented Interfaces:
java.io.Serializable

public class Destination
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 Node node
           
 java.lang.String rule
           
 
Constructor Summary
Destination(Node n, java.lang.String r)
          Constructor
 
Method Summary
 Node getNode()
          Gets a destination's node
 java.lang.String getRule()
          Gets a destination's rule
 void setNode(Node n)
          Sets a destination's node
 void setRule(java.lang.String rule)
          Sets a destination's rule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

public Node node

rule

public java.lang.String rule
Constructor Detail

Destination

public Destination(Node n,
                   java.lang.String r)
Constructor

Parameters:
n - the destination node
r - the destination rule - optional - may be null
Method Detail

setNode

public void setNode(Node n)
Sets a destination's node

Parameters:
n - the destination node

getNode

public Node getNode()
Gets a destination's node

Returns:
the destination's node

setRule

public void setRule(java.lang.String rule)
Sets a destination's rule

Parameters:
rule - the destination rule

getRule

public java.lang.String getRule()
Gets a destination's rule

Returns:
the destination's rule