Extensions.DataType

From emotive
Jump to navigation Jump to search

Classification

Name DataType
Short Description Support often required data types Enumeration and Structure.
Class OTX Extension
Base Extension -
Pre-Conditions -
Specified by ISO 13209-4

Introduction

The purpose of the OTX DataTypes extension is support often required data types Enumeration and Structure.
The inner structure of data types Enumeration and Structure have to be defined during authoring time via a signature. This approach has the advantage, that a validation is possible at design time.
Identical enumerations and structures, which refer to the same signature are handled as identical data types.

Terms

EnumerationContainsName
EnumerationContainsValue
EnumerationGetEntryList
GetEnumerationByName
GetEnumerationByValue
CreateResourceLocation
GetResourceLocationId
IsResourceLocationMapped
StructureCopy
StructureCreate

Data Types

Enumeration
ResourceLocation
Structure

Exceptions

DataTypeException

Signatures

StructureSignature
EnumerationSignature

Checker rules

DataType_Chk001 Accessing structure elements
DataType_Chk002 Accessing Enumerations elements
DataType_Chk003 No circular dependencies of structures
DataType_Chk004 Unique enumeration values