Package de.xima.fc.tenant.ms.impl.mapper
Interface TenantMapper
-
- All Known Implementing Classes:
TenantMapperImpl
public interface TenantMapperMaps the legacyMandantentity to the tenant domain'sTenantDTOread model. Only the fields the DTO exposes (id,name) are copied; the entity is never handed out across the domain boundary.- Since:
- 8.5.6
- Author:
- Norman Lorenz
-
-
Field Summary
Fields Modifier and Type Field Description static TenantMapperINSTANCEShared stateless instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TenantDTOtoDto(Mandant tenant)Converts a legacy tenant entity to its read model.
-
-
-
Field Detail
-
INSTANCE
static final TenantMapper INSTANCE
Shared stateless instance.
-
-