Overview Index

SDAI_MAPPING_SCHEMA (jsdai.mapping)


ENTITY integer_constraint
          SUBTYPE OF (attribute_value_constraint);
          constraint_value : INTEGER;
UNIQUE
          ur1 : attribute, constraint_value;
END_ENTITY; -- integer_constraint

An integer_constraint specifies a constraint on integer value. Attribute must point to attribute that is of type integer.           constraint_value: A constraint_value defines a constant to which constraint attribute must be equal.

Entity data types and their attributes

constraint
          -
constraint_attribute
          -
attribute_value_constraint
          attribute: attribute_value_constraint_select;
integer_constraint
          constraint_value: INTEGER;

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
attribute_value_constraint
integer_constraint

Global rules for this entity data type

          -

public interface EInteger_constraint extends EAttribute_value_constraint

constraint_value (explicit attribute)

          boolean testConstraint_value(EInteger_constraint type)
          int getConstraint_value(EInteger_constraint type)
          void setConstraint_value(EInteger_constraint type, int value)
          void unsetConstraint_value(EInteger_constraint type)

public class CInteger_constraint implements EInteger_constraint

          static EAttribute attributeConstraint_value(EInteger_constraint type)

public class AInteger_constraint extends AEntity

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