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:
AttributeTypeDefined By
 namelabel (STRING)action
 descriptiontext (STRING)action
 chosen_methodaction_method (ENTITY)action

Derived Attributes

Entity retention has the following local and inherited derived attributes:
AttributeTypeDefined By
 ididentifier (STRING)action

Inverse Attributes

    No Inverse Attributes

Supertypes

Entity retention inherits from the following supertypes:
  action

Subtypes

    No subtypes

Referenced By

Entity retention and its supertypes are referenced by the following definitions:
DefinitionTypeReferenced Entity
 action_assignment ENTITY action
 action_item SELECT retention
 action_item SELECT action
 action_items SELECT action
 action_method_items SELECT action
 action_relationship ENTITY action
 action_request_item SELECT action
 approval_item SELECT action
 attribute_classification_item SELECT action
 attribute_language_item SELECT action
 change_management_object SELECT action
 characterized_action_definition SELECT action
 classification_item SELECT retention
 classification_item SELECT action
 contract_item SELECT action
 date_and_time_item SELECT action
 date_item SELECT action
 dependent_instantiable_retention RULE retention
 description_item SELECT retention
 description_item SELECT action
 document_reference_item SELECT retention
 document_reference_item SELECT action
 effectivity_item SELECT action
 event_occurrence_item SELECT action
 identification_item SELECT retention
 identification_item SELECT action
 id_attribute_select SELECT action
 multi_language_attribute_item SELECT retention
 multi_language_attribute_item SELECT action
 organization_item SELECT action
 person_and_organization_item SELECT action
 presented_item_select SELECT action
 project_item SELECT action
 restrict_action_resource_requirement_for_process_operation RULE action
 restrict_multi_language_for_action RULE action
 restrict_version_assignment_for_action RULE action
 retention_requires_retention_assignment RULE retention
 security_classification_item SELECT action
 subtype_exclusiveness_action RULE action
 supported_item SELECT action
 time_interval_item SELECT action


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00