public class UaVariableTypeNode extends UaNode implements VariableTypeNode
| Constructor and Description |
|---|
UaVariableTypeNode(UaNodeContext context,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
DataValue value,
NodeId dataType,
Integer valueRank,
UInteger[] arrayDimensions,
Boolean isAbstract) |
| Modifier and Type | Method and Description |
|---|---|
UInteger[] |
getArrayDimensions() |
Object |
getAttribute(AttributeId attributeId)
Direct read access to the field for
attributeId, bypassing the AttributeFilterChain. |
NodeId |
getDataType() |
Boolean |
getIsAbstract() |
@Nullable String |
getNodeVersion()
Get the value of the NodeVersion Property, if it exists.
|
DataValue |
getValue() |
Integer |
getValueRank() |
void |
setArrayDimensions(UInteger[] arrayDimensions) |
void |
setAttribute(AttributeId attributeId,
Object value)
Direct write access to the field for
attributeId, bypassing the AttributeFilterChain. |
void |
setDataType(NodeId dataType) |
void |
setIsAbstract(Boolean isAbstract) |
void |
setNodeVersion(String nodeVersion)
Set the value of the NodeVersion Property.
|
void |
setValue(DataValue value) |
void |
setValueRank(Integer valueRank) |
addAttributeObserver, addReference, delete, findNode, findNode, findNode, findNode, fireAttributeChanged, getAttribute, getAttributeDelegate, getBrowseName, getDescription, getDisplayName, getFilterChain, getManagedNode, getManagedNode, getNodeClass, getNodeContext, getNodeId, getNodeManager, getObjectComponent, getObjectComponent, getObjectComponent, getProperty, getProperty, getPropertyNode, getPropertyNode, getPropertyNode, getReferences, getUserWriteMask, getVariableComponent, getVariableComponent, getVariableComponent, getWriteMask, removeAttributeObserver, removeReference, setAttribute, setAttributeDelegate, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setUserWriteMask, setWriteMaskclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMaskreadAttribute, readAttribute, readAttribute, writeAttribute, writeAttributepublic UaVariableTypeNode(UaNodeContext context, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, UInteger writeMask, UInteger userWriteMask, DataValue value, NodeId dataType, Integer valueRank, UInteger[] arrayDimensions, Boolean isAbstract)
public DataValue getValue()
getValue in interface VariableTypeNodepublic NodeId getDataType()
getDataType in interface VariableTypeNodepublic Integer getValueRank()
getValueRank in interface VariableTypeNodepublic UInteger[] getArrayDimensions()
getArrayDimensions in interface VariableTypeNodepublic Boolean getIsAbstract()
getIsAbstract in interface VariableTypeNodepublic void setValue(DataValue value)
setValue in interface VariableTypeNodepublic void setDataType(NodeId dataType)
setDataType in interface VariableTypeNodepublic void setValueRank(Integer valueRank)
setValueRank in interface VariableTypeNodepublic void setArrayDimensions(UInteger[] arrayDimensions)
setArrayDimensions in interface VariableTypeNodepublic void setIsAbstract(Boolean isAbstract)
setIsAbstract in interface VariableTypeNodepublic Object getAttribute(AttributeId attributeId)
UaNodeattributeId, bypassing the AttributeFilterChain.getAttribute in class UaNodeattributeId - the AttributeId to get the value for.attributeId.public void setAttribute(AttributeId attributeId, Object value)
UaNodeattributeId, bypassing the AttributeFilterChain.
Setting an attribute value invokes UaNode.fireAttributeChanged(AttributeId, Object), notifying any registered
AttributeObservers of the change.
setAttribute in class UaNodeattributeId - the AttributeId to set the value for.value - the value to set.@Nullable public @Nullable String getNodeVersion()
VariableTypeNodeProperties.NodeVersionpublic void setNodeVersion(String nodeVersion)
A PropertyNode will be created if it does not already exist.
nodeVersion - the value to set.VariableNodeProperties.NodeVersionCopyright © 2021. All rights reserved.