Class EntityFieldDelegate.WithEntity<E extends UpdatableEntity>
- java.lang.Object
-
- org.keycloak.models.map.common.delegate.EntityFieldDelegate.WithEntity<E>
-
- All Implemented Interfaces:
EntityFieldDelegate<E>
,UpdatableEntity
- Enclosing interface:
- EntityFieldDelegate<E>
public abstract static class EntityFieldDelegate.WithEntity<E extends UpdatableEntity> extends Object implements EntityFieldDelegate<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.delegate.EntityFieldDelegate
EntityFieldDelegate.WithEntity<E extends UpdatableEntity>
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Constructor Summary
Constructors Constructor Description WithEntity(E entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,EF extends Enum<? extends EntityField<E>> & EntityField<E>>
voidcollectionAdd(EF field, T value)
<T,EF extends Enum<? extends EntityField<E>> & EntityField<E>>
ObjectcollectionRemove(EF field, T value)
<EF extends Enum<? extends EntityField<E>> & EntityField<E>>
Objectget(EF field)
boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.<K,EF extends Enum<? extends EntityField<E>> & EntityField<E>>
ObjectmapGet(EF field, K key)
<K,T,EF extends Enum<? extends EntityField<E>> & EntityField<E>>
voidmapPut(EF field, K key, T value)
<K,EF extends Enum<? extends EntityField<E>> & EntityField<E>>
ObjectmapRemove(EF field, K key)
<T,EF extends Enum<? extends EntityField<E>> & EntityField<E>>
voidset(EF field, T value)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Field Detail
-
entity
protected final E extends UpdatableEntity entity
-
-
Constructor Detail
-
WithEntity
public WithEntity(E entity)
-
-
Method Detail
-
get
public <EF extends Enum<? extends EntityField<E>> & EntityField<E>> Object get(EF field)
- Specified by:
get
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
set
public <T,EF extends Enum<? extends EntityField<E>> & EntityField<E>> void set(EF field, T value)
- Specified by:
set
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
mapRemove
public <K,EF extends Enum<? extends EntityField<E>> & EntityField<E>> Object mapRemove(EF field, K key)
- Specified by:
mapRemove
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
mapPut
public <K,T,EF extends Enum<? extends EntityField<E>> & EntityField<E>> void mapPut(EF field, K key, T value)
- Specified by:
mapPut
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
mapGet
public <K,EF extends Enum<? extends EntityField<E>> & EntityField<E>> Object mapGet(EF field, K key)
- Specified by:
mapGet
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
collectionRemove
public <T,EF extends Enum<? extends EntityField<E>> & EntityField<E>> Object collectionRemove(EF field, T value)
- Specified by:
collectionRemove
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
collectionAdd
public <T,EF extends Enum<? extends EntityField<E>> & EntityField<E>> void collectionAdd(EF field, T value)
- Specified by:
collectionAdd
in interfaceEntityFieldDelegate<E extends UpdatableEntity>
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Returns:
-
-