public class ReflectiveInstanceVariable extends CallbackInstanceVariable
InstanceVariable, which is wrapping a property of a Java object, via reflection, to be
exposed as an OPC UA Variable.UaNode.ParameterscallbackeventListeners, INITIALIZATION_TIME, nodeManager, supportedAttributesMap| Constructor and Description |
|---|
ReflectiveInstanceVariable(NodeManagerUaNode nodeManager,
NodeId nodeId,
Object source,
String propertyName,
NodeId instanceDeclarationId)
Create a new node, referring to an instance declaration node.
|
ReflectiveInstanceVariable(NodeManagerUaNode nodeManager,
NodeId nodeId,
Object source,
String propertyName,
UaVariable instanceDeclaration)
Create a new node, referring to an instance declaration node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
exposeStructureWithReflectiveVariables(Structure internalStructure,
int nameSpaceIndex,
NodeId typeDefinitionId) |
UaDataType |
getDataType() |
doSetValue, getCallback, getValue, setCallbackaddReference, beforeAddReference, deleteReference, getAccessLevel, getArrayDimensions, getAttributes, getAttributesMap, getBrowseName, getComponent, getComponents, getDataTypeId, getDescription, getDisplayName, getHistorizing, getMethod, getMinimumSamplingInterval, getNodeClass, getNodeVersionNode, getProperties, getProperty, getPropertyTypeNode, getReference, getReferencesAsList, getStatus, getTypeDefinition, getTypeDefinitionId, getTypeDefinitionReference, getUserAccessLevel, getUserWriteMask, getValueRank, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAccessLevel, setArrayDimensions, setAttribute, setAttributes, setBrowseName, setDataType, setDataTypeId, setDescription, setDisplayName, setHistorizing, setMinimumSamplingInterval, setReferences, setStatus, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionId, setUserAccessLevel, setUserWriteMask, setValue, setValue, setValueRank, setWriteMask, writeAttributeaddComponent, addDataChangeListener, addEventListener, addNewReference, addNewReference, addOrganizes, addProperties, addProperty, addReference, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, dataChange, deleteReference, deleteReference, deleteReference, deleteReferences, doAddProperty, doDeleteReference, equals, findPlaceholders, fireDataChange, fireEvent, fireEventInParents, getAddressSpace, getDefaultBrowseName, getNodeId, getNodeManager, getNodeSetExtensions, getReferenceList, getReferences, getSupportedAttributes, getTargetNodes, getUaNodeId, hashCode, hasReference, initSupportedAttributes, isAddNotifierReferencesToServerObject, isFalseOrNull, isMandatory, isMonitoredForEvents, isTrueOrNull, isType, referenceTypeInherits, removeDataChangeListener, removeEventListener, setAddNotifierReferencesToServerObject, setNodeSetExtensions, supportsAttribute, toString, translateBrowsePathToNodeIds, validateHasEventSourceChain, validateHasEventSourceChain, writeAttributeValuegetForwardReferences, getInverseReferences, getReferences, getReferences, getUserData, referenceTypeInherits, setUserDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddDataChangeListener, removeDataChangeListeneraddComponent, addOrganizes, addProperty, addReference, addReference, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getBrowsePaths, getForwardReferences, getInverseReferences, getNodeId, getOrganizedNode, getOrganizedNodes, getReferences, getReferences, getSupportedAttributes, getUaBrowsePaths, getUaNodeId, getUserData, setUserData, supportsAttributepublic ReflectiveInstanceVariable(NodeManagerUaNode nodeManager, NodeId nodeId, Object source, String propertyName, NodeId instanceDeclarationId) throws SecurityException, NoSuchMethodException, StatusException
nodeManager - The node manager to which the node is created.nodeId - The ID of the new node.source - the node, whose property is wrapped using reflectionpropertyName - the name of the wrapped property - parent must have a getPropertyName and
optionally also a setPropertyName method. The propertyName is used as the BrowseName and
DisplayName of the property node.instanceDeclarationId - The ID of the instance declaration node, which this node is
referring to. I.e. the same variable or property as this one, but under the type,
instead of the instance.StatusException - if instanceDeclarationId cannot be converted to a variable nodeNoSuchMethodException - if the getter for the defined property does not existSecurityException - if the getter for the defined property cannot be accessedpublic ReflectiveInstanceVariable(NodeManagerUaNode nodeManager, NodeId nodeId, Object source, String propertyName, UaVariable instanceDeclaration) throws NoSuchMethodException
nodeManager - The node manager to which the node is created.nodeId - The ID of the new node.source - the node, whose property is wrapped using reflectionpropertyName - the name of the wrapped property - parent must have a getPropertyName and
optionally also a setPropertyName method. The propertyName is used as the BrowseName and
DisplayName of the property node.instanceDeclaration - The instance declaration node, which this node is referring to. I.e.
the same variable or property as this one, but under the type, instead of the instance.NoSuchMethodException - if the getter for the defined property does not existSecurityException - if the getter for the defined property cannot be accessedpublic void exposeStructureWithReflectiveVariables(Structure internalStructure, int nameSpaceIndex, NodeId typeDefinitionId)
internalStructure - nameSpaceIndex - typeDefinitionId - public UaDataType getDataType()
getDataType in interface UaValueNodegetDataType in class InstanceVariableUaValueNode.getDataTypeId()Copyright © 2026. All rights reserved.