Class Literal
- java.lang.Object
-
- de.iip_ecosphere.platform.configuration.opcua.data.Literal
-
- Direct Known Subclasses:
DataLiteral,EnumLiteral
public abstract class Literal extends java.lang.ObjectRepresents an OPC UA literal.- Author:
- Jan-Hendrik Cepok, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdescriptionprivate java.lang.Stringname
-
Constructor Summary
Constructors Constructor Description Literal(java.lang.String name, java.lang.String description)Creates a literal instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the name of the literal description.java.lang.StringgetName()Returns the name of the literal.java.lang.StringtoString()Formats the OPC UA literal in IVML.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of the literal.- Returns:
- the literal
-
getDescription
public java.lang.String getDescription()
Returns the name of the literal description.- Returns:
- the description
-
toString
public java.lang.String toString()
Formats the OPC UA literal in IVML.- Overrides:
toStringin classjava.lang.Object- Returns:
- the IVML representation of the OPC UA literal
-
-