Interface NavigationEntryItemModelConverter
- All Known Implementing Classes:
DefaultNavigationEntryItemModelConverter
public interface NavigationEntryItemModelConverter
Interface that defines the converter functions for a given item type. It defines two functions, one to convert from
NavigationEntryData to ItemModel and another to convert from ItemModel to its Unique
Identifier value.-
Method Summary
Modifier and TypeMethodDescriptionGets the function to be applied on the conversion step.Returns the item typeItemModel#getItemTypewhere the converter should be applied to.Gets the function to be applied on the conversion step.
-
Method Details
-
getItemType
String getItemType()Returns the item typeItemModel#getItemTypewhere the converter should be applied to.- Returns:
- item type
-
getConverter
Function<NavigationEntryData,ItemModel> getConverter()Gets the function to be applied on the conversion step.- Returns:
- the conversion function to be applied for the type
NavigationEntryItemModelConverter#getItemType
-
getUniqueIdentifierConverter
Gets the function to be applied on the conversion step.- Returns:
- the conversion function to be applied for the type matching
NavigationEntryItemModelConverter#getItemType.
-