java.lang.Object
de.iip_ecosphere.platform.configuration.opcua.data.Literal
Direct Known Subclasses:
DataLiteral, EnumLiteral

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

    • name

      private String name
    • description

      private String description
  • Constructor Details

    • Literal

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

    • getName

      public String getName()
      Returns the name of the literal.
      Returns:
      the literal
    • getDescription

      public String getDescription()
      Returns the name of the literal description.
      Returns:
      the description
    • toString

      public String toString()
      Formats the OPC UA literal in IVML.
      Overrides:
      toString in class Object
      Returns:
      the IVML representation of the OPC UA literal