Class NamespaceMetadataNode

    • Constructor Detail

      • NamespaceMetadataNode

        public NamespaceMetadataNode​(UaClient client,
                                     com.plccom.opc.ua.builtintypes.NodeId nodeId)
        default constructor for NamespaceMetadataNode instances
        Parameters:
        client - the client instance
        nodeId - 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 operation
        com.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 operation
        com.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 operation
        com.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.ServiceResultException
        Returns 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 operation
        com.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.ServiceResultException
        Sets 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 operation
        com.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.ServiceResultException
        Returns 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 operation
        com.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.ServiceResultException
        Sets 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 operation
        com.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 operation
        com.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