Back to project page silent-meeting.
The source code is released under:
GNU General Public License
If you think the Android project silent-meeting 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 uk.co.bensproule.silentmeeting.domain; /*from w w w .j ava 2s . c o m*/ public class Instance { private int id; private int eventId; private String title; private long startDate; private long endDate; private int availability; private String organiser; private boolean running; public Instance(int id, int eventId, String title, long startDate, long endDate, int availability, String organiser, boolean running) { setId(id); setEventId(eventId); setTitle(title); setStartDate(startDate); setEndDate(endDate); setAvailability(availability); setOrganiser(organiser); setRunning(running); } public int getId() { return id; } public void setId(int id) { this.id = id; } public int getEventId() { return eventId; } public void setEventId(int eventId) { this.eventId = eventId; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public long getStartDate() { return startDate; } public void setStartDate(long startDate) { this.startDate = startDate; } public long getEndDate() { return endDate; } public void setEndDate(long endDate) { this.endDate = endDate; } public int getAvailability() { return availability; } public void setAvailability(int availability) { this.availability = availability; } public String getOrganiser() { return organiser; } public void setOrganiser(String organiser) { this.organiser = organiser; } public boolean isRunning() { return running; } public void setRunning(boolean running) { this.running = running; } @Override public String toString() { return "Instance{" + "id=" + id + ", eventId=" + eventId + ", title='" + title + '\'' + ", startDate=" + startDate + ", endDate=" + endDate + ", availability=" + availability + ", organiser='" + organiser + '\'' + ", running=" + running + '}'; } }