com.esri.arcgis.geodatabase
Interface IDatasetContainer2

All Superinterfaces:
IDatasetContainer, java.io.Serializable
All Known Subinterfaces:
IDatasetContainer3
All Known Implementing Classes:
CadastralFabricFDExtension, CadastralWorkspaceDatasetExtension, IDatasetContainer2Proxy, IDatasetContainer3Proxy, MosaicWorkspaceExtension, NetworkDatasetFDExtension, NetworkDatasetWorkspaceExtension, RepresentationWorkspaceExtension, TerrainFeatureDatasetExtension

public interface IDatasetContainer2
extends IDatasetContainer, java.io.Serializable

COM Interface 'IDatasetContainer2'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that return datasets by name, ID and index.' 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 IIDc826e861_dbfa_4b86_95fe_8352e287e284
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetContainer
IIDbd770969_efb7_11d3_9fa2_00c04f6bdf0c
 
Method Summary
 IDataset createDataset(IDEDataset dataElement)
          Given a data element, create a dataset in this container.
 IDataset getDataset(int type, int index)
          The dataset associated with the specified index value and dataset type.
 IDataset getDatasetByName(int type, java.lang.String name)
          The dataset of the specified type with the specified name.
 int getDatasetCount(int type)
          The number of datasets of the specified type in this container.
 IEnumDatasetName getDatasetNames(int type)
          The names of all the datasets with the specified type.
 IEnumDataset getDatasets(int type)
          An enumerator over the datasets of the specified type.
 IEnumDatasetType getDatasetTypes()
          The names of all the datasets with the specified type.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IDatasetContainer
addDataset
 

Field Detail

IIDc826e861_dbfa_4b86_95fe_8352e287e284

static final int IIDc826e861_dbfa_4b86_95fe_8352e287e284
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

getDataset

IDataset getDataset(int type,
                    int index)
                    throws java.io.IOException,
                           AutomationException
The dataset associated with the specified index value and dataset type.

Parameters:
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasets

IEnumDataset getDatasets(int type)
                         throws java.io.IOException,
                                AutomationException
An enumerator over the datasets of the specified type.

Parameters:
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetCount

int getDatasetCount(int type)
                    throws java.io.IOException,
                           AutomationException
The number of datasets of the specified type in this container.

Parameters:
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetByName

IDataset getDatasetByName(int type,
                          java.lang.String name)
                          throws java.io.IOException,
                                 AutomationException
The dataset of the specified type with the specified name.

Parameters:
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetNames

IEnumDatasetName getDatasetNames(int type)
                                 throws java.io.IOException,
                                        AutomationException
The names of all the datasets with the specified type.

Parameters:
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDatasetName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetTypes

IEnumDatasetType getDatasetTypes()
                                 throws java.io.IOException,
                                        AutomationException
The names of all the datasets with the specified type.

Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDatasetType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createDataset

IDataset createDataset(IDEDataset dataElement)
                       throws java.io.IOException,
                              AutomationException
Given a data element, create a dataset in this container.

Parameters:
dataElement - A reference to a com.esri.arcgis.geodatabase.IDEDataset (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.