Overview Index

SDAI_MAPPING_SCHEMA (jsdai.mapping)


ENTITY path_constraint
          SUBTYPE OF (constraint_relationship);
          element1 : path_constraint_select;
UNIQUE
          ur1 : element1, element2;
END_ENTITY; -- path_constraint

A path_constraint is a constraint_relationship that does following: requires make step using element1 and meet requirements of element2. The element1 shall be a constraint on an attribute of an entity-type. The element2 defines a constraint on the entity reached by following element1.           element1: An element1 is attribute or other element that allows to make step from one entity instance to instance of other entity.

Entity data types and their attributes

constraint
          -
constraint_relationship
          element2: constraint_select;
path_constraint
          element1: path_constraint_select;

Users

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

Global rules for this entity data type

          -

public interface EPath_constraint extends EConstraint_relationship

element1 (explicit attribute)

          int testElement1(EPath_constraint type)
          case 1
              EEntity getElement1(EPath_constraint type)
              void setElement1(EPath_constraint type, EEntity value, EEntity node1)
          void unsetElement1(EPath_constraint type)

public class CPath_constraint implements EPath_constraint

          static EAttribute attributeElement1(EPath_constraint type)
          static int usedinElement1(EPath_constraint type, EEntity instance, ASdaiModel domain, APath_constraint result)

public class APath_constraint extends AEntity

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