Class TenantMembershipEntity

  • All Implemented Interfaces:, DbEntity

    public class TenantMembershipEntity
    extends java.lang.Object
    implements, DbEntity
    A relationship between a tenant and an user or a group.
    See Also:
    Serialized Form
    • Constructor Detail

      • TenantMembershipEntity

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

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

        public void setId​(java.lang.String id)
        Specified by:
        setId in interface DbEntity
      • setUser

        public void setUser​(UserEntity user)
      • setGroup

        public void setGroup​(GroupEntity group)
      • getTenantId

        public java.lang.String getTenantId()
      • getUserId

        public java.lang.String getUserId()
      • getGroupId

        public java.lang.String getGroupId()
      • setTenant

        public void setTenant​(TenantEntity tenant)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object