ENTITY retention
(* SCHEMA step_merged_ap_schema; *)
-- IN AP214/AP238 STEP-NC/AP242
ENTITY retention
SUBTYPE OF (action);
WHERE
WR1:
SIZEOF(QUERY (aa <* USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.ACTION_ASSIGNMENT.ASSIGNED_ACTION')| ('STEP_MERGED_AP_SCHEMA.APPLIED_ACTION_ASSIGNMENT' IN TYPEOF(aa)) AND (aa.role.name = 'retention'))) >= 1;
WR2:
((SIZEOF(QUERY (atia <* USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.APPLIED_TIME_INTERVAL_ASSIGNMENT.ITEMS')| (atia.role.name = 'minimum retention period'))) = 1) AND (SIZEOF(QUERY (atia <* USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.APPLIED_TIME_INTERVAL_ASSIGNMENT.ITEMS')| (atia.role.name = 'maximum retention period'))) = 1)) AND (SIZEOF(QUERY (atia1 <* USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.APPLIED_TIME_INTERVAL_ASSIGNMENT.ITEMS')| (((atia1.role.name = 'minimum retention period') AND ('STEP_MERGED_AP_SCHEMA.TIME_INTERVAL_WITH_BOUNDS' IN TYPEOF(atia1.assigned_time_interval))) AND (EXISTS(atia1.assigned_time_interval\time_interval_with_bounds.secondary_bound) OR EXISTS(atia1.assigned_time_interval\time_interval_with_bounds.duration))) AND (SIZEOF(QUERY (atia2 <* USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.APPLIED_TIME_INTERVAL_ASSIGNMENT.ITEMS')| (((atia2.role.name = 'maximum retention period') AND ('STEP_MERGED_AP_SCHEMA.TIME_INTERVAL_WITH_BOUNDS' IN TYPEOF(atia2.assigned_time_interval))) AND (EXISTS(atia2.assigned_time_interval\time_interval_with_bounds.secondary_bound) OR EXISTS(atia2.assigned_time_interval\time_interval_with_bounds.duration))) AND (atia1.assigned_time_interval\time_interval_with_bounds.primary_bound :=: atia2.assigned_time_interval\time_interval_with_bounds.primary_bound))) = 1))) = 1);
WR3:
SIZEOF(USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.ACTION_RELATIONSHIP.RELATING_ACTION')) + SIZEOF(USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.ACTION_RELATIONSHIP.RELATED_ACTION')) = 0;
END_ENTITY;
Explicit Attributes
Entity retention has the following local and inherited explicit attributes:
Derived Attributes
Entity retention has the following local and inherited derived attributes:
Inverse Attributes
No Inverse AttributesSupertypes
Entity retention inherits from the following supertypes:
action
Subtypes
No subtypesReferenced By
Entity retention and its supertypes are referenced by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00