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 class
UserRoleMappingEntity.Key
-
Field Summary
Fields Modifier and Type Field Description protected String
roleId
protected UserEntity
user
-
Constructor Summary
Constructors Constructor Description UserRoleMappingEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getRoleId()
UserEntity
getUser()
int
hashCode()
void
setRoleId(String roleId)
void
setUser(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)
-
-