|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.tasks.ags.query.RelationshipQuery
public class RelationshipQuery
Defines parameters of a query to be executed on the server that fetches related records.
Constructor Summary | |
---|---|
RelationshipQuery()
Default constructor |
Method Summary | |
---|---|
String |
getDefintionExpression()
Gets the definition expression. |
double |
getMaxAllowableOffset()
Gets the maximum allowable offset, which is used to generalize the geometry in the returned features. |
int[] |
getObjectIds()
Gets the object IDs to be queried. |
String[] |
getOutFields()
Gets the array of fields to be included in the returned result set. |
SpatialReference |
getOutSpatialReference()
Gets the spatial reference of the returned geometry. |
int |
getRelationshipId()
Gets the ID of the relationship that this query is based on. |
boolean |
isReturnGeometry()
Returns true if the result features include geometry. |
void |
setDefinitionExpression(String defintionExpression)
Sets the definition expression. |
void |
setMaxAllowableOffset(double offset)
Sets the maximum allowable offset, which is used to generalize the geometry in the returned features. |
void |
setObjectIds(int[] objectIds)
Sets the object IDs to be queried. |
void |
setOutFields(String[] outFields)
Sets the array of fields to be included in the returned result set. |
void |
setOutSpatialReference(SpatialReference outSR)
Sets the spatial reference of the returned geometry. |
void |
setRelationshipId(int id)
Sets the ID of the relationship that this query is based on. |
void |
setReturnGeometry(boolean returnGeometry)
Sets if the result features should include geometry. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RelationshipQuery()
Method Detail |
---|
public void setObjectIds(int[] objectIds)
objectIds
- public int[] getObjectIds()
public void setRelationshipId(int id)
id
- relationship ID.public int getRelationshipId()
public void setOutFields(String[] outFields)
outFields
- an array of field names.public String[] getOutFields()
public void setMaxAllowableOffset(double offset)
offset
- maximum allowable offset.public double getMaxAllowableOffset()
public SpatialReference getOutSpatialReference()
public void setOutSpatialReference(SpatialReference outSR)
outSR
- spatial reference of the returned geometry.public void setReturnGeometry(boolean returnGeometry)
returnGeometry
- true for the result features to include geometry.public boolean isReturnGeometry()
public void setDefinitionExpression(String defintionExpression)
defintionExpression
- definition expression.public String getDefintionExpression()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |