ENTITY multi_language_attribute_assignment

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214
-- IN AP203e2/AP214/AP242
ENTITY multi_language_attribute_assignment
   SUBTYPE OF (attribute_value_assignment);
      items : SET [1:?] OF multi_language_attribute_item;
   DERIVE
      translation_language : language := language_indication[1]\attribute_classification_assignment.assigned_class;
   INVERSE
      language_indication : SET [1:1] OF attribute_language_assignment FOR items;
   WHERE
      wr1:
         SELF\attribute_value_assignment.role.name = 'alternate language';
      wr2:
         SIZEOF(QUERY (ala <* language_indication| (ala\attribute_classification_assignment.attribute_name = 'attribute_value') AND (ala\attribute_classification_assignment.role.name = 'translated'))) = 1;
      WR3:
         SELF\attribute_value_assignment.attribute_name <> '';
      WR4:
         SIZEOF(QUERY (ci <* items| (SIZEOF(QUERY (ata <* USEDIN(ci, 'STEP_MERGED_AP_SCHEMA.' + 'MULTI_LANGUAGE_ATTRIBUTE_ASSIGNMENT.ITEMS')| (ata\attribute_value_assignment.attribute_name = SELF\attribute_value_assignment.attribute_name) AND (ata.translation_language :=: translation_language))) > 1))) = 0;
      WR5:
         SIZEOF(QUERY (ci <* items| (SIZEOF(QUERY (ata <* USEDIN(ci, 'STEP_MERGED_AP_SCHEMA.' + 'ATTRIBUTE_LANGUAGE_ASSIGNMENT.ITEMS')| ((ata\attribute_classification_assignment.role.name = 'primary') AND (ata\attribute_classification_assignment.attribute_name = SELF\attribute_value_assignment.attribute_name)) AND (ata\attribute_classification_assignment.assigned_class :=: translation_language))) > 0))) = 0;
END_ENTITY;

Explicit Attributes

Entity multi_language_attribute_assignment has the following local and inherited explicit attributes:
AttributeTypeDefined By
 attribute_namelabel (STRING)attribute_value_assignment
 attribute_valueattribute_type (SELECT)attribute_value_assignment
 roleattribute_value_role (ENTITY)attribute_value_assignment
 itemsSET OF multi_language_attribute_item (SELECT)multi_language_attribute_assignment

Derived Attributes

Entity multi_language_attribute_assignment has the following local and inherited derived attributes:
AttributeTypeDefined By
 translation_languagelanguage (ENTITY)multi_language_attribute_assignment

Inverse Attributes

Entity multi_language_attribute_assignment has the following local and inherited inverse attributes:
AttributeTypeDefined By
 language_indicationSET OF attribute_language_assignment (ENTITY)multi_language_attribute_assignment

Supertypes

Entity multi_language_attribute_assignment inherits from the following supertypes:
  attribute_value_assignment

Subtypes

    No subtypes

Referenced By

Entity multi_language_attribute_assignment and its supertypes are referenced by the following definitions:
DefinitionTypeReferenced Entity
 attribute_language_item SELECT attribute_value_assignment
 attribute_language_item SELECT multi_language_attribute_assignment
 classification_item SELECT multi_language_attribute_assignment
 get_multi_language FUNCTION multi_language_attribute_assignment
 multi_language_attribute_assignment ENTITY attribute_value_assignment
 multi_language_attribute_item SELECT attribute_value_assignment


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:23-05:00