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 Modifier and Type Field Description static MapRoleEntityImpl.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 voidaddCompositeRole(String roleId)List<String>getAttribute(String name)Map<String,List<String>>getAttributes()StringgetClientId()Set<String>getCompositeRoles()StringgetDescription()StringgetId()StringgetName()StringgetRealmId()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.voidremoveAttribute(String name)voidremoveCompositeRole(String roleId)voidsetAttribute(String name, List<String> value)voidsetAttributes(Map<String,List<String>> attributes)voidsetClientId(String clientId)voidsetCompositeRoles(Set<String> compositeRoles)voidsetDescription(String description)voidsetId(String id)voidsetName(String name)voidsetRealmId(String realmId)-
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.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Field Detail
-
INSTANCE
public static final MapRoleEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity- Overrides:
setIdin classMapRoleEntity.AbstractRoleEntity
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapRoleEntity.AbstractRoleEntity
-
getAttributes
public Map<String,List<String>> getAttributes()
- Specified by:
getAttributesin interfaceEntityWithAttributes
-
setAttributes
public void setAttributes(Map<String,List<String>> attributes)
- Specified by:
setAttributesin interfaceEntityWithAttributes
-
getAttribute
public List<String> getAttribute(String name)
- Specified by:
getAttributein interfaceEntityWithAttributes
-
setAttribute
public void setAttribute(String name, List<String> value)
- Specified by:
setAttributein interfaceEntityWithAttributes
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttributein interfaceEntityWithAttributes
-
getClientId
public String getClientId()
- Specified by:
getClientIdin interfaceMapRoleEntity
-
setClientId
public void setClientId(String clientId)
- Specified by:
setClientIdin interfaceMapRoleEntity
-
removeCompositeRole
public void removeCompositeRole(String roleId)
- Specified by:
removeCompositeRolein interfaceMapRoleEntity
-
getCompositeRoles
public Set<String> getCompositeRoles()
- Specified by:
getCompositeRolesin interfaceMapRoleEntity
-
setCompositeRoles
public void setCompositeRoles(Set<String> compositeRoles)
- Specified by:
setCompositeRolesin interfaceMapRoleEntity
-
addCompositeRole
public void addCompositeRole(String roleId)
- Specified by:
addCompositeRolein interfaceMapRoleEntity
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceMapRoleEntity
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceMapRoleEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceMapRoleEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceMapRoleEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmIdin interfaceMapRoleEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapRoleEntity
-
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:
-
-