Overview Index

SDAI_MAPPING_SCHEMA (jsdai.mapping)


ENTITY intersection_constraint
          SUBTYPE OF (constraint);
          subpaths : SET [2:?] OF constraint_select;
END_ENTITY; -- intersection_constraint

INTERSECTION_CONSTRAINT allows to get only common (intersecting) instances from subpaths specified by this instance. This can be used in particularly when several AND paths point to same instance. It effectively outdates instance_equal entity. Introduced in version 31.0.           subpaths: Subpaths to be intersected.

Entity data types and their attributes

constraint
          -
intersection_constraint
          subpaths: SET [2:?] OF constraint_select;

Users

constraint
intersection_constraint
          attribute_mapping.path
                    attribute_mapping_path_select
          constraint_relationship.element2
                    constraint_select
          end_of_path_constraint.constraints
                    constraint_select
          entity_mapping.constraints
                    constraint_select
          entity_mapping_relationship.constraints
                    constraint_select
          entity_mapping_relationship.path
                    attribute_mapping_path_select
          generic_attribute_mapping.constraints
                    constraint_select
          instance_constraint.element1
                    constraint_select
          intersection_constraint.subpaths
                    constraint_select
          negation_constraint.constraints
                    constraint_select
          path_constraint.element1
                    path_constraint_select
          type_constraint.constraints
                    constraint_select

Global rules for this entity data type

          -

public interface EIntersection_constraint extends EConstraint

subpaths (explicit attribute)

          boolean testSubpaths(EIntersection_constraint type)
          AConstraint_select getSubpaths(EIntersection_constraint type)
          AConstraint_select createSubpaths(EIntersection_constraint type)
          void unsetSubpaths(EIntersection_constraint type)

public class CIntersection_constraint implements EIntersection_constraint

          static EAttribute attributeSubpaths(EIntersection_constraint type)
          static int usedinSubpaths(EIntersection_constraint type, EEntity instance, ASdaiModel domain, AIntersection_constraint result)

public class AIntersection_constraint extends AEntity

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