Class AbstractImmutableChangeModel<C,E>
java.lang.Object
com.blazebit.persistence.view.impl.change.AbstractChangeModel<C,E>
com.blazebit.persistence.view.impl.change.AbstractImmutableChangeModel<C,E>
- All Implemented Interfaces:
ChangeModel<C>
- Direct Known Subclasses:
AbstractImmutablePluralChangeModel
,ImmutableSingularChangeModel
public class AbstractImmutableChangeModel<C,E> extends AbstractChangeModel<C,E>
- 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 AbstractImmutableChangeModel(ManagedViewTypeImplementor<E> type, BasicTypeImpl<E> basicType, C initial, C current)
-
Method Summary
Modifier and Type Method Description protected <X> ChangeModel<X>
get(AbstractMethodAttribute<?,?> methodAttribute)
C
getCurrentState()
C
getInitialState()
ChangeModel.ChangeKind
getKind()
boolean
isDirty()
Methods inherited from class com.blazebit.persistence.view.impl.change.AbstractChangeModel
equals, get, getAll, getAllImmutable, getAttribute, getChangeModel, getChangeModel, getChangeModelList, getDirtyChanges, getEmptyChangeModel, getEmptyChangeModel, getImmutableChangeModel, getImmutableChangeModel, getImmutableChangeModelList, getMutableAttribute, getType, hashCode, isChanged, isDirty, validateAttributePath
-
Field Details
-
Constructor Details
-
AbstractImmutableChangeModel
public AbstractImmutableChangeModel(ManagedViewTypeImplementor<E> type, BasicTypeImpl<E> basicType, C initial, C current)
-
-
Method Details
-
getInitialState
-
getCurrentState
-
getKind
-
isDirty
public boolean isDirty() -
get
- Specified by:
get
in classAbstractChangeModel<C,E>
-