com.prosysopc.ua.client.nodes
Class UaPropertyImpl
java.lang.Object
com.prosysopc.ua.nodes.AbstractUaNode
com.prosysopc.ua.client.nodes.UaNodeImpl
com.prosysopc.ua.client.nodes.UaInstanceImpl
com.prosysopc.ua.client.nodes.UaVariableImpl
com.prosysopc.ua.client.nodes.UaPropertyImpl
- All Implemented Interfaces:
- UaInstance, UaNode, UaProperty, UaValueNode, UaVariable
public final class UaPropertyImpl
- extends UaVariableImpl
- implements UaProperty
UaPropertyImpl is the base implementation of the UaProperty.
It keeps all attribute values in memory.
|
Constructor Summary |
UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
|
UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
org.opcfoundation.ua.builtintypes.LocalizedText description,
EnumSet<WriteAccess> writeMask,
EnumSet<WriteAccess> userWriteMask,
UaClientReference[] references,
UaProperty[] properties,
org.opcfoundation.ua.builtintypes.NodeId dataType,
Integer valueRank,
org.opcfoundation.ua.builtintypes.UnsignedInteger[] arrayDimensions,
EnumSet<org.opcfoundation.ua.core.AccessLevel> accessLevel,
EnumSet<org.opcfoundation.ua.core.AccessLevel> userAccessLevel,
Double minimumSamplingInterval,
Boolean historizing)
|
UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
org.opcfoundation.ua.builtintypes.NodeId dataType)
|
UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
UaType dataType)
|
UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
Locale locale,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
|
UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
Locale locale,
UaType dataType)
|
| Methods inherited from class com.prosysopc.ua.client.nodes.UaVariableImpl |
addDataChangeListener, getAccessLevel, getArrayDimensions, getAttributes, getAttributes, getDataType, getDataTypeId, getHistorizing, getMinimumSamplingInterval, getNodeClass, getUserAccessLevel, getValue, getValueRank, hasUserWriteAccess, hasWriteAccess, initSupportedAttributes, readAttributeValue, readValue, removeDataChangeListener, setAccessLevel, setArrayDimensions, setAttribute, setAttributes, setDataType, setDataTypeId, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValue, setValueRank, toString, writeAttributeValue, writeValue |
| Methods inherited from class com.prosysopc.ua.client.nodes.UaNodeImpl |
addComponent, addProperties, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, assertTypeSupport, assertTypeSupport, beforeAddReference, deleteReference, deleteReference, deleteReference, deleteReference, deleteReferences, doAddProperty, equals, findPlaceholders, getAddressSpace, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeId, getNodeVersion, getNodeVersionString, getProperty, getPropertyValue, getReference, getReferenceList, getReferences, getSupportedAttributes, getUserWriteMask, getWriteMask, hashCode, hasProperty, hasTypeDefinition, readAttribute, readAttribute, referenceTypeInherits, removeComponent, removeProperty, setAttributes, setBrowseName, setDescription, setDisplayName, setNodeVersion, setPropertyValue, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute |
| Methods inherited from interface com.prosysopc.ua.nodes.UaValueNode |
getArrayDimensions, getDataType, getDataTypeId, getValue, getValueRank, setArrayDimensions, setDataType, setDataTypeId, setValue, setValue, setValueRank |
| Methods inherited from interface com.prosysopc.ua.nodes.UaNode |
addComponent, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeClass, getNodeId, getNodeVersion, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute |
UaPropertyImpl
public UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
- Parameters:
nodeId - browseName - displayName -
UaPropertyImpl
public UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
org.opcfoundation.ua.builtintypes.LocalizedText description,
EnumSet<WriteAccess> writeMask,
EnumSet<WriteAccess> userWriteMask,
UaClientReference[] references,
UaProperty[] properties,
org.opcfoundation.ua.builtintypes.NodeId dataType,
Integer valueRank,
org.opcfoundation.ua.builtintypes.UnsignedInteger[] arrayDimensions,
EnumSet<org.opcfoundation.ua.core.AccessLevel> accessLevel,
EnumSet<org.opcfoundation.ua.core.AccessLevel> userAccessLevel,
Double minimumSamplingInterval,
Boolean historizing)
- Parameters:
nodeId - browseName - displayName - description - writeMask - userWriteMask - references - dataTypeId - valueRank - arrayDimensions - accessLevel - userAccessLevel - minimumSamplingInterval - historizing -
UaPropertyImpl
public UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
org.opcfoundation.ua.builtintypes.NodeId dataType)
- Parameters:
nodeId - browseName - displayName - dataTypeId -
UaPropertyImpl
public UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
UaType dataType)
- Parameters:
nodeId - browseName - displayName - dataTypeId -
UaPropertyImpl
public UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
Locale locale,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
- Parameters:
nodeId - name - locale - dataTypeId -
UaPropertyImpl
public UaPropertyImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
Locale locale,
UaType dataType)
- Parameters:
nodeId - name - locale - dataTypeId -
addProperty
public UaReference addProperty(UaProperty property)
- Description copied from interface:
UaNode
- Add a new property node to the node. All other node types can have properties, except property
nodes.
Adds a new forward HasProperty reference with target to the property node.
- Specified by:
addProperty in interface UaNode- Overrides:
addProperty in class UaNodeImpl
- Parameters:
property - the property to add to the node
- Returns:
- the property reference that was added (or existed already) or null, if the reference
type is not supported by the node (i.e. UaProperty may not have HasProperty
references).
getProperties
public UaProperty[] getProperties()
- Specified by:
getProperties in interface UaNode- Overrides:
getProperties in class UaNodeImpl
- Returns:
- all properties of the node or null
Copyright © 2018. All rights reserved.