/**
* Copyright (c) 2014, German Neuroinformatics Node (G-Node)
* Copyright (c) 2014, Shumail Mohy-ud-Din <shumailmohyuddin@gmail.com>
* License: BSD-3 (See LICENSE)
*/
package com.g_node.gca.schedule;
import java.io.Serializable;
public class TrackScheduleItem implements Serializable {
private static final long serialVersionUID = 1L;
private String title;
private String subtitle;
private String chair;
private EventScheduleItem[] eventsInTrack;
public TrackScheduleItem(String title, String subtitle, String chair, int trackEventsCount) {
this.title = title;
this.subtitle = subtitle;
this.chair = chair;
this.eventsInTrack = new EventScheduleItem[trackEventsCount];
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getSubtitle() {
return subtitle;
}
public void setSubtitle(String subtitle) {
this.subtitle = subtitle;
}
public String getChair() {
return chair;
}
public void setChair(String chair) {
this.chair = chair;
}
public EventScheduleItem[] getEventsInTrack() {
return eventsInTrack;
}
public void setEventsInTrack(EventScheduleItem[] eventsInTrack) {
this.eventsInTrack = eventsInTrack;
}
public void setEventsInTrack(int index, EventScheduleItem eventToAdd) {
this.eventsInTrack[index] = eventToAdd;
}
}