Package de.xima.fc.tenant.event
Class TenantBaseData
- java.lang.Object
-
- de.xima.fc.tenant.event.TenantBaseData
-
- All Implemented Interfaces:
Serializable
public final class TenantBaseData extends Object implements Serializable
Lightweight description of a single tenant affected by aTenantChangeEvent. Carries only the identity (id,uuid) and thename, so listeners can identify and filter the tenant without loading the entity.The type is
Serializableso it may cross the master ⇄ frontend RPC boundary.- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TenantBaseData(@NonNull Long id, @NonNull UUID uuid, @NonNull String name)Creates a newTenantBaseDatainstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@NonNull LonggetId()The unique ID of the tenant.@NonNull StringgetName()The name of the tenant.@NonNull UUIDgetUuid()The unique UUID of the tenant.inthashCode()StringtoString()
-