0% found this document useful (0 votes)
38 views

Interfaces

The document defines three interfaces - OwnerInterface, UserInterface and GPRSInterface. OwnerInterface contains methods for an owner to set and get information about a place like phone, address, ID, type, description, hours. UserInterface contains methods for a user to search, select language, create reservations, get place details, rate places. GPRSInterface contains methods to generate search results and get the user's location.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Interfaces

The document defines three interfaces - OwnerInterface, UserInterface and GPRSInterface. OwnerInterface contains methods for an owner to set and get information about a place like phone, address, ID, type, description, hours. UserInterface contains methods for a user to search, select language, create reservations, get place details, rate places. GPRSInterface contains methods to generate search results and get the user's location.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

public interface OwnerInterface{ public void set_phone(String phone); public void set_address(String address); public void set_placename(String pname);

public void set_working_hours(String hours); public void set_description(String desc); public void set_place_ID(int ID); public void set_place_type(String type); public String get_username(); public int get_reservation_placeID(); public String get_userphone(); public String get_reservation_description(); public void set_owner_ID(String ID); }

public interface UserInterface { public void set_distance (Double dist); public String search(); public void select_language(); public void create_reservation(); public String get_user_location(); public File get_map (); public String get_working_hours(int placeID); public String get_info(int placeID); public String get_address(int placeID); public void rate(int placeID); public void set_username(); public void set_reservation_placeID(); public void set_userphone(); public void set_reservation_desc(); public void set_reservation_ID(); public void set_reservation_placetype(); } public interface GPRSInterface { public void generate_search_results(); public void get_connection(); public String get_user_location(); }

You might also like