com.esri.core.tasks.ags.find
Class FindResult

java.lang.Object
  extended by com.esri.core.tasks.ags.find.FindResult

public class FindResult
extends Object

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

Since:
10.1.1

Constructor Summary
FindResult()
           
 
Method Summary
static FindResult fromJson(org.codehaus.jackson.JsonParser parser)
          Parsing a json to create FindResult object
 Map<String,Object> 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindResult

public FindResult()
Method Detail

getLayerId

public int getLayerId()
Returns the layer ID

Returns:
an integer
Since:
10.1.1

getLayerName

public String getLayerName()
Returns the layer name

Returns:
String
Since:
10.1.1

getDisplayFieldName

public String getDisplayFieldName()
Returns the display field name.

Returns:
String
Since:
10.1.1

getFoundFieldName

public String getFoundFieldName()
Returns the found field name

Returns:
String
Since:
10.1.1

getValue

public String getValue()
Returns the found value

Returns:
String
Since:
10.1.1

getAttributes

public Map<String,Object> getAttributes()
Returns the attributes in the form of name-values pair

Returns:
an Map object
Since:
10.1.1

getGeometryType

public Geometry.Type getGeometryType()
Returns the geometry type of find result

Returns:
Geometry.Type
Since:
10.1.1

getGeometry

public Geometry getGeometry()
Returns the Geometry object.

Returns:
Geometry object
Since:
10.1.1

fromJson

public static FindResult fromJson(org.codehaus.jackson.JsonParser parser)
                           throws Exception
Parsing a json to create FindResult object

Parameters:
parser -
Returns:
a FindResult object
Throws:
Exception
Since:
10.1.1


Copyright © 2012. All Rights Reserved.