Subtypes

In the logical validation model it is possible to define subtype-supertype pattern as Complete and/or Mutual Exclusive.

  • Complete pattern: all instances in the supertype can be found in the related subtypes. For example, a provider offers TV, internet, and phone plans, there are no other type of plans. A customer can choose to get a TV and internet plan, without a phone.
  • Mutually exclusive pattern: one instance in the supertype can be found in none or just one Subtype. For example, a person can either be male or female.
  • Mutually exclusive and complete pattern: one instance in the supertype must be found in just one subtype. For example, a customer must either be a (natural) person or a company, there are no other types of customer available.

These patterns are not automatically implemented in the logical validation model or generated as metadata by i-refactory. To account for these patterns, you need to add set constraints to the logical validation model.