src/main/java/seedu/address/model/ModelManager.java
@Override
    public void add(ModelObject obj) throws CommandException {
        getAddressBook(obj).add(obj);
        getFilterList(obj).setPredicate(getPredicateAll(obj));
        postDataStorageChangeEvent(getReadOnlyAddressBook(obj), getEntityType(obj));
    }
/**
     * Add an object to address book.
     */
Add an object to address book.
Add an object to address book .
@Override
    public void add(ModelObject obj) throws CommandException {
        getAddressBook(obj).add(obj);
        getFilterList(obj).setPredicate(getPredicateAll(obj));
        postDataStorageChangeEvent(getReadOnlyAddressBook(obj), getEntityType(obj));
    }
@ Override public void add ( ModelObject obj ) throws CommandException { getAddressBook ( obj ) . add ( obj ) ; getFilterList ( obj ) . setPredicate ( getPredicateAll ( obj ) ) ; postDataStorageChangeEvent ( getReadOnlyAddressBook ( obj ) , getEntityType ( obj ) ) ; }
Add an object to address book.
Add an object to address book .