Mapping Collections of Value Type

You define mapping collections of value type as follows:

  1. Create an entity type class.
  2. Create another class for value type.
  3. Open the property sheet of the class, click the Detail tab, and select the Value type radio button.
  4. Create an association between the value type class and an entity type class. On the value type side, set the multiplicity to one and the navigability to true.


  5. Generate the PDM with O/R mapping.
  6. Open the property sheet of the entity class and click the Preview tab.
  7. Verify the mapping file.

A composite entity class may contain components, using the <nested-composite-element> declaration.