Class UaDataTypeNode

  • Direct Known Subclasses:
    UaObjectTypeNode

    public class UaDataTypeNode
    extends UaNode
    PLCcom sdk UaDataTypeNode Implementation for Opc Ua, with the UaDataTypeNode object you can read or write Attributes or values from cache or directly from connected ua server
    Author:
    Indi.An GmbH, www.indi-an.com, support@indi-an.com
    • Constructor Detail

      • UaDataTypeNode

        public UaDataTypeNode​(UaClient client,
                              com.plccom.opc.ua.builtintypes.NodeId nodeId)
        Standard constructor for a UaDataTypeNode instances
        Parameters:
        client - a client instance
        nodeId - the based nodeId
    • Method Detail

      • getIsAbstract

        public Boolean getIsAbstract()
                              throws com.plccom.opc.ua.common.ServiceFaultException,
                                     com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute IsAbstract from cache or directly from connected ua server
        Returns:
        the IsAbstract attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setIsAbstract

        public com.plccom.opc.ua.builtintypes.StatusCode setIsAbstract​(boolean isAbstract)
                                                                throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute isAbstract of this node at connected ua server and refreshing the nodecache
        Parameters:
        isAbstract - the isAbstract attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • readIsAbstract

        public com.plccom.opc.ua.builtintypes.DataValue readIsAbstract()
                                                                throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                       com.plccom.opc.ua.common.ServiceResultException
        Reads the complete datavalue of attribute IsAbstract this node from cache or directly from connected ua server
        Returns:
        a datavalue object with the attribute IsAbstract
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • writeIsAbstract

        public com.plccom.opc.ua.builtintypes.StatusCode writeIsAbstract​(com.plccom.opc.ua.builtintypes.DataValue value)
                                                                  throws com.plccom.opc.ua.common.ServiceResultException
        Writes the IsAbstract attribute
        Parameters:
        value - a datavalue object with informations to write
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error