com.esri.arcgis.geodatabase
Class IIndexEditProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.geodatabase.IIndexProxy
          extended bycom.esri.arcgis.geodatabase.IIndexEditProxy
All Implemented Interfaces:
java.io.Externalizable, IIndex, IIndexEdit, java.io.Serializable

public class IIndexEditProxy
extends IIndexProxy
implements IIndexEdit, java.io.Serializable

Provides access to members that modify the index.

Product Availability

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

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IIndexEditProxy()
          For internal use only
  IIndexEditProxy(java.lang.Object obj)
           
protected IIndexEditProxy(java.lang.Object obj, java.lang.String iid)
           
  IIndexEditProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IIndexEditProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void setFieldsByRef(IFields rhs1)
          The fields collection for this index.
 void setIsAscending(boolean rhs1)
          Indicates if the index is to be ascending.
 void setIsUnique(boolean rhs1)
          Indicates if the index is to be unique.
 void setName(java.lang.String rhs1)
          The name of the index.
 
Methods inherited from class com.esri.arcgis.geodatabase.IIndexProxy
getFields, getName, isAscending, isUnique
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geodatabase.IIndex
getFields, getName, isAscending, isUnique
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IIndexEditProxy

public IIndexEditProxy(java.lang.String CLSID,
                       java.lang.String host,
                       AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException

IIndexEditProxy

public IIndexEditProxy()
For internal use only


IIndexEditProxy

public IIndexEditProxy(java.lang.Object obj)
                throws java.io.IOException

IIndexEditProxy

protected IIndexEditProxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException

IIndexEditProxy

protected IIndexEditProxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          AuthInfo authInfo)
                   throws java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class IIndexProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class IIndexProxy
Throws:
java.io.IOException

setName

public void setName(java.lang.String rhs1)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IIndexEdit
The name of the index.

Supported Platforms

Windows, Solaris, Linux

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

setIsUnique

public void setIsUnique(boolean rhs1)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IIndexEdit
Indicates if the index is to be unique.

Supported Platforms

Windows, Solaris, Linux

Remarks

Only non-versioned feature classes and tables can have unique indexes.

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

setIsAscending

public void setIsAscending(boolean rhs1)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IIndexEdit
Indicates if the index is to be ascending.

Supported Platforms

Windows, Solaris, Linux

Remarks

Whether you can add an index that is ascending is dependent on the DBMS.

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

setFieldsByRef

public void setFieldsByRef(IFields rhs1)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IIndexEdit
The fields collection for this index.

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