|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
Is the root of the class hierarchy. Almost every class in the MapQuest Java client has MQObject as a superclass.
| Field Summary | |
static int |
CLASS_ID
|
static java.lang.String |
CLASS_NAME
|
static int |
DEFAULT_ID
|
static java.lang.String |
DEFAULT_NAME
|
static long |
DEFAULT_VERSION
|
static int |
FORMAT_NUMERIC_ID
|
static int |
FORMAT_TEXT_NAME
|
static int |
INVALID_ID
|
static java.lang.String |
INVALID_NAME
|
static long |
INVALID_VERSION
|
| Constructor Summary | |
MQObject()
Default constructor. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
static int |
getFormat()
Returns the format used to indentify a class during serialization. |
java.lang.String |
getIdWithVersion()
Returns the class id of this object with the version concatenated to the end. |
java.lang.String |
getNameWithVersion()
Returns the class name of this object with the version concatenated to the end. |
long |
getObjectVersion()
Internal use only. |
int |
getTypeId()
Deprecated. Use getClassId instead. |
java.lang.String |
getTypeName()
Deprecated. Use getClassName instead. |
static boolean |
getVerboseConsoleOutput()
Returns the status of printing text messages to the console. |
int |
hashCode()
Returns a hash code for this MQObject. |
void |
init()
Initializes object. |
static void |
setFormat(int format)
Sets the format used to indentify a class during serialization. |
void |
setObjectVersion(long lVersion)
Internal use only. |
static void |
setVerboseConsoleOutput(boolean b)
Sets the status of printing text messages to the console. |
java.lang.String |
toString()
Converts the contents of this class to a comma-separated string. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int FORMAT_NUMERIC_ID
public static final int FORMAT_TEXT_NAME
public static final int INVALID_ID
public static final java.lang.String INVALID_NAME
public static final long INVALID_VERSION
public static final int DEFAULT_ID
public static final java.lang.String DEFAULT_NAME
public static final long DEFAULT_VERSION
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public MQObject()
| Method Detail |
public void init()
public int getTypeId()
getClassId instead.
public java.lang.String getTypeName()
getClassName instead.
public int getClassId()
public java.lang.String getClassName()
public long getObjectVersion()
public void setObjectVersion(long lVersion)
public static final void setVerboseConsoleOutput(boolean b)
b - Set to true to enable printing message, false to
disable messages.public static final boolean getVerboseConsoleOutput()
public java.lang.String toString()
public java.lang.Object clone()
public static int getFormat()
public static void setFormat(int format)
format - the format used to indentify a class during serialization.public java.lang.String getNameWithVersion()
public java.lang.String getIdWithVersion()
public boolean equals(java.lang.Object otherObject)
otherObject - the object to compare this MQObject against.
public int hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||