Class MapClientInitialAccessEntityFieldDelegate
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.realm.entity.MapClientInitialAccessEntityFieldDelegate
- All Implemented Interfaces:
AbstractEntity
,HasEntityFieldDelegate<MapClientInitialAccessEntity>
,ExpirableEntity
,UpdatableEntity
,MapClientInitialAccessEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor")
public class MapClientInitialAccessEntityFieldDelegate
extends UpdatableEntity.Impl
implements MapClientInitialAccessEntity, HasEntityFieldDelegate<MapClientInitialAccessEntity>
-
Nested Class Summary
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
ConstructorDescriptionMapClientInitialAccessEntityFieldDelegate
(EntityFieldDelegate<MapClientInitialAccessEntity> entityFieldDelegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
An optional operation clearing the updated flag.getCount()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.getId()
Returns a point in time (timestamp in milliseconds since The Epoch) when the client initial access entity was created.boolean
Flag signalizing that any of the setters has been meaningfully used.void
An optional operation setting the updated flag.void
void
setExpiration
(Long p0) Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
void
void
setTimestamp
(Long p0) Sets a point in the (timestamp in milliseconds since The Epoch) when the client initial access entity was created.toString()
-
Constructor Details
-
MapClientInitialAccessEntityFieldDelegate
public MapClientInitialAccessEntityFieldDelegate(EntityFieldDelegate<MapClientInitialAccessEntity> entityFieldDelegate)
-
-
Method Details
-
getEntityFieldDelegate
- Specified by:
getEntityFieldDelegate
in interfaceHasEntityFieldDelegate<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
- Overrides:
isUpdated
in classUpdatableEntity.Impl
- Returns:
-
markUpdatedFlag
public void markUpdatedFlag()Description copied from interface:UpdatableEntity
An optional operation setting the updated flag. Right after using this method, theUpdatableEntity.isUpdated()
would returntrue
.- Specified by:
markUpdatedFlag
in interfaceUpdatableEntity
- Overrides:
markUpdatedFlag
in classUpdatableEntity.Impl
-
clearUpdatedFlag
public void clearUpdatedFlag()Description copied from interface:UpdatableEntity
An optional operation clearing the updated flag. Right after using this method, theUpdatableEntity.isUpdated()
would returnfalse
.- Specified by:
clearUpdatedFlag
in interfaceUpdatableEntity
- Overrides:
clearUpdatedFlag
in classUpdatableEntity.Impl
-
toString
-
getId
- Specified by:
getId
in interfaceAbstractEntity
-
setId
- Specified by:
setId
in interfaceAbstractEntity
-
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:
p0
- a timestamp in milliseconds since The Epoch ornull
if this entity never expires.
-
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
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:
p0
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getCount
- Specified by:
getCount
in interfaceMapClientInitialAccessEntity
-
setCount
- Specified by:
setCount
in interfaceMapClientInitialAccessEntity
-
getRemainingCount
- Specified by:
getRemainingCount
in interfaceMapClientInitialAccessEntity
-
setRemainingCount
- Specified by:
setRemainingCount
in interfaceMapClientInitialAccessEntity
-