|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.query.IdentifyCriteria
public class IdentifyCriteria
IdentifyCriteria returns map features and their attribute values based on a search location. This can be conducted on an individual layer, the top-most layer, all layers, or just on all the visible layers.
Depending on the resource type, there are different criteria handlers to fulfill the query. This class defines common elements required by all of the handlers.
QueryCriteria,
QueryCriteriaHandler,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
CRITERIA_TYPE
Criteria Type: "Identify" |
| Constructor Summary | |
|---|---|
IdentifyCriteria()
Instantiates an empty object of IdentifyCriteria. |
|
IdentifyCriteria(WebGeometry webGeometry)
Instantiates an object of IdentifyCriteria with the given geometry. |
|
IdentifyCriteria(WebGeometry webGeometry,
int tolerance)
Instantiates an object of IdentifyCriteria with the given point geometry and search tolerance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCriteriaType()
A String representing the query type e.g. |
java.lang.String |
getDisplayFieldName()
Gets the field name which can be used in the query result as a result node title. |
java.util.List<? extends LayerDefinition> |
getLayerDefinitions()
Returns the list of LayerDefinition used for identify. |
int |
getMaxRecordCount()
Gets the maximum number of returning records in one query. |
int |
getTolerance()
Gets the search tolerance. |
WebGeometry |
getWebGeometry(WebSpatialReference spatialReference)
Gets the geometry in the given spatial reference. |
boolean |
isFetchResultDetails()
Returns true if all the feature details e.g. |
void |
setDisplayFieldName(java.lang.String displayFieldName)
Sets the field name which can be used in the query result as a result node title. |
void |
setFetchResultDetails(boolean fetchResultDetails)
Sets to true to return all the feature details e.g. |
void |
setLayerDefinitions(java.util.List<? extends LayerDefinition> layerDefinitions)
Sets the list of LayerDefinition objects used for identify. |
void |
setMaxRecordCount(int maxRecordCount)
Sets the maximum number of returning records in one query. |
void |
setTolerance(int tolerance)
Sets the search tolerance. |
void |
setWebGeometry(WebGeometry webGeometry)
Sets the search geometry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CRITERIA_TYPE
| Constructor Detail |
|---|
public IdentifyCriteria()
public IdentifyCriteria(WebGeometry webGeometry)
webGeometry - The valid geometry.
public IdentifyCriteria(WebGeometry webGeometry,
int tolerance)
webGeometry - a validtolerance - a tolerance unit may be in pixels or in geometry's unit,which is depend on the handler's implementation.QueryCriteriaHandler| Method Detail |
|---|
public java.lang.String getCriteriaType()
QueryCriteria
getCriteriaType in interface QueryCriteriapublic java.lang.String getDisplayFieldName()
QueryCriteria
getDisplayFieldName in interface QueryCriteriapublic void setDisplayFieldName(java.lang.String displayFieldName)
QueryCriteria
setDisplayFieldName in interface QueryCriteriapublic int getTolerance()
public void setTolerance(int tolerance)
tolerance - the search tolerance.public WebGeometry getWebGeometry(WebSpatialReference spatialReference)
spatialReference - the spatial reference of the return geometry.
public void setWebGeometry(WebGeometry webGeometry)
webGeometry - Point or other valid geometry.public boolean isFetchResultDetails()
QueryCriteria
isFetchResultDetails in interface QueryCriteriapublic void setFetchResultDetails(boolean fetchResultDetails)
QueryCriteria
setFetchResultDetails in interface QueryCriteriapublic int getMaxRecordCount()
QueryCriteria
getMaxRecordCount in interface QueryCriteriapublic void setMaxRecordCount(int maxRecordCount)
QueryCriteria
setMaxRecordCount in interface QueryCriteriamaxRecordCount - the new value.public void setLayerDefinitions(java.util.List<? extends LayerDefinition> layerDefinitions)
LayerDefinition objects used for identify.
layerDefinitions - the list of layer definition objectspublic java.util.List<? extends LayerDefinition> getLayerDefinitions()
LayerDefinition used for identify.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||