wt.fc
Class ObjectReference
java.lang.Object
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
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