package seedu.address.model;

import seedu.address.commons.core.UnmodifiableObservableList;
import seedu.address.model.item.Item;
import seedu.address.model.item.ReadOnlyItem;
import seedu.address.model.item.UniquePersonList;

import java.util.Set;

/**
 * The API of the Model component.
 */
public interface Model {
    /** Clears existing backing model and replaces with the provided new data. */
    void resetData(ReadOnlyAddressBook newData);

    /** Returns the AddressBook */
    ReadOnlyAddressBook getAddressBook();

    /** Deletes the given person. */
    void deleteItem(ReadOnlyItem target) throws UniquePersonList.PersonNotFoundException;

    /** Adds the given person */
    void addItem(Item item) throws UniquePersonList.DuplicatePersonException;

    /** Returns the filtered person list as an {@code UnmodifiableObservableList<ReadOnlyItem>} */
    UnmodifiableObservableList<ReadOnlyItem> getFilteredPersonList();

    /** Updates the filter of the filtered person list to show all persons */
    void updateFilteredListToShowAll();

    /** Updates the filter of the filtered person list to filter by the given keywords*/
    void updateFilteredPersonList(Set<String> keywords);

}

@@ -547,22 +547,20 @@
 e given 
-person
+item
 . */%0A   
@@ -670,22 +670,20 @@
 e given 
-person
+item
  */%0A    
@@ -782,30 +782,28 @@
 he filtered 
-person
+item
  list as an 
@@ -992,22 +992,20 @@
 how all 
-person
+item
 s */%0A   
@@ -1077,38 +1077,36 @@
 of the filtered 
-person
+item
  list to filter 

Rename person to item in Model class