|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.classes.Data
edu.isi.pegasus.planner.classes.PCRelation
public class PCRelation
Captures the parent child relationship between the jobs in the ADAG.
| Field Summary | |
|---|---|
String |
child
the child making up the parent child relationship pair in a dag |
boolean |
isDeleted
this is used for collapsing the dag during the reduction algorithm on the basis of the results returned from the Replica Catalog. |
private String |
mAbstractChildID
The abstract id for the child node. |
private String |
mAbstractParentID
The abstract id for the parent node. |
String |
parent
the parent making up the parent child relationship pair in a dag |
| Fields inherited from class edu.isi.pegasus.planner.classes.Data |
|---|
mLogger, mLogMsg |
| Constructor Summary | |
|---|---|
PCRelation()
the default constructor |
|
PCRelation(String parentName,
String childName)
the overloaded constructor |
|
PCRelation(String parentName,
String childName,
boolean deleted)
the overloaded constructor |
|
| Method Summary | |
|---|---|
Object |
clone()
returns a new copy of the Object |
int |
compareTo(Object o)
|
boolean |
equals(Object o)
Checks if an object is similar to the one referred to by this class. |
String |
getAbstractChildID()
Returns the abstract child id associated with the edge. |
String |
getAbstractParentID()
Returns the abstract parent id associated with the edge. |
String |
getChild()
Returns the child in the edge. |
String |
getParent()
Returns the parent in the edge. |
void |
setAbstractChildID(String id)
Sets the abstract child id associated with the edge. |
void |
setAbstractParentID(String id)
Sets the abstract parent id associated with the edge. |
void |
setChild(String childNode)
Sets the child of the edge. |
void |
setParent(String parentNode)
Sets the parent of the edge. |
String |
toDOT()
Returns the DOT description of the object. |
void |
toDOT(Writer stream,
String indent)
Returns the DOT description of the object. |
String |
toString()
Returns the textual description. |
| Methods inherited from class edu.isi.pegasus.planner.classes.Data |
|---|
setToString, vectorToString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String parent
public String child
public boolean isDeleted
private String mAbstractParentID
private String mAbstractChildID
| Constructor Detail |
|---|
public PCRelation()
public PCRelation(String parentName,
String childName,
boolean deleted)
public PCRelation(String parentName,
String childName)
| Method Detail |
|---|
public String getParent()
public String getChild()
public void setAbstractParentID(String id)
id - the abstract idpublic void setAbstractChildID(String id)
id - the abstract idpublic String getAbstractParentID()
public String getAbstractChildID()
public Object clone()
clone in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int compareTo(Object o)
public String toString()
toString in class Data
public String toDOT()
throws IOException
IOException - if something fishy happens to the stream.
public void toDOT(Writer stream,
String indent)
throws IOException
stream - is a stream opened and ready for writing. This can also
be a StringWriter for efficient output.indent - is a String of spaces used for pretty
printing. The initial amount of spaces should be an empty
string. The parameter is used internally for the recursive
traversal.
IOException - if something fishy happens to the stream.public void setChild(String childNode)
childNode - the child nodepublic void setParent(String parentNode)
parentNode - the parent node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||