Overview Index

SDAI_MAPPING_SCHEMA (jsdai.mapping)


ENTITY select_constraint
          SUBTYPE OF (constraint_attribute);
          data_type : LIST [1:?] OF defined_type;
          attribute : select_constraint_select;
UNIQUE
          ur1 : attribute, data_type;
END_ENTITY; -- select_constraint

A select_constraint specifies a constraint on select type. Attribute must point to attribute that is of select type. Complex instances may exist with logical_, boolean_, string_, enumeration_, integer_ and real_constraint.           data_type: A data_type defines a path to go throw select.
          attribute: An attribute is definition of attribute or other element that is of select type and is constraint to some specific selection.

Entity data types and their attributes

constraint
          -
constraint_attribute
          -
select_constraint
          data_type: LIST [1:?] OF defined_type;
          attribute: select_constraint_select;

Users

constraint
constraint_attribute
          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
select_constraint
          aggregate_member_constraint.attribute
                    aggregate_member_constraint_select
          aggregate_size_constraint.attribute
                    aggregate_member_constraint_select
          attribute_mapping.path
                    attribute_mapping_path_select
          attribute_value_constraint.attribute
                    attribute_value_constraint_select
          entity_mapping_relationship.path
                    attribute_mapping_path_select
          inverse_attribute_constraint.inverted_attribute
                    inverse_attribute_constraint_select

Global rules for this entity data type

          -

public interface ESelect_constraint extends EConstraint_attribute

data_type (explicit attribute)

          boolean testData_type(ESelect_constraint type)
          ADefined_type getData_type(ESelect_constraint type)
          ADefined_type createData_type(ESelect_constraint type)
          void unsetData_type(ESelect_constraint type)

attribute (explicit attribute)

          int testAttribute(ESelect_constraint type)
          case 1
              EEntity getAttribute(ESelect_constraint type)
              void setAttribute(ESelect_constraint type, EEntity value, EEntity node1)
          void unsetAttribute(ESelect_constraint type)

public class CSelect_constraint implements ESelect_constraint

          static EAttribute attributeData_type(ESelect_constraint type)
          static int usedinData_type(ESelect_constraint type, EDefined_type instance, ASdaiModel domain, ASelect_constraint result)
          static EAttribute attributeAttribute(ESelect_constraint type)
          static int usedinAttribute(ESelect_constraint type, EEntity instance, ASdaiModel domain, ASelect_constraint result)

public class ASelect_constraint extends AEntity

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