Package org.keycloak.models.jpa.entities
Class UserRoleMappingEntity
- java.lang.Object
-
- org.keycloak.models.jpa.entities.UserRoleMappingEntity
-
@Entity public class UserRoleMappingEntity extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserRoleMappingEntity.Key
-
Field Summary
Fields Modifier and Type Field Description protected StringroleIdprotected UserEntityuser
-
Constructor Summary
Constructors Constructor Description UserRoleMappingEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetRoleId()UserEntitygetUser()inthashCode()voidsetRoleId(String roleId)voidsetUser(UserEntity user)
-
-
-
Field Detail
-
user
protected UserEntity user
-
roleId
protected String roleId
-
-
Method Detail
-
getUser
public UserEntity getUser()
-
setUser
public void setUser(UserEntity user)
-
getRoleId
public String getRoleId()
-
setRoleId
public void setRoleId(String roleId)
-
-