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()
Long
getExpiration()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.String
getId()
String
getNote(String name)
Map<String,String>
getNotes()
String
getObjectKey()
boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.void
setExpiration(Long expiration)
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setId(String id)
void
setNote(String key, String value)
void
setNotes(Map<String,String> notes)
void
setObjectKey(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:
getDelegateProvider
in interfaceHasDelegateProvider<MapSingleUseObjectEntity>
-
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:
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
-
getExpiration
public Long getExpiration()
Description copied from interface:ExpirableEntity
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
getExpiration
in interfaceExpirableEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
if this entity never expires or expiration is not known.
-
setExpiration
public void setExpiration(Long expiration)
Description copied from interface:ExpirableEntity
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.- Specified by:
setExpiration
in interfaceExpirableEntity
- Parameters:
expiration
- a timestamp in milliseconds since The Epoch ornull
if this entity never expires.
-
getObjectKey
public String getObjectKey()
- Specified by:
getObjectKey
in interfaceMapSingleUseObjectEntity
-
setObjectKey
public void setObjectKey(String objectKey)
- Specified by:
setObjectKey
in interfaceMapSingleUseObjectEntity
-
getNotes
public Map<String,String> getNotes()
- Specified by:
getNotes
in interfaceMapSingleUseObjectEntity
-
setNotes
public void setNotes(Map<String,String> notes)
- Specified by:
setNotes
in interfaceMapSingleUseObjectEntity
-
getNote
public String getNote(String name)
- Specified by:
getNote
in interfaceMapSingleUseObjectEntity
-
setNote
public void setNote(String key, String value)
- Specified by:
setNote
in interfaceMapSingleUseObjectEntity
-
-