java.lang.Object
de.iip_ecosphere.platform.configuration.easyProducer.opcua.data.Literal
de.iip_ecosphere.platform.configuration.easyProducer.opcua.data.DataLiteral

public class DataLiteral extends Literal
Represents an OPC UA data literal.
Author:
Jan-Hendrik Cepok, SSE
  • Field Details

    • dataType

      private String dataType
  • Constructor Details

    • DataLiteral

      public DataLiteral(String name, String dataType, String description)
      Creates a data literal instance.
      Parameters:
      name - the name of the literal
      dataType - the data type
      description - the description
  • Method Details

    • getDataType

      public String getDataType()
      Returns the name of the data type.
      Returns:
      the data type
    • toString

      public String toString()
      Description copied from class: Literal
      Formats the OPC UA literal in IVML.
      Overrides:
      toString in class Literal
      Returns:
      the IVML representation of the OPC UA literal