com.mapquest
Class DBFieldType

java.lang.Object
  extended bycom.mapquest.DBFieldType

public final class DBFieldType
extends java.lang.Object

Constants for the data types for fields in the database.


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

VarChar

public static final DBFieldType VarChar
Deprecated. Use VARCHAR instead.


Numeric

public static final DBFieldType Numeric
Deprecated. Use NUMERIC instead.


VARCHAR

public static final DBFieldType VARCHAR

NUMERIC

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


from_int

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

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

hashCode

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

Returns:
a hash code value for this DBFieldType.