|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.DatabaseKeyRef
public class DatabaseKeyRef
This class is used to store the relationship between a child and a parent. This allows for correctly constructing database foreign keys
Constructor Summary | |
---|---|
DatabaseKeyRef(String parentKey,
String childKey)
The Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Check if one DatabaseKeyRef equals another DatabaseKeyRef. |
String |
getChildKeyName()
Returns the name of the key at the child's end. |
String |
getParentKeyName()
Returns the name of the key at the parent's end. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseKeyRef(String parentKey, String childKey)
parentKey
- The value in the parentchildKey
- the value in the childMethod Detail |
---|
public String getChildKeyName()
public String getParentKeyName()
public boolean equals(Object obj)
equals
in class Object
obj
- The object to compare
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |