public interface Node
| Modifier and Type | Method and Description |
|---|---|
com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName |
getBrowseName()
See OPC-UA Part 3, section 5.2.4.
|
Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> |
getDescription()
See OPC-UA Part 3, section 5.2.6.
|
com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText |
getDisplayName()
See OPC-UA Part 3, section 5.2.5.
|
com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass |
getNodeClass()
See OPC-UA Part 3, section 5.2.3.
|
com.digitalpetri.opcua.stack.core.types.builtin.NodeId |
getNodeId()
See OPC-UA Part 3, section 5.2.2.
|
Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> |
getUserWriteMask()
See OPC-UA Part 3, section 5.2.8.
|
Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> |
getWriteMask()
See OPC-UA Part 3, section 5.2.7.
|
default boolean |
hasAttribute(int attributeId) |
default boolean |
hasAttribute(com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger attributeId) |
default com.digitalpetri.opcua.stack.core.types.builtin.DataValue |
readAttribute(com.digitalpetri.opcua.stack.core.AttributeId attributeId)
Read the specified attribute.
|
default com.digitalpetri.opcua.stack.core.types.builtin.DataValue |
readAttribute(com.digitalpetri.opcua.stack.core.AttributeId attributeId,
com.digitalpetri.opcua.stack.core.types.enumerated.TimestampsToReturn timestamps,
String indexRange)
Read the specified attribute, applying
timestamps and indexRange if specified. |
default com.digitalpetri.opcua.stack.core.types.builtin.DataValue |
readAttribute(int attribute)
Read the specified attribute.
|
default com.digitalpetri.opcua.stack.core.types.builtin.DataValue |
readAttribute(int attribute,
com.digitalpetri.opcua.stack.core.types.enumerated.TimestampsToReturn timestamps,
String indexRange)
Read the specified attribute.
|
default com.digitalpetri.opcua.stack.core.types.builtin.DataValue |
readAttribute(com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger attribute)
Read the specified attribute.
|
void |
setBrowseName(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName)
Set the BrowseName attribute of this Node.
|
void |
setDescription(Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> description)
Set the Description attribute of this Node.
|
void |
setDisplayName(com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText displayName)
Set the DisplayName attribute of this Node.
|
void |
setNodeClass(com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass nodeClass)
Set the NodeClass attribute of this Node.
|
void |
setNodeId(com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId)
Set the NodeId attribute of this Node.
|
void |
setUserWriteMask(Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> userWriteMask)
Set the UserWriteMask attribute of this Node.
|
void |
setWriteMask(Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> writeMask)
Set the WriteMask attribute of this Node.
|
default void |
writeAttribute(NamespaceManager ns,
com.digitalpetri.opcua.stack.core.AttributeId attributeId,
com.digitalpetri.opcua.stack.core.types.builtin.DataValue value,
String indexRange)
Write to the specified attribute.
|
default void |
writeAttribute(NamespaceManager ns,
int attribute,
com.digitalpetri.opcua.stack.core.types.builtin.DataValue value,
String indexRange)
Write to the specified attribute.
|
default void |
writeAttribute(NamespaceManager ns,
com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger attribute,
com.digitalpetri.opcua.stack.core.types.builtin.DataValue value,
String indexRange)
Write to the specified attribute.
|
com.digitalpetri.opcua.stack.core.types.builtin.NodeId getNodeId()
NodeId) of this node.com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass getNodeClass()
NodeClass) of this node.com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName getBrowseName()
QualifiedName) of this node.com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText getDisplayName()
QualifiedName) of this node.Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> getDescription()
LocalizedText).Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> getWriteMask()
UInteger).Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> getUserWriteMask()
UInteger).void setNodeId(com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId)
nodeId - the NodeId to set.void setNodeClass(com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass nodeClass)
nodeClass - the NodeClass to set.void setBrowseName(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName)
browseName - the BrowseName to set.void setDisplayName(com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText displayName)
displayName - the DisplayName to set.void setDescription(Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> description)
description - the Description to set.void setWriteMask(Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> writeMask)
writeMask - the WriteMask to set.void setUserWriteMask(Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> userWriteMask)
userWriteMask - the UserWriteMask to set.default boolean hasAttribute(int attributeId)
attributeId - the id of the attribute in question.true if this Node has the attribute identified by attributeId.default boolean hasAttribute(com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger attributeId)
attributeId - the id of the attribute in question.true if this Node has the attribute identified by attributeId.default com.digitalpetri.opcua.stack.core.types.builtin.DataValue readAttribute(com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger attribute)
If the attribute is not specified on this node, a value with status StatusCodes.Bad_AttributeIdInvalid
will be returned.
attribute - the id of the attribute to read.default com.digitalpetri.opcua.stack.core.types.builtin.DataValue readAttribute(int attribute)
If the attribute is not specified on this node, a value with status StatusCodes.Bad_AttributeIdInvalid
will be returned.
attribute - the id of the attribute to read.default com.digitalpetri.opcua.stack.core.types.builtin.DataValue readAttribute(int attribute,
@Nullable
com.digitalpetri.opcua.stack.core.types.enumerated.TimestampsToReturn timestamps,
@Nullable
String indexRange)
If the attribute is not specified on this node, a value with status StatusCodes.Bad_AttributeIdInvalid
will be returned.
attribute - the id of the attribute to read.timestamps - the TimestampsToReturn.indexRange - the index range to read. Must be a parseable by NumericRange.default com.digitalpetri.opcua.stack.core.types.builtin.DataValue readAttribute(com.digitalpetri.opcua.stack.core.AttributeId attributeId)
If the attribute is not specified on this node, a value with status StatusCodes.Bad_AttributeIdInvalid
will be returned.
attributeId - the id of the attribute to read.default com.digitalpetri.opcua.stack.core.types.builtin.DataValue readAttribute(com.digitalpetri.opcua.stack.core.AttributeId attributeId,
@Nullable
com.digitalpetri.opcua.stack.core.types.enumerated.TimestampsToReturn timestamps,
@Nullable
String indexRange)
timestamps and indexRange if specified.
If the attribute is not specified on this node, a value with status StatusCodes.Bad_AttributeIdInvalid
will be returned.
attributeId - the id of the attribute to read.timestamps - the TimestampsToReturn.indexRange - the index range to read. Must be a parseable by NumericRange.default void writeAttribute(NamespaceManager ns, com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger attribute, com.digitalpetri.opcua.stack.core.types.builtin.DataValue value, String indexRange) throws com.digitalpetri.opcua.stack.core.UaException
ns - the NamespaceManager.attribute - the id of the attribute to write.value - the DataValue write.indexRange - the index range to write. Must be a parseable by NumericRange.com.digitalpetri.opcua.stack.core.UaExceptiondefault void writeAttribute(NamespaceManager ns, int attribute, com.digitalpetri.opcua.stack.core.types.builtin.DataValue value, String indexRange) throws com.digitalpetri.opcua.stack.core.UaException
ns - the NamespaceManager.attribute - the id of the attribute to write.value - the DataValue write.indexRange - the index range to write. Must be a parseable by NumericRange.com.digitalpetri.opcua.stack.core.UaExceptiondefault void writeAttribute(NamespaceManager ns, com.digitalpetri.opcua.stack.core.AttributeId attributeId, com.digitalpetri.opcua.stack.core.types.builtin.DataValue value, String indexRange) throws com.digitalpetri.opcua.stack.core.UaException
ns - the NamespaceManager.attributeId - the AttributeId of the attribute to write.value - the DataValue write.indexRange - the index range to write. Must be a parseable by NumericRange.com.digitalpetri.opcua.stack.core.UaExceptionCopyright © 2015. All rights reserved.