MetadataMetamodelGenericInstantiation

The GenericInstantiation structure describes the type information of a typed element when the type is an instantiation of one of the generic types provided by the infrastructure.


Properties

Required Property Name Type Description
optional element_type MetadataMetamodelType

Type of the element parameter if the generic type instantiation is a LIST, OPTIONAL or SET. This field is optional and it is only relevant when the value of GenericInstantiation.generic-type is one of LIST, OPTIONAL, or SET.

required generic_type MetadataMetamodelGenericInstantiationGenericType Enum

The generic type that is being instantiated.

optional map_key_type MetadataMetamodelType

Type of the key parameter of the map generic type instantiation. The map generic type has a key parameter and value parameter. The type of the value parameter is described by GenericInstantiation.map-value-type.. This field is optional and it is only relevant when the value of GenericInstantiation.generic-type is MAP.

optional map_value_type MetadataMetamodelType

Type of the value parameter of the map generic type instantiation. The map generic type has a key parameter and value parameter. The type of the key parameter is described by GenericInstantiation.map-key-type.. This field is optional and it is only relevant when the value of GenericInstantiation.generic-type is MAP.

JSON Example

{
    "generic_type": "enum"
}
Feedback

Was this page helpful?