Developer Documentation

MetamodelType

The Type structure describes the type information of a typed element in the interface definiton language. The following elements in the metamodel are typed: - Field element in a structure element. See StructureInfo.fields - Parameter element in an operation element. See OperationInfo.params - Result element in an operation element. See OperationInfo.output The type could be one of the three following categories: - Built-in types: These are types present in the interface definition language type system. They are provided by the infrastructure. - User defined named type: API designers can create custom types and use them for the typed elements. These types have a unique identifier. - Generic type instantiation: The language infrastructure also provides generic types such as list, map, set and so on. An instantiation of one of these generic types could also be used for the typed elements.


Properties

Required Property Name Type Description
optional builtin_type TypeBuiltinType Enum

Category of the built-in type. This field is optional and it is only relevant when the value of Type.category is BUILTIN.

required category TypeCategory Enum

Category of this type.

optional generic_instantiation MetamodelGenericInstantiation

Instantiation of one of the generic types available in the interface definition language. This field is optional and it is only relevant when the value of Type.category is GENERIC.

optional user_defined_type MetamodelUserDefinedType

Identifier and type of the user defined type. This field is optional and it is only relevant when the value of Type.category is USER_DEFINED.

Feedback

Was this page helpful?