/** * Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.onebusaway.api.model.transit; import java.io.Serializable; public class ScheduleFrequencyInstanceV2Bean implements Serializable { private static final long serialVersionUID = 1L; private long serviceDate; private long startTime; private long endTime; private int headway; private String serviceId; private String tripId; private String stopHeadsign; private boolean arrivalEnabled; private boolean departureEnabled; public long getServiceDate() { return serviceDate; } public void setServiceDate(long serviceDate) { this.serviceDate = serviceDate; } public long getStartTime() { return startTime; } public void setStartTime(long startTime) { this.startTime = startTime; } public long getEndTime() { return endTime; } public void setEndTime(long endTime) { this.endTime = endTime; } public int getHeadway() { return headway; } public void setHeadway(int headway) { this.headway = headway; } public String getServiceId() { return serviceId; } public void setServiceId(String serviceId) { this.serviceId = serviceId; } public String getTripId() { return tripId; } public void setTripId(String tripId) { this.tripId = tripId; } public String getStopHeadsign() { return stopHeadsign; } public void setStopHeadsign(String stopHeadsign) { this.stopHeadsign = stopHeadsign; } public boolean isArrivalEnabled() { return arrivalEnabled; } public void setArrivalEnabled(boolean arrivalEnabled) { this.arrivalEnabled = arrivalEnabled; } public boolean isDepartureEnabled() { return departureEnabled; } public void setDepartureEnabled(boolean departureEnabled) { this.departureEnabled = departureEnabled; } }