FUNCTION which_class

(* SCHEMA ship_moulded_form_schema; *)
  FUNCTION which_class(
               t: GENERIC
      ): LIST OF STRING;

    LOCAL
      class_list : LIST OF STRING := [];
      elements   : BAG OF applied_classification_assignment;
    END_LOCAL;
    elements := USEDIN(t,
        'SHIP_MOULDED_FORM_SCHEMA.APPLIED_CLASSIFICATION_ASSIGNMENT.ITEMS');
    REPEAT i := 1 TO HIINDEX(elements) BY 1;
      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; -- which_class

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_realisation 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_realisation 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
 hull_moulded_form_design_parameter_with_class_references 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_regulation RULE
 propeller_moulded_form_design_parameter_with_class_references RULE
 revision_has_mandatory_attribute_description RULE
 revision_with_context_referenced_for_context_of_revision RULE
 ship_moulded_form_revision_has_description RULE
 unique_approvals_in_approval_history RULE
 valid_product_definition_for_class_moulded_form 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:48-04:00