com.mapquest
Class NarrativeType

java.lang.Object
  extended bycom.mapquest.NarrativeType

public class NarrativeType
extends java.lang.Object

Constants to specify the type of narrative to generate.


Field Summary
static NarrativeType Default
          Deprecated. Use DEFAULT instead.
static NarrativeType DEFAULT
           
static NarrativeType HTML
           
static NarrativeType None
          Deprecated. Use NONE instead.
static NarrativeType NONE
           
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
static NarrativeType from_int(int value)
          Deprecated. Use fromInt instead.
static NarrativeType fromInt(int value)
          Creates an object from an integer value.
 int hashCode()
          Returns a hash code for this NarrativeType.
 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

Default

public static final NarrativeType Default
Deprecated. Use DEFAULT instead.


None

public static final NarrativeType None
Deprecated. Use NONE instead.


DEFAULT

public static final NarrativeType DEFAULT

HTML

public static final NarrativeType HTML

NONE

public static final NarrativeType NONE
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 NarrativeType fromInt(int value)
Creates an object from an integer value.


from_int

public static NarrativeType 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 NarrativeType object that has same attributes as this object.

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

hashCode

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

Returns:
a hash code value for this NarrativeType.