FUNCTION which_class

(* SCHEMA ship_structures_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_STRUCTURES_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_contains_approval_elements RULE
 approval_history_has_at_least_one_member RULE
 assembly_relationship_has_product_definition 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
 corrugated_structure_design_definition_has_at_least_one_class RULE
 corrugated_structure_design_definition_has_at_most_one_class RULE
 date_time_for_change_realisation RULE
 date_time_for_change_request RULE
 document_has_at_least_one_references RULE
 document_reference_has_at_least_one_references RULE
 document_reference_reference_with_address_with_references RULE
 document_reference_with_address_has_at_least_one_references RULE
 envisaged_version_creation_has_mandatory_attribute_description RULE
 hull_cross_section_contains_specified_classes RULE
 hull_cross_section_design_has_at_least_one_revision_with_context RULE
 hull_cross_section_design_has_at_most_one_revision_with_context RULE
 hull_cross_section_has_at_least_one_revision_with_context RULE
 hull_cross_section_optionally_contains_specified_classes RULE
 initiator_for_change_request RULE
 library_manufacturing_definition_for_class_references RULE
 members_is_referenced_by_at_least_one_revision RULE
 no_approvals_except_in_approval_history RULE
 panel_system_design_definition_has_at_least_one_class RULE
 panel_system_design_definition_has_at_most_one_class RULE
 panel_system_optionally_contains_specified_classes RULE
 plate_design_definition_has_at_least_one_class_references RULE
 plate_design_definition_has_at_most_one_class_references RULE
 plate_manufacturing_definition_has_class_references RULE
 product_definition_for_class_notation RULE
 product_definition_for_regulation RULE
 product_definition_has_references_with_class_loadline RULE
 product_definition_local_coordinate_system_with_station_reference RULE
 product_definition_shape_for_class_torch_vector RULE
 product_definition_shape_for_corrugation RULE
 product_definition_shape_for_hull_cross_section_design_definition RULE
 product_definition_shape_for_name RULE
 product_definition_shape_for_profile_cross_section RULE
 product_definition_shape_for_source RULE
 product_definition_shape_has_references_for_centre_of_gravity RULE
 product_definition_shape_has_references_with_class_border RULE
 profile_design_definition_has_at_most_one_class_references RULE
 profile_design_definition_has_zero_or_two_class_references RULE
 revision_has_mandatory_attribute_description RULE
 revision_with_context_referenced_for_context_of_revision RULE
 seam_has_at_most_one_class_references RULE
 shape_aspect_for_border_corner_cutout_boundary_relationship RULE
 shape_aspect_for_corner_cutout RULE
 shape_aspect_for_corner_cutout_boundary_relationship RULE
 shape_aspect_for_structural_cutout_boundary_relationship RULE
 structural_part_symmetry_relationship_has_product_definition RULE
 structural_system_symmetry_relationship_has_product_definition RULE
 unique_approvals_in_approval_history RULE
 user_defined_requires_user_defined_class 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_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:17:03-04:00