com.esri.arcgis.arcmapui
Class RelateData

java.lang.Object
  extended by com.esri.arcgis.arcmapui.RelateData
All Implemented Interfaces:
IRelateData, IRelateData2, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class RelateData
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRelateData, IRelateData2

Relate Data dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
RelateData()
          Constructs a RelateData using ArcGIS Engine.
RelateData(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RelateData theRelateData = (RelateData) obj;
 
Method Summary
 IRelationshipClass doModal(int parentWindow)
          Shows modal window.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void setApplicationByRef(Object rhs1)
          The application to which this window belongs (Optional).
 void setLayerByRef(ILayer rhs1)
          Primary layer to relate from (removes standalone table setting).
 void setRelateOriginByRef(Object rhs1)
          Primary layer to join from.
 void setStandaloneTableByRef(IStandaloneTable rhs1)
          Primary table to relate from (removes layer setting).
 
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

RelateData

public RelateData()
           throws IOException,
                  UnknownHostException
Constructs a RelateData using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

RelateData

public RelateData(Object obj)
           throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RelateData theRelateData = (RelateData) obj;

Construct a RelateData using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RelateData.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setRelateOriginByRef

public void setRelateOriginByRef(Object rhs1)
                          throws IOException,
                                 AutomationException
Primary layer to join from.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setRelateOriginByRef in interface IRelateData
Specified by:
setRelateOriginByRef in interface IRelateData2
Parameters:
rhs1 - A reference to another Object (IUnknown) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public IRelationshipClass doModal(int parentWindow)
                           throws IOException,
                                  AutomationException
Shows modal window.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModal in interface IRelateData
Specified by:
doModal in interface IRelateData2
Parameters:
parentWindow - The parentWindow (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRelationshipClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setApplicationByRef

public void setApplicationByRef(Object rhs1)
                         throws IOException,
                                AutomationException
The application to which this window belongs (Optional).

Product Availability

Available with ArcGIS Desktop.

Specified by:
setApplicationByRef in interface IRelateData2
Parameters:
rhs1 - A reference to another Automation Object (IDispatch) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerByRef

public void setLayerByRef(ILayer rhs1)
                   throws IOException,
                          AutomationException
Primary layer to relate from (removes standalone table setting).

Product Availability

Available with ArcGIS Desktop.

Specified by:
setLayerByRef in interface IRelateData2
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStandaloneTableByRef

public void setStandaloneTableByRef(IStandaloneTable rhs1)
                             throws IOException,
                                    AutomationException
Primary table to relate from (removes layer setting).

Product Availability

Available with ArcGIS Desktop.

Specified by:
setStandaloneTableByRef in interface IRelateData2
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IStandaloneTable (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.