java.lang.Object
de.iip_ecosphere.platform.configuration.easyProducer.opcua.data.BaseType
de.iip_ecosphere.platform.configuration.easyProducer.opcua.data.FieldType
Direct Known Subclasses:
FieldMethodType, FieldObjectType, FieldVariableType

public abstract class FieldType extends BaseType
Represents an OPC UA field type.
Author:
Jan-Hendrik Cepok, SSE
  • Field Details

    • dataType

      private String dataType
  • Constructor Details

    • FieldType

      public FieldType(String nodeId, String browseName, String displayName, String description, String dataType, boolean optional)
      Creates an OPC UA field type instance.
      Parameters:
      nodeId - the node id
      browseName - the browse name
      displayName - the display name
      description - the description
      dataType - the type of the field
      optional - the optional status
  • Method Details

    • getDataType

      public String getDataType()
      Returns the type of the field.
      Returns:
      the type
    • setDataType

      public void setDataType(String dataType)
      Changes the type of the field.
      Parameters:
      dataType - the new type
    • 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