Interface ItemModelFactory
- All Known Implementing Classes:
DefaultItemModelFactory
public interface ItemModelFactory
A factory for creating new
ItemModel instances based on a PersistenceContext-
Method Summary
Modifier and TypeMethodDescriptioncreateItem(PersistenceContext context) Creates newItemModelinstance.
-
Method Details
-
createItem
Creates newItemModelinstance.- Parameters:
context- context containing information about exact type of the instance to be created.- Returns:
- a new item model of the type specified by context.
-