com.mapquest
Class RouteMatrixResultsCode

java.lang.Object
  extended bycom.mapquest.RouteMatrixResultsCode

public final class RouteMatrixResultsCode
extends java.lang.Object

Constants used to define return codes from a doRouteMatrix call.


Field Summary
static RouteMatrixResultsCode EXCEEDED_MAX_LOCATIONS
           
static RouteMatrixResultsCode ExceededMaxLocations
          Deprecated. Use EXCEEDED_MAX_LOCATIONS instead.
static RouteMatrixResultsCode INVALID_LOCATION
           
static RouteMatrixResultsCode INVALID_OPTION
           
static RouteMatrixResultsCode InvalidLocation
          Deprecated. Use INVALID_LOCATION instead.
static RouteMatrixResultsCode InvalidOption
          Deprecated. Use INVALID_OPTION instead.
static RouteMatrixResultsCode NO_DATASET_FOUND
           
static RouteMatrixResultsCode NoDatasetFound
          Deprecated. Use NO_DATASET_FOUND instead.
static RouteMatrixResultsCode NOT_SPECIFIED
           
static RouteMatrixResultsCode NotSpecified
          Deprecated. Use NOT_SPECIFIED instead.
static RouteMatrixResultsCode PARTIAL_SUCCESS
           
static RouteMatrixResultsCode PartialSuccess
          Deprecated. Use PARTIAL_SUCCESS instead.
static RouteMatrixResultsCode ROUTE_FAILURE
           
static RouteMatrixResultsCode RouteFailure
          Deprecated. Use ROUTE_FAILURE instead.
static RouteMatrixResultsCode Success
          Deprecated. Use SUCCESS instead.
static RouteMatrixResultsCode SUCCESS
           
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
static RouteMatrixResultsCode from_int(int value)
          Deprecated. Use fromInt instead.
static RouteMatrixResultsCode fromInt(int value)
          Creates an object from an integer value.
 int hashCode()
          Returns a hash code for this RouteMatrixResultsCode.
 int intValue()
          Returns an int type representing this object.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NotSpecified

public static final RouteMatrixResultsCode NotSpecified
Deprecated. Use NOT_SPECIFIED instead.


Success

public static final RouteMatrixResultsCode Success
Deprecated. Use SUCCESS instead.


InvalidLocation

public static final RouteMatrixResultsCode InvalidLocation
Deprecated. Use INVALID_LOCATION instead.


RouteFailure

public static final RouteMatrixResultsCode RouteFailure
Deprecated. Use ROUTE_FAILURE instead.


NoDatasetFound

public static final RouteMatrixResultsCode NoDatasetFound
Deprecated. Use NO_DATASET_FOUND instead.


InvalidOption

public static final RouteMatrixResultsCode InvalidOption
Deprecated. Use INVALID_OPTION instead.


PartialSuccess

public static final RouteMatrixResultsCode PartialSuccess
Deprecated. Use PARTIAL_SUCCESS instead.


ExceededMaxLocations

public static final RouteMatrixResultsCode ExceededMaxLocations
Deprecated. Use EXCEEDED_MAX_LOCATIONS instead.


NOT_SPECIFIED

public static final RouteMatrixResultsCode NOT_SPECIFIED

SUCCESS

public static final RouteMatrixResultsCode SUCCESS

INVALID_LOCATION

public static final RouteMatrixResultsCode INVALID_LOCATION

ROUTE_FAILURE

public static final RouteMatrixResultsCode ROUTE_FAILURE

NO_DATASET_FOUND

public static final RouteMatrixResultsCode NO_DATASET_FOUND

INVALID_OPTION

public static final RouteMatrixResultsCode INVALID_OPTION

PARTIAL_SUCCESS

public static final RouteMatrixResultsCode PARTIAL_SUCCESS

EXCEEDED_MAX_LOCATIONS

public static final RouteMatrixResultsCode EXCEEDED_MAX_LOCATIONS
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object.


intValue

public int intValue()
Returns an int type representing this object.


fromInt

public static RouteMatrixResultsCode fromInt(int value)
Creates an object from an integer value.


from_int

public static RouteMatrixResultsCode from_int(int value)
Deprecated. Use fromInt instead.

Creates an object from an integer value.


equals

public boolean equals(java.lang.Object otherObject)
Compares this object to the specified object. The result is true if and only if the argument is not null and is a RouteMatrixResultsCode object that has same attributes as this object.

Parameters:
otherObject - the object to compare this RouteMatrixResultsCode against.
Returns:
true if the RouteMatrixResultsCode objects are equal; false otherwise.

hashCode

public int hashCode()
Returns a hash code for this RouteMatrixResultsCode.

Returns:
a hash code value for this RouteMatrixResultsCode.