Entity classes are free to implement this contract themselves. This contract is also introduced into the entity when using bytecode enhancement and requesting that entities track their own dirtiness.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public CollectionTracker | |
| public String[] | Returns: An array of changed persistent attribute namesRetrieve the names of all the persistent attributes whose values have changed. |
| public boolean | Returns: true indicates one or more persistent attributes have changed; false
indicates none have changed.Have any of the entity's persistent attributes changed? |
| public void | |
| public void | $$_hibernate_trackChange(String attributes)
Adds persistent attribute to the set of values that have changed |
| public default SelfDirtinessTracker | Returns: this same instanceOverrides default org. |
| $$_hibernate_clearDirtyAttributes | back to summary |
|---|---|
| public void $$_hibernate_clearDirtyAttributes() Clear the stored dirty attributes | |
| $$_hibernate_getCollectionTracker | back to summary |
|---|---|
| public CollectionTracker $$_hibernate_getCollectionTracker() Get access to the CollectionTracker | |
| $$_hibernate_getDirtyAttributes | back to summary |
|---|---|
| public String[] $$_hibernate_getDirtyAttributes() Retrieve the names of all the persistent attributes whose values have changed.
| |
| $$_hibernate_hasDirtyAttributes | back to summary |
|---|---|
| public boolean $$_hibernate_hasDirtyAttributes() Have any of the entity's persistent attributes changed?
| |
| $$_hibernate_suspendDirtyTracking | back to summary |
|---|---|
| public void $$_hibernate_suspendDirtyTracking(boolean suspend) Temporarily enable / disable dirty tracking | |
| $$_hibernate_trackChange | back to summary |
|---|---|
| public void $$_hibernate_trackChange(String attributes) Adds persistent attribute to the set of values that have changed | |
| asSelfDirtinessTracker | back to summary |
|---|---|
| public default SelfDirtinessTracker asSelfDirtinessTracker() Overrides default org. Special internal contract to optimize type checking
| |