com.esri.arcgis.carto
Class LayerTablesAndDataMappings

java.lang.Object
  extended by com.esri.arcgis.carto.LayerTablesAndDataMappings
All Implemented Interfaces:
ILayerTablesAndDataMappings, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class LayerTablesAndDataMappings
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ILayerTablesAndDataMappings, ISupportErrorInfo

A class used to keep layers/ tables and data mappings together.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
LayerTablesAndDataMappings()
          Constructs a LayerTablesAndDataMappings using ArcGIS Engine.
LayerTablesAndDataMappings(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LayerTablesAndDataMappings theLayerTablesAndDataMappings = (LayerTablesAndDataMappings) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IGFLayerTableDataMappings getGFLayerTableDataMappings()
          getGFLayerTableDataMappings
 IEnumLayer getLayers()
          getLayers
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 
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

LayerTablesAndDataMappings

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

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

LayerTablesAndDataMappings

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

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

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

getGFLayerTableDataMappings

public IGFLayerTableDataMappings getGFLayerTableDataMappings()
                                                      throws IOException,
                                                             AutomationException
getGFLayerTableDataMappings

Product Availability

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

Specified by:
getGFLayerTableDataMappings in interface ILayerTablesAndDataMappings
Returns:
A reference to a com.esri.arcgis.carto.IGFLayerTableDataMappings
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayers

public IEnumLayer getLayers()
                     throws IOException,
                            AutomationException
getLayers

Product Availability

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

Specified by:
getLayers in interface ILayerTablesAndDataMappings
Returns:
A reference to a com.esri.arcgis.carto.IEnumLayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.