Class ViewChangeModel<V extends DirtyStateTrackable>
java.lang.Object
com.blazebit.persistence.view.impl.change.AbstractChangeModel<V,V>
com.blazebit.persistence.view.impl.change.AbstractSingularChangeModel<V>
com.blazebit.persistence.view.impl.change.ViewChangeModel<V>
- All Implemented Interfaces:
ChangeModel<V>
,SingularChangeModel<V>
public class ViewChangeModel<V extends DirtyStateTrackable> extends AbstractSingularChangeModel<V>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.view.change.ChangeModel
ChangeModel.ChangeKind
-
Field Summary
Fields inherited from class com.blazebit.persistence.view.impl.change.AbstractChangeModel
basicType, type
-
Constructor Summary
Constructors Constructor Description ViewChangeModel(ManagedViewTypeImplementor<V> type, V object, DirtyChecker<V> dirtyChecker)
-
Method Summary
Modifier and Type Method Description protected <X> ChangeModel<X>
get(AbstractMethodAttribute<?,?> methodAttribute)
<X> ChangeModel<X>
get(String attributePath)
<X> List<? extends ChangeModel<X>>
getAll(String attributePath)
V
getCurrentState()
List<ChangeModel<?>>
getDirtyChanges()
V
getInitialState()
ChangeModel.ChangeKind
getKind()
boolean
isChanged(String attributePath)
boolean
isDirty()
boolean
isDirty(String attributePath)
Methods inherited from class com.blazebit.persistence.view.impl.change.AbstractSingularChangeModel
get, get, get, get, get, get, getChangeModel
Methods inherited from class com.blazebit.persistence.view.impl.change.AbstractChangeModel
equals, get, getAll, getAllImmutable, getAttribute, getChangeModel, getChangeModelList, getDirtyChanges, getEmptyChangeModel, getEmptyChangeModel, getImmutableChangeModel, getImmutableChangeModel, getImmutableChangeModelList, getMutableAttribute, getType, hashCode, isChanged, isDirty, validateAttributePath
-
Constructor Details
-
Method Details
-
getInitialState
-
getCurrentState
-
getKind
-
isDirty
public boolean isDirty() -
isDirty
-
isChanged
-
getDirtyChanges
-
get
-
getAll
-
get
- Specified by:
get
in classAbstractChangeModel<V extends DirtyStateTrackable,V extends DirtyStateTrackable>
-