Share via


2.2.2 Multiplicity

The Multiplicity attribute of a relationship specifies the cardinality or number of instances of an EntityType that can be associated with the instances of another EntityType. The possible types of multiplicity are as follows:

  • One-to-many

  • Zero-or-one to one

  • Zero-or-one to many

The following is the XML schema definition of the Multiplicity attribute.

 <xs:simpleType name="TMultiplicity">
   <xs:restriction base="xs:token">
     <xs:enumeration value="0..1" />
     <xs:enumeration value="1" />
     <xs:enumeration value="*" />
   </xs:restriction>
 </xs:simpleType>