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