RULE restrict_multi_language_for_action_method

(* SCHEMA step_merged_ap_schema; *)
-- IN AP214
RULE restrict_multi_language_for_action_method FOR (action_method );
   WHERE
      wr1:
         SIZEOF(QUERY (ent <* action_method| (SIZEOF(QUERY (mlaa <* USEDIN(ent, 'STEP_MERGED_AP_SCHEMA.MULTI_LANGUAGE_ATTRIBUTE_ASSIGNMENT.ITEMS')| (mlaa.attribute_name <> 'description') AND (mlaa.attribute_name <> 'name'))) > 0))) = 0;
      wr2:
         SIZEOF(QUERY (ent <* action_method| (SIZEOF(QUERY (ala <* USEDIN(ent, 'STEP_MERGED_AP_SCHEMA.ATTRIBUTE_LANGUAGE_ASSIGNMENT.ITEMS')| (ala.attribute_name <> 'description') AND (ala.attribute_name <> 'name'))) > 0))) = 0;
      wr3:
         SIZEOF(QUERY (ent <* action_method| (SIZEOF(QUERY (mlaa1 <* USEDIN(ent, 'STEP_MERGED_AP_SCHEMA.MULTI_LANGUAGE_ATTRIBUTE_ASSIGNMENT.ITEMS')| (SIZEOF(QUERY (mlaa2 <* USEDIN(ent, 'STEP_MERGED_AP_SCHEMA.MULTI_LANGUAGE_ATTRIBUTE_ASSIGNMENT.ITEMS')| (mlaa1.attribute_name = mlaa2.attribute_name) AND (mlaa1.language = mlaa2.language))) > 1))) + SIZEOF(QUERY (ala1 <* USEDIN(ent, 'STEP_MERGED_AP_SCHEMA.ATTRIBUTE_LANGUAGE_ASSIGNMENT.ITEMS')| (SIZEOF(QUERY (ala2 <* USEDIN(ent, 'STEP_MERGED_AP_SCHEMA.ATTRIBUTE_LANGUAGE_ASSIGNMENT.ITEMS')| (ala1.attribute_name = ala2.attribute_name) AND (ala1.language = ala2.language))) > 1))) > 0))) = 0;
END_RULE;

[Top Level Definitions] [Exit]

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