Class DataType
- java.lang.Object
-
- de.iip_ecosphere.platform.configuration.opcua.data.BaseType
-
- de.iip_ecosphere.platform.configuration.opcua.data.DataType
-
public class DataType extends BaseType
Represents an OPC UA data type.- Author:
- Jan-Hendrik Cepok, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdocumentationprivate java.util.ArrayList<DataLiteral>literals
-
Constructor Summary
Constructors Constructor Description DataType(java.lang.String nodeId, java.lang.String browseName, java.lang.String displayName, java.lang.String description, java.lang.String documentation, java.util.ArrayList<DataLiteral> 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 of this data type.java.util.ArrayList<DataLiteral>getLiterals()Returns the literals of this data type.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<DataLiteral> literals
-
-
Constructor Detail
-
DataType
public DataType(java.lang.String nodeId, java.lang.String browseName, java.lang.String displayName, java.lang.String description, java.lang.String documentation, java.util.ArrayList<DataLiteral> 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 of this data type.- Returns:
- the documentation
-
getLiterals
public java.util.ArrayList<DataLiteral> getLiterals()
Returns the literals of this data type.- Returns:
- the literals
-
-