/** * A method to update the address that takes a type of address. WRAPPER FUNCTION * * @param uid the uid to be updated * @param address the address of type Address to use for data to be updated. * @throws DoesNotExistException if the UID does not exist in the table. */ @Override public void setAddress(int uid, Address address) throws DoesNotExistException { setStreet(uid, address.getStreet()); setCity(uid, address.getCity()); setState(uid, address.getState()); setZipcode(uid, address.getZipCode()); setCountry(uid, address.getCountry()); }