com.googlecode.sarasvati.xml
Class XmlExternalArc
java.lang.Object
com.googlecode.sarasvati.xml.XmlExternalArc
- All Implemented Interfaces:
- ExternalArcDefinition, Comparable<XmlExternalArc>
public class XmlExternalArc
- extends Object
- implements ExternalArcDefinition, Comparable<XmlExternalArc>
XmlExternalArc
public XmlExternalArc()
getFrom
public String getFrom()
- Specified by:
getFrom
in interface ExternalArcDefinition
- Returns:
- The name of the node in the external that is the starting point of this arc.
setFrom
public void setFrom(String from)
getExternal
public String getExternal()
- Specified by:
getExternal
in interface ExternalArcDefinition
- Returns:
- If this arc is ending in an external process definition, the name of the external this arc is going to,
otherwise null.
setExternal
public void setExternal(String external)
getTo
public String getTo()
- Specified by:
getTo
in interface ExternalArcDefinition
- Returns:
- The name of the node that will be the end point of this arc.
setTo
public void setTo(String to)
getName
public String getName()
- Specified by:
getName
in interface ExternalArcDefinition
- Returns:
- The name of this arc. May be blank or null (the default value).
setName
public void setName(String name)
isToExternal
public boolean isToExternal()
- Specified by:
isToExternal
in interface ExternalArcDefinition
- Returns:
- true if this arc ends in an external process definition, false otherwise.
addToDigest
public void addToDigest(MessageDigest digest)
compareTo
public int compareTo(XmlExternalArc o)
- Specified by:
compareTo
in interface Comparable<XmlExternalArc>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object