Back to project page chat.android.
The source code is released under:
GNU General Public License
If you think the Android project chat.android 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 org.chat.android.models; //from ww w . j a v a 2 s . co m import java.util.Date; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; /** * Created by colin */ @DatabaseTable(tableName = "util") public class Util { @DatabaseField(id = true) private int id; @DatabaseField private Date last_pushed_at; @DatabaseField private Date last_pulled_at; /** * Default Constructor needed by ormlite */ public Util() { } /** * Constructor that instantiates the private member variable(s) * @param id * @param last_pushed_at * @param last_pulled_at * */ public Util(int id, Date last_pushed_at, Date last_pulled_at) { this.id = id; this.last_pushed_at = last_pushed_at; this.last_pulled_at = last_pulled_at; } public Date getLastPushedAt() { return last_pushed_at; } public void setLastPushedAt(Date last_pushed_at) { this.last_pushed_at = last_pushed_at; } public Date getLastPulledAt() { return last_pulled_at; } public void setLastPulledAt(Date last_pulled_at) { this.last_pulled_at = last_pulled_at; } }