public class DefaultCatalogVersionModelUniqueIdentifierConverter extends java.lang.Object implements UniqueIdentifierConverter<CatalogVersionModel>
CatalogVersionModel| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SEPARATOR |
| Constructor and Description |
|---|
DefaultCatalogVersionModelUniqueIdentifierConverter() |
| Modifier and Type | Method and Description |
|---|---|
ItemData |
convert(CatalogVersionModel catalogVersion)
Convert an ItemModel object to the corresponding
ItemData instance. |
CatalogVersionModel |
convert(ItemData itemData)
|
CatalogVersionService |
getCatalogVersionService() |
protected <any> |
getItemDataDataFactory() |
java.lang.String |
getItemType()
Returns the item type
ItemModel#getItemType where the converter should be applied to. |
void |
setCatalogVersionService(CatalogVersionService catalogVersionService) |
void |
setItemDataDataFactory(<any> itemDataDataFactory) |
public static final java.lang.String SEPARATOR
public DefaultCatalogVersionModelUniqueIdentifierConverter()
public java.lang.String getItemType()
UniqueIdentifierConverterItemModel#getItemType where the converter should be applied to.getItemType in interface UniqueIdentifierConverter<CatalogVersionModel>public ItemData convert(CatalogVersionModel catalogVersion) throws java.lang.IllegalArgumentException
UniqueIdentifierConverterItemData instance.convert in interface UniqueIdentifierConverter<CatalogVersionModel>catalogVersion - - the item model entity that will be converted.ItemData class that corresponds to the given ItemModel
UniqueIdentifierConverter.getItemType().java.lang.IllegalArgumentException - when itemModel is null.UniqueIdentifierConverter#getItemType()}.public CatalogVersionModel convert(ItemData itemData)
UniqueIdentifierConverterconvert in interface UniqueIdentifierConverter<CatalogVersionModel>itemData - - the item data instance that will be used in the conversion.ItemModel entity that corresponds to the given ItemData
UniqueIdentifierConverter.getItemType().UniqueIdentifierConverter#getItemType()}.public CatalogVersionService getCatalogVersionService()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
protected <any> getItemDataDataFactory()
public void setItemDataDataFactory(<any> itemDataDataFactory)
Copyright © 2018 SAP SE. All Rights Reserved.