Class DummyKeyProvider
java.lang.Object
de.hybris.platform.productcockpit.services.impl.DummyKeyProvider
- All Implemented Interfaces:
MappingService.KeyProvider
Dummy key provider for mapping TypedObject <-> TypedObject
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DummyKeyProvider
public DummyKeyProvider()
-
-
Method Details
-
getKey
Description copied from interface:MappingService.KeyProviderReturns a key to be used for mappingitem.- Specified by:
getKeyin interfaceMappingService.KeyProvider- Parameters:
item- the item for which a key is to returned- Returns:
- the key to be used for mapping
item - Throws:
IllegalArgumentException- if no valid key can be retrieved foritem
-