Class TransitionEventNode

    • Constructor Detail

      • TransitionEventNode

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

      • getTransition

        public com.plccom.opc.ua.builtintypes.LocalizedText getTransition()
                                                                   throws com.plccom.opc.ua.encoding.DecodingException,
                                                                          com.plccom.opc.ua.common.ServiceFaultException,
                                                                          com.plccom.opc.ua.common.ServiceResultException
        Returns the Transition
        Returns:
        the Transition
        Throws:
        com.plccom.opc.ua.encoding.DecodingException - throws if internal cast operation throws errors
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setTransition

        public com.plccom.opc.ua.builtintypes.StatusCode setTransition​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                                throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                       com.plccom.opc.ua.common.ServiceResultException
        Sets the Transition
        Parameters:
        value - the new Transition
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getFromState

        public com.plccom.opc.ua.builtintypes.LocalizedText getFromState()
                                                                  throws com.plccom.opc.ua.encoding.DecodingException,
                                                                         com.plccom.opc.ua.common.ServiceFaultException,
                                                                         com.plccom.opc.ua.common.ServiceResultException
        Returns the FromState attribute
        Returns:
        the FromState attribute
        Throws:
        com.plccom.opc.ua.encoding.DecodingException - throws if internal cast operation throws errors
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setFromState

        public com.plccom.opc.ua.builtintypes.StatusCode setFromState​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                               throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                      com.plccom.opc.ua.common.ServiceResultException
        Sets the FromState attribute
        Parameters:
        value - the new FromState attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getToState

        public com.plccom.opc.ua.builtintypes.LocalizedText getToState()
                                                                throws com.plccom.opc.ua.encoding.DecodingException,
                                                                       com.plccom.opc.ua.common.ServiceFaultException,
                                                                       com.plccom.opc.ua.common.ServiceResultException
        Returns the ToState attribute
        Returns:
        the ToState attribute
        Throws:
        com.plccom.opc.ua.encoding.DecodingException - throws if internal cast operation throws errors
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setToState

        public com.plccom.opc.ua.builtintypes.StatusCode setToState​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                             throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                    com.plccom.opc.ua.common.ServiceResultException
        Sets the ToState attribute
        Parameters:
        value - the new ToState attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error