Back to project page Ascent.
The source code is released under:
GNU General Public License
If you think the Android project Ascent 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 be.sourcery.ascent; // www . j a va2 s .c o m /* * This file is part of Ascent. * * Ascent is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Ascent is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Ascent. If not, see <http://www.gnu.org/licenses/>. */ public class Crag { private long id; private String name; private String country; public Crag(String name, String country) { this.name = name; this.country = country; } public Crag(long id, String name, String country) { this.setId(id); this.name = name; this.country = country; } public void setName(String name) { this.name = name; } public String getName() { return name; } public void setCountry(String country) { this.country = country; } public String getCountry() { return country; } public void setId(long id) { this.id = id; } public long getId() { return id; } public String toString() { return name + "/" + country; } }