|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.state.NodeReferencesId
public class 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(java.lang.Object obj)
|
NodeId |
getTargetId()
Returns the id of the target node. |
int |
hashCode()
Returns the same as this.getTargetId().hashCode(). |
java.lang.String |
toString()
Returns the same as this.getTargetId().toString(). |
static NodeReferencesId |
valueOf(java.lang.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
java.lang.IllegalArgumentException - if uuid is null.public NodeReferencesId(NodeId targetId)
targetId - id of target node
java.lang.IllegalArgumentException - if targetId is null.| Method Detail |
|---|
public NodeId getTargetId()
public static NodeReferencesId valueOf(java.lang.String s)
throws java.lang.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
java.lang.IllegalArgumentException - if the specified string can not be parsed
as a NodeReferencesId.toString()public java.lang.String toString()
this.getTargetId().toString().
toString in class java.lang.Objectthis.getTargetId().toString().public int hashCode()
this.getTargetId().hashCode().
hashCode in class java.lang.Objectthis.getTargetId().hashCode().public boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||