ENTITY integer_constraint SUBTYPE OF (attribute_value_constraint); constraint_value : INTEGER; UNIQUE ur1 : attribute, constraint_value; END_ENTITY; -- integer_constraint |
Entity data types and their attributesconstraint- constraint_attribute - attribute_value_constraint attribute: attribute_value_constraint_select; integer_constraint constraint_value: INTEGER; |
Global rules for this entity data type- |
public interface EInteger_constraint extends EAttribute_value_constraintconstraint_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_constraintstatic EAttribute attributeConstraint_value(EInteger_constraint type) |
public class AInteger_constraint extends AEntitypublic EInteger_constraint getByIndex(int index)public EInteger_constraint getCurrentMember(SdaiIterator it) |