Annex F (normative) Information Model XML Schema ToC Previous

F.12 DataTypeDefinition ToC Previous Next

A DataTypeDefinition defines an abstract representation of a UADataType that can be used by design tools to automatically create serialization code. The fields in the DataTypeDefinition type are defined in Table F.12.

Table F.12 – DataTypeDefinition

Element Type Description
Name QualifiedName A unique name for the data type.
This field is only specified for nested DataTypeDefinitions.
The BrowseName of the DataType Node is used otherwise.
SymbolicName String A symbolic name for the data type that can be used as a class/structure name in autogenerated code. It should only be specified if the Name cannot be used for this purpose.
Only letters, digits or the underscore (‘_’) are permitted.
This field is only specified for nested DataTypeDefinitions.
The SymbolicName of the DataType Node is used otherwise.
IsUnion Boolean This flag indicates if the data type represents a union.
Only one of the Fields defined for the data type is encoded into a value.
This field is optional. The default value is false.
If this value is true, the first field is the switch value.
IsOptionSet Boolean This flag indicates that the data type defines the OptionSetValues Property.
This field is optional. The default value is false.
Fields DataTypeField [] The list of fields that make up the data type.
This definition assumes the structure has a sequential layout.
For enumerations, the fields are simply a list of values.

Previous Next