|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.RelateDescription
public class RelateDescription
A colcass that describes a relate for QueryRelatedRows.
Constructor Summary | |
---|---|
RelateDescription()
Constructs a RelateDescription using ArcGIS Engine. |
|
RelateDescription(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RelateDescription theRelateDescription = (RelateDescription) obj; |
Method Summary | |
---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
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. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
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. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isIncludeGeometry()
Indicates whether we should include Geometry. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
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. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RelateDescription() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RelateDescription(Object obj) throws IOException
RelateDescription theRelateDescription = (RelateDescription) obj;
obj
to RelateDescription
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public 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.
getRelationshipID
in interface IRelateDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelationshipID(int relationshipID) throws IOException, AutomationException
setRelationshipID
in interface IRelateDescription
relationshipID
- The relationshipID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getRelatedTableDefinitionExpression
in interface IRelateDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelatedTableDefinitionExpression(String expression) throws IOException, AutomationException
setRelatedTableDefinitionExpression
in interface IRelateDescription
expression
- The expression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getRelatedTableFields
in interface IRelateDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelatedTableFields(String tablefields) throws IOException, AutomationException
setRelatedTableFields
in interface IRelateDescription
tablefields
- The tablefields (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputSpatialReferenceByRef(ISpatialReference spatialReference) throws IOException, AutomationException
setOutputSpatialReferenceByRef
in interface IRelateDescription
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.public ISpatialReference getOutputSpatialReference() throws IOException, AutomationException
getOutputSpatialReference
in interface IRelateDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoTransformation getGeoTransformation() throws IOException, AutomationException
getGeoTransformation
in interface IRelateDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeoTransformationByRef(IGeoTransformation geotransform) throws IOException, AutomationException
setGeoTransformationByRef
in interface IRelateDescription
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.public int getResultFormat() throws IOException, AutomationException
getResultFormat
in interface IRelateDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResultFormat(int resultFormat) throws IOException, AutomationException
setResultFormat
in interface IRelateDescription
resultFormat
- A com.esri.arcgis.carto.esriRelateResultFormat constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIncludeGeometry(boolean includeGeometry) throws IOException, AutomationException
setIncludeGeometry
in interface IRelateDescription
includeGeometry
- The includeGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
isIncludeGeometry
in interface IRelateDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeometryResultOptionsByRef(IGeometryResultOptions geometryOptions) throws IOException, AutomationException
setGeometryResultOptionsByRef
in interface IRelateDescription
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.public 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.
getGeometryResultOptions
in interface IRelateDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputTimeReferenceByRef(ITimeReference timeReference) throws IOException, AutomationException
setOutputTimeReferenceByRef
in interface IRelateDescription
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.public ITimeReference getOutputTimeReference() throws IOException, AutomationException
getOutputTimeReference
in interface IRelateDescription
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMinNamespaceSupported() throws IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |