org.keycloak.models

## Interface RoleModel

- All Known Implementing Classes:
    RoleAdapter, RoleAdapter, RoleAdapter

      public interface RoleModel

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addCompositeRole(RoleModel role)`
    `Set<RoleModel>` | `getComposites()`
    `RoleContainerModel` | `getContainer()`
    `String` | `getDescription()`
    `String` | `getId()`
    `String` | `getName()`
    `boolean` | `hasRole(RoleModel role)`
    `boolean` | `isComposite()`
    `void` | `removeCompositeRole(RoleModel role)`
    `void` | `setDescription(String description)`
    `void` | `setName(String name)`

- - ### Method Detail

    - #### getName

          String getName()

    - #### getDescription

          String getDescription()

    - #### setDescription

          void setDescription(String description)

    - #### getId

          String getId()

    - #### setName

          void setName(String name)

    - #### isComposite

          boolean isComposite()

    - #### addCompositeRole

          void addCompositeRole(RoleModel role)

    - #### removeCompositeRole

          void removeCompositeRole(RoleModel role)

    - #### getComposites

          Set<RoleModel> getComposites()

    - #### getContainer

          RoleContainerModel getContainer()

    - #### hasRole

          boolean hasRole(RoleModel role)

Copyright © 2014. All Rights Reserved.