ENTITY variational_representation SUBTYPE OF (representation); INVERSE cm_link : variational_current_representation_relationship FOR rep_1; WHERE wr1: SIZEOF(QUERY(q <* SELF\representation.items | 'VARIATIONAL_REPRESENTATION_SCHEMA.VARIATIONAL_REPRESENTATION_ITEM' IN TYPEOF(q))) > 0; wr2: SIZEOF(QUERY(q <* (SELF\representation.items - cm_link.rep_2.items) | invalidate_vrep_item(q))) = 0; END_ENTITY; -- variational_representation |
Entity data types and their attributesrepresentationname: label; items: SET [1:?] OF representation_item; context_of_items: representation_context; (DER) id: identifier; (DER) description: text; variational_representation (INV) cm_link: variational_current_representation_relationship FOR rep_1; |
Global rules for this entity data type- |
public interface EVariational_representation extends ERepresentationcm_link (inverse attribute)AVariational_current_representation_relationship getCm_link(EVariational_representation type, ASdaiModel domain) |
public class CVariational_representation implements EVariational_representationstatic EAttribute attributeCm_link(EVariational_representation type) |
public class AVariational_representation extends AEntitypublic EVariational_representation getByIndex(int index)public EVariational_representation getCurrentMember(SdaiIterator it) |