com.esri.arcgis.geodatabase
Class IRelationshipClass2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IRelationshipClassProxy
          extended by com.esri.arcgis.geodatabase.IRelationshipClass2Proxy
All Implemented Interfaces:
IRelationshipClass, IRelationshipClass2, Externalizable, Serializable
Direct Known Subclasses:
IRelationshipClass3Proxy

public class IRelationshipClass2Proxy
extends IRelationshipClassProxy
implements IRelationshipClass2, Serializable

Provides access to members that get related object row pairs within a query filter specification.

Remarks

The IRelationshipClass2 interface extends the IRelationshipClass interface, providing methods to retrieve related object pairs from the relationship class where the matched object satisfies the conditions of a query filter.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
RelationshipClass, IRelationshipClassEvents, esriRelRole, Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IRelationshipClass2Proxy()
           
  IRelationshipClass2Proxy(Object obj)
           
protected IRelationshipClass2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IRelClassEnumRowPairs getObjectsMatchingObjectArray(IArray srcObjectArray, IQueryFilter queryFilterAppliedToMatchingObjects, boolean returnAllObjectMatches)
          Gets rows pairs of objects that are related to the specified origin or destination object array, that also meet the query filter expression.
 IRelClassEnumRowPairs getObjectsMatchingObjectSetEx(ISet srcObjectSet, IQueryFilter queryFilterAppliedToMatchingObjects, boolean returnAllObjectMatches)
          Gets rows pairs of objects that are related to the specified origin or destination object set, that also meet the query filter expression.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.IRelationshipClassProxy
addRelationshipRule, createRelationship, deleteRelationship, deleteRelationshipRule, deleteRelationshipsForObject, deleteRelationshipsForObjectSet, getBackwardPathLabel, getCardinality, getDestinationClass, getDestinationForeignKey, getDestinationPrimaryKey, getFeatureDataset, getForwardPathLabel, getNotification, getObjectsMatchingObjectSet, getObjectsRelatedToObject, getObjectsRelatedToObjectSet, getOriginClass, getOriginForeignKey, getOriginPrimaryKey, getRelationship, getRelationshipClassID, getRelationshipRules, getRelationshipsForObject, getRelationshipsForObjectSet, isAttributed, isComposite
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geodatabase.IRelationshipClass
addRelationshipRule, createRelationship, deleteRelationship, deleteRelationshipRule, deleteRelationshipsForObject, deleteRelationshipsForObjectSet, getBackwardPathLabel, getCardinality, getDestinationClass, getDestinationForeignKey, getDestinationPrimaryKey, getFeatureDataset, getForwardPathLabel, getNotification, getObjectsMatchingObjectSet, getObjectsRelatedToObject, getObjectsRelatedToObjectSet, getOriginClass, getOriginForeignKey, getOriginPrimaryKey, getRelationship, getRelationshipClassID, getRelationshipRules, getRelationshipsForObject, getRelationshipsForObjectSet, isAttributed, isComposite
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IRelationshipClass2Proxy

public IRelationshipClass2Proxy()

IRelationshipClass2Proxy

public IRelationshipClass2Proxy(Object obj)
                         throws IOException
Throws:
IOException

IRelationshipClass2Proxy

protected IRelationshipClass2Proxy(Object obj,
                                   String iid)
                            throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IRelationshipClassProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IRelationshipClassProxy
Throws:
IOException

getObjectsMatchingObjectSetEx

public IRelClassEnumRowPairs getObjectsMatchingObjectSetEx(ISet srcObjectSet,
                                                           IQueryFilter queryFilterAppliedToMatchingObjects,
                                                           boolean returnAllObjectMatches)
                                                    throws IOException,
                                                           AutomationException
Gets rows pairs of objects that are related to the specified origin or destination object set, that also meet the query filter expression.

Remarks

The returnAllObjectMatches parameter indicates whether the first matching object or if all matching objects are returned. A value of True will return all object matches.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getObjectsMatchingObjectSetEx in interface IRelationshipClass2
Parameters:
srcObjectSet - A reference to a com.esri.arcgis.system.ISet (in)
queryFilterAppliedToMatchingObjects - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
returnAllObjectMatches - The returnAllObjectMatches (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRelClassEnumRowPairs
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObjectsMatchingObjectArray

public IRelClassEnumRowPairs getObjectsMatchingObjectArray(IArray srcObjectArray,
                                                           IQueryFilter queryFilterAppliedToMatchingObjects,
                                                           boolean returnAllObjectMatches)
                                                    throws IOException,
                                                           AutomationException
Gets rows pairs of objects that are related to the specified origin or destination object array, that also meet the query filter expression.

Remarks

The returnAllObjectMatches parameter indicates whether the first matching object or if all matching objects are returned. A value of True will return all object matches.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getObjectsMatchingObjectArray in interface IRelationshipClass2
Parameters:
srcObjectArray - A reference to a com.esri.arcgis.system.IArray (in)
queryFilterAppliedToMatchingObjects - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
returnAllObjectMatches - The returnAllObjectMatches (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRelClassEnumRowPairs
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.