java.lang.Object
de.iip_ecosphere.platform.configuration.opcua.data.BaseType
de.iip_ecosphere.platform.configuration.opcua.data.ObjectType
Direct Known Subclasses:
RootMethodType, RootObjectType

public class ObjectType extends BaseType
Represents an OPC UA object type (declaration).
Author:
Jan-Hendrik Cepok, SSE
  • Field Details

  • Constructor Details

    • ObjectType

      public ObjectType(String nodeId, String browseName, String displayName, String description, boolean optional, String type, 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 Details

    • getType

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

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

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

      public 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