Package edu.isi.pegasus.planner.dax
Class Edge
java.lang.Object
edu.isi.pegasus.planner.dax.Edge
- Version:
- $Revision: 3009 $
- Author:
- gmehta
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetChild()getLabel()inthashCode()voidvoidvoidtoString()voidtoXML(edu.isi.pegasus.common.util.XMLWriter writer) voidtoXML(edu.isi.pegasus.common.util.XMLWriter writer, int indent) voidtoXMLParent(edu.isi.pegasus.common.util.XMLWriter writer) voidtoXMLParent(edu.isi.pegasus.common.util.XMLWriter writer, int indent)
-
Field Details
-
mChild
The parent of the child -
mParent
The parent of the parent -
mLabel
The edge label for the parent child relationship. Optional.
-
-
Constructor Details
-
Edge
- Parameters:
parent- parent idchild- child id
-
Edge
-
Edge
- Parameters:
parent- parent idchild- child idlabel- the edge label
-
-
Method Details
-
getParent
- Returns:
- the parent
-
setParent
- Parameters:
parent- the parent of the edge to set
-
getChild
- Returns:
- the child of the edge
-
setChild
- Parameters:
child- the child of the edge to set
-
getLabel
- Returns:
- the label
-
setLabel
- Parameters:
label- the label to set
-
clone
-
hashCode
public int hashCode() -
equals
-
toString
-
toXML
public void toXML(edu.isi.pegasus.common.util.XMLWriter writer) -
toXMLParent
public void toXMLParent(edu.isi.pegasus.common.util.XMLWriter writer) -
toXML
public void toXML(edu.isi.pegasus.common.util.XMLWriter writer, int indent) -
toXMLParent
public void toXMLParent(edu.isi.pegasus.common.util.XMLWriter writer, int indent)
-