|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IRelationshipProxy
public class IRelationshipProxy
Provides access to members that return information about the relationship.
The IRelationship interface provides read-only information about a relationship. It is most useful with attributed relationships, since it can form a bridge between the attribute information, which is in row form, and the related objects.
When dealing with relationships you will normally use the IRelationshipClass interface, rather than IRelationship.
The SimpleRelationship object represents a pair of related geodatabase objects or features. There are no attribute values associated with the relationship.
You cannot cocreate a simple relationship. Instead use IRelationshipClass::CreateRelationship.
The AttributedRelationship object is a kind of row that represents a pair of related objects or features with extra information about the pairing. The extra information is stored in the row.
You cannot co-create an attributed relationship. Instead use IRelationshipClass::CreateRelationship.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IRelationshipProxy()
|
|
IRelationshipProxy(Object obj)
|
protected |
IRelationshipProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IObject |
getDestinationObject()
The destination object. |
IObject |
getOriginObject()
The origin object. |
IRelationshipClass |
getRelationshipClass()
The relationship class to which this relationship belongs. |
void |
removeListener(String iidStr,
Object theListener)
|
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 |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IRelationshipProxy()
public IRelationshipProxy(Object obj) throws IOException
IOException
protected IRelationshipProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IRelationshipClass getRelationshipClass() throws IOException, AutomationException
getRelationshipClass
in interface IRelationship
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObject getOriginObject() throws IOException, AutomationException
getOriginObject
in interface IRelationship
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObject getDestinationObject() throws IOException, AutomationException
getDestinationObject
in interface IRelationship
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 |