public class MembershipEntity extends Object implements Serializable, DbEntity
Modifier and Type | Field and Description |
---|---|
protected GroupEntity |
group |
protected UserEntity |
user |
Constructor and Description |
---|
MembershipEntity() |
Modifier and Type | Method and Description |
---|---|
GroupEntity |
getGroup() |
String |
getId() |
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
UserEntity |
getUser() |
void |
setGroup(GroupEntity group) |
void |
setId(String id) |
void |
setUser(UserEntity user) |
String |
toString() |
protected UserEntity user
protected GroupEntity group
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
public UserEntity getUser()
public void setUser(UserEntity user)
public GroupEntity getGroup()
public void setGroup(GroupEntity group)
Copyright © 2018. All rights reserved.