Common interface to indirect collections.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Collection | getAddedElements()
INTERNAL: Return if the collection has any elements added that have been deferred to instantiation. |
| public C | |
| public Collection | getRemovedElements()
INTERNAL: Return if the collection has any elements removed that have been deferred to instantiation. |
| public boolean | hasDeferredChanges()
INTERNAL: Return if the collection has any changes that have been deferred to instantiation. |
| public void | setUseLazyInstantiation(boolean useLazyInstantiation)
INTERNAL Set whether this collection should attempt do deal with adds and removes without retrieving the collection from the dB |
| clearDeferredChanges | back to summary |
|---|---|
| public void clearDeferredChanges() INTERNAL: clear any changes that have been deferred to instantiation. Indirect collections with change tracking avoid instantiation on add/remove. | |
| getAddedElements | back to summary |
|---|---|
| public Collection INTERNAL: Return if the collection has any elements added that have been deferred to instantiation. Indirect collections with change tracking avoid instantiation on add/remove. | |
| getDelegateObject | back to summary |
|---|---|
| public C getDelegateObject() INTERNAL: Return the real collection object. This will force instantiation. | |
| getRemovedElements | back to summary |
|---|---|
| public Collection INTERNAL: Return if the collection has any elements removed that have been deferred to instantiation. Indirect collections with change tracking avoid instantiation on add/remove. | |
| hasDeferredChanges | back to summary |
|---|---|
| public boolean hasDeferredChanges() INTERNAL: Return if the collection has any changes that have been deferred to instantiation. Indirect collections with change tracking avoid instantiation on add/remove. | |
| setUseLazyInstantiation | back to summary |
|---|---|
| public void setUseLazyInstantiation(boolean useLazyInstantiation) INTERNAL Set whether this collection should attempt do deal with adds and removes without retrieving the collection from the dB | |