|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthelma.objectmodel.db.SyntheticKey
public final class SyntheticKey
This is the internal key for an object that is not - or not directly - fetched from a db, but derived from another object. This is useful for all kinds of object accessed via a symbolic name from another object, like objects mounted via a property name column, virtual nodes and groupby nodes.
Constructor Summary | |
---|---|
SyntheticKey(Key key,
java.lang.String name)
make a key for a persistent Object, describing its datasource and id. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object what)
|
java.lang.String |
getID()
Get the key's ID part |
Key |
getParentKey()
Get the key's parent key |
java.lang.String |
getStorageName()
Get the key's storage id |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SyntheticKey(Key key, java.lang.String name)
Method Detail |
---|
public boolean equals(java.lang.Object what)
equals
in class java.lang.Object
what
- ...
public int hashCode()
hashCode
in class java.lang.Object
public Key getParentKey()
Key
getParentKey
in interface Key
public java.lang.String getID()
Key
getID
in interface Key
public java.lang.String getStorageName()
Key
getStorageName
in interface Key
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |