|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that defines the basic notion of holding a reference to a Persistable
object. The form of the reference is defined via a QueryKey
.
Supported API: true
Extendable: true
Field Summary | |
static String |
KEY
Label for the attribute. |
static String |
OBJECT
Label for the attribute. |
Method Summary | |
boolean |
equals(Object obj)
Tests if two references refer to the same object. |
QueryKey |
getKey()
Gets the object for the association that plays role: KEY. |
Persistable |
getObject()
Gets the object for the association that plays role: OBJECT. |
Class |
getReferencedClass()
Returns the class that this reference refers to. |
int |
hashCode()
Supported API: false |
boolean |
references(Persistable obj)
Tests if this reference refers to the Persistable object passed in. |
void |
refresh()
Retreives the referenced object from the database Supported API: false |
void |
setKey(QueryKey a_Key)
Sets the object for the association that plays role: KEY. |
Methods inherited from interface wt.fc.ObjectMappable |
readExternal, writeExternal |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Field Detail |
public static final String OBJECT
public static final String KEY
Method Detail |
public Persistable getObject() throws WTRuntimeException
WTRuntimeException
public QueryKey getKey()
public void setKey(QueryKey a_Key)
a_Key
- public boolean equals(Object obj)
obj
-
public int hashCode()
public void refresh() throws WTException
WTException
public boolean references(Persistable obj)
obj
-
public Class getReferencedClass()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |