com.prosysopc.ua.server.nodes
Class UaObjectTypeNode
java.lang.Object
com.prosysopc.ua.nodes.AbstractUaNode
com.prosysopc.ua.server.nodes.ServerNode
com.prosysopc.ua.server.nodes.BaseNode
com.prosysopc.ua.server.nodes.UaTypeNode
com.prosysopc.ua.server.nodes.UaObjectTypeNode
- All Implemented Interfaces:
- UaNode, UaObjectType, UaType
public class UaObjectTypeNode
- extends UaTypeNode
- implements UaObjectType
Straight forward implementation of UaObjectType.
It keeps all attributes in memory.
|
Constructor Summary |
UaObjectTypeNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
|
UaObjectTypeNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
Locale locale)
Create a new node with name to be used for browseName and displayName. |
|
Method Summary |
org.opcfoundation.ua.core.NodeAttributes |
getAttributes()
|
protected org.opcfoundation.ua.core.ObjectTypeAttributes |
getAttributes(org.opcfoundation.ua.core.ObjectTypeAttributes attributes)
|
UaProperty |
getIcon()
The Icon Property provides an image that can be used by clients when displaying the Node. |
org.opcfoundation.ua.core.NodeClass |
getNodeClass()
The NodeClass Attribute identifies the NodeClass of a Node. |
void |
setAttributes(org.opcfoundation.ua.core.NodeAttributes nodeAttributes)
|
void |
setIcon(UaProperty icon)
Set the value of the Icon property. |
| Methods inherited from class com.prosysopc.ua.server.nodes.UaTypeNode |
addSubType, afterAddReference, beforeAddReference, getComponent, getInstanceDeclarationHierarchy, getIsAbstract, getJavaClass, getSuperType, hasSuperType, inheritsFrom, inheritsFrom, initSupportedAttributes, readAttributeValue, resetInstanceDeclarationHierarchy, setIsAbstract, setJavaClass, setSuperType, toString, writeAttributeValue |
| Methods inherited from class com.prosysopc.ua.server.nodes.BaseNode |
addPlainProperty, addPlainVariable, assertTypeSupport, assertTypeSupport, createNodeId, createNodeId, createReflectiveInstanceProperty, createReflectiveInstanceProperty, deleteReference, deleteReference, doAddProperty, getAttributes, getBrowseName, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeVersion, getNodeVersionValue, getProperties, getProperty, getPropertyValue, getReferencesAsList, getStandardBrowseName, getStandardDisplayText, getUserWriteMask, getWriteMask, hasProperty, hasReference, hasTypeDefinition, hasUserWriteAccess, hasWriteAccess, incNodeVersion, initNodeVersion, isChildOfType, readAttribute, readAttribute, registerCallbackProperty, registerPlainInstanceProperty, registerPlainInstanceProperty, registerPlainProperty, registerPlainProperty, registerPlainVariable, registerPlainVariable, registerReflectiveInstanceProperty, registerReflectiveInstanceVariable, registerReflectiveProperty, registerReflectiveVariable, removeProperty, setAccessLevelRecursively, setAccessLevelRecursively, setAttribute, setBrowseName, setDescription, setDisplayName, setNodeVersionValue, setPropertyValue, setUserWriteMask, setWriteMask, writeAttribute |
| Methods inherited from class com.prosysopc.ua.server.nodes.ServerNode |
addComponent, addDataChangeListener, addEventListener, addNewReference, addNewReference, addOrganizes, addProperties, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, afterDeleteReference, dataChange, deleteReference, deleteReference, deleteReferences, doDeleteReference, equals, findPlaceholders, fireDataChange, fireEvent, fireEventInParents, getAddressSpace, getDefaultBrowseName, getNodeId, getNodeManager, getReference, getReferenceList, getReferences, getSupportedAttributes, getTargetNodes, hashCode, isAddNotifierReferencesToServerObject, isFalseOrNull, isMandatory, isMonitoredForEvents, isTrueOrNull, isType, referenceTypeInherits, removeComponent, removeDataChangeListener, removeEventListener, setAddNotifierReferencesToServerObject, setReferences, supportsAttribute, translateBrowsePathToNodeIds, validateHasEventSourceChain, validateHasEventSourceChain |
| Methods inherited from interface com.prosysopc.ua.nodes.UaNode |
addComponent, addProperty, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getBrowseName, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeId, getNodeVersion, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setBrowseName, setDescription, setDisplayName, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute |
UaObjectTypeNode
public UaObjectTypeNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
- Parameters:
nodeId - browseName - displayName -
UaObjectTypeNode
public UaObjectTypeNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
Locale locale)
- Create a new node with name to be used for browseName and displayName.
- Parameters:
nodeId - name - locale -
getAttributes
public org.opcfoundation.ua.core.NodeAttributes getAttributes()
- Specified by:
getAttributes in interface UaNode- Specified by:
getAttributes in class BaseNode
- Returns:
- the current attribute values of the node in a NodeAttributes structure.
getIcon
public UaProperty getIcon()
- Description copied from interface:
UaObjectType
- The Icon Property provides an image that can be used by clients when displaying the Node.
- Specified by:
getIcon in interface UaObjectType
- Returns:
- the Icon property. This is an optional property, so it may be null, if the property is
not defined.
getNodeClass
public final org.opcfoundation.ua.core.NodeClass getNodeClass()
- Description copied from interface:
UaNode
- The NodeClass Attribute identifies the NodeClass of a Node.
- Specified by:
getNodeClass in interface UaNode- Overrides:
getNodeClass in class BaseNode
- Returns:
- the Node Class of the node. This is hard-coded and cannot be changed.
setAttributes
public void setAttributes(org.opcfoundation.ua.core.NodeAttributes nodeAttributes)
- Specified by:
setAttributes in interface UaNode- Overrides:
setAttributes in class BaseNode
setIcon
public void setIcon(UaProperty icon)
throws StatusException
- Description copied from interface:
UaObjectType
- Set the value of the Icon property. If the property already exists, the value is copied from
the parameter.
- Specified by:
setIcon in interface UaObjectType
- Parameters:
icon - the Icon to set
- Throws:
StatusException- See Also:
UaObjectType.getIcon()
getAttributes
protected org.opcfoundation.ua.core.ObjectTypeAttributes getAttributes(org.opcfoundation.ua.core.ObjectTypeAttributes attributes)
Copyright © 2018. All rights reserved.