Interface DirtyStateTrackable
- All Superinterfaces:
BasicDirtyTracker
,DirtyTracker
,EntityViewProxy
,MutableStateTrackable
public interface DirtyStateTrackable extends MutableStateTrackable
A dirty tracker that exposes the captured initial state.
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description Object[]
$$_getInitialState()
Returns the initial state as array.Methods inherited from interface com.blazebit.persistence.view.spi.type.BasicDirtyTracker
$$_hasParent, $$_isDirty, $$_markDirty, $$_setParent, $$_unmarkDirty, $$_unsetParent
Methods inherited from interface com.blazebit.persistence.view.spi.type.DirtyTracker
$$_copyDirty, $$_getDirty, $$_getSimpleDirty, $$_isDirty, $$_replaceAttribute, $$_resetDirty, $$_setDirty
Methods inherited from interface com.blazebit.persistence.view.spi.type.EntityViewProxy
$$_getEntityViewClass, $$_getId, $$_getJpaManagedBaseClass, $$_getJpaManagedClass, $$_getVersion, $$_isNew, $$_isReference
Methods inherited from interface com.blazebit.persistence.view.spi.type.MutableStateTrackable
$$_addReadOnlyParent, $$_getMutableState, $$_getParent, $$_getParentIndex, $$_getReadOnlyParents, $$_removeReadOnlyParent, $$_setId, $$_setIsNew, $$_setVersion
-
Method Details
-
$$_getInitialState
Object[] $$_getInitialState()Returns the initial state as array. Null if not partially updatable. The order is the same as the metamodel attribute order of updatable attributes.- Returns:
- the initial state as array
-