Class AbstractSingularChangeModel<V>
java.lang.Object
com.blazebit.persistence.view.impl.change.AbstractChangeModel<V,V>
com.blazebit.persistence.view.impl.change.AbstractSingularChangeModel<V>
- All Implemented Interfaces:
ChangeModel<V>
,SingularChangeModel<V>
- Direct Known Subclasses:
ViewChangeModel
,ViewSingularChangeModel
public abstract class AbstractSingularChangeModel<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
Constructors Constructor Description AbstractSingularChangeModel(ManagedViewTypeImplementor<V> type, BasicTypeImpl<V> basicType)
-
Method Summary
Modifier and Type Method Description <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)
protected <X> ChangeModel<X>
getChangeModel(Object initialAttributeObject, Object attributeObject, AbstractMethodAttribute<?,?> methodAttribute, DirtyChecker<Object> attributeDirtyChecker)
Methods inherited from class com.blazebit.persistence.view.impl.change.AbstractChangeModel
equals, get, get, getAll, getAllImmutable, getAttribute, getChangeModel, getChangeModelList, getDirtyChanges, getEmptyChangeModel, getEmptyChangeModel, getImmutableChangeModel, getImmutableChangeModel, getImmutableChangeModelList, getMutableAttribute, getType, hashCode, isChanged, isDirty, validateAttributePath
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.blazebit.persistence.view.change.ChangeModel
getCurrentState, getInitialState, getKind, isDirty
Methods inherited from interface com.blazebit.persistence.view.change.SingularChangeModel
get, getAll, getDirtyChanges, isChanged, isDirty
-
Constructor Details
-
Method Details
-
get
- Specified by:
get
in interfaceSingularChangeModel<V>
-
get
public <E, C extends Collection<E>> PluralChangeModel<C,E> get(PluralAttribute<V,C,E> attribute)- Specified by:
get
in interfaceSingularChangeModel<V>
-
get
- Specified by:
get
in interfaceSingularChangeModel<V>
-
get
- Specified by:
get
in interfaceSingularChangeModel<V>
-
get
public <E, C extends Collection<E>> PluralChangeModel<C,E> get(MethodPluralAttribute<V,C,E> attribute)- Specified by:
get
in interfaceSingularChangeModel<V>
-
get
- Specified by:
get
in interfaceSingularChangeModel<V>
-
getChangeModel
protected <X> ChangeModel<X> getChangeModel(Object initialAttributeObject, Object attributeObject, AbstractMethodAttribute<?,?> methodAttribute, DirtyChecker<Object> attributeDirtyChecker)- Overrides:
getChangeModel
in classAbstractChangeModel<V,V>
-