Package org.keycloak.models.map.events
Class MapAuthEventEntityImpl
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.events.MapAuthEventEntity.AbstractAuthEventEntity
-
- org.keycloak.models.map.events.MapAuthEventEntityImpl
-
- All Implemented Interfaces:
AbstractEntity
,ExpirableEntity
,UpdatableEntity
,MapAuthEventEntity
- Direct Known Subclasses:
JpaAuthEventMetadata
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapAuthEventEntityImpl extends MapAuthEventEntity.AbstractAuthEventEntity implements MapAuthEventEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MapAuthEventEntityImpl.Empty
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.events.MapAuthEventEntity
MapAuthEventEntity.AbstractAuthEventEntity
-
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 MapAuthEventEntityImpl(DeepCloner cloner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getClientId()
Map<String,String>
getDetails()
String
getError()
Long
getExpiration()
Returns a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.String
getIpAddress()
String
getRealmId()
String
getSessionId()
Long
getTimestamp()
Returns a point in time (timestamp in milliseconds since The Epoch) when the event entity was created.EventType
getType()
String
getUserId()
int
hashCode()
void
setClientId(String p0)
void
setDetails(Map<String,String> p0)
void
setError(String p0)
void
setExpiration(Long p0)
Sets a point in the time (timestamp in milliseconds since The Epoch) when this entity expires.void
setIpAddress(String p0)
void
setRealmId(String p0)
void
setSessionId(String p0)
void
setTimestamp(Long p0)
Sets a point in the (timestamp in milliseconds since The Epoch) when the event entity was created.void
setType(EventType p0)
void
setUserId(String p0)
String
toString()
-
Methods inherited from class org.keycloak.models.map.events.MapAuthEventEntity.AbstractAuthEventEntity
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
-
MapAuthEventEntityImpl
public MapAuthEventEntityImpl(DeepCloner cloner)
-
-
Method Detail
-
getClientId
public String getClientId()
- Specified by:
getClientId
in interfaceMapAuthEventEntity
-
setClientId
public void setClientId(String p0)
- Specified by:
setClientId
in interfaceMapAuthEventEntity
-
setDetails
public void setDetails(Map<String,String> p0)
- Specified by:
setDetails
in interfaceMapAuthEventEntity
-
getDetails
public Map<String,String> getDetails()
- Specified by:
getDetails
in interfaceMapAuthEventEntity
-
getError
public String getError()
- Specified by:
getError
in interfaceMapAuthEventEntity
-
setError
public void setError(String p0)
- Specified by:
setError
in interfaceMapAuthEventEntity
-
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.
-
getIpAddress
public String getIpAddress()
- Specified by:
getIpAddress
in interfaceMapAuthEventEntity
-
setIpAddress
public void setIpAddress(String p0)
- Specified by:
setIpAddress
in interfaceMapAuthEventEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapAuthEventEntity
-
setRealmId
public void setRealmId(String p0)
- Specified by:
setRealmId
in interfaceMapAuthEventEntity
-
setSessionId
public void setSessionId(String p0)
- Specified by:
setSessionId
in interfaceMapAuthEventEntity
-
getSessionId
public String getSessionId()
- Specified by:
getSessionId
in interfaceMapAuthEventEntity
-
getTimestamp
public Long getTimestamp()
Description copied from interface:MapAuthEventEntity
Returns a point in time (timestamp in milliseconds since The Epoch) when the event entity was created.- Specified by:
getTimestamp
in interfaceMapAuthEventEntity
- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setTimestamp
public void setTimestamp(Long p0)
Description copied from interface:MapAuthEventEntity
Sets a point in the (timestamp in milliseconds since The Epoch) when the event entity was created.- Specified by:
setTimestamp
in interfaceMapAuthEventEntity
- Parameters:
p0
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
setType
public void setType(EventType p0)
- Specified by:
setType
in interfaceMapAuthEventEntity
-
getType
public EventType getType()
- Specified by:
getType
in interfaceMapAuthEventEntity
-
getUserId
public String getUserId()
- Specified by:
getUserId
in interfaceMapAuthEventEntity
-
setUserId
public void setUserId(String p0)
- Specified by:
setUserId
in interfaceMapAuthEventEntity
-
-