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; /* ww w . j a v a 2 s. c o m*/ import java.util.List; public class Event { private int id; private int calendarID; private String title; private Long startDate; private Long endDate; private int availability; private String organiser; private List<Instance> instances; public Event(int id, int calendarId, String title, Long startDate, Long endDate, int availability, String organiser) { setId(id); setCalendarID(calendarId); setTitle(title); setStartDate(startDate); setEndDate(endDate); setAvailability(availability); setOrganiser(organiser); } public int getId() { return id; } public void setId(int id) { this.id = id; } public int getCalendarID() { return calendarID; } public void setCalendarID(int calendarID) { this.calendarID = calendarID; } 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 List<Instance> getInstances() { return instances; } public void setInstances(List<Instance> instances) { this.instances = instances; } public String toString() { return "ID: " + getId() + ", " + "Calendar ID: " + getCalendarID() + ", " + "Title: " + getTitle() + ", " + "Start Date: " + getStartDate() + ", " + "End Date: " + getEndDate() + ", " + "Availability: " + getAvailability() + ", " + "Organiser: " + getOrganiser(); } }