|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IDatasetContainerProxy com.esri.arcgis.geodatabase.IDatasetContainer2Proxy
public class IDatasetContainer2Proxy
Provides access to members that return datasets by name, ID and index.
The IDatasetContainer2 interface provides access to properties that return datasets by name, ID and index. It also provides the mechanism for creating datasets through the user of the data element. Use the DatasetTypes method to determine the supported datasets for the container.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IDatasetContainer2Proxy()
|
|
IDatasetContainer2Proxy(Object obj)
|
protected |
IDatasetContainer2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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,
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. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.geodatabase.IDatasetContainerProxy |
---|
addDataset |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, 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.IDatasetContainer |
---|
addDataset |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IDatasetContainer2Proxy()
public IDatasetContainer2Proxy(Object obj) throws IOException
IOException
protected IDatasetContainer2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IDatasetContainerProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IDatasetContainerProxy
IOException
public IDataset getDataset(int type, int index) throws IOException, AutomationException
getDataset
in interface IDatasetContainer2
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumDataset getDatasets(int type) throws IOException, AutomationException
getDatasets
in interface IDatasetContainer2
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDatasetCount(int type) throws IOException, AutomationException
getDatasetCount
in interface IDatasetContainer2
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataset getDatasetByName(int type, String name) throws IOException, AutomationException
getDatasetByName
in interface IDatasetContainer2
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumDatasetName getDatasetNames(int type) throws IOException, AutomationException
getDatasetNames
in interface IDatasetContainer2
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumDatasetType getDatasetTypes() throws IOException, AutomationException
The DatasetTypes property returns an enumerator of IEnumDatasetType containing the supported esriDatasetTypes for the container. Use this method to determine the supported datasets for the container.
getDatasetTypes
in interface IDatasetContainer2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataset createDataset(IDEDataset dataElement) throws IOException, AutomationException
The CreateDataset method will create a dataset given a populated data element. Use the DatasetTypes property to determine the supported dataset types.
createDataset
in interface IDatasetContainer2
dataElement
- A reference to a com.esri.arcgis.geodatabase.IDEDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |