| java.lang.Object org.griphyn.cPlanner.classes.Data org.griphyn.cPlanner.classes.PCRelation
PCRelation | public class PCRelation extends Data (Code) | | Captures the parent child relationship between the jobs in the ADAG.
author: Karan Vahi version: $Revision: 50 $ |
Field Summary | |
public String | child | public boolean | isDeleted this is used for collapsing the dag
during the reduction algorithm
on the basis of the results returned
from the Replica Catalog. | public String | parent |
child | public String child(Code) | | the child making up the
parent child relationship pair
in a dag
|
isDeleted | public boolean isDeleted(Code) | | this is used for collapsing the dag
during the reduction algorithm
on the basis of the results returned
from the Replica Catalog.
|
parent | public String parent(Code) | | the parent making up the
parent child relationship pair
in a dag
|
PCRelation | public PCRelation()(Code) | | the default constructor
|
PCRelation | public PCRelation(String parentName, String childName, boolean deleted)(Code) | | the overloaded constructor
|
PCRelation | public PCRelation(String parentName, String childName)(Code) | | the overloaded constructor
|
clone | public Object clone()(Code) | | returns a new copy of the
Object
|
equals | public boolean equals(Object o)(Code) | | Checks if an object is similar to the one referred to by this class.
We compare the primary key to determine if it is the same or not.
true if the primary key (parent,child) match.else false. |
getChild | public String getChild()(Code) | | Returns the child in the edge.
child |
getParent | public String getParent()(Code) | | Returns the parent in the edge.
parent |
toDOT | public String toDOT() throws IOException(Code) | | Returns the DOT description of the object. This is used for visualizing
the workflow.
String containing the Partition object in XML. exception: IOException - if something fishy happens to the stream. |
toDOT | public void toDOT(Writer stream, String indent) throws IOException(Code) | | Returns the DOT description of the object. This is used for visualizing
the workflow.
Parameters: stream - is a stream opened and ready for writing. This can alsobe a StringWriter for efficient output. Parameters: indent - is a String of spaces used for prettyprinting. The initial amount of spaces should be an emptystring. The parameter is used internally for the recursivetraversal. exception: IOException - if something fishy happens to the stream. |
toString | public String toString()(Code) | | Returns the textual description.
textual description. |
|
|