nl.vpro.domain.media.LocationTable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of media-domain Show documentation
Show all versions of media-domain Show documentation
The basic domain classes for 'media', the core of POMS. Also, the 'update' XML bindings for it.
It also contains some closely related domain classes like the enum to contain NICAM kijkwijzer settings.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.03.30 at 03:14:06 PM CEST
//
package nl.vpro.domain.media;
import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.validation.Valid;
import jakarta.xml.bind.annotation.*;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "locationTableType",
propOrder = {"locations",
"scheduleEvents" })
public class LocationTable implements Serializable {
@Serial
private static final long serialVersionUID = 7215068410057727467L;
@XmlElement(name = "location")
protected List<@Valid Location> locations;
@XmlElement(name = "scheduleEvent")
protected List<@Valid ScheduleEvent> scheduleEvents;
public List getLocations() {
if(locations == null) {
locations = new ArrayList<>();
}
return locations;
}
public void setLocations(List locations) {
this.locations = locations;
}
public List getSchedule() {
if(scheduleEvents == null) {
scheduleEvents = new ArrayList<>();
}
return this.scheduleEvents;
}
public void setSchedule(List scheduleEvents) {
this.scheduleEvents = scheduleEvents;
}
}