org.codeforamerica.open311.facade
Enum City

java.lang.Object
  extended by java.lang.Enum<City>
      extended by org.codeforamerica.open311.facade.City
All Implemented Interfaces:
Serializable, Comparable<City>

public enum City
extends Enum<City>

An enumeration of cities which contains the service discovery urls and jurisdiction IDs. NOTE: If you need a city which doesn't appear here, send an email to the author or open an issue in the GitHub repository.

Author:
Santiago MunĂ­n

Enum Constant Summary
ALPHARETTA
           
BAINBRIDGE_ISLAND
           
BALTIMORE
           
BLOOMINGTON
           
BONN
           
BOSTON
           
BROOKLINE
           
CHICAGO
           
CORONA
           
DARWIN
           
DELEON
           
DUNWOODY
           
FONTANA
           
GRAND_RAPIDS
           
HILLSBOROUGH
           
HOWARD
           
HUNTSVILLE
           
MANOR
           
NEW_HAVEN
           
NEWARK
           
NEWBERG
           
NEWNAN
           
OLATHE
           
QUEBEC
           
RALEIGH
           
RICHMOND
           
ROOSEVELT
           
RUSSELL_SPRINGS
           
SAN_FRANCISCO
           
TORONTO
           
TUCSON
           
WASHINGTON
           
 
Method Summary
 String getCityName()
           
 String getDiscoveryUrl()
           
 String getJurisdictionId()
           
static City valueOf(String name)
          Returns the enum constant of this type with the specified name.
static City[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

QUEBEC

public static final City QUEBEC

BONN

public static final City BONN

SAN_FRANCISCO

public static final City SAN_FRANCISCO

WASHINGTON

public static final City WASHINGTON

BOSTON

public static final City BOSTON

BALTIMORE

public static final City BALTIMORE

GRAND_RAPIDS

public static final City GRAND_RAPIDS

BROOKLINE

public static final City BROOKLINE

TORONTO

public static final City TORONTO

BLOOMINGTON

public static final City BLOOMINGTON

CHICAGO

public static final City CHICAGO

ALPHARETTA

public static final City ALPHARETTA

BAINBRIDGE_ISLAND

public static final City BAINBRIDGE_ISLAND

CORONA

public static final City CORONA

DELEON

public static final City DELEON

DUNWOODY

public static final City DUNWOODY

HUNTSVILLE

public static final City HUNTSVILLE

NEWBERG

public static final City NEWBERG

NEW_HAVEN

public static final City NEW_HAVEN

RICHMOND

public static final City RICHMOND

RUSSELL_SPRINGS

public static final City RUSSELL_SPRINGS

TUCSON

public static final City TUCSON

DARWIN

public static final City DARWIN

FONTANA

public static final City FONTANA

HOWARD

public static final City HOWARD

MANOR

public static final City MANOR

NEWARK

public static final City NEWARK

NEWNAN

public static final City NEWNAN

OLATHE

public static final City OLATHE

RALEIGH

public static final City RALEIGH

ROOSEVELT

public static final City ROOSEVELT

HILLSBOROUGH

public static final City HILLSBOROUGH
Method Detail

values

public static City[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (City c : City.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static City valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getCityName

public String getCityName()

getDiscoveryUrl

public String getDiscoveryUrl()

getJurisdictionId

public String getJurisdictionId()


Copyright © 2013 Code for America. All Rights Reserved.