|
ENTITY variational_current_representation_relationship SUBTYPE OF (representation_relationship); SELF\representation_relationship.rep_1 : variational_representation; current_result : representation; UNIQUE UR1 : current_result; WHERE WR1: QUERY(q <* SELF\representation_relationship.rep_1.items | NOT ('VARIATIONAL_REPRESENTATION_SCHEMA.VARIATIONAL_REPRESENTATION_ITEM' IN TYPEOF(q))) = SELF\representation_relationship.rep_2.items; WR2: SELF\representation_relationship.rep_1.context_of_items :=: SELF\representation_relationship.rep_2.context_of_items; WR3: SIZEOF(QUERY(q <* SELF\representation_relationship.rep_2.items | 'VARIATIONAL_REPRESENTATION_SCHEMA.VARIATIONAL_REPRESENTATION_ITEM' IN TYPEOF(q))) = 0; WR4: TYPEOF(SELF\representation_relationship.rep_1) - TYPEOF(SELF\representation_relationship.rep_2) = ['VARIATIONAL_REPRESENTATION_SCHEMA.VARIATIONAL_REPRESENTATION']; WR5: current_result :=: SELF\representation_relationship.rep_2; END_ENTITY; -- variational_current_representation_relationship |
Entity data types and their attributesrepresentation_relationshipname: label; (OPT) description: text; rep_1: representation; rep_2: representation; variational_current_representation_relationship (RT) rep_1: variational_representation; current_result: representation; |
Global rules for this entity data type- |