Back to project page GuildViewerApp2.
The source code is released under:
Apache License
If you think the Android project GuildViewerApp2 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 com.skywomantechnology.app.guildviewer.data; // www .j av a2s . c o m /* * Guild Viewer is an Android app that allows users to view news feeds and news feed details * on a mobile device and while not logged into the game servers. * * Copyright 2014 Sky Woman Technology LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * This class holds Achievement information */ public class GuildViewerAchievement { long id; String title; String description; String icon; public long getId() { return id; } public void setId(long id) { this.id = id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof GuildViewerAchievement)) return false; GuildViewerAchievement that = (GuildViewerAchievement) o; if (id != that.id) return false; return title.equals(that.title); } @Override public int hashCode() { int result = (int) (id ^ (id >>> 32)); result = 31 * result + title.hashCode(); return result; } @Override public String toString() { return "GuildViewerAchievement{" + "id=" + id + ", title='" + title + '\'' + ", description='" + description + '\'' + ", icon='" + icon + '\'' + '}'; } }