public class HandlePropertyRef extends handle
All writing is done to both the OO member and the local handle's private value.
On instantiation, the current property 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.
handle.Helper, handle.InvalidAttributeAccessBaseDataType.Type, BaseDataType.WrapperHandler| Modifier and Type | Field and Description |
|---|---|
private PropertyReference |
propertyRef
The property referenced by this instance.
|
UNKNOWN_ARGUMENT| Constructor and Description |
|---|
HandlePropertyRef(object<? extends _BaseObject_> instance,
java.lang.String property)
Constructor.
|
HandlePropertyRef(object<? extends _BaseObject_> instance,
java.lang.String property,
int index)
Constructor.
|
HandlePropertyRef(object<? extends _BaseObject_> instance,
java.lang.String property,
int64 index)
Constructor.
|
HandlePropertyRef(PropertyReference propertyRef)
Initialize using the given property.
|
HandlePropertyRef(java.lang.String className,
java.lang.String property)
Constructor.
|
HandlePropertyRef(java.lang.String className,
java.lang.String property,
int index)
Constructor.
|
HandlePropertyRef(java.lang.String className,
java.lang.String property,
int64 index)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
init(object<? extends _BaseObject_> instance)
Initialize this instance.
|
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, buildExternalResource, compareTo, defaultFormatString, delayPersistentSet, duplicate, fromResourceId, fromResourceId, fromResourceId, fromString, fromString, fromString, get, getHelper, getResource, getResource, getResourceId, getType, hashCode, instantiateDefault, instantiateUnknown, invalidAttribute, invalidAttribute, invalidAttribute, isExternalResource, isHandleTypeOf, isIncompatibleTypesOnConversion, isType, isUnknown, isValid, isValidEvent, isValidEvent, knownResource, readExternal, readOnlyError, readOnlyError, removeResource, resourceId, toString, toString, toStringExport, toStringMessage, unwrap, unwrapADMData, unwrapAsync, unwrapAsyncRequestCount, unwrapAuditControl, unwrapAuditPolicy, unwrapAutoReturnElement, unwrapAutoZapElement, unwrapAvailable, unwrapBlank, unwrapBox, unwrapBrowse, unwrapBrowseColumn, unwrapBrowseElement, unwrapBuffer, unwrapBufferCollection, unwrapBufferField, unwrapButton, unwrapButtonList, unwrapButtonListGroup, unwrapButtonListGroupItem, unwrapCalendar, unwrapCall, unwrapCallbackProcedure, unwrapCheckable, unwrapClearable, unwrapClientPrincipal, unwrapClipboard, unwrapColorTable, unwrapComData, unwrapCommonField, unwrapCommonListWidget, unwrapCommonProcedure, unwrapCommonSessionId, unwrapCompiler, unwrapConnectable, unwrapConnectableServer, unwrapControlFrame, unwrapCoordinates, unwrapCreateLike, unwrapCustomFont, unwrapDatabaseInfo, unwrapDataObject, unwrapDataRelation, unwrapDataSet, unwrapDataSetChangeable, unwrapDataSource, unwrapDataSourceModifiable, unwrapDeblank, unwrapDebugger, unwrapDereferenceable, unwrapDirectManipulation, unwrapDisableRedraw, unwrapDown, unwrapDroppable, unwrapDsLogManager, unwrapDynamicResource, unwrapEditor, unwrapEmailSender, unwrapEmptyTempTable, unwrapEnabled, unwrapEncoding, unwrapError, unwrapErrorStatus, unwrapErrorString, unwrapEventProcedure, unwrapFieldGroup, unwrapFile, unwrapFileInfo, unwrapFillable, unwrapFirstLastProcedure, unwrapFontTable, unwrapFrame, unwrapFwdReport, unwrapFWDTimer, unwrapHtmlBrowser, unwrapImageList, unwrapImageOnly, unwrapImageSupport, unwrapImageWidgetSupport, unwrapIndexed, unwrapIndexInformation, unwrapInnerLines, unwrapInstantiatingProcedure, unwrapIterableResource, unwrapIterCounter, unwrapJsonData, unwrapKeyable, unwrapLabels, unwrapLastEvent, unwrapListImages, unwrapLocalName, unwrapLogManager, unwrapMaxCharsElement, unwrapMenu, unwrapMenuItem, unwrapMinHeightChars, unwrapMnemonic, unwrapMultiple, unwrapNamedSerializable, unwrapNamespaceURI, unwrapNodes, unwrapNumEntries, unwrapNumItems, unwrapOcxDragDrop, unwrapOcxMouse, unwrapOpenable, unwrapOrientation, unwrapPane, unwrapPaneEntity, unwrapPasswordField, unwrapPersistableProcedure, unwrapPrimary, unwrapProcedure, unwrapProfiler, unwrapProgressBar, unwrapQuery, unwrapQueryAssociable, unwrapRadioSet, unwrapRcodeInfo, unwrapRectangle, unwrapRefCounter, unwrapRejectable, unwrapRemotable, unwrapRemoveNode, unwrapReplace, unwrapRequestResponseInfo, unwrapResultListHandler, unwrapSaxAttributes, unwrapSaxEntity, unwrapSaxReader, unwrapSaxWriter, unwrapScrollbarHorizontalElement, unwrapScrollbarVerticalElement, unwrapSecurityPolicy, unwrapSelectableText, unwrapSelectionList, unwrapSensitive, unwrapSerializeHiddenable, unwrapServer, unwrapSession, unwrapSignature, unwrapSizeable, unwrapSlider, unwrapSOAPEntity, unwrapSOAPFault, unwrapSOAPHeader, unwrapSOAPHeaderEntry, unwrapSocket, unwrapSocketListener, unwrapSortedElement, unwrapSpreadsheet, unwrapSslServerAttribute, unwrapStream, unwrapSubType, unwrapTabSet, unwrapTempTable, unwrapTempTableDuplicator, unwrapTitledElement, unwrapTopOnly, unwrapTransaction, unwrapTree, unwrapTreeFace, unwrapTreeList, unwrapTreeNodeCollection, unwrapTreeNodeFace, unwrapTreeView, unwrapType, unwrapUniqueID, unwrapVisible, unwrapWebContext, unwrapWidget, unwrapWidgetExtension, unwrapWindow, unwrapWithCaption, unwrapWriteProtectable, unwrapXCommon, unwrapXDocument, unwrapXEntity, unwrapXmlData, unwrapXmlNode, unwrapXmlSchema, unwrapXNodeRef, writeExternalassign, calcFormatLength, createProxy, createProxy, deepCopy, elementsOfType, equals, fallback, formatLength, fromTypeName, generateDefault, generateUnknown, getAssigner, getSize, getTypeName, incompatibleTypesOnConversion, initialize, initializeDefaultExtent, instantiateDefaultExtent, invalidInitializer, isAllKnown, isAllKnown, isAssignDirect, isProxy, isUnknownValue, maximum, minimum, notUnknownValue, sameType, val, variablechanged, checkUndoable, checkUndoable, checkUndoable, getTransLevel, isGlobal, isUndoable, markUndoable, popBlock, rollback, setGlobalprivate final PropertyReference propertyRef
public HandlePropertyRef(PropertyReference propertyRef)
propertyRef - The property reference.public HandlePropertyRef(java.lang.String className,
java.lang.String property)
className - The class name in case of static property access.property - Name of class property member.public HandlePropertyRef(object<? extends _BaseObject_> instance, java.lang.String property)
instance - The class instance, for instance property access.property - Name of class property member.public HandlePropertyRef(java.lang.String className,
java.lang.String property,
int64 index)
className - The class name in case of static property access.property - Name of class property member.index - Index to pass to property's getter method at resolve time.public HandlePropertyRef(java.lang.String className,
java.lang.String property,
int index)
className - The class name in case of static property access.property - Name of class property member.index - Index to pass to property's getter method at resolve time.public HandlePropertyRef(object<? extends _BaseObject_> instance, java.lang.String property, int64 index)
instance - The class instance, for instance property access.property - Name of class property member.index - Index to pass to property's getter method at resolve time.public HandlePropertyRef(object<? extends _BaseObject_> instance, java.lang.String property, int index)
instance - The class instance, for instance property access.property - Name of class property member.index - Index to pass to property's getter method at resolve time.public void set(WrappedResource value)
WrappedResource.
Also updates the propertyRef 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 propertyRef with the new state of this handle instance.
setUnknown in class handleprivate void init(object<? extends _BaseObject_> instance)
instance - non-null for instance property member.