package org.keycloak.models; import java.util.Set; /** * @author Bill Burke * @version $Revision: 1 $ */ public interface RoleModel { String getName(); String getDescription(); void setDescription(String description); String getId(); void setName(String name); boolean isScopeParamRequired(); void setScopeParamRequired(boolean scopeParamRequired); boolean isComposite(); void addCompositeRole(RoleModel role); void removeCompositeRole(RoleModel role); Set getComposites(); RoleContainerModel getContainer(); boolean hasRole(RoleModel role); }