Class 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:
  • Field Details

  • Constructor Details

    • TenantMembershipEntity

      public TenantMembershipEntity()
  • Method Details

    • getPersistentState

      public 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 interface DbEntity
    • getId

      public String getId()
      Specified by:
      getId in interface DbEntity
    • setId

      public void setId(String id)
      Specified by:
      setId in interface DbEntity
    • 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)
    • toString

      public String toString()
      toString in class Object