/** * 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.transit_data.model.problems; import java.io.Serializable; import org.onebusaway.transit_data.model.StopBean; public class StopProblemReportBean implements Serializable { private static final long serialVersionUID = 1L; private long id; private long time; private String stopId; /** * @deprecated see {@link #code} instead */ @Deprecated private String data; private String code; private String userComment; private double userLat; private double userLon; private double userLocationAccuracy; private EProblemReportStatus status; private StopBean stop; public long getId() { return id; } public void setId(long id) { this.id = id; } public long getTime() { return time; } public void setTime(long time) { this.time = time; } public String getStopId() { return stopId; } public void setStopId(String stopId) { this.stopId = stopId; } @Deprecated public String getData() { return data; } @Deprecated public void setData(String data) { this.data = data; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getUserComment() { return userComment; } public void setUserComment(String userComment) { this.userComment = userComment; } public double getUserLat() { return userLat; } public void setUserLat(double userLat) { this.userLat = userLat; } public double getUserLon() { return userLon; } public void setUserLon(double userLon) { this.userLon = userLon; } public double getUserLocationAccuracy() { return userLocationAccuracy; } public void setUserLocationAccuracy(double userLocationAccuracy) { this.userLocationAccuracy = userLocationAccuracy; } public EProblemReportStatus getStatus() { return status; } public void setStatus(EProblemReportStatus status) { this.status = status; } public StopBean getStop() { return stop; } public void setStop(StopBean stop) { this.stop = stop; } }