Class ObjectType
java.lang.Object
de.iip_ecosphere.platform.configuration.easyProducer.opcua.data.BaseType
de.iip_ecosphere.platform.configuration.easyProducer.opcua.data.ObjectType
- Direct Known Subclasses:
RootMethodType,RootObjectType
Represents an OPC UA object type (declaration).
- Author:
- Jan-Hendrik Cepok, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.configuration.easyProducer.opcua.data.BaseType
formatNodeId, getBrowseName, getDescription, getDisplayname, getNodeId, getVarName, isOptional, setVarName, validateVarName
-
Field Details
-
type
-
fields
-
-
Constructor Details
-
ObjectType
public ObjectType(String nodeId, String browseName, String displayName, String description, boolean optional, String type, ArrayList<FieldType> fields) Creates an OPC UA object type representation/declaration.- Parameters:
nodeId- the node idbrowseName- the browse namedisplayName- the display namedescription- the descriptionoptional- whether the type is optionaltype- the type of the objectfields- the fields the object is constituted from
-
-
Method Details
-
getType
Returns the type of the object.- Returns:
- the type
-
getFields
Returns the fields making up the type.- Returns:
- the fields
-
setFields
Changes the fields making up the type.- Parameters:
fields- the new fields
-
toString
Description copied from class:BaseTypeFormats the respective OPC UA type in IVML.
-