Identity constraints

The XML parser in HCL OneTest Data enforces declared identity constraints. The XML Schema Importer sets these properties based on the XML Schema. In general, the identity constraint definition serves in one of the roles listed below:

Identity Constraint
Unique
Enforces that a value (or combination of values) is unique within a given scope. For example, all product numbers must be unique within a catalogue.
Key
Enforces uniqueness and requires that all values be present. For example, every product must have a number and it must be unique within the catalogue.
Key References
Enforces that a value (or combination of values) corresponds to a value represented by a key or uniqueness constraint. For example, for every product number that is displayed as an item in a purchase order there must be a corresponding product number in the product description section.