|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRelateDescription
Provides access to the RelateDescription Interface.
Method Summary | |
---|---|
IGeometryResultOptions |
getGeometryResultOptions()
Indicates whether we need to modify Geometry. |
IGeoTransformation |
getGeoTransformation()
Geo transformation required to transform the geometry if the requested GCS is different from the source. |
ISpatialReference |
getOutputSpatialReference()
Spatial reference of the output geometry in the related records. |
ITimeReference |
getOutputTimeReference()
Output time reference for the time fields. |
String |
getRelatedTableDefinitionExpression()
Definition expression of the related table for which related records are being requested. |
String |
getRelatedTableFields()
Table fields that need to be returned as a part of the relate results. |
int |
getRelationshipID()
Relationship ID that uniquely idenentifies a relate to a table. |
int |
getResultFormat()
Result format that indicates the type of content in the result. |
boolean |
isIncludeGeometry()
Indicates whether we should include Geometry. |
void |
setGeometryResultOptionsByRef(IGeometryResultOptions geometryOptions)
Indicates whether we need to modify Geometry. |
void |
setGeoTransformationByRef(IGeoTransformation geotransform)
Geo transformation required to transform the geometry if the requested GCS is different from the source. |
void |
setIncludeGeometry(boolean includeGeometry)
Indicates whether we should include Geometry. |
void |
setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
Spatial reference of the output geometry in the related records. |
void |
setOutputTimeReferenceByRef(ITimeReference timeReference)
Output time reference for the time fields. |
void |
setRelatedTableDefinitionExpression(String expression)
Definition expression of the related table for which related records are being requested. |
void |
setRelatedTableFields(String tablefields)
Table fields that need to be returned as a part of the relate results. |
void |
setRelationshipID(int relationshipID)
Relationship ID that uniquely idenentifies a relate to a table. |
void |
setResultFormat(int resultFormat)
Result format that indicates the type of content in the result. |
Method Detail |
---|
int getRelationshipID() throws IOException, AutomationException
A unique id for a relationship between the source and destination table/layer. You may get this from IRelateInfo::RelationshipID.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRelationshipID(int relationshipID) throws IOException, AutomationException
relationshipID
- The relationshipID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getRelatedTableDefinitionExpression() throws IOException, AutomationException
In case your related StandaloneTable/layer has definition expression and you want that to be honored, or you want to restrict your search within a subset of the related StandaloneTable/layer, you need to explicitly set that to this property. You may get the default definition expression set to that layer/StandaloneTable in the source document from IMapTableDescription::DefinitionExpression.
For example, LayerA is related to TableB. Records in that table in the source map document restricted not to include information beyond 1990 [i.e. "Year" <= 1990]. If RelatedTableDefinitionExpression is not set, the related results may contain information beyond 1990.
When this property is empty, the search will be performed on all the records/features on the StandaloneTable/layer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRelatedTableDefinitionExpression(String expression) throws IOException, AutomationException
expression
- The expression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getRelatedTableFields() throws IOException, AutomationException
Pass in “*” to RelatedTableFields if you want to have all visible fields returned, or specify a list of field name if you want a subset of field list. You may get the list of all visible fields from IMapTableInfo::Fields. It throws exception when the field list contains an invalid field name or invisible field name.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRelatedTableFields(String tablefields) throws IOException, AutomationException
tablefields
- The tablefields (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOutputSpatialReferenceByRef(ISpatialReference spatialReference) throws IOException, AutomationException
spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISpatialReference getOutputSpatialReference() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeoTransformation getGeoTransformation() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGeoTransformationByRef(IGeoTransformation geotransform) throws IOException, AutomationException
geotransform
- A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getResultFormat() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setResultFormat(int resultFormat) throws IOException, AutomationException
resultFormat
- A com.esri.arcgis.carto.esriRelateResultFormat constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIncludeGeometry(boolean includeGeometry) throws IOException, AutomationException
includeGeometry
- The includeGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isIncludeGeometry() throws IOException, AutomationException
IncludeGeometry flags whether records from a related layer will contain geometry. Unless you need geometry, setting is false will improve the performance.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGeometryResultOptionsByRef(IGeometryResultOptions geometryOptions) throws IOException, AutomationException
geometryOptions
- A reference to a com.esri.arcgis.geodatabase.IGeometryResultOptions (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeometryResultOptions getGeometryResultOptions() throws IOException, AutomationException
GeometryResultOptions can be used to generalize or densify geometry of related features. When a geometry is need to flash or highlight those features, you may consider reducing number of vertices in those returned geometry by generalizing which will improve the performance. Some time a feature may be made of arc(s), in case the client application can’t process those arcs, geometry can be densified to return geometry made of a series of vertices.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOutputTimeReferenceByRef(ITimeReference timeReference) throws IOException, AutomationException
timeReference
- A reference to a com.esri.arcgis.system.ITimeReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITimeReference getOutputTimeReference() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |