Back to project page couchdbsyncer-android.
The source code is released under:
Apache License
If you think the Android project couchdbsyncer-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 au.com.team2moro.couchdbsyncer; // w w w . j a va 2s.c om import java.net.URL; import java.util.Date; public class Database { private URL url; private String name, dbName; private long sequenceId, docDelCount; private long databaseId; private Date lastSyncDate; public Database(String name, URL url) { this.name = name; this.url = url; this.sequenceId = 0; this.docDelCount = 0; this.databaseId = -1; } public String toString() { return name; } public long getDatabaseId() { return databaseId; } public void setDatabaseId(long databaseId) { this.databaseId = databaseId; } public String getName() { return name; } public URL getUrl() { return url; } public void setUrl(URL url) { this.url = url; } public String getDbName() { return dbName; } public void setDbName(String dbName) { this.dbName = dbName; } public long getSequenceId() { return sequenceId; } public void setSequenceId(long sequenceId) { this.sequenceId = sequenceId; } public long getDocDelCount() { return docDelCount; } public void setDocDelCount(long docDelCount) { this.docDelCount = docDelCount; } public Date getLastSyncDate() { return lastSyncDate; } public void setLastSyncDate(Date lastSyncDate) { this.lastSyncDate = lastSyncDate; } }