Package org.keycloak.models.map.role
Class MapRoleEntityImpl.Empty
java.lang.Object
org.keycloak.models.map.common.UpdatableEntity.Impl
org.keycloak.models.map.role.MapRoleEntity.AbstractRoleEntity
org.keycloak.models.map.role.MapRoleEntityImpl.Empty
- All Implemented Interfaces:
AbstractEntity
,EntityWithAttributes
,UpdatableEntity
,MapRoleEntity
- Enclosing class:
- MapRoleEntityImpl
public static class MapRoleEntityImpl.Empty
extends MapRoleEntity.AbstractRoleEntity
implements MapRoleEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.role.MapRoleEntity
MapRoleEntity.AbstractRoleEntity
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCompositeRole
(String roleId) getAttribute
(String name) getId()
getName()
boolean
Flag signalizing that any of the setters has been meaningfully used.void
removeAttribute
(String name) void
removeCompositeRole
(String roleId) void
setAttribute
(String name, List<String> value) void
setAttributes
(Map<String, List<String>> attributes) void
setClientId
(String clientId) void
setCompositeRoles
(Set<String> compositeRoles) void
setDescription
(String description) void
void
void
setRealmId
(String realmId) Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag, markUpdatedFlag
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, markUpdatedFlag
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Empty
public Empty()
-
-
Method Details
-
setId
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapRoleEntity.AbstractRoleEntity
-
getId
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapRoleEntity.AbstractRoleEntity
-
removeAttribute
- Specified by:
removeAttribute
in interfaceEntityWithAttributes
-
setAttribute
- Specified by:
setAttribute
in interfaceEntityWithAttributes
-
setAttributes
- Specified by:
setAttributes
in interfaceEntityWithAttributes
-
getAttribute
- Specified by:
getAttribute
in interfaceEntityWithAttributes
-
getAttributes
- Specified by:
getAttributes
in interfaceEntityWithAttributes
-
getClientId
- Specified by:
getClientId
in interfaceMapRoleEntity
-
setClientId
- Specified by:
setClientId
in interfaceMapRoleEntity
-
getCompositeRoles
- Specified by:
getCompositeRoles
in interfaceMapRoleEntity
-
setCompositeRoles
- Specified by:
setCompositeRoles
in interfaceMapRoleEntity
-
removeCompositeRole
- Specified by:
removeCompositeRole
in interfaceMapRoleEntity
-
addCompositeRole
- Specified by:
addCompositeRole
in interfaceMapRoleEntity
-
setDescription
- Specified by:
setDescription
in interfaceMapRoleEntity
-
getDescription
- Specified by:
getDescription
in interfaceMapRoleEntity
-
setName
- Specified by:
setName
in interfaceMapRoleEntity
-
getName
- Specified by:
getName
in interfaceMapRoleEntity
-
getRealmId
- Specified by:
getRealmId
in interfaceMapRoleEntity
-
setRealmId
- Specified by:
setRealmId
in interfaceMapRoleEntity
-
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:
-