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

element_type Optional

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.


generic_type Required

The GenericInstantiation.GenericType enumerated type provides enumeration values for each of the generic types provided by the infrastructure.
LIST : Indicates the generic type is a list.
MAP : Indicates the generic type is a map.
OPTIONAL : Indicates the generic type is an optional.
SET : Indicates the generic type is a set.

Possible values are: LISTMAPOPTIONALSET


map_key_type Optional

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.


map_value_type Optional

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": "LIST"
}

Feedback

Was this page helpful?