Class TenantId

  • All Implemented Interfaces:
    Serializable

    @MappedSuperclass
    public abstract class TenantId
    extends Object
    implements Serializable
    Tenant ID that should be extended by @EmbeddedId keys of multitenant entities.
    See Also:
    Serialized Form
    • Constructor Detail

      • TenantId

        protected TenantId()
        Updates the tenant ID with the current tenant identification.
    • Method Detail

      • getTenantId

        public String getTenantId()
      • setTenantId

        public void setTenantId​(String tenant)