com.esri.arcgis.networkanalyst
Interface INamedSet

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
INamedSetProxy, NamedSet

public interface INamedSet
extends java.io.Serializable

COM Interface 'INamedSet'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to a collection of named 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID6dc54e56_b752_403c_84b6_0ef522dfcf2e
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void add(java.lang.String name, java.lang.Object element)
          Add a new named item to the collection.
 int getCount()
          The number of items in the collection.
 java.lang.Object getItem(int index)
          The item at a given index.
 java.lang.Object getItemByName(java.lang.String name)
          The item corresponding to a given name.
 java.lang.String getName(int index)
          The name of the item at a given index.
 void remove(java.lang.Object element)
          Remove an item from the collection by reference.
 void removeAll()
          Empty the collection and remove all items.
 

Field Detail

IID6dc54e56_b752_403c_84b6_0ef522dfcf2e

static final int IID6dc54e56_b752_403c_84b6_0ef522dfcf2e
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The number of items in the collection.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

java.lang.String getName(int index)
                         throws java.io.IOException,
                                AutomationException
The name of the item at a given index.

Parameters:
index - The index (in)
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItem

java.lang.Object getItem(int index)
                         throws java.io.IOException,
                                AutomationException
The item at a given index.

Parameters:
index - The index (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemByName

java.lang.Object getItemByName(java.lang.String name)
                               throws java.io.IOException,
                                      AutomationException
The item corresponding to a given name.

Parameters:
name - The name (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(java.lang.String name,
         java.lang.Object element)
         throws java.io.IOException,
                AutomationException
Add a new named item to the collection.

Parameters:
name - The name (in)
element - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(java.lang.Object element)
            throws java.io.IOException,
                   AutomationException
Remove an item from the collection by reference.

Parameters:
element - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws java.io.IOException,
                      AutomationException
Empty the collection and remove all items.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.