FUNCTION WHICH_CLASS

(* SCHEMA Ship_arrangement_schema; *)

(* ***********************************
Functions in the schema Ship_arrangement_schema
*********************************** *)


   FUNCTION WHICH_CLASS
      (T : GENERIC ) : LIST OF STRING;
   LOCAL
      elements : BAG OF applied_classification_assignment;
      class_list : LIST OF STRING := [];
   END_LOCAL;
      elements := USEDIN(T, 'SHIP_ARRANGEMENT_SCHEMA.APPLIED_CLASSIFICATION_ASSIGNMENT.ITEMS');
      REPEAT i := 1 TO HIINDEX(elements);
         IF elements[i]\classification_assignment.role.name = 'class membership' THEN
            class_list := class_list + elements[i]\classification_assignment.assigned_class\group.name;
         END_IF;
      END_REPEAT;
      RETURN (class_list);
   END_FUNCTION;

Referenced By

Defintion WHICH_CLASS is references by the following definitions:
DefinitionType
 action_request_solution_connected_to_action RULE
 alternative_version_relationship_has_mandatory_description RULE
 alternative_version_relationship_has_unique_versions RULE
 alternative_version_relationship_versionable_object RULE
 approvals_references_approval_history RULE
 approval_event_with_approval_date_time RULE
 approval_event_with_approval_person_organization RULE
 approval_history_approves_same_definition RULE
 approval_history_has_at_least_one_member RULE
 author_for_change_plan RULE
 author_for_change_realization RULE
 author_for_change_request RULE
 caused_by_for_check RULE
 caused_by_for_envisaged_version_creation RULE
 caused_by_for_version_creation RULE
 caused_by_for_version_deletion RULE
 caused_by_for_version_modification RULE
 caused_when_for_check RULE
 caused_when_for_envisaged_version_creation RULE
 caused_when_for_version_creation RULE
 caused_when_for_version_deletion RULE
 caused_when_for_version_modification RULE
 change_impact_with_versionable_object_change_event RULE
 change_plan_has_mandatory_attribute_description RULE
 date_time_for_change_plan RULE
 date_time_for_change_realization RULE
 date_time_for_change_request RULE
 document_has_at_least_one_references RULE
 document_reference_with_address_has_at_least_one_references RULE
 envisaged_version_creation_has_mandatory_attribute_description RULE
 initiator_for_change_request RULE
 members_is_referenced_by_at_least_one_revision RULE
 no_approvals_except_in_approval_history RULE
 product_definition_for_class_notation RULE
 product_definition_for_loadline RULE
 product_definition_for_regulation RULE
 property_definition_for_compensated_gross_tonnage RULE
 property_definition_for_gross_tonnage RULE
 property_definition_for_net_tonnage RULE
 revision_has_mandatory_attribute_description RULE
 revision_with_context_referenced_for_context_of_revision RULE
 unique_approvals_in_approval_history RULE
 versions_is_referenced_by_at_least_one_version_history RULE
 version_creation_has_mandatory_attribute_description RULE
 version_deletion_has_mandatory_attribute_description RULE
 version_history_has_exactly_one_assigned_group RULE
 version_history_is_referenced_by_at_least_one_versions RULE
 version_history_referenced_by_exactly_one_current_version RULE
 version_history_referenced_by_multiple_roles RULE
 version_modification_has_mandatory_attribute_description RULE
 version_relationship_associates_with_versionable_object RULE
 version_relationship_has_mandatory_attribute_description RULE
 version_relationship_has_unique_versions RULE


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:16:37-04:00