If a repository item has a property that refers to other items and that has the cascade="update"
attribute set, then:
when you call
addItem()
, any new (transient) items referenced by this property are added automatically to the repository; andwhen you call
updateItem
, any referenced items that have been modified are automatically updated. Any referenced items that are new (transient) items are added.