/
Coercion
Coercion
SYNTAX:
coercion_decl = '{' ( entity_ref | type_ref ) '}' .
Coercion can be used in NEW and assignment statements to specify which particular instance type to create, in case that this is not uniquely defined by the domain type of the attribute. This is the case when the actual attribute domain is a supertype entity or a SELECT type.
Another case is when a global or local variable is of type GENERIC or of a supertype entity. Then coercion must be used in case an instance should be explicitly created, by the NEW statement, or implicitly created, by the assignment statement.
Coercion can in a similar way be used to define the specific aggregate type for an attribute, local variable or global variable that is of a SELECT type.
, multiple selections available,
Related content
The NEW statement
The NEW statement
More like this
Assignment Statement0
Assignment Statement0
More like this
Assignment Statement
Assignment Statement
More like this
edmiGetAggrPrimitiveType
edmiGetAggrPrimitiveType
More like this
xpfCreateTypedAggrBN
xpfCreateTypedAggrBN
More like this
SdaiAggrType
SdaiAggrType
More like this