Interface NavigationEntryItemModelConverter
-
- All Known Implementing Classes:
DefaultNavigationEntryItemModelConverter
public interface NavigationEntryItemModelConverterInterface that defines the converter functions for a given item type. It defines two functions, one to convert fromNavigationEntryDatatoItemModeland another to convert fromItemModelto its Unique Identifier value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.function.Function<NavigationEntryData,ItemModel>getConverter()Gets the function to be applied on the conversion step.java.lang.StringgetItemType()Returns the item typeItemModel#getItemTypewhere the converter should be applied to.java.util.function.Function<ItemModel,java.lang.String>getUniqueIdentifierConverter()Gets the function to be applied on the conversion step.
-
-
-
Method Detail
-
getItemType
java.lang.String getItemType()
Returns the item typeItemModel#getItemTypewhere the converter should be applied to.- Returns:
- item type
-
getConverter
java.util.function.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
java.util.function.Function<ItemModel,java.lang.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.
-
-