com.mapquest
Class CatToDTMap

java.lang.Object
  extended bycom.mapquest.MQObject
      extended bycom.mapquest.CatToDTMap
All Implemented Interfaces:
java.lang.Cloneable

public class CatToDTMap
extends MQObject

Defines the characteristics of a map. It includes such information as the map name, the coverage name, the latitude/longitude of the map Center, the map scale, and the image size.

See Also:
LatLng, Point

Field Summary
static int CLASS_ID
           
static java.lang.String CLASS_NAME
           
 
Fields inherited from class com.mapquest.MQObject
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION
 
Constructor Summary
CatToDTMap()
          Default constructor.
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
 java.lang.String getCategory()
          Get the category of the category field.
 int getClassId()
          Returns the numeric id of this class.
 java.lang.String getClassName()
          Returns the text name of this class.
 int getDT()
          Get the DT to be assigned to the Category
 int hashCode()
          Returns a hash code for this CatToDTMap.
 void init()
          Initializes object.
 void setCategory(java.lang.String strMappingField)
          Set the category
 void setDT(int nDT)
          Set the DT to be assigned to the Category.
 
Methods inherited from class com.mapquest.MQObject
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_ID

public static final int CLASS_ID
See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

CatToDTMap

public CatToDTMap()
Default constructor.

Method Detail

init

public void init()
Initializes object.

Overrides:
init in class MQObject

getClassId

public int getClassId()
Returns the numeric id of this class.

Overrides:
getClassId in class MQObject
Returns:
the numeric id of this class.

getClassName

public java.lang.String getClassName()
Returns the text name of this class.

Overrides:
getClassName in class MQObject
Returns:
the text name of this class.

getCategory

public java.lang.String getCategory()
Get the category of the category field.

Returns:
The category

setCategory

public void setCategory(java.lang.String strMappingField)
Set the category

Parameters:
strMappingField - the category

getDT

public int getDT()
Get the DT to be assigned to the Category

Returns:
The DT for this Category.

setDT

public void setDT(int nDT)
Set the DT to be assigned to the Category.

Parameters:
nDT - the DT

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

Overrides:
equals in class MQObject
Parameters:
otherObject - the object to compare this CatToDTMap against.
Returns:
true if the CatToDTMap objects are equal; false otherwise.

hashCode

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

Overrides:
hashCode in class MQObject
Returns:
a hash code value for this CatToDTMap.