com.esri.arcgis.datasourcesfile
Class ArcInfoItems

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.ArcInfoItems
All Implemented Interfaces:
IArcInfoItems, IArcInfoItemsEdit, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class ArcInfoItems
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcInfoItems, IArcInfoItemsEdit, ISupportErrorInfo

COM Class 'ArcInfoItems'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'

Description 'Collection used for creating ArcInfo Items.' 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.datasourcesfile.IArcInfoItemsEdit
IID, IIDb5e470d5_ceab_11d2_b0dc_0000f8780820, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesfile.IArcInfoItems
IIDb5e470d4_ceab_11d2_b0dc_0000f8780820
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
ArcInfoItems()
          Constructs a ArcInfoItems using ArcGIS Engine.
ArcInfoItems(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcInfoItems theArcInfoItems = (ArcInfoItems) obj;
 
Method Summary
 void addItem(IArcInfoItem item)
          Adds an Item to the Items Collection.
 void deleteAllItems()
          Deletes all the Items from the Items Collection.
 void deleteItem(IArcInfoItem item)
          Deletes an Item from the Items Collection.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void findItem(java.lang.String name, int[] index)
          Finds the index of the specified Item in the Items Collection.
static java.lang.String getClsid()
          getClsid.
 IArcInfoItem getItem(int index)
          Item at the specified index in the Items Collection.
 int getItemCount()
          Number of Items in the Items Collection.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a ArcInfoItems.
 void setItem(int index, IArcInfoItem rhs2)
          Item at the specified position.
 void setItemCount(int rhs1)
          Number of Items in this Item Collection.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArcInfoItems

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

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

ArcInfoItems

public ArcInfoItems(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcInfoItems theArcInfoItems = (ArcInfoItems) obj;

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

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

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

getItemCount

public int getItemCount()
                 throws java.io.IOException,
                        AutomationException
Number of Items in the Items Collection.

Specified by:
getItemCount in interface IArcInfoItems
Returns:
The numItems
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItem

public IArcInfoItem getItem(int index)
                     throws java.io.IOException,
                            AutomationException
Item at the specified index in the Items Collection.

Specified by:
getItem in interface IArcInfoItems
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findItem

public void findItem(java.lang.String name,
                     int[] index)
              throws java.io.IOException,
                     AutomationException
Finds the index of the specified Item in the Items Collection.

Specified by:
findItem in interface IArcInfoItems
Parameters:
name - The name (in)
index - The index (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setItemCount

public void setItemCount(int rhs1)
                  throws java.io.IOException,
                         AutomationException
Number of Items in this Item Collection.

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

setItem

public void setItem(int index,
                    IArcInfoItem rhs2)
             throws java.io.IOException,
                    AutomationException
Item at the specified position.

Specified by:
setItem in interface IArcInfoItemsEdit
Parameters:
index - The index (in)
rhs2 - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addItem

public void addItem(IArcInfoItem item)
             throws java.io.IOException,
                    AutomationException
Adds an Item to the Items Collection.

Specified by:
addItem in interface IArcInfoItemsEdit
Parameters:
item - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteItem

public void deleteItem(IArcInfoItem item)
                throws java.io.IOException,
                       AutomationException
Deletes an Item from the Items Collection.

Specified by:
deleteItem in interface IArcInfoItemsEdit
Parameters:
item - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteAllItems

public void deleteAllItems()
                    throws java.io.IOException,
                           AutomationException
Deletes all the Items from the Items Collection.

Specified by:
deleteAllItems in interface IArcInfoItemsEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

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