Overview Index

SDAI_MAPPING_SCHEMA (jsdai.mapping)


ENTITY aggregate_member_constraint
          SUBTYPE OF (constraint_attribute);
          member : OPTIONAL INTEGER;
          attribute : aggregate_member_constraint_select;
UNIQUE
          ur1 : attribute, member;
END_ENTITY; -- aggregate_member_constraint

An aggregate_member_constraint is a constraint that constraint aggregates. It selects one specific or arbitrary element from aggregate. The attribute must point to an attribute of type aggregate.           member: If set, defines element in aggregate that must meet requirement, e.g. [1], only valid for LIST and ARRAY but misused by APs. If unset, there shall be at least one member. Notation [i]
          attribute: An attribute must be of aggregate type. One element of is this aggregate is selected using aggregate_member_constraint.

Entity data types and their attributes

constraint
          -
constraint_attribute
          -
aggregate_member_constraint
          (OPT) member: INTEGER;
          attribute: aggregate_member_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
aggregate_member_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_constraint.attribute
                    attribute_select
          entity_mapping_relationship.path
                    attribute_mapping_path_select
          inverse_attribute_constraint.inverted_attribute
                    inverse_attribute_constraint_select
          path_constraint.element1
                    path_constraint_select
          select_constraint.attribute
                    select_constraint_select

Global rules for this entity data type

          -

public interface EAggregate_member_constraint extends EConstraint_attribute

member (explicit attribute)

          boolean testMember(EAggregate_member_constraint type)
          int getMember(EAggregate_member_constraint type)
          void setMember(EAggregate_member_constraint type, int value)
          void unsetMember(EAggregate_member_constraint type)

attribute (explicit attribute)

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

public class CAggregate_member_constraint implements EAggregate_member_constraint

          static EAttribute attributeMember(EAggregate_member_constraint type)
          static EAttribute attributeAttribute(EAggregate_member_constraint type)
          static int usedinAttribute(EAggregate_member_constraint type, EEntity instance, ASdaiModel domain, AAggregate_member_constraint result)

public class AAggregate_member_constraint extends AEntity

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