Class ObjectType

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.ArrayList<FieldType> fields  
      private java.lang.String type  
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectType​(java.lang.String nodeId, java.lang.String browseName, java.lang.String displayName, java.lang.String description, boolean optional, java.lang.String type, java.util.ArrayList<FieldType> fields)
      Creates an OPC UA object type representation/declaration.
    • Field Detail

      • type

        private java.lang.String type
      • fields

        private java.util.ArrayList<FieldType> fields
    • Constructor Detail

      • ObjectType

        public ObjectType​(java.lang.String nodeId,
                          java.lang.String browseName,
                          java.lang.String displayName,
                          java.lang.String description,
                          boolean optional,
                          java.lang.String type,
                          java.util.ArrayList<FieldType> fields)
        Creates an OPC UA 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
        fields - the fields the object is constituted from
    • Method Detail

      • getType

        public java.lang.String getType()
        Returns the type of the object.
        Returns:
        the type
      • getFields

        public java.util.ArrayList<FieldType> getFields()
        Returns the fields making up the type.
        Returns:
        the fields
      • setFields

        public void setFields​(java.util.ArrayList<FieldType> fields)
        Changes the fields making up the type.
        Parameters:
        fields - the new fields
      • toString

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