java.lang.Object
de.iip_ecosphere.platform.configuration.opcua.data.Literal
de.iip_ecosphere.platform.configuration.opcua.data.EnumLiteral

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

    • ordinal

      private String ordinal
  • Constructor Details

    • EnumLiteral

      public EnumLiteral(String name, String ordinal, String description)
      Creates an enumeration literal instance.
      Parameters:
      name - the name of the literal
      ordinal - the ordinal value
      description - the description of the literal
  • Method Details

    • getOrdinal

      public String getOrdinal()
      Returns the ordinal.
      Returns:
      the ordinal
    • 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