ChangeModel<C>
, PluralChangeModel<C,V>
AbstractCollectionChangeModel
, AbstractMapChangeModel
public abstract class AbstractPluralChangeModel<C,V,D extends DirtyChecker<C>> extends AbstractChangeModel<C,V> implements PluralChangeModel<C,V>
ChangeModel.ChangeKind
Modifier and Type | Field | Description |
---|---|---|
protected C |
current |
|
protected C |
initial |
|
protected D |
pluralDirtyChecker |
basicType, type
Constructor | Description |
---|---|
AbstractPluralChangeModel(ManagedViewTypeImplementor<V> type,
BasicTypeImpl<V> basicType,
C initial,
C current,
D pluralDirtyChecker) |
Modifier and Type | Method | Description |
---|---|---|
protected <X> ChangeModel<X> |
get(AbstractMethodAttribute<?,?> methodAttribute) |
|
<K,E> java.util.List<MapChangeModel<K,E>> |
get(MapAttribute<V,K,E> attribute) |
|
<E,C extends java.util.Collection<E>> |
get(PluralAttribute<V,C,E> attribute) |
|
<X> java.util.List<SingularChangeModel<X>> |
get(SingularAttribute<V,X> attribute) |
|
protected abstract <X> java.util.List<? extends ChangeModel<X>> |
getAll(AbstractMethodAttribute<?,?> methodAttribute) |
|
C |
getCurrentState() |
|
C |
getInitialState() |
|
ChangeModel.ChangeKind |
getKind() |
|
protected <X> AbstractChangeModel<X,X> |
getObjectChangeModel(Type<X> elementType,
X initial,
X element,
DirtyChecker<X> dirtyChecker) |
|
boolean |
isDirty() |
equals, get, getAll, getAllImmutable, getAttribute, getChangeModel, getChangeModel, getChangeModelList, getDirtyChanges, getEmptyChangeModel, getEmptyChangeModel, getImmutableChangeModel, getImmutableChangeModel, getImmutableChangeModelList, getMutableAttribute, getType, hashCode, isChanged, isDirty, validateAttributePath
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
get, getAddedElements, getElementChanges, getMutatedElements, getRemovedElements, isChanged, isDirty
protected final C initial
protected final C current
protected final D extends DirtyChecker<C> pluralDirtyChecker
public AbstractPluralChangeModel(ManagedViewTypeImplementor<V> type, BasicTypeImpl<V> basicType, C initial, C current, D pluralDirtyChecker)
public ChangeModel.ChangeKind getKind()
getKind
in interface ChangeModel<C>
public boolean isDirty()
isDirty
in interface ChangeModel<C>
public C getInitialState()
getInitialState
in interface ChangeModel<C>
public C getCurrentState()
getCurrentState
in interface ChangeModel<C>
protected <X> ChangeModel<X> get(AbstractMethodAttribute<?,?> methodAttribute)
get
in class AbstractChangeModel<C,V>
protected abstract <X> java.util.List<? extends ChangeModel<X>> getAll(AbstractMethodAttribute<?,?> methodAttribute)
public <X> java.util.List<SingularChangeModel<X>> get(SingularAttribute<V,X> attribute)
get
in interface PluralChangeModel<C,V>
public <E,C extends java.util.Collection<E>> java.util.List<PluralChangeModel<C,E>> get(PluralAttribute<V,C,E> attribute)
get
in interface PluralChangeModel<C,V>
public <K,E> java.util.List<MapChangeModel<K,E>> get(MapAttribute<V,K,E> attribute)
get
in interface PluralChangeModel<C,V>
protected final <X> AbstractChangeModel<X,X> getObjectChangeModel(Type<X> elementType, X initial, X element, DirtyChecker<X> dirtyChecker)
Copyright © 2014–2018 Blazebit. All rights reserved.