com.esri.arcgis.geodatabase
Class TableNameSet

java.lang.Object
  extended by com.esri.arcgis.geodatabase.TableNameSet
All Implemented Interfaces:
ITableNameSet, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TableNameSet
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITableNameSet

COM Class 'TableNameSet'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'A set of table names.' 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.geodatabase.ITableNameSet
IID, IID612806d1_9887_4bf7_b555_03b84aa8c8e5, xxDummy
 
Constructor Summary
TableNameSet(java.lang.Object obj)
          Construct a TableNameSet using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void add(java.lang.String name, IDatasetName tableName)
          Add table to set.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IDatasetName find(java.lang.String name)
          Find table in set.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 boolean isExists(java.lang.String name)
          Does the set contain this table.
 void release()
          Release a TableNameSet.
 void remove(java.lang.String name)
          Remove table from set.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableNameSet

public TableNameSet(java.lang.Object obj)
             throws java.io.IOException
Construct a TableNameSet using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TableNameSet.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
TableNameSet o = (TableNameSet)obj; // will not work

TableNameSet o = new TableNameSet(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems TableNameSet theTableNameSet = (TableNameSet) obj;
Method Detail

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 TableNameSet.

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

add

public void add(java.lang.String name,
                IDatasetName tableName)
         throws java.io.IOException,
                AutomationException
Add table to set.

Specified by:
add in interface ITableNameSet
Parameters:
name - The name (in)
tableName - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(java.lang.String name)
            throws java.io.IOException,
                   AutomationException
Remove table from set.

Specified by:
remove in interface ITableNameSet
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public IDatasetName find(java.lang.String name)
                  throws java.io.IOException,
                         AutomationException
Find table in set.

Specified by:
find in interface ITableNameSet
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDatasetName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isExists

public boolean isExists(java.lang.String name)
                 throws java.io.IOException,
                        AutomationException
Does the set contain this table.

Specified by:
isExists in interface ITableNameSet
Parameters:
name - The name (in)
Returns:
The exists
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.