Interface DataTypeNode
- All Superinterfaces:
Node
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.structured.DataTypeDefinitionGet the DataTypeDefinition attribute.The IsAbstract attribute specifies if the DataType is abstract or not.voidsetDataTypeDefinition(org.eclipse.milo.opcua.stack.core.types.structured.DataTypeDefinition dataTypeDefinition) Set the DataTypeDefinition attribute.voidsetIsAbstract(Boolean isAbstract) Set the IsAbstract attribute of this DataType.Methods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMask
-
Method Details
-
getIsAbstract
Boolean getIsAbstract()The IsAbstract attribute specifies if the DataType is abstract or not.Abstract DataTypes can be used in the AddressSpace, i.e. Variables and VariableTypes can point with their DataType Attribute to an abstract DataType. However, concrete values can never be of an abstract DataType and shall always be of a concrete subtype of the abstract DataType.
- Returns:
trueif the DataType is abstract.
-
setIsAbstract
Set the IsAbstract attribute of this DataType.- Parameters:
isAbstract-trueif this
-
getDataTypeDefinition
org.eclipse.milo.opcua.stack.core.types.structured.DataTypeDefinition getDataTypeDefinition()Get the DataTypeDefinition attribute.The DataTypeDefinition Attribute is used to provide the metadata and encoding information for custom DataTypes.
See OPC UA Part 3, section 5.8.3.
- Returns:
- the DataTypeDefinition of this Node.
-
setDataTypeDefinition
void setDataTypeDefinition(org.eclipse.milo.opcua.stack.core.types.structured.DataTypeDefinition dataTypeDefinition) Set the DataTypeDefinition attribute.- Parameters:
dataTypeDefinition- the DataTypeDefinition to set.- See Also:
-