public abstract class UaNode extends Object implements Node
| Modifier | Constructor and Description |
|---|---|
protected |
UaNode(UaNamespace namespace,
com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId,
com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass nodeClass,
com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName,
com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText displayName) |
protected |
UaNode(UaNamespace namespace,
com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId,
com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass nodeClass,
com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName,
com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText displayName,
Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> description,
Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> writeMask,
Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> userWriteMask) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeObserver(AttributeObserver observer) |
void |
addProperty(UaPropertyNode node) |
void |
addReference(Reference reference) |
void |
addReferences(Collection<Reference> c) |
protected void |
deallocate() |
protected void |
fireAttributeChanged(int attributeId,
Object attributeValue) |
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.
|
UaNamespace |
getNamespace() |
protected Optional<UaNode> |
getNode(com.digitalpetri.opcua.stack.core.types.builtin.ExpandedNodeId nodeId) |
protected Optional<UaNode> |
getNode(com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId) |
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.
|
protected Optional<ObjectNode> |
getObjectComponent(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName) |
protected Optional<ObjectNode> |
getObjectComponent(String browseName) |
<T> Optional<T> |
getProperty(Property<T> property) |
<T> Optional<T> |
getProperty(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName) |
<T> Optional<T> |
getProperty(String browseName) |
Optional<VariableNode> |
getPropertyNode(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName) |
Optional<VariableNode> |
getPropertyNode(String browseName) |
com.google.common.collect.ImmutableList<Reference> |
getReferences() |
Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> |
getUserWriteMask()
See OPC-UA Part 3, section 5.2.8.
|
protected Optional<VariableNode> |
getVariableComponent(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName) |
protected Optional<VariableNode> |
getVariableComponent(String browseName) |
Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> |
getWriteMask()
See OPC-UA Part 3, section 5.2.7.
|
void |
removeAttributeObserver(AttributeObserver observer) |
void |
removeProperty(UaPropertyNode node) |
void |
removeReference(Reference reference) |
void |
removeReferences(Collection<Reference> c) |
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.
|
<T> void |
setProperty(Property<T> property,
T value) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasAttribute, hasAttribute, readAttribute, readAttribute, readAttribute, readAttribute, readAttribute, writeAttribute, writeAttribute, writeAttributeprotected UaNode(UaNamespace namespace, com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId, com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass nodeClass, com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName, com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText displayName)
protected UaNode(UaNamespace namespace, com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId, com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass nodeClass, com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName, com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText displayName, Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> description, Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> writeMask, Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> userWriteMask)
public com.digitalpetri.opcua.stack.core.types.builtin.NodeId getNodeId()
Nodepublic com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass getNodeClass()
NodegetNodeClass in interface NodeNodeClass) of this node.public com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName getBrowseName()
NodegetBrowseName in interface NodeQualifiedName) of this node.public com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText getDisplayName()
NodegetDisplayName in interface NodeQualifiedName) of this node.public Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> getDescription()
NodegetDescription in interface NodeLocalizedText).public Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> getWriteMask()
NodegetWriteMask in interface NodeUInteger).public Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> getUserWriteMask()
NodegetUserWriteMask in interface NodeUInteger).public void setNodeId(com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId)
Nodepublic void setNodeClass(com.digitalpetri.opcua.stack.core.types.enumerated.NodeClass nodeClass)
NodesetNodeClass in interface NodenodeClass - the NodeClass to set.public void setBrowseName(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName)
NodesetBrowseName in interface NodebrowseName - the BrowseName to set.public void setDisplayName(com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText displayName)
NodesetDisplayName in interface NodedisplayName - the DisplayName to set.public void setDescription(Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> description)
NodesetDescription in interface Nodedescription - the Description to set.public void setWriteMask(Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> writeMask)
NodesetWriteMask in interface NodewriteMask - the WriteMask to set.public void setUserWriteMask(Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> userWriteMask)
NodesetUserWriteMask in interface NodeuserWriteMask - the UserWriteMask to set.public UaNamespace getNamespace()
protected Optional<UaNode> getNode(com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId)
protected Optional<UaNode> getNode(com.digitalpetri.opcua.stack.core.types.builtin.ExpandedNodeId nodeId)
public com.google.common.collect.ImmutableList<Reference> getReferences()
public void addReference(Reference reference)
public void addReferences(Collection<Reference> c)
public void removeReference(Reference reference)
public void removeReferences(Collection<Reference> c)
protected void deallocate()
public <T> Optional<T> getProperty(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName)
public <T> void setProperty(Property<T> property, T value)
public Optional<VariableNode> getPropertyNode(String browseName)
public Optional<VariableNode> getPropertyNode(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName)
public void addProperty(UaPropertyNode node)
public void removeProperty(UaPropertyNode node)
protected Optional<ObjectNode> getObjectComponent(String browseName)
protected Optional<ObjectNode> getObjectComponent(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName)
protected Optional<VariableNode> getVariableComponent(String browseName)
protected Optional<VariableNode> getVariableComponent(com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName)
public void addAttributeObserver(AttributeObserver observer)
public void removeAttributeObserver(AttributeObserver observer)
protected void fireAttributeChanged(int attributeId,
Object attributeValue)
Copyright © 2015. All rights reserved.