public class

NAMessage

extends Object
java.lang.Object
   ↳ com.esri.core.tasks.ags.na.NAMessage

Class Overview

Class containing a message returned by the server.

Summary

Public Constructors
NAMessage()
Empty Constructor
NAMessage(int type, String description)
Constructor taking the type and description of the message
Public Methods
boolean equals(Object obj)
static NAMessage fromJson(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()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NAMessage ()

Empty Constructor

public NAMessage (int type, String description)

Constructor taking the type and description of the message

Parameters
type The type of the message
description The text of the message

Public Methods

public boolean equals (Object obj)

public static NAMessage fromJson (JsonParser parser)

Creates a NAMessage object from a json representation

Parameters
parser the parser containing the json
Returns
  • NAMessage the object created from the json
Throws
Exception
Exception

public String getDescription ()

Gets the text description of the message

Returns
  • the text description of the message

public int getType ()

Gets the type of the message

Returns
  • the type of the message

public int hashCode ()