Class MapClientInitialAccessEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.realm.entity.MapClientInitialAccessEntityDelegate
-
- All Implemented Interfaces:
AbstractEntity
,HasDelegateProvider<MapClientInitialAccessEntity>
,ExpirableEntity
,UpdatableEntity
,MapClientInitialAccessEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapClientInitialAccessEntityDelegate extends Object implements MapClientInitialAccessEntity, HasDelegateProvider<MapClientInitialAccessEntity>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Constructor Summary
Constructors Constructor Description MapClientInitialAccessEntityDelegate(DelegateProvider<MapClientInitialAccessEntity> delegateProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCount()
DelegateProvider<MapClientInitialAccessEntity>
getDelegateProvider()
Long
getExpiration()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.String
getId()
Integer
getRemainingCount()
Long
getTimestamp()
Returns a point in time (timestamp in milliseconds since The Epoch) when the client initial access entity was created.boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.void
setCount(Integer count)
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
setRemainingCount(Integer remainingCount)
void
setTimestamp(Long timestamp)
Sets a point in the (timestamp in milliseconds since The Epoch) when the client initial access entity was created.-
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
-
MapClientInitialAccessEntityDelegate
public MapClientInitialAccessEntityDelegate(DelegateProvider<MapClientInitialAccessEntity> delegateProvider)
-
-
Method Detail
-
getDelegateProvider
public DelegateProvider<MapClientInitialAccessEntity> getDelegateProvider()
- Specified by:
getDelegateProvider
in interfaceHasDelegateProvider<MapClientInitialAccessEntity>
-
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.
-
getTimestamp
public Long getTimestamp()
Description copied from interface:MapClientInitialAccessEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the client initial access entity was created.- Specified by:
getTimestamp
in interfaceMapClientInitialAccessEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setTimestamp
public void setTimestamp(Long timestamp)
Description copied from interface:MapClientInitialAccessEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when the client initial access entity was created.- Specified by:
setTimestamp
in interfaceMapClientInitialAccessEntity
- Parameters:
timestamp
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getCount
public Integer getCount()
- Specified by:
getCount
in interfaceMapClientInitialAccessEntity
-
setCount
public void setCount(Integer count)
- Specified by:
setCount
in interfaceMapClientInitialAccessEntity
-
getRemainingCount
public Integer getRemainingCount()
- Specified by:
getRemainingCount
in interfaceMapClientInitialAccessEntity
-
setRemainingCount
public void setRemainingCount(Integer remainingCount)
- Specified by:
setRemainingCount
in interfaceMapClientInitialAccessEntity
-
-