public class HandleFieldRef extends handle
All writing is done to both the DMO and the local handle
's private value
.
On instantiation, the current field value is saved in the handle
's private
value
, and this instance will be used for reading until set(com.goldencode.p2j.util.WrappedResource)
or
setUnknown()
is called again.
This usage is OK
Modifier and Type | Field and Description |
---|---|
private FieldReference |
fieldRef
The field referenced by this instance.
|
Constructor and Description |
---|
HandleFieldRef(DataModelObject dmo,
java.lang.String property)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
set(WrappedResource value)
Set the value of this instance as a
WrappedResource . |
void |
setUnknown()
Sets the state of this instance's
unknown value flag or state to true . |
_isValid, _isValidEvent, _isValidEvent, assign, assign, assign, assign, assign, assign, assign, buildExternalResource, compareTo, defaultFormatString, duplicate, fromResourceId, fromString, fromString, get, getResource, getResourceId, hashCode, instantiateUnknown, invalidAttribute, isExternalResource, isHandleTypeOf, isUnknown, isValid, isValidEvent, isValidEvent, readExternal, readOnlyError, removeResource, resourceId, toString, toString, toStringExport, toStringMessage, unwrap, unwrapADMData, unwrapAsync, unwrapAsyncRequestCount, unwrapAutoZapElement, unwrapBlank, unwrapBox, unwrapBrowse, unwrapBrowseColumn, unwrapBrowseElement, unwrapBuffer, unwrapBufferField, unwrapButton, unwrapClipboard, unwrapColorTable, unwrapCommonField, unwrapCommonListWidget, unwrapCommonProcedure, unwrapConnectable, unwrapConnectableServer, unwrapControlFrame, unwrapDatabaseInfo, unwrapDeblank, unwrapDereferenceable, unwrapDirectManipulation, unwrapDown, unwrapDroppable, unwrapDynamicResource, unwrapEditor, unwrapEncoding, unwrapError, unwrapErrorStatus, unwrapFile, unwrapFileInfo, unwrapFirstLastProcedure, unwrapFontTable, unwrapFrame, unwrapFWDTimer, unwrapImageSupport, unwrapImageWidgetSupport, unwrapIndexed, unwrapIndexInformation, unwrapInnerLines, unwrapInstantiatingProcedure, unwrapIterableResource, unwrapLabels, unwrapLastEvent, unwrapLocalName, unwrapLogManager, unwrapMaxCharsElement, unwrapMenu, unwrapMenuItem, unwrapMultiple, unwrapNamespaceURI, unwrapNumEntries, unwrapNumItems, unwrapOrientation, unwrapPasswordField, unwrapProcedure, unwrapQuery, unwrapQueryAssociable, unwrapRadioSet, unwrapRcodeInfo, unwrapRectangle, unwrapRemotable, unwrapReplace, unwrapResultListHandler, unwrapSaxAttributes, unwrapSaxEntity, unwrapSaxReader, unwrapSaxWriter, unwrapScrollbarHorizontalElement, unwrapScrollbarVerticalElement, unwrapSelectableText, unwrapSelectionList, unwrapSensitive, unwrapServer, unwrapSession, unwrapSizeable, unwrapSlider, unwrapSOAPEntity, unwrapSOAPFault, unwrapSOAPHeader, unwrapSOAPHeaderEntry, unwrapSocket, unwrapSocketListener, unwrapSortedElement, unwrapSslServerAttribute, unwrapSubType, unwrapTempTable, unwrapTopOnly, unwrapTree, unwrapType, unwrapUniqueID, unwrapWidget, unwrapWindow, unwrapXCommon, unwrapXDocument, unwrapXEntity, unwrapXmlData, unwrapXmlSchema, unwrapXNodeRef, unwrapXY, writeExternal
assign, calcFormatLength, deepCopy, elementsOfType, equals, formatLength, generateDefault, generateUnknown, getTypeName, incompatibleTypesOnConversion, initializeDefaultExtent, instantiateDefault, instantiateDefaultExtent, isUnknownValue, maximum, minimum, notUnknownValue, sameType
changed, checkUndoable, checkUndoable, checkUndoable, isGlobal, isUndoable, markUndoable, popBlock, rollback, setGlobal
private final FieldReference fieldRef
public HandleFieldRef(DataModelObject dmo, java.lang.String property)
dmo
- Proxy for record whose field is being accessed.property
- Name of dmo field.public void set(WrappedResource value)
WrappedResource
.
Also updates the fieldRef
with the new state of this handle instance.
public void setUnknown()
unknown value
flag or state to true
.
Warning: the data stored in this instance may be invalid after calling this method.
Also updates the fieldRef
with the new state of this handle instance.
setUnknown
in class handle