Class 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
    • 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()
        Overrides:
        toString in class java.lang.Object