public final class NodeIdentifier extends java.lang.Object implements IMatches, INodeIdentifiable
| Constructor and Description |
|---|
NodeIdentifier() |
NodeIdentifier(INodeIdentifiable ni)
creates a NodeIdentifier from a given QueueEntry
|
NodeIdentifier(java.lang.String jobID,
java.lang.String jobPartID,
VJDFAttributeMap partMapVector) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object inObject) |
NodeIdentifier |
getIdentifier()
formalism so zhat we can use this as a
INodeIdentifiable |
java.lang.String |
getJobID() |
java.lang.String |
getJobPartID() |
VJDFAttributeMap |
getPartMapVector() |
int |
hashCode() |
boolean |
matches(java.lang.Object o)
return true if the nodeIdentifier matches this, i.e.
|
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(java.lang.String jobID,
java.lang.String jobPartID,
VJDFAttributeMap partMapVector) |
java.lang.String |
toString() |
public NodeIdentifier(java.lang.String jobID,
java.lang.String jobPartID,
VJDFAttributeMap partMapVector)
jobID - jobPartID - partMapVector - public NodeIdentifier()
public NodeIdentifier(INodeIdentifiable ni)
ni - the INodeIdentifiable to set this topublic void setTo(java.lang.String jobID,
java.lang.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(java.lang.Object inObject)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public boolean matches(java.lang.Object o)
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getJobID()
public java.lang.String getJobPartID()
public VJDFAttributeMap getPartMapVector()
public NodeIdentifier getIdentifier()
INodeIdentifiablegetIdentifier in interface INodeIdentifiableNodeIdentifier the nodeidentifier that matches thisINodeIdentifiable.getIdentifier()