Class TenantMembershipEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.TenantMembershipEntity
-
- All Implemented Interfaces:
java.io.Serializable
,DbEntity
public class TenantMembershipEntity extends java.lang.Object implements java.io.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 GroupEntity
group
protected java.lang.String
id
protected TenantEntity
tenant
protected UserEntity
user
-
Constructor Summary
Constructors Constructor Description TenantMembershipEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupEntity
getGroup()
java.lang.String
getGroupId()
java.lang.String
getId()
java.lang.Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.TenantEntity
getTenant()
java.lang.String
getTenantId()
UserEntity
getUser()
java.lang.String
getUserId()
void
setGroup(GroupEntity group)
void
setId(java.lang.String id)
void
setTenant(TenantEntity tenant)
void
setUser(UserEntity user)
java.lang.String
toString()
-
-
-
Field Detail
-
tenant
protected TenantEntity tenant
-
user
protected UserEntity user
-
group
protected GroupEntity group
-
id
protected java.lang.String id
-
-
Method Detail
-
getPersistentState
public java.lang.Object getPersistentState()
Description copied from interface:DbEntity
Returns 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:
getPersistentState
in interfaceDbEntity
-
getUser
public UserEntity getUser()
-
setUser
public void setUser(UserEntity user)
-
getGroup
public GroupEntity getGroup()
-
setGroup
public void setGroup(GroupEntity group)
-
getTenantId
public java.lang.String getTenantId()
-
getUserId
public java.lang.String getUserId()
-
getGroupId
public java.lang.String getGroupId()
-
getTenant
public TenantEntity getTenant()
-
setTenant
public void setTenant(TenantEntity tenant)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-