Overview Index

SDAI_MAPPING_SCHEMA (jsdai.mapping)


ENTITY entity_mapping_relationship
          ABSTRACT SUPERTYPE OF (ONEOF (sub_supertype_mapping, derived_variant_entity_mapping));
          relating : entity_mapping;
          related : entity_mapping;
          constraints : OPTIONAL constraint_select;
          path : OPTIONAL LIST [1:?] OF attribute_mapping_path_select;
END_ENTITY; -- entity_mapping_relationship

Defines relationships between entity mappings.           relating: Master entity mapping.
          related: Dependant entity mapping.
          constraints: Optional constraints can define the path to walk from relating mapping to related mapping.
          path: Optional path to walk from relating mapping to related mapping.
OBSOLETE SINCE VERSION 30.1 - will be removed soon

Entity data types and their attributes

entity_mapping_relationship
          relating: entity_mapping;
          related: entity_mapping;
          (OPT) constraints: constraint_select;
          (OPT) path: LIST [1:?] OF attribute_mapping_path_select;

Known subtypes

          derived_variant_entity_mapping (SDAI_MAPPING_SCHEMA)
          sub_supertype_mapping (SDAI_MAPPING_SCHEMA)

Users

entity_mapping_relationship

Global rules for this entity data type

          -

public interface EEntity_mapping_relationship extends EEntity

relating (explicit attribute)

          boolean testRelating(EEntity_mapping_relationship type)
          EEntity_mapping getRelating(EEntity_mapping_relationship type)
          void setRelating(EEntity_mapping_relationship type, EEntity_mapping value)
          void unsetRelating(EEntity_mapping_relationship type)

related (explicit attribute)

          boolean testRelated(EEntity_mapping_relationship type)
          EEntity_mapping getRelated(EEntity_mapping_relationship type)
          void setRelated(EEntity_mapping_relationship type, EEntity_mapping value)
          void unsetRelated(EEntity_mapping_relationship type)

constraints (explicit attribute)

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

path (explicit attribute)

          boolean testPath(EEntity_mapping_relationship type)
          AAttribute_mapping_path_select getPath(EEntity_mapping_relationship type)
          AAttribute_mapping_path_select createPath(EEntity_mapping_relationship type)
          void unsetPath(EEntity_mapping_relationship type)

public class CEntity_mapping_relationship implements EEntity_mapping_relationship

          static EAttribute attributeRelating(EEntity_mapping_relationship type)
          static int usedinRelating(EEntity_mapping_relationship type, EEntity_mapping instance, ASdaiModel domain, AEntity_mapping_relationship result)
          static EAttribute attributeRelated(EEntity_mapping_relationship type)
          static int usedinRelated(EEntity_mapping_relationship type, EEntity_mapping instance, ASdaiModel domain, AEntity_mapping_relationship result)
          static EAttribute attributeConstraints(EEntity_mapping_relationship type)
          static int usedinConstraints(EEntity_mapping_relationship type, EEntity instance, ASdaiModel domain, AEntity_mapping_relationship result)
          static EAttribute attributePath(EEntity_mapping_relationship type)
          static int usedinPath(EEntity_mapping_relationship type, EEntity instance, ASdaiModel domain, AEntity_mapping_relationship result)

public class AEntity_mapping_relationship extends AEntity

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