Class MapSingleUseObjectEntityFieldDelegate
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.singleUseObject.MapSingleUseObjectEntity.AbstractSingleUseObjectEntity
-
- org.keycloak.models.map.singleUseObject.MapSingleUseObjectEntityFieldDelegate
-
- All Implemented Interfaces:
AbstractEntity
,HasEntityFieldDelegate<MapSingleUseObjectEntity>
,ExpirableEntity
,UpdatableEntity
,MapSingleUseObjectEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapSingleUseObjectEntityFieldDelegate extends MapSingleUseObjectEntity.AbstractSingleUseObjectEntity implements MapSingleUseObjectEntity, HasEntityFieldDelegate<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
Constructors Constructor Description MapSingleUseObjectEntityFieldDelegate(EntityFieldDelegate<MapSingleUseObjectEntity> entityFieldDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearUpdatedFlag()
An optional operation clearing the updated flag.EntityFieldDelegate<MapSingleUseObjectEntity>
getEntityFieldDelegate()
Long
getExpiration()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.String
getId()
String
getNote(String p0)
Map<String,String>
getNotes()
String
getObjectKey()
boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.void
setExpiration(Long p0)
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setId(String p0)
void
setNote(String p0, String p1)
void
setNotes(Map<String,String> p0)
void
setObjectKey(String p0)
-
-
-
Constructor Detail
-
MapSingleUseObjectEntityFieldDelegate
public MapSingleUseObjectEntityFieldDelegate(EntityFieldDelegate<MapSingleUseObjectEntity> entityFieldDelegate)
-
-
Method Detail
-
getEntityFieldDelegate
public EntityFieldDelegate<MapSingleUseObjectEntity> getEntityFieldDelegate()
- Specified by:
getEntityFieldDelegate
in interfaceHasEntityFieldDelegate<MapSingleUseObjectEntity>
-
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:
-
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
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapSingleUseObjectEntity.AbstractSingleUseObjectEntity
-
setId
public void setId(String p0)
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapSingleUseObjectEntity.AbstractSingleUseObjectEntity
-
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 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.
-
getObjectKey
public String getObjectKey()
- Specified by:
getObjectKey
in interfaceMapSingleUseObjectEntity
-
setObjectKey
public void setObjectKey(String p0)
- Specified by:
setObjectKey
in interfaceMapSingleUseObjectEntity
-
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
-
-