ENTITY product_occurrence_with_quantity ABSTRACT SUPERTYPE OF (ONEOF (quantified_instance, selected_instance)) SUBTYPE OF (product_occurrence); occurrence_quantity : OPTIONAL extended_value_with_unit; DERIVE SELF\product_view_definition.additional_characterization : STRING := 'single instance'; END_ENTITY; -- product_occurrence_with_quantity |
Entity data types and their attributesproduct_definitionid: identifier; (OPT) description: text; formation: product_definition_formation; frame_of_reference: product_definition_context; (DER) name: label; product_view_definition (RT) (OPT) description->name_x: STRING; (OPT) additional_characterization: STRING; (RT) frame_of_reference->initial_context: product_definition_context; (OPT) additional_contexts: SET [1:?] OF product_definition_context; (RT) formation->defined_version: product_definition_formation; (RT) (DER) name: label; product_occurrence (RT) (DER) additional_characterization: STRING; (RT) (DER) initial_context: product_definition_context; (INV) occurrence_contexts: SET [1:?] OF product_occurrence_definition_relationship_armx FOR related_view; product_occurrence_with_quantity (OPT) occurrence_quantity: extended_value_with_unit; (RT) (DER) additional_characterization: STRING; |
quantified_instance (GENERIC_PRODUCT_OCCURRENCE_XIM) |
selected_instance (GENERIC_PRODUCT_OCCURRENCE_XIM) |
Global rules for this entity data type- |
public interface EProduct_occurrence_with_quantity extends EProduct_occurrenceoccurrence_quantity (explicit attribute)int testOccurrence_quantity(EProduct_occurrence_with_quantity type)case 1 EEntity getOccurrence_quantity(EProduct_occurrence_with_quantity type) void setOccurrence_quantity(EProduct_occurrence_with_quantity type, EEntity value, EEntity node1) void unsetOccurrence_quantity(EProduct_occurrence_with_quantity type) |
public class CProduct_occurrence_with_quantity implements EProduct_occurrence_with_quantitystatic EAttribute attributeOccurrence_quantity(EProduct_occurrence_with_quantity type)static int usedinOccurrence_quantity(EProduct_occurrence_with_quantity type, EEntity instance, ASdaiModel domain, AProduct_occurrence_with_quantity result) static EAttribute attributeAdditional_characterization(EProduct_occurrence_with_quantity type) |
public class AProduct_occurrence_with_quantity extends AEntitypublic EProduct_occurrence_with_quantity getByIndex(int index)public EProduct_occurrence_with_quantity getCurrentMember(SdaiIterator it) |