|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.tasks.ags.na.NAMessage
public class NAMessage

Class containing a message returned by the server.
| Constructor Summary | |
|---|---|
NAMessage()
Empty Constructor |
|
NAMessage(int type,
String description)
Constructor taking the type and description of the message |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static NAMessage |
fromJson(org.codehaus.jackson.JsonParser parser)
Creates a NAMessage object from a json representation |
String |
getDescription()
Gets the text description of the message |
int |
getType()
Gets the type of the message |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NAMessage()
public NAMessage(int type,
String description)
type - The type of the messagedescription - The text of the message| Method Detail |
|---|
public int getType()
public String getDescription()
public static NAMessage fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
parser - the parser containing the json
Exceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||