com.prosysopc.ua.nodes
Interface UaObjectType

All Superinterfaces:
UaNode, UaType
All Known Implementing Classes:
UaObjectTypeImpl, UaObjectTypeNode

public interface UaObjectType
extends UaType

Interface definition for OPC UA object type.

UaObjectTypes provide definitions for Objects. The NodeClass of Objects is NodeClass.ObjectType.

UaObjectType inherits Attributes from UaNode. IsAbstract Attribute indicates if the ObjectType is abstract or not.

The ObjectType may use HasComponent references to define the structure of the type, consisting of Object, Method and DataVariable nodes. It may also define properties using the HasProperty references.

Object Types may use GeneratesEvent References to identify the type of Events that instances of the ObjectType may generate. These Objects may be the source of an Event of the specified type or one of its subtypes.

Note that the EventNotifier Attribute of an Object and the GeneratesEvent References of its ObjectType are completely unrelated.

GeneratesEvent References are optional, i.e. Objects may generate Events of an EventType that is not exposed by its ObjectType.

See Also:
UaType, UaVariableType, UaObject, UaDataType, UaReferenceType

Field Summary
static org.opcfoundation.ua.builtintypes.QualifiedName ICON_PROPERTY
          The identifier of the Icon property.
 
Method Summary
 UaProperty getIcon()
          The Icon Property provides an image that can be used by clients when displaying the Node.
 void setIcon(UaProperty icon)
          Set the value of the Icon property.
 
Methods inherited from interface com.prosysopc.ua.nodes.UaType
addSubType, getIsAbstract, getJavaClass, getSuperType, hasSuperType, inheritsFrom, inheritsFrom, setIsAbstract, setJavaClass, setSuperType
 
Methods inherited from interface com.prosysopc.ua.nodes.UaNode
addComponent, addProperty, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeClass, getNodeId, getNodeVersion, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute
 

Field Detail

ICON_PROPERTY

static final org.opcfoundation.ua.builtintypes.QualifiedName ICON_PROPERTY
The identifier of the Icon property.

Method Detail

getIcon

UaProperty getIcon()
The Icon Property provides an image that can be used by clients when displaying the Node.

Returns:
the Icon property. This is an optional property, so it may be null, if the property is not defined.

setIcon

void setIcon(UaProperty icon)
             throws StatusException
Set the value of the Icon property. If the property already exists, the value is copied from the parameter.

Parameters:
icon - the Icon to set
Throws:
StatusException
See Also:
getIcon()


Copyright © 2018. All rights reserved.