Package org.keycloak.models.jpa.entities
Class RoleEntity
- java.lang.Object
-
- org.keycloak.models.jpa.entities.RoleEntity
-
@Entity public class RoleEntity extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected List<RoleAttributeEntity>
attributes
-
Constructor Summary
Constructors Constructor Description RoleEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<RoleAttributeEntity>
getAttributes()
String
getClientId()
String
getClientRealmConstraint()
Set<RoleEntity>
getCompositeRoles()
String
getDescription()
String
getId()
String
getName()
String
getRealmId()
int
hashCode()
boolean
isClientRole()
void
setAttributes(List<RoleAttributeEntity> attributes)
void
setClientId(String clientId)
void
setClientRealmConstraint(String clientRealmConstraint)
void
setClientRole(boolean clientRole)
void
setCompositeRoles(Set<RoleEntity> compositeRoles)
void
setDescription(String description)
void
setId(String id)
void
setName(String name)
void
setRealmId(String realmId)
-
-
-
Field Detail
-
attributes
protected List<RoleAttributeEntity> attributes
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getRealmId
public String getRealmId()
-
setRealmId
public void setRealmId(String realmId)
-
getAttributes
public List<RoleAttributeEntity> getAttributes()
-
setAttributes
public void setAttributes(List<RoleAttributeEntity> attributes)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getCompositeRoles
public Set<RoleEntity> getCompositeRoles()
-
setCompositeRoles
public void setCompositeRoles(Set<RoleEntity> compositeRoles)
-
isClientRole
public boolean isClientRole()
-
setClientRole
public void setClientRole(boolean clientRole)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getClientRealmConstraint
public String getClientRealmConstraint()
-
setClientRealmConstraint
public void setClientRealmConstraint(String clientRealmConstraint)
-
-