org.codeforamerica.open311.facade.data
Class ServiceRequest

java.lang.Object
  extended by org.codeforamerica.open311.facade.data.ServiceRequest
All Implemented Interfaces:
Serializable

public class ServiceRequest
extends Object
implements Serializable

Represents a Service Request.

Author:
Santiago MunĂ­n
See Also:
Serialized Form

Nested Class Summary
static class ServiceRequest.Status
           
 
Constructor Summary
ServiceRequest(String serviceRequestId, ServiceRequest.Status status, String statusNotes, String serviceName, String serviceCode, String description, String agencyResponsible, String serviceNotice, Date requestedDatetime, Date updatedDatetime, Date expectedDatetime, String address, Long addressId, Integer zipCode, Float latitude, Float longitude, URL mediaUrl)
           
 
Method Summary
 String getAddress()
           
 Long getAddressId()
           
 String getAgencyResponsible()
           
 String getDescription()
           
 Date getExpectedDatetime()
           
 Float getLatitude()
           
 Float getLongitude()
           
 URL getMediaUrl()
           
 Date getRequestedDatetime()
           
 String getServiceCode()
           
 String getServiceName()
           
 String getServiceNotice()
           
 String getServiceRequestId()
           
 ServiceRequest.Status getStatus()
           
 String getStatusNotes()
           
 Date getUpdatedDatetime()
           
 Integer getZipCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceRequest

public ServiceRequest(String serviceRequestId,
                      ServiceRequest.Status status,
                      String statusNotes,
                      String serviceName,
                      String serviceCode,
                      String description,
                      String agencyResponsible,
                      String serviceNotice,
                      Date requestedDatetime,
                      Date updatedDatetime,
                      Date expectedDatetime,
                      String address,
                      Long addressId,
                      Integer zipCode,
                      Float latitude,
                      Float longitude,
                      URL mediaUrl)
Method Detail

getServiceRequestId

public String getServiceRequestId()

getStatus

public ServiceRequest.Status getStatus()

getStatusNotes

public String getStatusNotes()

getServiceName

public String getServiceName()

getServiceCode

public String getServiceCode()

getDescription

public String getDescription()

getAgencyResponsible

public String getAgencyResponsible()

getServiceNotice

public String getServiceNotice()

getRequestedDatetime

public Date getRequestedDatetime()

getUpdatedDatetime

public Date getUpdatedDatetime()

getExpectedDatetime

public Date getExpectedDatetime()

getAddress

public String getAddress()

getAddressId

public Long getAddressId()

getZipCode

public Integer getZipCode()

getLatitude

public Float getLatitude()

getLongitude

public Float getLongitude()

getMediaUrl

public URL getMediaUrl()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Code for America. All Rights Reserved.