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, java.io.Serializable

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

COM Class 'RelateData'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description 'Relate Data dialog.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.arcmapui.IRelateData
IID, IID2cbd0a81_fe89_11d3_adf8_00c04fa33a15, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.IRelateData2
IID, IID8aa8974b_a74f_48f4_8308_42f799080238, xxDummy
 
Constructor Summary
RelateData()
          Constructs a RelateData using ArcGIS Engine.
RelateData(java.lang.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(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a RelateData.
 void setApplicationByRef(java.lang.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(java.lang.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
 

Constructor Detail

RelateData

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

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RelateData

public RelateData(java.lang.Object obj)
           throws java.io.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:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RelateData.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setRelateOriginByRef

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

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

doModal

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setApplicationByRef

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

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

setLayerByRef

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

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

setStandaloneTableByRef

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

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