Overview Index

SDAI_MAPPING_SCHEMA (jsdai.mapping)


ENTITY entity_mapping;
          source : entity_definition;
          target : entity_or_attribute;
          constraints : OPTIONAL constraint_select;
          entry_point : BOOLEAN;
          strong_users : BOOLEAN;
END_ENTITY; -- entity_mapping

Entity_mapping defines how a source entity is mapped to a target entity or target attribute. For one source entity there may be zero, one or several alternative entity_mappings.           source: The source entity to be mapped.
          target: The target entity or attribute to which the source entity is mapped.
          constraints: This entity_mapping may require additional constraints to be valid. The root of a constraint tree is given here. The constraints are restrictions that must be met for target to be a valid mapping.
          entry_point: Defines if the entity is an entry point for wave algorithm.
          strong_users: Defines if the entity mapping is valid only when there is at least one ARM user of this entity.

Entity data types and their attributes

entity_mapping
          source: entity_definition;
          target: entity_or_attribute;
          (OPT) constraints: constraint_select;
          entry_point: BOOLEAN;
          strong_users: BOOLEAN;

Users

entity_mapping
          attribute_mapping.domain
                    attribute_mapping_domain_select
          entity_mapping_relationship.related
          entity_mapping_relationship.relating
          generic_attribute_mapping.parent_entity
          uof_mapping.mappings

Global rules for this entity data type

          -

public interface EEntity_mapping extends EEntity

source (explicit attribute)

          boolean testSource(EEntity_mapping type)
          EEntity_definition getSource(EEntity_mapping type)
          void setSource(EEntity_mapping type, EEntity_definition value)
          void unsetSource(EEntity_mapping type)

target (explicit attribute)

          int testTarget(EEntity_mapping type)
          case 1
              EEntity getTarget(EEntity_mapping type)
              void setTarget(EEntity_mapping type, EEntity value, EEntity node1)
          void unsetTarget(EEntity_mapping type)

constraints (explicit attribute)

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

entry_point (explicit attribute)

          boolean testEntry_point(EEntity_mapping type)
          boolean getEntry_point(EEntity_mapping type)
          void setEntry_point(EEntity_mapping type, boolean value)
          void unsetEntry_point(EEntity_mapping type)

strong_users (explicit attribute)

          boolean testStrong_users(EEntity_mapping type)
          boolean getStrong_users(EEntity_mapping type)
          void setStrong_users(EEntity_mapping type, boolean value)
          void unsetStrong_users(EEntity_mapping type)

public class CEntity_mapping implements EEntity_mapping

          static EAttribute attributeSource(EEntity_mapping type)
          static int usedinSource(EEntity_mapping type, EEntity_definition instance, ASdaiModel domain, AEntity_mapping result)
          static EAttribute attributeTarget(EEntity_mapping type)
          static int usedinTarget(EEntity_mapping type, EEntity instance, ASdaiModel domain, AEntity_mapping result)
          static EAttribute attributeConstraints(EEntity_mapping type)
          static int usedinConstraints(EEntity_mapping type, EEntity instance, ASdaiModel domain, AEntity_mapping result)
          static EAttribute attributeEntry_point(EEntity_mapping type)
          static EAttribute attributeStrong_users(EEntity_mapping type)

public class AEntity_mapping extends AEntity

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