|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cip4.jdflib.node.NodeIdentifier
public final class NodeIdentifier
class to identify nodes even after parsing, e.g in hashmaps
uses JobID, JobPartID and the partMapVector as identifier
| Constructor Summary | |
|---|---|
NodeIdentifier()
|
|
NodeIdentifier(INodeIdentifiable ni)
creates a NodeIdentifier from a given QueueEntry |
|
NodeIdentifier(String jobID,
String jobPartID,
VJDFAttributeMap partMapVector)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object inObject)
|
NodeIdentifier |
getIdentifier()
formalism so zhat we can use this as a INodeIdentifiable |
String |
getJobID()
|
String |
getJobPartID()
|
VJDFAttributeMap |
getPartMapVector()
|
int |
hashCode()
|
boolean |
matches(Object o)
return true if the nodeIdentifier matches this, i.e. if all parameters match or o has matching wildcards, or o==null |
void |
setIdentifier(NodeIdentifier n)
sets a NodeIdentifier to a given JDF node identifier uses the AncestorPool or NodeInfo or output resource in that sequence to determine the partmap |
void |
setTo(INodeIdentifiable qe)
sets a NodeIdentifier to a given JDF node |
void |
setTo(String jobID,
String jobPartID,
VJDFAttributeMap partMapVector)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeIdentifier(String jobID,
String jobPartID,
VJDFAttributeMap partMapVector)
jobID - jobPartID - partMapVector - public NodeIdentifier()
public NodeIdentifier(INodeIdentifiable ni)
ni - the INodeIdentifiable to set this to| Method Detail |
|---|
public void setTo(String jobID,
String jobPartID,
VJDFAttributeMap partMapVector)
jobID - jobPartID - partMapVector - public void setIdentifier(NodeIdentifier n)
setIdentifier in interface INodeIdentifiablen - public void setTo(INodeIdentifiable qe)
qe - public boolean equals(Object inObject)
equals in class ObjectObject.equals(java.lang.Object)public boolean matches(Object o)
matches in interface IMatcheso - the nodeidentifier that this should matchIMatchespublic int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()public String getJobID()
public String getJobPartID()
public VJDFAttributeMap getPartMapVector()
public NodeIdentifier getIdentifier()
INodeIdentifiable
getIdentifier in interface INodeIdentifiableNodeIdentifier the nodeidentifier that matches thisINodeIdentifiable.getIdentifier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||