Back to project page tum-campus.
The source code is released under:
GNU General Public License
If you think the Android project tum-campus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.tum.in.tumcampus.models; //from w w w. j a v a 2 s. c om /** * Location object */ public class Location { /** * Location ID */ int id; /** * Category */ String category; /** * Location name */ String name; /** * Address */ String address; /** * Room */ String room; /** * Next transport station */ String transport; /** * Opening hours */ String hours; /** * Remark */ String remark; /** * URL */ String url; /** * New Location * * <pre> * @param id Location ID, e.g. 100 * @param category Location category, e.g. library, cafeteria, info * @param name Location name, e.g. Studentenwerksbibliothek * @param address Address, e.g. Arcisstr. 21 * @param room Room, e.g. MI 00.01.123 * @param transport Transportation station name, e.g. U2 Knigsplatz * @param hours Opening hours, e.g. MoFr 824 * @param remark Additional information, e.g. Tel: 089-11111 * @param url Location URL, e.g. http://stud.ub.uni-muenchen.de/ * </pre> */ public Location(int id, String category, String name, String address, String room, String transport, String hours, String remark, String url) { this.id = id; this.category = category; this.name = name; this.address = address; this.room = room; this.transport = transport; this.hours = hours; this.remark = remark; this.url = url; } @Override public String toString() { return "id=" + id + ", category=" + category + ", name=" + name + ", address=" + address + ", room=" + room + ", transport=" + transport + ", hours=" + hours + ", remark=" + remark + ", url=" + url; } }