Back to project page Joetz-Android-V2.
The source code is released under:
GNU General Public License
If you think the Android project Joetz-Android-V2 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.example.jens.myapplication.home; /*ww w .ja v a 2 s .c o m*/ /** * Created by Jens on 9/12/2014. */ public class Reclame { private int id; private String message; private String imageUrl; public Reclame(){ super(); } public Reclame(int id, String message, String imageUrl) { this.id = id; this.message = message; this.imageUrl = imageUrl; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public String getImageUrl() { return imageUrl; } public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + id; return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; Reclame other = (Reclame) obj; if (id != other.id) return false; return true; } }