Class Edge

java.lang.Object
edu.isi.pegasus.planner.dax.Edge

public class Edge extends Object
Version:
$Revision: 3009 $
Author:
gmehta
  • Field Details

    • mChild

      private String mChild
      The parent of the child
    • mParent

      private String mParent
      The parent of the parent
    • mLabel

      private String mLabel
      The edge label for the parent child relationship. Optional.
  • Constructor Details

    • Edge

      public Edge(String parent, String child)
      Parameters:
      parent - parent id
      child - child id
    • Edge

      public Edge(Edge e)
    • Edge

      public Edge(String parent, String child, String label)
      Parameters:
      parent - parent id
      child - child id
      label - the edge label
  • Method Details

    • getParent

      public String getParent()
      Returns:
      the parent
    • setParent

      public void setParent(String parent)
      Parameters:
      parent - the parent of the edge to set
    • getChild

      public String getChild()
      Returns:
      the child of the edge
    • setChild

      public void setChild(String child)
      Parameters:
      child - the child of the edge to set
    • getLabel

      public String getLabel()
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Parameters:
      label - the label to set
    • clone

      public Edge clone()
      Overrides:
      clone in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class 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)