|
ENTITY Rule_action ABSTRACT SUPERTYPE OF (ONEOF (Rule_submission, Rule_adoption, Rule_rejection, Rule_supersedence, Rule_creation, Rule_expiration, Rule_change_request, Rule_request, Rule_modification)); subject_rule : Rule_version; DERIVE subject_action_assignment : SET [0:?] OF Organization_or_person_in_organization_assignment := bag_to_set(QUERY(temp <* USEDIN ( SELF , 'PERSON_ORGANIZATION_ASSIGNMENT_ARM.' + 'ORGANIZATION_OR_PERSON_IN_ORGANIZATION_ASSIGNMENT.ITEMS' ) | ( temp.role = 'subject action assignment'))); UNIQUE UR1 : subject_rule, subject_action_assignment; WHERE WR1: EXISTS (subject_action_assignment) AND (SIZEOF(subject_action_assignment) = 1 ); END_ENTITY; -- Rule_action |
Entity data types and their attributesRule_actionsubject_rule: Rule_version; (DER) subject_action_assignment: SET [0:?] OF Organization_or_person_in_organization_assignment; |
| Rule_adoption (Production_rule_arm) |
| Rule_change_request (Production_rule_arm) |
| Rule_creation (Production_rule_arm) |
| Rule_expiration (Production_rule_arm) |
| Rule_justification (Production_rule_arm) |
| Rule_modification (Production_rule_arm) |
| Rule_rejection (Production_rule_arm) |
| Rule_request (Production_rule_arm) |
| Rule_submission (Production_rule_arm) |
| Rule_supersedence (Production_rule_arm) |
Global rules for this entity data type- |