|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.graph.property.basic.UuidReference
@Immutable public class UuidReference
A Reference
implementation that uses a single UUID
as the pointer.
Constructor Summary | |
---|---|
UuidReference(UUID uuid)
|
Method Summary | |
---|---|
int |
compareTo(Reference that)
|
boolean |
equals(Object obj)
|
String |
getString()
Get the string form of the Reference. |
String |
getString(TextEncoder encoder)
Get the encoded string form of the Reference, using the supplied encoder to encode characters in the reference. |
UUID |
getUuid()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UuidReference(UUID uuid)
Method Detail |
---|
public UUID getUuid()
public String getString()
default encoder
is used to encode characters in the
reference.
getString
in interface Reference
Reference.getString(TextEncoder)
public String getString(TextEncoder encoder)
getString
in interface Reference
encoder
- the encoder to use, or null if the default encoder
should be used
Reference.getString()
public int compareTo(Reference that)
compareTo
in interface Comparable<Reference>
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |