Package edu.isi.pegasus.planner.dax
Class Edge
- java.lang.Object
-
- edu.isi.pegasus.planner.dax.Edge
-
public class Edge extends java.lang.Object
- Version:
- $Revision: 3009 $
- Author:
- gmehta
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Edge
clone()
boolean
equals(java.lang.Object o)
java.lang.String
getChild()
java.lang.String
getLabel()
java.lang.String
getParent()
int
hashCode()
void
setChild(java.lang.String child)
void
setLabel(java.lang.String label)
void
setParent(java.lang.String parent)
java.lang.String
toString()
void
toXML(edu.isi.pegasus.common.util.XMLWriter writer)
void
toXML(edu.isi.pegasus.common.util.XMLWriter writer, int indent)
void
toXMLParent(edu.isi.pegasus.common.util.XMLWriter writer)
void
toXMLParent(edu.isi.pegasus.common.util.XMLWriter writer, int indent)
-
-
-
Constructor Detail
-
Edge
public Edge(java.lang.String parent, java.lang.String child)
- Parameters:
parent
- parent idchild
- child id
-
Edge
public Edge(Edge e)
-
Edge
public Edge(java.lang.String parent, java.lang.String child, java.lang.String label)
- Parameters:
parent
- parent idchild
- child idlabel
- the edge label
-
-
Method Detail
-
getParent
public java.lang.String getParent()
- Returns:
- the parent
-
setParent
public void setParent(java.lang.String parent)
- Parameters:
parent
- the parent of the edge to set
-
getChild
public java.lang.String getChild()
- Returns:
- the child of the edge
-
setChild
public void setChild(java.lang.String child)
- Parameters:
child
- the child of the edge to set
-
getLabel
public java.lang.String getLabel()
- Returns:
- the label
-
setLabel
public void setLabel(java.lang.String label)
- Parameters:
label
- the label to set
-
clone
public Edge clone()
- Overrides:
clone
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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)
-
-