Overview Index

SDAI_MAPPING_SCHEMA (jsdai.mapping)


ENTITY generic_attribute_mapping
          ABSTRACT SUPERTYPE OF (ONEOF (attribute_mapping, attribute_mapping_value));
          parent_entity : entity_mapping;
          source : attribute;
          constraints : OPTIONAL constraint_select;
          data_type : OPTIONAL LIST [1:?] OF named_type;
          strong : BOOLEAN;
END_ENTITY; -- generic_attribute_mapping

A generic_attribute_mapping specifies one of possible more alternatives how an entity attribute on the source side maps to the target side. A generic_attribute_mapping is either a attribute_mapping_value if it maps to a specific value or an attribute_mapping if it maps to some EXPRESS data type. For each source attribute one or several alternative generic_attribute_mapping for a given entity_mapping shall be available. In the case that the source entity of the parent_entity is a subtype of one or several entities, generic_attribute_mapping shall be available for all inherited attributes. If an inherited attribute is redeclared in the subtype generic_attribute_mapping shall reflect changes in the mapping. Generic_attribute_mappings shall be available for explicit source attributes. For derived and inverse attributes it is optional and depends on specific application.           parent_entity: Specifies for which alternative entity_mapping this mapping of attribute exist. source: The entity attribute of the source side.
          source: A source is a definition of source attribute.
          constraints: If the attribute mapping is restricted in some way, the root constraint is defined here. In addition the constraints includes the REFERENCE PATH as well as the target data type. It can be unset only in case of IDENTICAL MAPPING if there are no further constraints. (See guidelines for the development of mapping specifications, ISO TC 184/SC4 N1029)
          data_type: In the case that the target is of a select data type and the target value is not an entity the select path is defined here. The select path lists all defined types which are not select types, needed to characterize a simple type. The usage is the same as for select_type in dictionary schema (ISO 10303-22) and correspond to the encoding of values of select data types in ISO 10303-21 and -27 (late and early binding attribute access).
          strong: If TRUE the constraints of this generic_attribute_mapping shall be fulfilled in addition to the constraints of the parent entity_mapping.

Entity data types and their attributes

generic_attribute_mapping
          parent_entity: entity_mapping;
          source: attribute;
          (OPT) constraints: constraint_select;
          (OPT) data_type: LIST [1:?] OF named_type;
          strong: BOOLEAN;

Known subtypes

          attribute_mapping (SDAI_MAPPING_SCHEMA)
          attribute_mapping_value (SDAI_MAPPING_SCHEMA)

Users

generic_attribute_mapping

Global rules for this entity data type

          -

public interface EGeneric_attribute_mapping extends EEntity

parent_entity (explicit attribute)

          boolean testParent_entity(EGeneric_attribute_mapping type)
          EEntity_mapping getParent_entity(EGeneric_attribute_mapping type)
          void setParent_entity(EGeneric_attribute_mapping type, EEntity_mapping value)
          void unsetParent_entity(EGeneric_attribute_mapping type)

source (explicit attribute)

          boolean testSource(EGeneric_attribute_mapping type)
          EAttribute getSource(EGeneric_attribute_mapping type)
          void setSource(EGeneric_attribute_mapping type, EAttribute value)
          void unsetSource(EGeneric_attribute_mapping type)

constraints (explicit attribute)

          int testConstraints(EGeneric_attribute_mapping type)
          case 1
              EEntity getConstraints(EGeneric_attribute_mapping type)
              void setConstraints(EGeneric_attribute_mapping type, EEntity value, EEntity node1)
          void unsetConstraints(EGeneric_attribute_mapping type)

data_type (explicit attribute)

          boolean testData_type(EGeneric_attribute_mapping type)
          ANamed_type getData_type(EGeneric_attribute_mapping type)
          ANamed_type createData_type(EGeneric_attribute_mapping type)
          void unsetData_type(EGeneric_attribute_mapping type)

strong (explicit attribute)

          boolean testStrong(EGeneric_attribute_mapping type)
          boolean getStrong(EGeneric_attribute_mapping type)
          void setStrong(EGeneric_attribute_mapping type, boolean value)
          void unsetStrong(EGeneric_attribute_mapping type)

public class CGeneric_attribute_mapping implements EGeneric_attribute_mapping

          static EAttribute attributeParent_entity(EGeneric_attribute_mapping type)
          static int usedinParent_entity(EGeneric_attribute_mapping type, EEntity_mapping instance, ASdaiModel domain, AGeneric_attribute_mapping result)
          static EAttribute attributeSource(EGeneric_attribute_mapping type)
          static int usedinSource(EGeneric_attribute_mapping type, EAttribute instance, ASdaiModel domain, AGeneric_attribute_mapping result)
          static EAttribute attributeConstraints(EGeneric_attribute_mapping type)
          static int usedinConstraints(EGeneric_attribute_mapping type, EEntity instance, ASdaiModel domain, AGeneric_attribute_mapping result)
          static EAttribute attributeData_type(EGeneric_attribute_mapping type)
          static int usedinData_type(EGeneric_attribute_mapping type, ENamed_type instance, ASdaiModel domain, AGeneric_attribute_mapping result)
          static EAttribute attributeStrong(EGeneric_attribute_mapping type)

public class AGeneric_attribute_mapping extends AEntity

          public EGeneric_attribute_mapping getByIndex(int index)
          public EGeneric_attribute_mapping getCurrentMember(SdaiIterator it)