|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.prosysopc.ua.nodes.AbstractUaNode
com.prosysopc.ua.server.nodes.ServerNode
com.prosysopc.ua.server.nodes.BaseNode
public abstract class BaseNode
Straight forward, server side implementation of UaNode.
It keeps all attributes in memory.
This is an abstract class, as the UA specification does not enable nodes of the generic class. The nodes must be one of the actual types for the specific node classes.
| Field Summary | |
|---|---|
static org.opcfoundation.ua.builtintypes.QualifiedName |
NODE_VERSION_PROPERTY_NAME
|
| Fields inherited from class com.prosysopc.ua.server.nodes.ServerNode |
|---|
eventListeners, INITIALIZATION_TIME, nodeManager, supportedAttributesMap |
| Constructor Summary | |
|---|---|
protected |
BaseNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId)
|
|
BaseNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
Create a new node. |
|
BaseNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
Locale locale)
|
| Method Summary | ||
|---|---|---|
protected
|
addPlainProperty(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name)
Creates a new PlainProperty |
|
protected
|
addPlainVariable(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name)
Creates a new PlainVariable |
|
protected void |
assertTypeSupport(org.opcfoundation.ua.builtintypes.ExpandedNodeId typeDefinition)
|
|
protected void |
assertTypeSupport(org.opcfoundation.ua.builtintypes.NodeId typeDefinition)
|
|
org.opcfoundation.ua.builtintypes.NodeId |
createNodeId(UaNode parent,
String name)
Create a new string type NodeId as " |
|
protected org.opcfoundation.ua.builtintypes.NodeId |
createNodeId(UaNode parent,
String name,
int namespaceIndex)
Create a new string type NodeId as " |
|
protected ReflectiveInstanceProperty |
createReflectiveInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDeclarationId)
|
|
protected ReflectiveInstanceProperty |
createReflectiveInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDeclarationId,
org.opcfoundation.ua.builtintypes.NodeId nodeId)
|
|
UaReference |
deleteReference(org.opcfoundation.ua.builtintypes.ExpandedNodeId targetNodeId,
org.opcfoundation.ua.builtintypes.NodeId referenceTypeId,
boolean isInverse)
Delete a reference from the node. |
|
UaReference |
deleteReference(UaReference reference)
Delete a reference from the node. |
|
protected boolean |
doAddProperty(UaProperty property)
|
|
abstract org.opcfoundation.ua.core.NodeAttributes |
getAttributes()
|
|
protected org.opcfoundation.ua.core.NodeAttributes |
getAttributes(org.opcfoundation.ua.core.NodeAttributes attributes)
|
|
org.opcfoundation.ua.builtintypes.QualifiedName |
getBrowseName()
Nodes have a BrowseName Attribute that is used as a non-localised human-readable name when browsing the AddressSpace to create paths out of BrowseNames. |
|
UaNode |
getComponent(org.opcfoundation.ua.builtintypes.QualifiedName componentName)
Get the component, which has the specified name. |
|
UaNode[] |
getComponents()
Get a list of components of this node, i.e. target nodes of all forward HasComponent references. |
|
org.opcfoundation.ua.builtintypes.LocalizedText |
getDescription()
The optional Description Attribute shall explain the meaning of the Node in a localized text using the same mechanisms for localization as described for the DisplayName. |
|
org.opcfoundation.ua.builtintypes.LocalizedText |
getDescription(Locale locale)
|
|
org.opcfoundation.ua.builtintypes.LocalizedText |
getDisplayName()
The DisplayName Attribute contains the localised name of the Node. |
|
org.opcfoundation.ua.builtintypes.LocalizedText |
getDisplayName(Locale locale)
|
|
UaMethod |
getMethod(org.opcfoundation.ua.builtintypes.QualifiedName methodName)
Get the method, which has the specified name. |
|
org.opcfoundation.ua.core.NodeClass |
getNodeClass()
The NodeClass Attribute identifies the NodeClass of a Node. |
|
UaProperty |
getNodeVersion()
|
|
String |
getNodeVersionValue()
|
|
UaProperty[] |
getProperties()
|
|
UaProperty |
getProperty(org.opcfoundation.ua.builtintypes.QualifiedName name)
Get the property with name. |
|
org.opcfoundation.ua.builtintypes.DataValue |
getPropertyValue(org.opcfoundation.ua.builtintypes.QualifiedName propertyName)
Get the value of a property. |
|
protected List<UaReference> |
getReferencesAsList(Boolean isInverse,
org.opcfoundation.ua.builtintypes.NodeId... referenceTypeIds)
|
|
protected static org.opcfoundation.ua.builtintypes.QualifiedName |
getStandardBrowseName(String name)
|
|
protected static org.opcfoundation.ua.builtintypes.LocalizedText |
getStandardDisplayText(String name)
|
|
EnumSet<WriteAccess> |
getUserWriteMask()
The optional UserWriteMask Attribute exposes the possibilities of a client to write the Attributes of the Node taking user access rights into account. |
|
EnumSet<WriteAccess> |
getWriteMask()
The optional WriteMask Attribute exposes the possibilities of a client to write the Attributes of the Node. |
|
boolean |
hasProperty(org.opcfoundation.ua.builtintypes.QualifiedName propertyName)
|
|
protected UaReference |
hasReference(UaReference reference)
|
|
boolean |
hasTypeDefinition()
|
|
boolean |
hasUserWriteAccess(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId)
Checks additional user access rights to the node. |
|
boolean |
hasWriteAccess(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId)
Check the common access rights of a node attribute. |
|
void |
incNodeVersion()
Increment NodeVersion property to the next integer value. |
|
void |
initNodeVersion()
Initializes NodeVersion property to version number "1". |
|
protected boolean |
isChildOfType()
|
|
org.opcfoundation.ua.builtintypes.DataValue |
readAttribute(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId)
Read the current value of an attribute. |
|
void |
readAttribute(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue,
Locale locale)
|
|
protected void |
readAttributeValue(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
Read the value of an attribute. |
|
protected CallbackInstanceProperty |
registerCallbackProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId,
org.opcfoundation.ua.builtintypes.NodeId typeDefinitionId,
UaVariableCallback callback)
|
|
protected
|
registerPlainInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDecalarationId,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
Register a new property node as a property of this node. |
|
protected
|
registerPlainInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDecalarationId,
T initialValue)
Register a new property node as a property of this node. |
|
protected
|
registerPlainProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
Register a new property node as a property of this node. |
|
protected
|
registerPlainProperty(String name,
T initialValue)
Register a new property node as a property of this node. |
|
protected
|
registerPlainVariable(String name,
org.opcfoundation.ua.builtintypes.NodeId typeDefinitionId,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
Create a new variable as a component of this node. |
|
protected
|
registerPlainVariable(String name,
org.opcfoundation.ua.builtintypes.NodeId typeDefinitionId,
T initialValue)
Create a new variable as a component of this node. |
|
protected void |
registerReflectiveInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDeclarationId,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
|
|
protected ReflectiveInstanceVariable |
registerReflectiveInstanceVariable(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDecalarationId,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
|
|
protected ReflectiveProperty |
registerReflectiveProperty(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
|
|
protected ReflectiveVariable |
registerReflectiveVariable(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
|
|
UaProperty |
removeProperty(org.opcfoundation.ua.builtintypes.QualifiedName name)
Remove the property with the specified name. |
|
protected void |
setAccessLevelRecursively(EnumSet<org.opcfoundation.ua.core.AccessLevel> accessLevel)
|
|
static void |
setAccessLevelRecursively(UaNode node,
EnumSet<org.opcfoundation.ua.core.AccessLevel> accessLevel,
org.opcfoundation.ua.builtintypes.NodeId... referenceTypeIds)
Set the access level of the node and all "child nodes", which are referred to it using forward references of the defined types. |
|
void |
setAttribute(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
Unconditionally, set the value of the specified attribute. |
|
void |
setAttributes(org.opcfoundation.ua.core.NodeAttributes nodeAttributes)
|
|
void |
setBrowseName(org.opcfoundation.ua.builtintypes.QualifiedName browseName)
|
|
void |
setDescription(org.opcfoundation.ua.builtintypes.LocalizedText description)
|
|
void |
setDisplayName(org.opcfoundation.ua.builtintypes.LocalizedText displayName)
|
|
void |
setNodeVersionValue(String nodeVersion)
Set the value of the NodeVersion property. |
|
void |
setPropertyValue(org.opcfoundation.ua.builtintypes.QualifiedName propertyName,
Object value)
Set the value of a property. |
|
void |
setUserWriteMask(EnumSet<WriteAccess> userWriteMask)
|
|
void |
setWriteMask(EnumSet<WriteAccess> writeMask)
|
|
String |
toString()
|
|
boolean |
writeAttribute(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
Write the attribute value in a node. |
|
protected void |
writeAttributeValue(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
Object value,
org.opcfoundation.ua.builtintypes.StatusCode statusCode,
org.opcfoundation.ua.builtintypes.DateTime sourceTime,
org.opcfoundation.ua.builtintypes.UnsignedShort sourcePicoseconds)
|
|
| Methods inherited from class com.prosysopc.ua.nodes.AbstractUaNode |
|---|
getForwardReferences, getInverseReferences, getReferences, getReferences, referenceTypeInherits |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final org.opcfoundation.ua.builtintypes.QualifiedName NODE_VERSION_PROPERTY_NAME
| Constructor Detail |
|---|
public BaseNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
nodeId - browseName - displayName -
public BaseNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
Locale locale)
protected BaseNode(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId)
nodeManager - | Method Detail |
|---|
public static void setAccessLevelRecursively(UaNode node,
EnumSet<org.opcfoundation.ua.core.AccessLevel> accessLevel,
org.opcfoundation.ua.builtintypes.NodeId... referenceTypeIds)
node - the node from which to start the recursive settingaccessLevel - the access level to set to all nodesreferenceTypeIds - the reference types to look for child nodes. Default is Aggregatesprotected static org.opcfoundation.ua.builtintypes.QualifiedName getStandardBrowseName(String name)
protected static org.opcfoundation.ua.builtintypes.LocalizedText getStandardDisplayText(String name)
name -
public org.opcfoundation.ua.builtintypes.NodeId createNodeId(UaNode parent,
String name)
parent - the parent node - must not be nullname - the name of the property, used for both BrowseName and DisplayName
public UaReference deleteReference(org.opcfoundation.ua.builtintypes.ExpandedNodeId targetNodeId,
org.opcfoundation.ua.builtintypes.NodeId referenceTypeId,
boolean isInverse)
UaNode
deleteReference in interface UaNodedeleteReference in class ServerNodetargetNodeId - The target node of the reference.referenceTypeId - The exact type of reference.isInverse - Whether to remove a forward reference. If false, deletes an inverse reference
only.
public UaReference deleteReference(UaReference reference)
UaNode
deleteReference in interface UaNodedeleteReference in class ServerNodereference - public abstract org.opcfoundation.ua.core.NodeAttributes getAttributes()
public org.opcfoundation.ua.builtintypes.QualifiedName getBrowseName()
UaNodeA BrowseName should never be used to display the name of a Node. The DisplayName should be used instead for this purpose.
Unlike NodeIds, the BrowseName cannot be used to unambiguously identify a Node. Different Nodes may have the same BrowseName.
AddressSpace.translateBrowsePathsToNodeIds(org.opcfoundation.ua.core.BrowsePath...)public UaNode getComponent(org.opcfoundation.ua.builtintypes.QualifiedName componentName)
UaNode
componentName - the BrowseName of the component to get
public UaNode[] getComponents()
UaNode
public org.opcfoundation.ua.builtintypes.LocalizedText getDescription()
UaNode
public org.opcfoundation.ua.builtintypes.LocalizedText getDescription(Locale locale)
public org.opcfoundation.ua.builtintypes.LocalizedText getDisplayName()
UaNodeThe string part of the DisplayName is restricted to 512 characters.
public org.opcfoundation.ua.builtintypes.LocalizedText getDisplayName(Locale locale)
locale - The desired locale
public UaMethod getMethod(org.opcfoundation.ua.builtintypes.QualifiedName methodName)
UaNode
methodName -
public org.opcfoundation.ua.core.NodeClass getNodeClass()
UaNode
public UaProperty getNodeVersion()
public String getNodeVersionValue()
public UaProperty[] getProperties()
public UaProperty getProperty(org.opcfoundation.ua.builtintypes.QualifiedName name)
name - the name of the property
public org.opcfoundation.ua.builtintypes.DataValue getPropertyValue(org.opcfoundation.ua.builtintypes.QualifiedName propertyName)
throws StatusException,
IllegalArgumentException
propertyName -
StatusException - If the property value cannot be set
IllegalArgumentException - If the property does not existpublic EnumSet<WriteAccess> getUserWriteMask()
UaNodeThe UserWriteMask Attribute can only further restrict the WriteMask Attribute, when it is set to not writable in the general case that applies for every user.
public EnumSet<WriteAccess> getWriteMask()
UaNode
public boolean hasProperty(org.opcfoundation.ua.builtintypes.QualifiedName propertyName)
public boolean hasTypeDefinition()
public boolean hasUserWriteAccess(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId)
UaNode
attributeId - the attribute to check
public boolean hasWriteAccess(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId)
UaNode
attributeId - the attribute to check
public void incNodeVersion()
throws NumberFormatException
The NodeVersion property must be initialized with initNodeVersion() before it can be
incremented (otherwise it will do nothing). The NodeManagerRoot will actually call
incNodeversion automatically for nodes that are part of a ModelChange that is ended with
NodeManagerRoot.endModelChange().
NumberFormatException - if the current nodeVersion string does not contain a parsable
integerpublic void initNodeVersion()
Node's that have the optional NodeVersion Property can participate in a
GeneralModelChangeEvent. See NodeManagerRoot.beginModelChange() for how to trigger
these events.
public org.opcfoundation.ua.builtintypes.DataValue readAttribute(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId)
attributeId -
UaNode.supportsAttribute(UnsignedInteger)
public final void readAttribute(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue,
Locale locale)
public UaProperty removeProperty(org.opcfoundation.ua.builtintypes.QualifiedName name)
UaNode
name - the name of the property
public void setAttribute(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
throws StatusException
attributeId - dataValue -
StatusExceptionpublic void setAttributes(org.opcfoundation.ua.core.NodeAttributes nodeAttributes)
public void setBrowseName(org.opcfoundation.ua.builtintypes.QualifiedName browseName)
browseName - the new BrowseName to setUaNode.getBrowseName()public void setDescription(org.opcfoundation.ua.builtintypes.LocalizedText description)
description - the new description to setUaNode.getDescription()public void setDisplayName(org.opcfoundation.ua.builtintypes.LocalizedText displayName)
displayName - the new DisplayName to setUaNode.getDisplayName()public void setNodeVersionValue(String nodeVersion)
nodeVersion - a new string value for the version. Internally we try to use this as an
Integer, which is incremented, using incNodeVersion()
public void setPropertyValue(org.opcfoundation.ua.builtintypes.QualifiedName propertyName,
Object value)
throws StatusException,
IllegalArgumentException
propertyName - value -
StatusException - If the property value cannot be set
IllegalArgumentException - If the property does not existpublic void setUserWriteMask(EnumSet<WriteAccess> userWriteMask)
userWriteMask - the new UserWriteMask to setUaNode.getUserWriteMask()public void setWriteMask(EnumSet<WriteAccess> writeMask)
writeMask - the new WriteMask to setUaNode.getWriteMask()public String toString()
toString in class ServerNode
public final boolean writeAttribute(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
throws StatusException
attributeId - the attributedataValue - the new value, if this is null, the status of the attribute is set to
StatusCode.BAD, otherwise the status and value are used from it
StatusException - if the write is not accepted (for above mentioned reasons)UaNode.supportsAttribute(UnsignedInteger)
protected <T> PlainProperty<T> addPlainProperty(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name)
It also calls addProperty to add the variable to the current node.
nodeId - the Node ID used for the new propertyname - The name used initialize the property
protected <T> PlainVariable<T> addPlainVariable(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name)
It also calls addComponent to add the variable to the current node.
nodeId - the Node ID used for the new variablename - The name used initialize the variable.
protected void assertTypeSupport(org.opcfoundation.ua.builtintypes.ExpandedNodeId typeDefinition)
protected void assertTypeSupport(org.opcfoundation.ua.builtintypes.NodeId typeDefinition)
protected org.opcfoundation.ua.builtintypes.NodeId createNodeId(UaNode parent,
String name,
int namespaceIndex)
parent - the parent node - must not be nullname - the name of the property, used for both BrowseName and DisplayNamenamespaceIndex - the namespacIndex to use for the NodeId. If you omit it, the
namespaceIndex of parent is used.
protected ReflectiveInstanceProperty createReflectiveInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDeclarationId)
throws SecurityException,
NoSuchMethodException,
StatusException
name - instanceDeclarationId -
StatusException
NoSuchMethodException
SecurityException
protected ReflectiveInstanceProperty createReflectiveInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDeclarationId,
org.opcfoundation.ua.builtintypes.NodeId nodeId)
throws SecurityException,
NoSuchMethodException,
StatusException
name - instanceDeclarationId -
SecurityException
NoSuchMethodException
StatusExceptionprotected boolean doAddProperty(UaProperty property)
doAddProperty in class ServerNodeproperty -
protected org.opcfoundation.ua.core.NodeAttributes getAttributes(org.opcfoundation.ua.core.NodeAttributes attributes)
protected List<UaReference> getReferencesAsList(Boolean isInverse,
org.opcfoundation.ua.builtintypes.NodeId... referenceTypeIds)
getReferencesAsList in class AbstractUaNodeprotected UaReference hasReference(UaReference reference)
hasReference in class ServerNodeprotected boolean isChildOfType()
protected void readAttributeValue(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
throws StatusException
attributeId - the ID of the attribute to read.dataValue - the DataValue structure in which the value is set.
StatusException
protected CallbackInstanceProperty registerCallbackProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId,
org.opcfoundation.ua.builtintypes.NodeId typeDefinitionId,
UaVariableCallback callback)
throws StatusException
name - dataTypeId - typeDefinitionId - callback -
StatusException - if instanceDecalarationId cannot be converted to a variable node
protected <T> PlainInstanceProperty<T> registerPlainInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDecalarationId,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
throws StatusException
name - the name of the propertydataTypeId - The data type of the property
StatusException - if instanceDecalarationId cannot be converted to a variable
protected <T> PlainInstanceProperty<T> registerPlainInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDecalarationId,
T initialValue)
throws StatusException
name - the name of the propertyinitialValue - initial value of the property. This may not be null. If you do not have a
valid initialValue, use the overload method, which takes the dataTypeId as parameter.
The value is used to determine the type.
StatusException - if instanceDecalarationId cannot be converted to a variable
protected <T> PlainProperty<T> registerPlainProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
name - the name of the propertydataTypeId - The data type of the property
protected <T> PlainProperty<T> registerPlainProperty(String name,
T initialValue)
name - the name of the propertyinitialValue - initial value of the property. This may not be null. If you do not have a
valid initialValue, use the overload method, which takes the dataTypeId as parameter.
The value is used to determine the type.
protected <T> PlainVariable<T> registerPlainVariable(String name,
org.opcfoundation.ua.builtintypes.NodeId typeDefinitionId,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
name - the name of the variabletypeDefinitionId - The type definition of the variabledataTypeId - The data type of the variable
protected <T> PlainVariable<T> registerPlainVariable(String name,
org.opcfoundation.ua.builtintypes.NodeId typeDefinitionId,
T initialValue)
name - the name of the variabletypeDefinitionId - The type definition of the variableinitialValue - initial value of the property. This may not be null. If you do not have a
valid initialValue, use the overload method, which takes the dataTypeId as parameter.
The value is used to determine the type.
protected void registerReflectiveInstanceProperty(String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDeclarationId,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
throws IllegalArgumentException
name - instanceDeclarationId - dataTypeId -
SecurityException
NoSuchMethodException
StatusException - if instanceDecalarationId cannot be converted to a variable node
IllegalArgumentException
protected ReflectiveInstanceVariable registerReflectiveInstanceVariable(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
org.opcfoundation.ua.builtintypes.NodeId instanceDecalarationId,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
throws SecurityException,
NoSuchMethodException,
StatusException
nodeId - name - dataTypeId - instanceDecalarationId -
NoSuchMethodException
SecurityException
StatusException - if instanceDecalarationId cannot be converted to a variable node
protected ReflectiveProperty registerReflectiveProperty(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
throws SecurityException,
NoSuchMethodException
nodeId - name - dataTypeId -
NoSuchMethodException
SecurityException
protected ReflectiveVariable registerReflectiveVariable(org.opcfoundation.ua.builtintypes.NodeId nodeId,
String name,
org.opcfoundation.ua.builtintypes.NodeId dataTypeId)
throws SecurityException,
NoSuchMethodException
nodeId - name - dataTypeId -
NoSuchMethodException
SecurityExceptionprotected void setAccessLevelRecursively(EnumSet<org.opcfoundation.ua.core.AccessLevel> accessLevel)
accessLevel -
protected void writeAttributeValue(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
Object value,
org.opcfoundation.ua.builtintypes.StatusCode statusCode,
org.opcfoundation.ua.builtintypes.DateTime sourceTime,
org.opcfoundation.ua.builtintypes.UnsignedShort sourcePicoseconds)
throws StatusException
writeAttributeValue in class ServerNodeStatusException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||