Package org.keycloak.models.map.lock
Class MapLockEntityImpl.Empty
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.lock.MapLockEntity.AbstractLockEntity
-
- org.keycloak.models.map.lock.MapLockEntityImpl.Empty
-
- All Implemented Interfaces:
AbstractEntity,UpdatableEntity,MapLockEntity
- Enclosing class:
- MapLockEntityImpl
public static class MapLockEntityImpl.Empty extends MapLockEntity.AbstractLockEntity implements MapLockEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.lock.MapLockEntity
MapLockEntity.AbstractLockEntity, MapLockEntity.SearchableFields
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description static MapLockEntityImpl.EmptyINSTANCE-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description Empty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()StringgetKeycloakInstanceIdentifier()StringgetName()LonggetTimeAcquired()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.voidsetId(String id)voidsetKeycloakInstanceIdentifier(String keycloakInstanceIdentifier)voidsetName(String name)voidsetTimeAcquired(Long timeAcquired)-
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag
-
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.lock.MapLockEntity
isLockUnchanged
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Field Detail
-
INSTANCE
public static final MapLockEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity- Overrides:
setIdin classMapLockEntity.AbstractLockEntity
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapLockEntity.AbstractLockEntity
-
getKeycloakInstanceIdentifier
public String getKeycloakInstanceIdentifier()
- Specified by:
getKeycloakInstanceIdentifierin interfaceMapLockEntity
-
setKeycloakInstanceIdentifier
public void setKeycloakInstanceIdentifier(String keycloakInstanceIdentifier)
- Specified by:
setKeycloakInstanceIdentifierin interfaceMapLockEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceMapLockEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceMapLockEntity
-
getTimeAcquired
public Long getTimeAcquired()
- Specified by:
getTimeAcquiredin interfaceMapLockEntity
-
setTimeAcquired
public void setTimeAcquired(Long timeAcquired)
- Specified by:
setTimeAcquiredin interfaceMapLockEntity
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Overrides:
isUpdatedin classUpdatableEntity.Impl- Returns:
-
-