public class RelationResult extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRelationResult, IRelationResult64
Description 'The indexes of geometrybag elements that are in a specified relation.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID64df926c_6f44_44e7_bc78_11eaec710ec2, xxDummyIID3ff13d39_ea3b_42cb_98f6_0f73a1c89b89| Constructor and Description |
|---|
RelationResult()
Constructs a RelationResult using ArcGIS Engine.
|
RelationResult(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RelationResult theRelationResult = (RelationResult) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IRelationResult pRelations)
Add elements of other Relation to the end of this Relations, and the set is re-sorted.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
flipRelations()
Flips the left and right indexes of all the elements of the relation.
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
void |
getRelationElement(int i,
int[] left,
int[] right)
The ith element of the relation.
|
void |
getRelationElement64(long i,
long[] left,
long[] right)
The ith element of the relation.
|
int |
getRelationElementCount()
The number of pairs of geometries in the relation.
|
long |
getRelationElementCount64()
The number of pairs of geometries in the relation.
|
int |
hashCode()
the hashcode for this object
|
void |
intersect(IRelationResult pRelations)
Construct the set with only those elements that exist in both relation sets.
|
void |
release()
Release this COM object reference
|
void |
setRelationElement(int i,
int left,
int right)
The ith element of the relation.
|
void |
setRelationElement64(long i,
long left,
long right)
The ith element of the relation.
|
void |
setRelationElements(int cPairs,
esriRelationPair pairs)
Sets RelationResult with an array of relations.
|
void |
setRelationElements64(long cPairs,
esriRelationPair64 pairs)
Sets RelationResult with an array of relations.
|
void |
sortLeft()
Sort the set according to the left index.
|
void |
sortRight()
Sort the set according to the right index.
|
void |
subtract(IRelationResult pRelations)
Finds elements existing in another relation set and delete them from this set.
|
public RelationResult()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic RelationResult(java.lang.Object obj)
throws java.io.IOException
RelationResult theRelationResult = (RelationResult) obj;obj to RelationResult.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic int getRelationElementCount()
throws java.io.IOException,
AutomationException
getRelationElementCount in interface IRelationResultjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getRelationElement(int i,
int[] left,
int[] right)
throws java.io.IOException,
AutomationException
getRelationElement in interface IRelationResulti - The i (in)left - The left (out: use single element array)right - The right (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRelationElement(int i,
int left,
int right)
throws java.io.IOException,
AutomationException
setRelationElement in interface IRelationResulti - The i (in)left - The left (in)right - The right (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRelationElements(int cPairs,
esriRelationPair pairs)
throws java.io.IOException,
AutomationException
setRelationElements in interface IRelationResultcPairs - The cPairs (in)pairs - A Structure: com.esri.arcgis.geometry.esriRelationPair (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void sortRight()
throws java.io.IOException,
AutomationException
sortRight in interface IRelationResultjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void sortLeft()
throws java.io.IOException,
AutomationException
sortLeft in interface IRelationResultjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void flipRelations()
throws java.io.IOException,
AutomationException
flipRelations in interface IRelationResultjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void subtract(IRelationResult pRelations) throws java.io.IOException, AutomationException
subtract in interface IRelationResultpRelations - A reference to a com.esri.arcgis.geometry.IRelationResult (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void intersect(IRelationResult pRelations) throws java.io.IOException, AutomationException
intersect in interface IRelationResultpRelations - A reference to a com.esri.arcgis.geometry.IRelationResult (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void add(IRelationResult pRelations) throws java.io.IOException, AutomationException
add in interface IRelationResultpRelations - A reference to a com.esri.arcgis.geometry.IRelationResult (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public long getRelationElementCount64()
throws java.io.IOException,
AutomationException
getRelationElementCount64 in interface IRelationResult64java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getRelationElement64(long i,
long[] left,
long[] right)
throws java.io.IOException,
AutomationException
getRelationElement64 in interface IRelationResult64i - Signed 64-bit int (in)left - Signed 64-bit int (out: use single element array)right - Signed 64-bit int (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRelationElement64(long i,
long left,
long right)
throws java.io.IOException,
AutomationException
setRelationElement64 in interface IRelationResult64i - Signed 64-bit int (in)left - Signed 64-bit int (in)right - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRelationElements64(long cPairs,
esriRelationPair64 pairs)
throws java.io.IOException,
AutomationException
setRelationElements64 in interface IRelationResult64cPairs - Signed 64-bit int (in)pairs - A Structure: com.esri.arcgis.geometry.esriRelationPair64 (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.