Skip to content

Processing order for binding attributes to new metamodel

gbadner edited this page May 22, 2013 · 3 revisions

As each hierarchy is added to the Binder, create the EntityBinding (root and subclass) objects but don't bind anything within the EntityBinding.

After all sources have been added to Binder, bind attribute bindings in the following order (e.g., each type of attribute is bound for all entity hierarchies before moving onto the next attribute type):

  • ID attributes (need to work out proper order for .
  • Composite attribute containers, excluding sub-attributes.
  • Basic attributes, including composite sub-attributes that are basic.
  • Many-to-one attributes, including composite sub-attributes that are many-to-one.
  • One-to-one attributes, including composite sub-attributes that are one-to-one.
  • Non-inverse plural attributes.
  • Inverse plural attributes.