Class DynamicType
java.lang.Object
org.eclipse.milo.opcua.sdk.core.types.DynamicType
- All Implemented Interfaces:
org.eclipse.milo.opcua.stack.core.types.UaDataType
- Direct Known Subclasses:
DynamicEnumType,DynamicOptionSetType,DynamicStructType,DynamicUnionType
public abstract sealed class DynamicType
extends Object
implements org.eclipse.milo.opcua.stack.core.types.UaDataType
permits DynamicEnumType, DynamicOptionSetType, DynamicStructType, DynamicUnionType
Base class for an instance of a "dynamic" type, i.e. one that is defined dynamically at runtime
as opposed to statically at compile time.
-
Constructor Details
-
DynamicType
public DynamicType()
-
-
Method Details
-
getTypeName
- Specified by:
getTypeNamein interfaceorg.eclipse.milo.opcua.stack.core.types.UaDataType
-
getDataType
Get theDataTypethat defines this type.- Returns:
- the
DataTypethat defines this type.
-
getDataTypeDefinition
public abstract org.eclipse.milo.opcua.stack.core.types.structured.DataTypeDefinition getDataTypeDefinition()Get theDataTypeDefinitionthat defines this type.Subclasses may refine the return type to either
EnumDefinitionorStructureDefinition.- Returns:
- the
DataTypeDefinitionthat defines this type.
-