Class ChainElementsExternalEntityMapper
java.lang.Object
org.qubership.integration.platform.runtime.catalog.service.exportimport.mapper.chain.ChainElementsExternalEntityMapper
- All Implemented Interfaces:
ExternalEntityMapper<List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.element.ChainElement>,ChainElementsExternalMapperEntity>
@Component
public class ChainElementsExternalEntityMapper
extends Object
implements ExternalEntityMapper<List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.element.ChainElement>,ChainElementsExternalMapperEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionChainElementsExternalEntityMapper(org.qubership.integration.platform.catalog.service.library.LibraryElementsService libraryService, ChainElementFilePropertiesSubstitutor chainElementFilePropertiesSubstitutor) -
Method Summary
Modifier and TypeMethodDescriptionpreSortProperties(Map<String, Object> properties) toExternalEntity(List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.element.ChainElement> chainElements) List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.element.ChainElement> toInternalEntity(ChainElementsExternalMapperEntity elementsExternalMapperEntity)
-
Constructor Details
-
ChainElementsExternalEntityMapper
public ChainElementsExternalEntityMapper(org.qubership.integration.platform.catalog.service.library.LibraryElementsService libraryService, ChainElementFilePropertiesSubstitutor chainElementFilePropertiesSubstitutor)
-
-
Method Details
-
toInternalEntity
public List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.element.ChainElement> toInternalEntity(@NonNull ChainElementsExternalMapperEntity elementsExternalMapperEntity) - Specified by:
toInternalEntityin interfaceExternalEntityMapper<List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.element.ChainElement>,ChainElementsExternalMapperEntity>
-
toExternalEntity
public ChainElementsExternalMapperEntity toExternalEntity(@NonNull List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.element.ChainElement> chainElements) - Specified by:
toExternalEntityin interfaceExternalEntityMapper<List<org.qubership.integration.platform.catalog.persistence.configs.entity.chain.element.ChainElement>,ChainElementsExternalMapperEntity>
-
preSortProperties
-