Class MapSingleUseObjectEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.singleUseObject.MapSingleUseObjectEntityDelegate
-
- All Implemented Interfaces:
AbstractEntity,HasDelegateProvider<MapSingleUseObjectEntity>,ExpirableEntity,UpdatableEntity,MapSingleUseObjectEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapSingleUseObjectEntityDelegate extends Object implements MapSingleUseObjectEntity, HasDelegateProvider<MapSingleUseObjectEntity>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.singleUseObject.MapSingleUseObjectEntity
MapSingleUseObjectEntity.AbstractSingleUseObjectEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Constructor Summary
Constructors Constructor Description MapSingleUseObjectEntityDelegate(DelegateProvider<MapSingleUseObjectEntity> delegateProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelegateProvider<MapSingleUseObjectEntity>getDelegateProvider()LonggetExpiration()Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.StringgetId()StringgetNote(String name)Map<String,String>getNotes()StringgetObjectKey()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.voidsetExpiration(Long expiration)Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidsetId(String id)voidsetNote(String key, String value)voidsetNotes(Map<String,String> notes)voidsetObjectKey(String objectKey)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Constructor Detail
-
MapSingleUseObjectEntityDelegate
public MapSingleUseObjectEntityDelegate(DelegateProvider<MapSingleUseObjectEntity> delegateProvider)
-
-
Method Detail
-
getDelegateProvider
public DelegateProvider<MapSingleUseObjectEntity> getDelegateProvider()
- Specified by:
getDelegateProviderin interfaceHasDelegateProvider<MapSingleUseObjectEntity>
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Returns:
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity
-
getExpiration
public Long getExpiration()
Description copied from interface:ExpirableEntityReturns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
getExpirationin interfaceExpirableEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullif this entity never expires or expiration is not known.
-
setExpiration
public void setExpiration(Long expiration)
Description copied from interface:ExpirableEntitySets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
setExpirationin interfaceExpirableEntity- Parameters:
expiration- a timestamp in milliseconds since The Epoch ornullif this entity never expires.
-
getObjectKey
public String getObjectKey()
- Specified by:
getObjectKeyin interfaceMapSingleUseObjectEntity
-
setObjectKey
public void setObjectKey(String objectKey)
- Specified by:
setObjectKeyin interfaceMapSingleUseObjectEntity
-
getNotes
public Map<String,String> getNotes()
- Specified by:
getNotesin interfaceMapSingleUseObjectEntity
-
setNotes
public void setNotes(Map<String,String> notes)
- Specified by:
setNotesin interfaceMapSingleUseObjectEntity
-
getNote
public String getNote(String name)
- Specified by:
getNotein interfaceMapSingleUseObjectEntity
-
setNote
public void setNote(String key, String value)
- Specified by:
setNotein interfaceMapSingleUseObjectEntity
-
-