Class RootObjectType


  • public class RootObjectType
    extends ObjectType
    Represents an OPC UA root object.
    Author:
    Jan-Hendrik Cepok, SSE
    • Field Detail

      • rootParent

        private java.lang.String rootParent
    • Constructor Detail

      • RootObjectType

        public RootObjectType​(java.lang.String nodeId,
                              java.lang.String browseName,
                              java.lang.String displayName,
                              java.lang.String description,
                              boolean optional,
                              java.lang.String type,
                              java.lang.String rootParent,
                              java.util.ArrayList<FieldType> fields)
        Creates an OPC UA root object type representation/declaration.
        Parameters:
        nodeId - the node id
        browseName - the browse name
        displayName - the display name
        description - the description
        optional - whether the type is optional
        type - the type of the object
        rootParent - the root parent
        fields - the fields the object is constituted from
    • Method Detail

      • getRootParent

        public java.lang.String getRootParent()
        Returns the root parent.
        Returns:
        the root parent
      • toString

        public java.lang.String toString()
        Description copied from class: BaseType
        Formats the respective OPC UA type in IVML.
        Overrides:
        toString in class ObjectType
        Returns:
        the IVML representation of the OPC UA type