3.1. Elements - Complex data type elements
Complex data types are defined by properties. Data type properties are base types, attributes, references and relationships, but also keys. In contrast to keys, which are defined by type definitions, again, attributes, references, relationships and base types are defined as properties (property definition), which, again, refer to a key.
Most element functions will throw an exception when trying to access non existing elements. In order to avoid exceptions, element counts are provided as well as element check functions (exist).
Functions
- attributeCount - Number of attributes
- attributeName - Get attribute according to position
- attributeNameCount - Get number of attribute names
- baseTypeCount - Number of base types
- collectionName - Get reference from structure definition
- collectionNameCount - Get number of reference paths
- keyCount - Number of defined keys
- keyDefinition - Get type definition for key
- keyExist - Check key name
- propertyCount - Data type property count
- propertyDefinition - Get property definition
- propertyExist - Check property path
- referenceCount - Number of references
- relationshipCount - Relationship count
- sharedBaseName - Get property names for shared base types
- sharedBaseNameCount - Number of shared base type properties