public interface BasicDirtyTracker
Modifier and Type | Method | Description |
---|---|---|
boolean |
$$_hasParent() |
Whether this dirty tracked object has a parent dirty tracker.
|
boolean |
$$_isDirty() |
Whether a mutating action was invoked that could have possibly altered the state.
|
void |
$$_markDirty(int attributeIndex) |
Marks the attribute with the given index as dirty.
|
void |
$$_setParent(BasicDirtyTracker parent,
int parentIndex) |
Sets the mutable parent of the object.
|
void |
$$_unmarkDirty() |
Unmarks this object as dirty usually done after flushing.
|
void |
$$_unsetParent() |
Unsets the parent of the dirty tracked object.
|
boolean $$_isDirty()
void $$_markDirty(int attributeIndex)
attributeIndex
- The attribute indexvoid $$_unmarkDirty()
void $$_setParent(BasicDirtyTracker parent, int parentIndex)
parent
- The new parent objectparentIndex
- The new attribute index of this object in the parent objectjava.lang.IllegalStateException
- If a parent is already setboolean $$_hasParent()
void $$_unsetParent()
Copyright © 2014–2018 Blazebit. All rights reserved.