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 Details

    • getItemType

      String getItemType()
      Returns the item type ItemModel#getItemType where the converter should be applied to.
      Returns:
      item type
    • getConverter

      Gets the function to be applied on the conversion step.
      Returns:
      the conversion function to be applied for the type NavigationEntryItemModelConverter#getItemType
    • getUniqueIdentifierConverter

      Function<ItemModel,String> getUniqueIdentifierConverter()
      Gets the function to be applied on the conversion step.
      Returns:
      the conversion function to be applied for the type matching NavigationEntryItemModelConverter#getItemType.