public class PortableESPK extends java.lang.Object implements ESPK, java.lang.Comparable<PortableESPK>, com.vordel.common.Dictionary
Modifier and Type | Class and Description |
---|---|
protected static class |
PortableESPK.KeyNode |
static class |
PortableESPK.NVPair |
Modifier and Type | Field and Description |
---|---|
protected static PortableESPK.KeyNode |
NULL_KEY_NODE |
static PortableESPK |
ROOT_KEY |
protected static PortableESPK.KeyNode |
ROOT_KEY_NODE |
protected PortableESPK.KeyNode |
topNode |
Modifier | Constructor and Description |
---|---|
protected |
PortableESPK(PortableESPK.KeyNode node) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PortableESPK o) |
boolean |
equals(java.lang.Object other)
Although the Object class in java guarantees the equals
method, capture it here for completeness
|
java.lang.Object |
get(java.lang.String key) |
java.lang.String |
getEntityKeyString() |
java.lang.String |
getFieldValueOfReferencedEntity(java.lang.String field) |
java.util.List<PortableESPK.NVPair> |
getFieldValuesOfReferencedEntity() |
PortableESPK |
getParentPK() |
java.lang.String |
getTypeNameOfReferencedEntity() |
int |
hashCode()
Although the Object class in java guarantees the hashCode
method, capture it here for completeness
|
PortableESPK |
reroot(PortableESPK newPPK) |
void |
serialize(java.io.Writer w) |
java.lang.String |
terse() |
static PortableESPK |
toPortableKey(EntityStore es,
ESPK pk) |
java.lang.String |
toShorthandString() |
java.lang.String |
toString()
Retrieve a string representation of the key.
|
protected static final PortableESPK.KeyNode ROOT_KEY_NODE
protected static final PortableESPK.KeyNode NULL_KEY_NODE
public static final PortableESPK ROOT_KEY
protected PortableESPK.KeyNode topNode
protected PortableESPK(PortableESPK.KeyNode node)
public java.lang.String getTypeNameOfReferencedEntity()
public java.util.List<PortableESPK.NVPair> getFieldValuesOfReferencedEntity()
public java.lang.String getFieldValueOfReferencedEntity(java.lang.String field)
public int hashCode()
ESPK
public boolean equals(java.lang.Object other)
ESPK
public java.lang.String toShorthandString()
public java.lang.String getEntityKeyString()
public java.lang.String terse()
public PortableESPK getParentPK()
public void serialize(java.io.Writer w) throws java.io.IOException
java.io.IOException
public int compareTo(PortableESPK o)
compareTo
in interface java.lang.Comparable<PortableESPK>
public java.lang.String toString()
ESPK
public java.lang.Object get(java.lang.String key)
get
in interface com.vordel.common.Dictionary
public static PortableESPK toPortableKey(EntityStore es, ESPK pk)
public PortableESPK reroot(PortableESPK newPPK)
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel