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 IntegergetCount()DelegateProvider<MapClientInitialAccessEntity>getDelegateProvider()LonggetExpiration()Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.StringgetId()IntegergetRemainingCount()LonggetTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the client initial access entity was created.booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.voidsetCount(Integer count)voidsetExpiration(Long expiration)Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.voidsetId(String id)voidsetRemainingCount(Integer remainingCount)voidsetTimestamp(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:
getDelegateProviderin interfaceHasDelegateProvider<MapClientInitialAccessEntity>
-
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.
-
getTimestamp
public Long getTimestamp()
Description copied from interface:MapClientInitialAccessEntityReturns a point in time (timestamp in milliseconds since The Epoch) when the client initial access entity was created.- Specified by:
getTimestampin interfaceMapClientInitialAccessEntity- Returns:
- a timestamp in milliseconds since The Epoch or
nullwhen the time is unknown
-
setTimestamp
public void setTimestamp(Long timestamp)
Description copied from interface:MapClientInitialAccessEntitySets a point in the (timestamp in milliseconds since The Epoch) when the client initial access entity was created.- Specified by:
setTimestampin interfaceMapClientInitialAccessEntity- Parameters:
timestamp- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getCount
public Integer getCount()
- Specified by:
getCountin interfaceMapClientInitialAccessEntity
-
setCount
public void setCount(Integer count)
- Specified by:
setCountin interfaceMapClientInitialAccessEntity
-
getRemainingCount
public Integer getRemainingCount()
- Specified by:
getRemainingCountin interfaceMapClientInitialAccessEntity
-
setRemainingCount
public void setRemainingCount(Integer remainingCount)
- Specified by:
setRemainingCountin interfaceMapClientInitialAccessEntity
-
-