public interface UaValueNode extends UaNode
UaNode.Parameters| Modifier and Type | Method and Description |
|---|---|
UnsignedInteger[] |
getArrayDimensions()
This Attribute specifies the length of each dimension for an array value.
|
UaDataType |
getDataType() |
NodeId |
getDataTypeId() |
DataValue |
getValue() |
Integer |
getValueRank()
This Attribute indicates whether the Value Attribute of the Variable is an array and how many
dimensions the array has.
|
void |
setArrayDimensions(UnsignedInteger[] ArrayDimensions)
This Attribute specifies the length of each dimension for an array value.
|
void |
setDataType(UaDataType dataType)
Set the Data Type node.
|
void |
setDataTypeId(NodeId dataTypeId)
Set the Data Type.
|
void |
setValue(DataValue value)
The default Value for instances of this type.
|
void |
setValue(Object value)
Set value.
|
void |
setValueRank(int valueRank)
This Attribute indicates whether the Value Attribute of the VariableType is an array and how
many dimensions the array has.
|
addComponent, addOrganizes, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getAttributes, getAttributesMap, getBrowseName, getBrowsePaths, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeClass, getNodeId, getNodeVersionNode, getOrganizedNode, getOrganizedNodes, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUaBrowsePaths, getUaNodeId, getUserData, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setReferences, setUserData, setUserWriteMask, setWriteMask, supportsAttribute, writeAttributeUnsignedInteger[] getArrayDimensions()
The number of elements shall be equal to the value of the ValueRank Attribute. Shall be null if ValueRank <= 0.
A value of 0 for an individual dimension indicates that the dimension has a variable length.
For example, if a Variable is defined by the following C array: Int32 myArray[346];
then this Variable's DataType would point to an Int32, the Variable's ValueRank has the value 1 and the ArrayDimensions is an array with one entry having the value 346.
setArrayDimensions(com.prosysopc.ua.stack.builtintypes.UnsignedInteger[])UaDataType getDataType()
getDataTypeId()NodeId getDataTypeId()
DataValue getValue()
Integer getValueRank()
It may have the following values:
setValueRank(int)void setArrayDimensions(UnsignedInteger[] ArrayDimensions)
The number of elements shall be equal to the value of the ValueRank Attribute. Shall be null if ValueRank <= 0.
A value of 0 for an individual dimension indicates that the dimension has a variable length.
For example, if a VariableType is defined by the following array:
Integer[] myArray = new Integer[346];
then this VariableType's DataType would point to the Int32 data type node, the VariableType's ValueRank has the value 1 and the ArrayDimensions is an array with one entry having the value 346.
ArrayDimensions - void setDataType(UaDataType dataType)
dataType - setDataTypeId(NodeId)void setDataTypeId(NodeId dataTypeId)
dataTypeId - setDataTypeId(NodeId)void setValue(DataValue value) throws StatusException
value - the default value to setStatusExceptionvoid setValue(Object value) throws StatusException
value - a new valueStatusException - if the value is invalid for the Value attributevoid setValueRank(int valueRank)
It may have the following values:
valueRank - the value rank to setCopyright © 2026. All rights reserved.