Class NamespaceMetadataNode
- java.lang.Object
-
- com.plccom.opc.ua.client.application.model.nodes.UaNode
-
- com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.BaseObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.NamespaceMetadataNode
-
public class NamespaceMetadataNode extends BaseObjectNode
PLCcom sdk NamespaceMetadataNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description NamespaceMetadataNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for NamespaceMetadataNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetIsNamespaceSubset()Returns the attribute IS_NAMESPACE_SUBSET from cache or directly from connected ua serverAddressSpaceFileNodegetNamespaceFile()returns the NamespaceFile from nodecom.plccom.opc.ua.builtintypes.DateTimegetNamespacePublicationDate()Returns the attribute NAMESPACE_PUBLICATION_DATE from cache or directly from connected ua serverStringgetNamespaceUri()Returns the attribute NAMESPACE_URI from cache or directly from connected ua serverStringgetNamespaceVersion()Returns the attribute NAMESPACE_VERSION from cache or directly from connected ua servercom.plccom.opc.ua.core.IdType[]getStaticNodeIdIdentifierTypes()Returns the attribute STATIC_NODE_ID_IDENTIFIER_TYPES from cache or directly from connected ua serverString[]getStaticNumericNodeIdRange()Returns the attribute STATIC_NUMERIC_NODE_ID_RANGE from cache or directly from connected ua serverString[]getStaticStringNodeIdPattern()Returns the attribute STATIC_STRING_NODE_ID_PATTERN from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetIsNamespaceSubset(Boolean value)Sets the attribute IS_NAMESPACE_SUBSET of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetNamespacePublicationDate(com.plccom.opc.ua.builtintypes.DateTime value)Sets the attribute NAMESPACE_PUBLICATION_DATE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetNamespaceUri(String value)Sets the attribute NAMESPACE_URI of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetNamespaceVersion(String value)Sets the attribute NAMESPACE_VERSION of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetStaticNodeIdIdentifierTypes(com.plccom.opc.ua.core.IdType[] value)Sets the attribute STATIC_NODE_ID_IDENTIFIER_TYPES of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetStaticNumericNodeIdRange(String[] value)Sets the attribute STATIC_NUMERIC_NODE_ID_RANGE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetStaticStringNodeIdPattern(String[] value)Sets the attribute STATIC_STRING_NODE_ID_PATTERN of this node at connected ua server and refreshing the nodecache-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
browseObjectType, browseVariable, getEventNotifier, readEventNotifier, setEventNotifier, writeEventNotifier
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaNode
getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, readBrowseName, readDescription, readDisplayName, readNodeClass, readNodeId, readUserWriteMask, readWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMask, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeUserWriteMask, writeWriteMask
-
-
-
-
Constructor Detail
-
NamespaceMetadataNode
public NamespaceMetadataNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for NamespaceMetadataNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getNamespaceFile
public AddressSpaceFileNode getNamespaceFile() throws com.plccom.opc.ua.common.ServiceResultException
returns the NamespaceFile from node- Returns:
- a AddressSpaceFileNode object
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getNamespaceUri
public String getNamespaceUri() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute NAMESPACE_URI from cache or directly from connected ua server- Returns:
- the NAMESPACE_URI attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setNamespaceUri
public com.plccom.opc.ua.builtintypes.StatusCode setNamespaceUri(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute NAMESPACE_URI of this node at connected ua server and refreshing the nodecache- Parameters:
value- the NAMESPACE_URI attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getNamespaceVersion
public String getNamespaceVersion() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute NAMESPACE_VERSION from cache or directly from connected ua server- Returns:
- the NAMESPACE_VERSION attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setNamespaceVersion
public com.plccom.opc.ua.builtintypes.StatusCode setNamespaceVersion(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute NAMESPACE_VERSION of this node at connected ua server and refreshing the nodecache- Parameters:
value- the NAMESPACE_VERSION attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getNamespacePublicationDate
public com.plccom.opc.ua.builtintypes.DateTime getNamespacePublicationDate() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute NAMESPACE_PUBLICATION_DATE from cache or directly from connected ua server- Returns:
- the NAMESPACE_PUBLICATION_DATE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setNamespacePublicationDate
public com.plccom.opc.ua.builtintypes.StatusCode setNamespacePublicationDate(com.plccom.opc.ua.builtintypes.DateTime value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute NAMESPACE_PUBLICATION_DATE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the NAMESPACE_PUBLICATION_DATE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getIsNamespaceSubset
public Boolean getIsNamespaceSubset() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute IS_NAMESPACE_SUBSET from cache or directly from connected ua server- Returns:
- the IS_NAMESPACE_SUBSET attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setIsNamespaceSubset
public com.plccom.opc.ua.builtintypes.StatusCode setIsNamespaceSubset(Boolean value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute IS_NAMESPACE_SUBSET of this node at connected ua server and refreshing the nodecache- Parameters:
value- the IS_NAMESPACE_SUBSET attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getStaticNodeIdIdentifierTypes
public com.plccom.opc.ua.core.IdType[] getStaticNodeIdIdentifierTypes() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute STATIC_NODE_ID_IDENTIFIER_TYPES from cache or directly from connected ua server- Returns:
- the STATIC_NODE_ID_IDENTIFIER_TYPES attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setStaticNodeIdIdentifierTypes
public com.plccom.opc.ua.builtintypes.StatusCode setStaticNodeIdIdentifierTypes(com.plccom.opc.ua.core.IdType[] value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute STATIC_NODE_ID_IDENTIFIER_TYPES of this node at connected ua server and refreshing the nodecache- Parameters:
value- the STATIC_NODE_ID_IDENTIFIER_TYPES attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getStaticNumericNodeIdRange
public String[] getStaticNumericNodeIdRange() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute STATIC_NUMERIC_NODE_ID_RANGE from cache or directly from connected ua server- Returns:
- the STATIC_NUMERIC_NODE_ID_RANGE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setStaticNumericNodeIdRange
public com.plccom.opc.ua.builtintypes.StatusCode setStaticNumericNodeIdRange(String[] value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute STATIC_NUMERIC_NODE_ID_RANGE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the STATIC_NUMERIC_NODE_ID_RANGE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getStaticStringNodeIdPattern
public String[] getStaticStringNodeIdPattern() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute STATIC_STRING_NODE_ID_PATTERN from cache or directly from connected ua server- Returns:
- the STATIC_STRING_NODE_ID_PATTERN attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setStaticStringNodeIdPattern
public com.plccom.opc.ua.builtintypes.StatusCode setStaticStringNodeIdPattern(String[] value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute STATIC_STRING_NODE_ID_PATTERN of this node at connected ua server and refreshing the nodecache- Parameters:
value- the STATIC_STRING_NODE_ID_PATTERN attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-