@MappedSuperclass public class AbstractRoleMappingEntity extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected RoleEntity |
role |
protected UserEntity |
user |
Constructor and Description |
---|
AbstractRoleMappingEntity() |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
RoleEntity |
getRole() |
UserEntity |
getUser() |
void |
setId(String id) |
void |
setRole(RoleEntity role) |
void |
setUser(UserEntity user) |
protected String id
protected UserEntity user
protected RoleEntity role
public String getId()
public void setId(String id)
public UserEntity getUser()
public void setUser(UserEntity user)
public RoleEntity getRole()
public void setRole(RoleEntity role)
Copyright © 2014. All Rights Reserved.