Class BasicSingularChangeModel<V>
java.lang.Object
com.blazebit.persistence.view.impl.change.AbstractChangeModel<V,V>
com.blazebit.persistence.view.impl.change.BasicSingularChangeModel<V>
- All Implemented Interfaces:
ChangeModel<V>,SingularChangeModel<V>
public class BasicSingularChangeModel<V>
extends AbstractChangeModel<V,V>
implements SingularChangeModel<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
ConstructorsConstructorDescriptionBasicSingularChangeModel(BasicTypeImpl<V> basicType, V initial, V current, DirtyChecker<V> dirtyChecker) -
Method Summary
Modifier and TypeMethodDescriptionprotected <X> ChangeModel<X>get(AbstractMethodAttribute<?, ?> methodAttribute) <K,V1> MapChangeModel<K, V1> get(MapAttribute<V, K, V1> attribute) <K,V1> MapChangeModel<K, V1> get(MethodMapAttribute<V, K, V1> attribute) <E,C extends Collection<E>>
PluralChangeModel<C,E> get(MethodPluralAttribute<V, C, E> attribute) <X> SingularChangeModel<X>get(MethodSingularAttribute<V, X> attribute) <E,C extends Collection<E>>
PluralChangeModel<C,E> get(PluralAttribute<V, C, E> attribute) <X> SingularChangeModel<X>get(SingularAttribute<V, X> attribute) <X> ChangeModel<X><X> List<? extends ChangeModel<X>>List<ChangeModel<?>>getKind()booleanbooleanisDirty()booleanMethods 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
-
Constructor Details
-
BasicSingularChangeModel
public BasicSingularChangeModel(BasicTypeImpl<V> basicType, V initial, V current, DirtyChecker<V> dirtyChecker)
-
-
Method Details
-
getInitialState
- Specified by:
getInitialStatein interfaceChangeModel<V>
-
getCurrentState
- Specified by:
getCurrentStatein interfaceChangeModel<V>
-
getKind
- Specified by:
getKindin interfaceChangeModel<V>
-
isDirty
public boolean isDirty()- Specified by:
isDirtyin interfaceChangeModel<V>
-
isDirty
- Specified by:
isDirtyin interfaceSingularChangeModel<V>
-
isChanged
- Specified by:
isChangedin interfaceSingularChangeModel<V>
-
getDirtyChanges
- Specified by:
getDirtyChangesin interfaceSingularChangeModel<V>
-
get
- Specified by:
getin interfaceSingularChangeModel<V>
-
get
- Specified by:
getin classAbstractChangeModel<V,V>
-
getAll
- Specified by:
getAllin interfaceSingularChangeModel<V>
-
get
- Specified by:
getin interfaceSingularChangeModel<V>
-
get
- Specified by:
getin interfaceSingularChangeModel<V>
-
get
- Specified by:
getin interfaceSingularChangeModel<V>
-
get
- Specified by:
getin interfaceSingularChangeModel<V>
-
get
public <E,C extends Collection<E>> PluralChangeModel<C,E> get(MethodPluralAttribute<V, C, E> attribute) - Specified by:
getin interfaceSingularChangeModel<V>
-
get
- Specified by:
getin interfaceSingularChangeModel<V>
-