T - type parameter which extends the ItemModel typepublic interface UniqueIdentifierConverter<T extends ItemModel>
| Modifier and Type | Method and Description |
|---|---|
T |
convert(ItemData itemData)
|
ItemData |
convert(T itemModel)
Convert an ItemModel object to the corresponding
ItemData instance. |
java.lang.String |
getItemType()
Returns the item type
ItemModel#getItemType where the converter should be applied to. |
java.lang.String getItemType()
ItemModel#getItemType where the converter should be applied to.ItemData convert(T itemModel)
ItemData instance.itemModel - - the item model entity that will be converted.ItemData class that corresponds to the given ItemModel
getItemType().java.lang.IllegalArgumentException - when itemModel is null.UniqueIdentifierConverter#getItemType()}.T convert(ItemData itemData)
itemData - - the item data instance that will be used in the conversion.ItemModel entity that corresponds to the given ItemData
getItemType().UniqueIdentifierConverter#getItemType()}.Copyright © 2018 SAP SE. All Rights Reserved.