|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.state.NodeReferencesId
Identifies a NodeReferences
object.
Constructor Summary | |
NodeReferencesId(NodeId targetId)
Creates a new instance of this class. |
|
NodeReferencesId(UUID uuid)
Creates a new instance of this class. |
Method Summary | |
boolean |
equals(Object obj)
|
NodeId |
getTargetId()
Returns the id of the target node. |
int |
hashCode()
Returns the same as this.getTargetId().hashCode() . |
String |
toString()
Returns the same as this.getTargetId().toString() . |
static NodeReferencesId |
valueOf(String s)
Returns a NodeReferencesId holding the value of the specified
string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NodeReferencesId(UUID uuid)
uuid
- uuid of target node
IllegalArgumentException
- if uuid
is null
.public NodeReferencesId(NodeId targetId)
targetId
- id of target node
IllegalArgumentException
- if targetId
is null
.Method Detail |
public NodeId getTargetId()
public static NodeReferencesId valueOf(String s) throws IllegalArgumentException
NodeReferencesId
holding the value of the specified
string. The string must be in the format returned by the
NodeReferencesId.toString()
method.
s
- a String
containing the NodeReferencesId
representation to be parsed.
NodeReferencesId
represented by the argument
IllegalArgumentException
- if the specified string can not be parsed
as a NodeReferencesId
.toString()
public String toString()
this.getTargetId().toString()
.
this.getTargetId().toString()
.public int hashCode()
this.getTargetId().hashCode()
.
this.getTargetId().hashCode()
.public boolean equals(Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |