Class TenantId
- java.lang.Object
-
- com.totvs.tjf.tenant.discriminator.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 Summary
Constructors Modifier Constructor Description protected
TenantId()
Updates the tenant ID with the current tenant identification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTenantId()
void
setTenantId(String tenant)
-