Class TenantMembershipEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.TenantMembershipEntity
-
- All Implemented Interfaces:
Serializable,DbEntity
public class TenantMembershipEntity extends Object implements Serializable, DbEntity
A relationship between a tenant and an user or a group.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected GroupEntitygroupprotected Stringidprotected TenantEntitytenantprotected UserEntityuser
-
Constructor Summary
Constructors Constructor Description TenantMembershipEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupEntitygetGroup()StringgetGroupId()StringgetId()ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.TenantEntitygetTenant()StringgetTenantId()UserEntitygetUser()StringgetUserId()voidsetGroup(GroupEntity group)voidsetId(String id)voidsetTenant(TenantEntity tenant)voidsetUser(UserEntity user)StringtoString()
-
-
-
Field Detail
-
tenant
protected TenantEntity tenant
-
user
protected UserEntity user
-
group
protected GroupEntity group
-
id
protected String id
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
Description copied from interface:DbEntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentStatein interfaceDbEntity
-
getUser
public UserEntity getUser()
-
setUser
public void setUser(UserEntity user)
-
getGroup
public GroupEntity getGroup()
-
setGroup
public void setGroup(GroupEntity group)
-
getTenantId
public String getTenantId()
-
getUserId
public String getUserId()
-
getGroupId
public String getGroupId()
-
getTenant
public TenantEntity getTenant()
-
setTenant
public void setTenant(TenantEntity tenant)
-
-