|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabaseextensions.TerrainFeatureDatasetExtension
public class TerrainFeatureDatasetExtension
ESRI TerrainFeatureDatasetExtension object.
Constructor Summary | |
---|---|
TerrainFeatureDatasetExtension(Object obj)
Construct a TerrainFeatureDatasetExtension using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
addDataset(IDataset datasetToAdd)
Adds a dataset to the dataset collection. |
IDataset |
createDataset(IDEDataset dataElement)
Given a data element, create a dataset in this container. |
boolean |
equals(Object o)
Compare this object with another |
IDataset |
getDataset(int type,
int index)
The dataset associated with the specified index value and dataset type. |
IDataset |
getDatasetByID(int type,
int datasetID)
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. |
IFeatureDataset |
getFeatureDataset()
Provides access to the feature dataset containing the extension. |
int |
hashCode()
the hashcode for this object |
void |
init(IFeatureDataset dataset)
Initialize the feature dataset extension. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public TerrainFeatureDatasetExtension(Object obj) throws IOException
obj
to TerrainFeatureDatasetExtension
. *
TerrainFeatureDatasetExtension o = (TerrainFeatureDatasetExtension)obj; // will not work
TerrainFeatureDatasetExtension o = new TerrainFeatureDatasetExtension(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
TerrainFeatureDatasetExtension theTerrainFeatureDatasetExtension = (TerrainFeatureDatasetExtension) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IFeatureDataset getFeatureDataset() throws IOException, AutomationException
The FeatureDataset method returns a reference to the feature dataset associated with the FeatureDatasetExtension.
getFeatureDataset
in interface IFeatureDatasetExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void init(IFeatureDataset dataset) throws IOException, AutomationException
The Init method is for internal use only.
init
in interface IFeatureDatasetExtension
dataset
- A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDataset(IDataset datasetToAdd) throws IOException, AutomationException
When calling this method on feature datasets, both the XY and Z spatial reference systems of the dataset (if applicable) must match those of the feature dataset.
addDataset
in interface IDatasetContainer
datasetToAdd
- A reference to a com.esri.arcgis.geodatabase.IDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.public IDataset getDatasetByID(int type, int datasetID) throws IOException, AutomationException
getDatasetByID
in interface IDatasetContainer3
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)datasetID
- The datasetID (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 |