wt.clients.util
Interface ReferenceHolder

All Known Subinterfaces:
Explorable
All Known Implementing Classes:
CheckInDialog.WorkableHandle, ClassItem, CreateDocumentFrame.DocumentHandle, ElectronicSignatureApplet.FileHandle, HTTPUploadDownloadPanel.DocumentHandle, PropertyItem, UnitUsageItem, UpdateDocumentFrame.DocumentHandle, UsageItem, UsageItem, UsageMasterItem, UsageMasterItem, ViewDocumentFrame.DocumentHandle, WTBusinessObject, WTContentHolder.ContentHolderHandle, WTDocumentApplet.DocumentHandle, WTDocumentAppletWithProgress.DocumentHandle

public interface ReferenceHolder

Interface ReferenceHolder provides an interface, or a handle, to retrieving and setting the value of an object. Implementing this interface is useful when multiple objects need a shared view of the same object. By using a ReferenceHolder, when one object manipulates its view of the shared objects, all other objects, using a ReferenceHolder, will see that updated view of the object.

The ReferenceHolder interface essentially provides support for pass-by-reference.

Supported API: true

Extendable: true


Method Summary
 Object getObject()
          Implemented to get the value of the Object maintained by this reference.
 void setObject(Object obj)
          Implemented to set the value of the Object maintained by this reference.
 

Method Detail

setObject

public void setObject(Object obj)
Implemented to set the value of the Object maintained by this reference.


getObject

public Object getObject()
Implemented to get the value of the Object maintained by this reference.