| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.NetworkDatasetFDExtension
public class NetworkDatasetFDExtension
A container for describing this network dataset's feature dataset extension properties.
The NetworkDatasetFDExtension object contains members that facilitate the creation and browsing of network datasets inside of a geodatabase feature dataset. The IDatasetContainer2 interface contains the CreateDataset method which should be used to create network datasets with a populated data element.
| Constructor Summary | |
|---|---|
NetworkDatasetFDExtension(Object obj)
Construct a NetworkDatasetFDExtension 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.  | 
 boolean | 
isBeingEdited()
True if the dataset is being edited.  | 
| 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 NetworkDatasetFDExtension(Object obj)
                          throws IOException
obj to NetworkDatasetFDExtension.   * 
NetworkDatasetFDExtension o = (NetworkDatasetFDExtension)obj; // will not work 
 
NetworkDatasetFDExtension o = new NetworkDatasetFDExtension(obj); // Use this constructor instead  
    * @param     obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
  NetworkDatasetFDExtension theNetworkDatasetFDExtension = (NetworkDatasetFDExtension) obj;| Method Detail | 
|---|
public boolean equals(Object o)
equals in class Objectpublic 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 IFeatureDatasetExtensionIOException - 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 IFeatureDatasetExtensiondataset - 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 IDataset getDatasetByID(int type,
                               int datasetID)
                        throws IOException,
                               AutomationException
getDatasetByID in interface IDatasetContainer3type - 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.
public IDataset getDataset(int type,
                           int index)
                    throws IOException,
                           AutomationException
getDataset in interface IDatasetContainer2type - 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 IDatasetContainer2type - 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 IDatasetContainer2type - 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 IDatasetContainer2type - 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 IDatasetContainer2type - 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 IDatasetContainer2IOException - 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 IDatasetContainer2dataElement - 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 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 IDatasetContainerdatasetToAdd - 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 boolean isBeingEdited()
                      throws IOException,
                             AutomationException
Once an edit session has been started on a workspace, the IsBeingEdited method on the IDatasetEdit interface can be used to determine if a particular dataset is participating in the edit session.
The reasons why a dataset may not participate include the connected user has no privileges or permission to edit the dataset, the connected user is not licensed to edit this type of dataset, or the dataset is not versioned but a versioned edit session has been started (or vice versa).
isBeingEdited in interface IDatasetEditIOException - 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 | ||||||||