Class EnumType
- java.lang.Object
-
- de.iip_ecosphere.platform.configuration.opcua.data.BaseType
-
- de.iip_ecosphere.platform.configuration.opcua.data.EnumType
-
public class EnumType extends BaseType
Represents an OPC UA enumeration type.- Author:
- Jan-Hendrik Cepok, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdocumentationprivate java.util.ArrayList<EnumLiteral>literals
-
Constructor Summary
Constructors Constructor Description EnumType(java.lang.String nodeId, java.lang.String browseName, java.lang.String displayname, java.lang.String description, java.lang.String documentation, java.util.ArrayList<EnumLiteral> literals)Creates an OPC UA data type instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDocumentation()Returns the documentation.java.util.ArrayList<EnumLiteral>getLiterals()Returns the enumeration literals.java.lang.StringtoString()Formats the respective OPC UA type in IVML.-
Methods inherited from class de.iip_ecosphere.platform.configuration.opcua.data.BaseType
formatNodeId, getBrowseName, getDescription, getDisplayname, getNodeId, getVarName, isOptional, setVarName, validateVarName
-
-
-
-
Field Detail
-
documentation
private java.lang.String documentation
-
literals
private java.util.ArrayList<EnumLiteral> literals
-
-
Constructor Detail
-
EnumType
public EnumType(java.lang.String nodeId, java.lang.String browseName, java.lang.String displayname, java.lang.String description, java.lang.String documentation, java.util.ArrayList<EnumLiteral> literals)Creates an OPC UA data type instance.- Parameters:
nodeId- the node idbrowseName- the browse namedisplayname- the display namedescription- the descriptiondocumentation- the documentation of the typeliterals- the literals of this data type
-
-
Method Detail
-
getDocumentation
public java.lang.String getDocumentation()
Returns the documentation.- Returns:
- the documentation
-
getLiterals
public java.util.ArrayList<EnumLiteral> getLiterals()
Returns the enumeration literals.- Returns:
- the literals
-
-