Class MapSingleUseObjectEntityImpl.Empty
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.singleUseObject.MapSingleUseObjectEntity.AbstractSingleUseObjectEntity
org.keycloak.models.map.singleUseObject.MapSingleUseObjectEntityImpl.Empty
- All Implemented Interfaces:
AbstractEntity
,ExpirableEntity
,UpdatableEntity
,MapSingleUseObjectEntity
- Enclosing class:
- MapSingleUseObjectEntityImpl
public static class MapSingleUseObjectEntityImpl.Empty
extends MapSingleUseObjectEntity.AbstractSingleUseObjectEntity
implements 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
-
Field Summary
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.getId()
getNotes()
boolean
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
void
void
void
setObjectKey
(String objectKey) Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag, markUpdatedFlag
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, markUpdatedFlag
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Empty
public Empty()
-
-
Method Details
-
setId
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapSingleUseObjectEntity.AbstractSingleUseObjectEntity
-
getId
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapSingleUseObjectEntity.AbstractSingleUseObjectEntity
-
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
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.
-
getNotes
- Specified by:
getNotes
in interfaceMapSingleUseObjectEntity
-
getNote
- Specified by:
getNote
in interfaceMapSingleUseObjectEntity
-
setNotes
- Specified by:
setNotes
in interfaceMapSingleUseObjectEntity
-
setNote
- Specified by:
setNote
in interfaceMapSingleUseObjectEntity
-
setObjectKey
- Specified by:
setObjectKey
in interfaceMapSingleUseObjectEntity
-
getObjectKey
- Specified by:
getObjectKey
in interfaceMapSingleUseObjectEntity
-
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
- Overrides:
isUpdated
in classUpdatableEntity.Impl
- Returns:
-