public class

FindResult

extends Object
java.lang.Object
   ↳ com.esri.core.tasks.ags.find.FindResult

Class Overview

The class represents a find result value object returned by FindTask.

Summary

Public Constructors
FindResult()
Public Methods
static FindResult fromJson(JsonParser parser)
Parsing a json to create FindResult object
Map<StringObject> getAttributes()
Returns the attributes in the form of name-values pair
String getDisplayFieldName()
Returns the display field name.
String getFoundFieldName()
Returns the found field name
Geometry getGeometry()
Returns the Geometry object.
Geometry.Type getGeometryType()
Returns the geometry type of find result
int getLayerId()
Returns the layer ID
String getLayerName()
Returns the layer name
String getValue()
Returns the found value
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FindResult ()

Public Methods

public static FindResult fromJson (JsonParser parser)

Parsing a json to create FindResult object

Returns
  • a FindResult object
Throws
Exception
Exception

public Map<StringObject> getAttributes ()

Returns the attributes in the form of name-values pair

Returns
  • an Map object

public String getDisplayFieldName ()

Returns the display field name.

Returns
  • String

public String getFoundFieldName ()

Returns the found field name

Returns
  • String

public Geometry getGeometry ()

Returns the Geometry object.

Returns
  • Geometry object

public Geometry.Type getGeometryType ()

Returns the geometry type of find result

Returns
  • Geometry.Type

public int getLayerId ()

Returns the layer ID

Returns
  • an integer

public String getLayerName ()

Returns the layer name

Returns
  • String

public String getValue ()

Returns the found value

Returns
  • String