public class Relationship extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRelationship
Description 'Esri Relationship object.' 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, IID22b00696_8895_11d2_8a0d_006097aff44e, xxDummy
Constructor and Description |
---|
Relationship(java.lang.Object obj)
Construct a Relationship using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IObject |
getDestinationObject()
The destination object.
|
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.
|
IObject |
getOriginObject()
The origin object.
|
IRelationshipClass |
getRelationshipClass()
The relationship class to which this relationship belongs.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
public Relationship(java.lang.Object obj) throws java.io.IOException
obj
to Relationship
. *
Relationship o = (Relationship)obj; // will not work
Relationship o = new Relationship(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problems
Relationship theRelationship = (Relationship) obj;
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IRelationshipClass getRelationshipClass() throws java.io.IOException, AutomationException
getRelationshipClass
in interface IRelationship
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IObject getOriginObject() throws java.io.IOException, AutomationException
getOriginObject
in interface IRelationship
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IObject getDestinationObject() throws java.io.IOException, AutomationException
getDestinationObject
in interface IRelationship
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.