FUNCTION allowed_translations

(* SCHEMA Ap236_furniture_catalog_and_interior_design_mim_LF; *)
(* Implicit interfaced from: Catalog_data_information_mim *)
FUNCTION allowed_translations ( ent: GENERIC       ; translatable_attributes: SET OF STRING): LOGICAL;

	LOCAL
	  mlaa: BAG OF multi_language_attribute_assignment;
	  ala: BAG OF attribute_language_assignment;
	END_LOCAL;
			
	IF (SIZEOF(translatable_attributes)=0) THEN
	  RETURN(UNKNOWN);
	END_IF;
			
	mlaa:= USEDIN ( ent , 'AP236_FURNITURE_CATALOG_AND_INTERIOR_DESIGN_MIM_LF' + '.MULTI_LANGUAGE_ATTRIBUTE_ASSIGNMENT.ITEMS' );
			
	REPEAT i:=1 TO HIINDEX(mlaa);
	  IF NOT (mlaa[i].attribute_name IN translatable_attributes) THEN
		RETURN(FALSE);
	  END_IF;
	END_REPEAT;
			
	ala:= USEDIN ( ent , 'AP236_FURNITURE_CATALOG_AND_INTERIOR_DESIGN_MIM_LF' + '.ATTRIBUTE_LANGUAGE_ASSIGNMENT.ITEMS' );
			
	REPEAT i:=1 TO HIINDEX(ala);
	  IF NOT (ala[i].attribute_name IN translatable_attributes) THEN
		RETURN(FALSE);
	  END_IF;
	END_REPEAT;
			
	RETURN(TRUE);
END_FUNCTION;

Referenced By

Defintion allowed_translations is references by the following definitions:
DefinitionType
 restrict_multi_language_for_alternate_product_relationship RULE
 restrict_multi_language_for_application_context RULE
 restrict_multi_language_for_approval_relationship RULE
 restrict_multi_language_for_assembly_component_usage_substitute RULE
 restrict_multi_language_for_certification RULE
 restrict_multi_language_for_configuration_design RULE
 restrict_multi_language_for_configuration_item RULE
 restrict_multi_language_for_contract RULE
 restrict_multi_language_for_data_environment RULE
 restrict_multi_language_for_date_role RULE
 restrict_multi_language_for_date_time_role RULE
 restrict_multi_language_for_descriptive_representation_item RULE
 restrict_multi_language_for_document_relationship RULE
 restrict_multi_language_for_effectivity RULE
 restrict_multi_language_for_effectivity_relationship RULE
 restrict_multi_language_for_event_occurrence RULE
 restrict_multi_language_for_external_source RULE
 restrict_multi_language_for_general_property RULE
 restrict_multi_language_for_general_property_relationship RULE
 restrict_multi_language_for_geometric_representation_item RULE
 restrict_multi_language_for_geometric_tolerance RULE
 restrict_multi_language_for_group RULE
 restrict_multi_language_for_group_relationship RULE
 restrict_multi_language_for_identification_role RULE
 restrict_multi_language_for_mapped_item RULE
 restrict_multi_language_for_organizational_project RULE
 restrict_multi_language_for_organizational_project_relationship RULE
 restrict_multi_language_for_organization_relationship RULE
 restrict_multi_language_for_organization_role RULE
 restrict_multi_language_for_person_and_organization_role RULE
 restrict_multi_language_for_product RULE
 restrict_multi_language_for_product_concept RULE
 restrict_multi_language_for_product_concept_feature RULE
 restrict_multi_language_for_product_concept_feature_association RULE
 restrict_multi_language_for_product_concept_relationship RULE
 restrict_multi_language_for_product_definition RULE
 restrict_multi_language_for_product_definition_formation RULE
 restrict_multi_language_for_product_definition_formation_relationship RULE
 restrict_multi_language_for_product_definition_relationship RULE
 restrict_multi_language_for_product_definition_substitute RULE
 restrict_multi_language_for_product_related_product_category RULE
 restrict_multi_language_for_property_definition RULE
 restrict_multi_language_for_representation RULE
 restrict_multi_language_for_representation_relationship RULE
 restrict_multi_language_for_security_classification RULE
 restrict_multi_language_for_shape_aspect RULE
 restrict_multi_language_for_shape_aspect_relationship RULE
 restrict_multi_language_for_time_interval_role RULE
 restrict_multi_language_for_topological_representation_item RULE
 restrict_multi_language_for_uncertainty_measure_with_unit RULE
 restrict_multi_language_for_uncertainty_qualifier RULE


[Top Level Definitions] [Exit]

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