wt.fc
Class ObjectReference

java.lang.Object
  extended by wt.fc.ObjectReference
All Implemented Interfaces:
Externalizable, Serializable, NetFactor, ObjectMappable, WTReference, Evolvable
Direct Known Subclasses:
wt.fc.CachedObjectReference, ConfigurationItemReference, WTPrincipalReference

public class ObjectReference
extends Object
implements WTReference, Evolvable

Holds a reference to a Persistable object by means of the object's ObjectIdentifier.

Use the newObjectReference static factory method(s), not the ObjectReference constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: true

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface wt.fc.WTReference
OBJECT
 
Method Summary
 Persistable getObject()
          Gets the object for the association that plays role: OBJECT.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getObject

public Persistable getObject()
                      throws WTRuntimeException
Gets the object for the association that plays role: OBJECT.

Supported API: true

Specified by:
getObject in interface WTReference
Returns:
Persistable
Throws:
WTRuntimeException