Class MapSingleUseObjectEntityImpl
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.singleUseObject.MapSingleUseObjectEntity.AbstractSingleUseObjectEntity
-
- org.keycloak.models.map.singleUseObject.MapSingleUseObjectEntityImpl
-
- All Implemented Interfaces:
AbstractEntity
,ExpirableEntity
,UpdatableEntity
,MapSingleUseObjectEntity
- Direct Known Subclasses:
JpaSingleUseObjectMetadata
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapSingleUseObjectEntityImpl extends MapSingleUseObjectEntity.AbstractSingleUseObjectEntity implements MapSingleUseObjectEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MapSingleUseObjectEntityImpl.Empty
-
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
Constructors Constructor Description MapSingleUseObjectEntityImpl(DeepCloner cloner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Long
getExpiration()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.String
getNote(String p0)
Map<String,String>
getNotes()
String
getObjectKey()
int
hashCode()
void
setExpiration(Long p0)
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setNote(String p0, String p1)
void
setNotes(Map<String,String> p0)
void
setObjectKey(String p0)
String
toString()
-
Methods inherited from class org.keycloak.models.map.singleUseObject.MapSingleUseObjectEntity.AbstractSingleUseObjectEntity
getId, setId
-
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag, isUpdated
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setId
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated
-
-
-
-
Constructor Detail
-
MapSingleUseObjectEntityImpl
public MapSingleUseObjectEntityImpl(DeepCloner cloner)
-
-
Method Detail
-
setExpiration
public void setExpiration(Long p0)
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:
p0
- a timestamp in milliseconds since The Epoch ornull
if this entity never expires.
-
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.
-
getNotes
public Map<String,String> getNotes()
- Specified by:
getNotes
in interfaceMapSingleUseObjectEntity
-
setNotes
public void setNotes(Map<String,String> p0)
- Specified by:
setNotes
in interfaceMapSingleUseObjectEntity
-
getNote
public String getNote(String p0)
- Specified by:
getNote
in interfaceMapSingleUseObjectEntity
-
setNote
public void setNote(String p0, String p1)
- Specified by:
setNote
in interfaceMapSingleUseObjectEntity
-
getObjectKey
public String getObjectKey()
- Specified by:
getObjectKey
in interfaceMapSingleUseObjectEntity
-
setObjectKey
public void setObjectKey(String p0)
- Specified by:
setObjectKey
in interfaceMapSingleUseObjectEntity
-
-