Class AbstractImmutablePluralChangeModel<C,V>
java.lang.Object
com.blazebit.persistence.view.impl.change.AbstractChangeModel<C,E>
com.blazebit.persistence.view.impl.change.AbstractImmutableChangeModel<C,V>
com.blazebit.persistence.view.impl.change.AbstractImmutablePluralChangeModel<C,V>
- All Implemented Interfaces:
ChangeModel<C>,PluralChangeModel<C,V>
- Direct Known Subclasses:
ImmutableCollectionChangeModel,ImmutableListChangeModel,ImmutableMapChangeModel,ImmutableSetChangeModel
public class AbstractImmutablePluralChangeModel<C,V>
extends AbstractImmutableChangeModel<C,V>
implements PluralChangeModel<C,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.AbstractImmutableChangeModel
current, initialFields inherited from class com.blazebit.persistence.view.impl.change.AbstractChangeModel
basicType, type -
Constructor Summary
ConstructorsConstructorDescriptionAbstractImmutablePluralChangeModel(ManagedViewTypeImplementor<V> type, BasicTypeImpl<V> basicType, C initial, C current) -
Method Summary
Modifier and TypeMethodDescriptionprotected <X> ChangeModel<X>get(AbstractMethodAttribute<?, ?> methodAttribute) <K,E> List<MapChangeModel<K, E>> get(MapAttribute<V, K, E> attribute) <K,E> List<MapChangeModel<K, E>> get(MethodMapAttribute<V, K, E> attribute) <E,C extends Collection<E>>
List<PluralChangeModel<C,E>> get(MethodPluralAttribute<V, C, E> attribute) <X> List<SingularChangeModel<X>>get(MethodSingularAttribute<V, X> attribute) <E,C extends Collection<E>>
List<PluralChangeModel<C,E>> get(PluralAttribute<V, C, E> attribute) <X> List<SingularChangeModel<X>>get(SingularAttribute<V, X> attribute) <X> List<? extends ChangeModel<X>>booleanbooleanMethods inherited from class com.blazebit.persistence.view.impl.change.AbstractImmutableChangeModel
getCurrentState, getInitialState, getKind, isDirtyMethods 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, validateAttributePathMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blazebit.persistence.view.change.ChangeModel
getCurrentState, getInitialState, getKind, isDirty
-
Constructor Details
-
AbstractImmutablePluralChangeModel
public AbstractImmutablePluralChangeModel(ManagedViewTypeImplementor<V> type, BasicTypeImpl<V> basicType, C initial, C current)
-
-
Method Details
-
isDirty
- Specified by:
isDirtyin interfacePluralChangeModel<C,V>
-
isChanged
- Specified by:
isChangedin interfacePluralChangeModel<C,V>
-
get
- Specified by:
getin interfacePluralChangeModel<C,V>
-
get
- Specified by:
getin interfacePluralChangeModel<C,V>
-
get
public <E,C extends Collection<E>> List<PluralChangeModel<C,E>> get(PluralAttribute<V, C, E> attribute) - Specified by:
getin interfacePluralChangeModel<C,V>
-
get
- Specified by:
getin interfacePluralChangeModel<C,V>
-
get
- Specified by:
getin interfacePluralChangeModel<C,V>
-
get
public <E,C extends Collection<E>> List<PluralChangeModel<C,E>> get(MethodPluralAttribute<V, C, E> attribute) - Specified by:
getin interfacePluralChangeModel<C,V>
-
get
- Specified by:
getin interfacePluralChangeModel<C,V>
-
get
- Overrides:
getin classAbstractImmutableChangeModel<C,V>
-
getElementChanges
- Specified by:
getElementChangesin interfacePluralChangeModel<C,V>
-
getAddedElements
- Specified by:
getAddedElementsin interfacePluralChangeModel<C,V>
-
getRemovedElements
- Specified by:
getRemovedElementsin interfacePluralChangeModel<C,V>
-
getMutatedElements
- Specified by:
getMutatedElementsin interfacePluralChangeModel<C,V>
-