com.esri.arcgis.geodatabase
Class FeatureDataset

java.lang.Object
  extended by com.esri.arcgis.geodatabase.FeatureDataset
All Implemented Interfaces:
IDataset, IDatasetAnalyze, IDatasetContainer, IDatasetEdit, IDatasetEditInfo, IFeatureClassContainer, IFeatureDataset, IFeatureDatasetExtensionContainer, IGeoDataset, IGeoDatasetSchemaEdit, INetworkCollection, INetworkCollection2, IRelationshipClassContainer, ISchemaLock, ITopologyContainer, ITopologyContainer2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class FeatureDataset
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataset, IDatasetEdit, IDatasetEditInfo, IDatasetAnalyze, ISchemaLock, IGeoDataset, IGeoDatasetSchemaEdit, IFeatureDataset, INetworkCollection, INetworkCollection2, IFeatureClassContainer, IRelationshipClassContainer, IDatasetContainer, ITopologyContainer2, IFeatureDatasetExtensionContainer

COM Class 'FeatureDataset'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'Esri Feature Dataset object.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetEdit
IID, IID448c5d21_9746_11d1_89e2_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetEditInfo
IID, IID234c31c1_9740_11d1_89e2_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetAnalyze
IID, IID60262917_d53f_4e0b_86ff_a916c3fb26bc, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISchemaLock
IID, IIDdca648e5_0fbb_11d3_80a5_00c04f686238, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IGeoDatasetSchemaEdit
IID, IID6b267c02_28cc_11d3_9f67_00c04f6bdf0c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureDataset
IID, IIDd4803ee3_79f4_11d0_97fc_0080c7f79481, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDataset
IID2d04c042_7766_11d0_b77d_00805f7ced21
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkCollection2
IID, IIDa2b19ed3_0fe6_11d4_a0e5_00c04f6bdf0e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkCollection
IIDa933f752_5ed3_11d2_aa8a_00c04fa37b82
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureClassContainer
IID, IID3b439634_cfc3_11d1_aead_0000f80372b4, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRelationshipClassContainer
IID, IIDc6c98e41_ee39_11d2_8a5a_000000000000, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetContainer
IID, IIDbd770969_efb7_11d3_9fa2_00c04f6bdf0c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyContainer2
IID, IIDf6146622_e8f8_496e_9d50_800594ff3378, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyContainer
IIDc2a33a05_adab_4fc9_938c_cb0e14476686
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureDatasetExtensionContainer
IID, IID23869b3a_1ad9_468b_9e52_6fdc3c261fda, xxDummy
 
Constructor Summary
FeatureDataset(java.lang.Object obj)
          Construct a FeatureDataset 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.
 void addRelationshipClass(IRelationshipClass relationshipClass)
          Transfers ownership of a relationship class to this container.
 void alterSpatialReference(ISpatialReference spatialReference)
          Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.
 void analyze(int tableComponents)
          Analyze the data to update/generate DBMS statistics.
 boolean canCopy()
          True if this dataset can be copied.
 boolean canDelete()
          True if this dataset can be deleted.
 boolean canRename()
          True if this dataset can be renamed.
 void changeSchemaLock(int schemaLock)
          Changes a schema lock.
 IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace)
          Copies this dataset to a new dataset with the specified name.
 IFeatureClass createFeatureClass(java.lang.String name, IFields fields, IUID cLSID, IUID eXTCLSID, int featureType, java.lang.String shapeFieldName, java.lang.String configKeyword)
          Creates a new FeatureClass in this FeatureDataset.
 IGeometricNetwork createGeometricNetwork(java.lang.String name, int networkType, boolean buildNormalizedTables)
          Creates a new GeometricNetwork in this FeatureDataset.
 IGeometricNetwork createGeometricNetworkEx(java.lang.String name, int networkType, boolean buildNormalizedTables, java.lang.String configKeyword, int formatNum)
          Creates a new GeometricNetwork with a configuration keyword in this FeatureDataset.
 IRelationshipClass createRelationshipClass(java.lang.String relClassName, IObjectClass originClass, IObjectClass destinationClass, java.lang.String forwardLabel, java.lang.String backwardLabel, int cardinality, int notification, boolean isComposite, boolean isAttributed, IFields relAttrFields, java.lang.String originPrimaryKey, java.lang.String destPrimaryKey, java.lang.String originForeignKey, java.lang.String destForeignKey)
          Creates a new relationship class in this container.
 ITopology createTopology(java.lang.String name, double clusterTolerance, int maxGeneratedErrorCount, java.lang.String configurationKeyword)
          Creates a new topology.
 ITopology createTopologyEx(java.lang.String name, double clusterTolerance, double zClusterTolerance, int maxGeneratedErrorCount, java.lang.String configurationKeyword)
          Creates a new topology.
 void delete()
          Deletes this dataset.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IFeatureClass esri_getClass(int classIndex)
          The FeatureClass associated with the specified index value.
 IFeatureDatasetExtension findExtension(int type)
          Provides access to the feature dataset extension that supports the specified dataset type.
 int getAllowableComponents()
          The allowable components to be analyzed.
 java.lang.String getBrowseName()
          The browse name of the dataset.
 java.lang.String getCategory()
          The category of the dataset.
 IFeatureClass getClassByID(int iD)
          The FeatureClass with the specified ID.
 IFeatureClass getClassByName(java.lang.String name)
          The FeatureClass with the specified name.
 int getClassCount()
          The number of FeatureClasses in this container.
 IEnumFeatureClass getClasses()
          An enumerator over the FeatureClasses.
 void getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
          The list of current locks.
 double getDefaultClusterTolerance()
          The default cluster tolerance as per the topology engine.
 double getDefaultZClusterTolerance()
          The default z cluster tolerance as per the topology engine.
 IFeatureDatasetExtension getExtension(int index)
          Provides access to a feature dataset extension.
 int getExtensionCount()
          The number of feature dataset extensions.
 IEnvelope getExtent()
          The extent of the GeoDataset.
 int getFormatNumber(int index)
          The specified format number.
 int getFormatNumberCount()
          The count of valid format numbers.
 IName getFullName()
          The associated name object.
 IGeometricNetwork getGeometricNetwork(int index)
          The GeometricNetwork associated with the specified index value.
 IGeometricNetwork getGeometricNetworkByName(java.lang.String name)
          The GeometricNetwork with the specified Name.
 int getGeometricNetworkCount()
          The number of GeometricNetworks in this FeatureDataset.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 double getMaximumClusterTolerance()
          The maximal cluster tolerance as per the topology engine.
 double getMaximumZClusterTolerance()
          The maximal z cluster tolerance as per the topology engine.
 int getMaxStorableClassID(int formatNum)
          Returns the maximum storable feature class ID for the given format number.
 double getMinimumClusterTolerance()
          The minimal cluster tolerance as per the topology engine.
 double getMinimumZClusterTolerance()
          The minimal z cluster tolerance as per the topology engine.
 java.lang.String getName()
          The name of the Dataset.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 IEnumRelationshipClass getRelationshipClasses()
          An enumerator over the RelationshipClasses in this container.
 ISpatialReference getSpatialReference()
          The spatial reference of the GeoDataset.
 IEnumDataset getSubsets()
          Datasets contained within this dataset.
 ITopology getTopology(int index)
          The topology at the specified index.
 ITopology getTopologyByID(int iD)
          The topology with the specified ID.
 ITopology getTopologyByName(java.lang.String name)
          The topology with the specified name.
 int getTopologyCount()
          The number of topologies in the container.
 int getType()
          The type of the Dataset.
 IWorkspace getWorkspace()
          The workspace containing this dataset.
 int hashCode()
          the hashcode for this object
 boolean isBeingEdited()
          True if the dataset is being edited.
 boolean isCanAlterSpatialReference()
          Indicates if the spatial reference of the dataset can be altered.
 boolean isCanEdit()
          True if the dataset supports edit sessions with the ability to discard edits on save.
 boolean isCanRedo()
          True if the dataset supports edit sessions with the ability to redo undone operations.
 boolean isCanUndo()
          True if the dataset supports edit sessions with the ability to undo individual edit operations.
 void release()
          Release a FeatureDataset.
 void rename(java.lang.String name)
          Renames this Dataset.
 void setBrowseName(java.lang.String name)
          The browse name of the dataset.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureDataset

public FeatureDataset(java.lang.Object obj)
               throws java.io.IOException
Construct a FeatureDataset using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to FeatureDataset.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
FeatureDataset o = (FeatureDataset)obj; // will not work

FeatureDataset o = new FeatureDataset(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems FeatureDataset theFeatureDataset = (FeatureDataset) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a FeatureDataset.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the Dataset.

Specified by:
getName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
The associated name object.

Specified by:
getFullName in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBrowseName

public java.lang.String getBrowseName()
                               throws java.io.IOException,
                                      AutomationException
The browse name of the dataset.

Specified by:
getBrowseName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBrowseName

public void setBrowseName(java.lang.String name)
                   throws java.io.IOException,
                          AutomationException
The browse name of the dataset.

Specified by:
setBrowseName in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
The type of the Dataset.

Specified by:
getType in interface IDataset
Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
The category of the dataset.

Specified by:
getCategory in interface IDataset
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubsets

public IEnumDataset getSubsets()
                        throws java.io.IOException,
                               AutomationException
Datasets contained within this dataset.

Specified by:
getSubsets in interface IDataset
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.

getWorkspace

public IWorkspace getWorkspace()
                        throws java.io.IOException,
                               AutomationException
The workspace containing this dataset.

Specified by:
getWorkspace in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertySet

public IPropertySet getPropertySet()
                            throws java.io.IOException,
                                   AutomationException
The set of properties for the dataset.

Specified by:
getPropertySet in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canCopy

public boolean canCopy()
                throws java.io.IOException,
                       AutomationException
True if this dataset can be copied.

Specified by:
canCopy in interface IDataset
Returns:
The canCopy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copy

public IDataset copy(java.lang.String copyName,
                     IWorkspace copyWorkspace)
              throws java.io.IOException,
                     AutomationException
Copies this dataset to a new dataset with the specified name.

Specified by:
copy in interface IDataset
Parameters:
copyName - The copyName (in)
copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (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.

canDelete

public boolean canDelete()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be deleted.

Specified by:
canDelete in interface IDataset
Returns:
The canDelete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Deletes this dataset.

Specified by:
delete in interface IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canRename

public boolean canRename()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be renamed.

Specified by:
canRename in interface IDataset
Returns:
The canRename
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rename

public void rename(java.lang.String name)
            throws java.io.IOException,
                   AutomationException
Renames this Dataset.

Specified by:
rename in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBeingEdited

public boolean isBeingEdited()
                      throws java.io.IOException,
                             AutomationException
True if the dataset is being edited.

Specified by:
isBeingEdited in interface IDatasetEdit
Returns:
The isBeingEdited
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanEdit

public boolean isCanEdit()
                  throws java.io.IOException,
                         AutomationException
True if the dataset supports edit sessions with the ability to discard edits on save.

Specified by:
isCanEdit in interface IDatasetEditInfo
Returns:
The canEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanUndo

public boolean isCanUndo()
                  throws java.io.IOException,
                         AutomationException
True if the dataset supports edit sessions with the ability to undo individual edit operations.

Specified by:
isCanUndo in interface IDatasetEditInfo
Returns:
The canUndo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanRedo

public boolean isCanRedo()
                  throws java.io.IOException,
                         AutomationException
True if the dataset supports edit sessions with the ability to redo undone operations.

Specified by:
isCanRedo in interface IDatasetEditInfo
Returns:
The canUndo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

analyze

public void analyze(int tableComponents)
             throws java.io.IOException,
                    AutomationException
Analyze the data to update/generate DBMS statistics.

Specified by:
analyze in interface IDatasetAnalyze
Parameters:
tableComponents - The tableComponents (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllowableComponents

public int getAllowableComponents()
                           throws java.io.IOException,
                                  AutomationException
The allowable components to be analyzed.

Specified by:
getAllowableComponents in interface IDatasetAnalyze
Returns:
The allowableComponents
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

changeSchemaLock

public void changeSchemaLock(int schemaLock)
                      throws java.io.IOException,
                             AutomationException
Changes a schema lock.

Specified by:
changeSchemaLock in interface ISchemaLock
Parameters:
schemaLock - A com.esri.arcgis.geodatabase.esriSchemaLock constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentSchemaLocks

public void getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
                           throws java.io.IOException,
                                  AutomationException
The list of current locks.

Specified by:
getCurrentSchemaLocks in interface ISchemaLock
Parameters:
schemaLockInfo - A reference to a com.esri.arcgis.geodatabase.IEnumSchemaLockInfo (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
The spatial reference of the GeoDataset.

Remarks

This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.

Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.

Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSpatialReference in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The extent of the GeoDataset.

Remarks

The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.

Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.

The red box represents the IGeoDataset extent

If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.

The red box represents the IGeoDataset extent after some of the features have been deleted

If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.

The red box represents the IGeoDataset extent after it has been updated

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExtent in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanAlterSpatialReference

public boolean isCanAlterSpatialReference()
                                   throws java.io.IOException,
                                          AutomationException
Indicates if the spatial reference of the dataset can be altered.

Specified by:
isCanAlterSpatialReference in interface IGeoDatasetSchemaEdit
Returns:
The canAlter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterSpatialReference

public void alterSpatialReference(ISpatialReference spatialReference)
                           throws java.io.IOException,
                                  AutomationException
Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.

Specified by:
alterSpatialReference in interface IGeoDatasetSchemaEdit
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFeatureClass

public IFeatureClass createFeatureClass(java.lang.String name,
                                        IFields fields,
                                        IUID cLSID,
                                        IUID eXTCLSID,
                                        int featureType,
                                        java.lang.String shapeFieldName,
                                        java.lang.String configKeyword)
                                 throws java.io.IOException,
                                        AutomationException
Creates a new FeatureClass in this FeatureDataset.

Specified by:
createFeatureClass in interface IFeatureDataset
Parameters:
name - The name (in)
fields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
cLSID - A reference to a com.esri.arcgis.system.IUID (in)
eXTCLSID - A reference to a com.esri.arcgis.system.IUID (in)
featureType - A com.esri.arcgis.geodatabase.esriFeatureType constant (in)
shapeFieldName - The shapeFieldName (in)
configKeyword - The configKeyword (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometricNetworkCount

public int getGeometricNetworkCount()
                             throws java.io.IOException,
                                    AutomationException
The number of GeometricNetworks in this FeatureDataset.

Specified by:
getGeometricNetworkCount in interface INetworkCollection
Returns:
The numNetworks
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometricNetwork

public IGeometricNetwork getGeometricNetwork(int index)
                                      throws java.io.IOException,
                                             AutomationException
The GeometricNetwork associated with the specified index value.

Specified by:
getGeometricNetwork in interface INetworkCollection
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeometricNetwork
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometricNetworkByName

public IGeometricNetwork getGeometricNetworkByName(java.lang.String name)
                                            throws java.io.IOException,
                                                   AutomationException
The GeometricNetwork with the specified Name.

Specified by:
getGeometricNetworkByName in interface INetworkCollection
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeometricNetwork
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometricNetwork

public IGeometricNetwork createGeometricNetwork(java.lang.String name,
                                                int networkType,
                                                boolean buildNormalizedTables)
                                         throws java.io.IOException,
                                                AutomationException
Creates a new GeometricNetwork in this FeatureDataset.

Specified by:
createGeometricNetwork in interface INetworkCollection
Parameters:
name - The name (in)
networkType - A com.esri.arcgis.geodatabase.esriNetworkType constant (in)
buildNormalizedTables - The buildNormalizedTables (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeometricNetwork
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFormatNumberCount

public int getFormatNumberCount()
                         throws java.io.IOException,
                                AutomationException
The count of valid format numbers.

Specified by:
getFormatNumberCount in interface INetworkCollection2
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFormatNumber

public int getFormatNumber(int index)
                    throws java.io.IOException,
                           AutomationException
The specified format number.

Specified by:
getFormatNumber in interface INetworkCollection2
Parameters:
index - The index (in)
Returns:
The formatNum
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxStorableClassID

public int getMaxStorableClassID(int formatNum)
                          throws java.io.IOException,
                                 AutomationException
Returns the maximum storable feature class ID for the given format number.

Specified by:
getMaxStorableClassID in interface INetworkCollection2
Parameters:
formatNum - The formatNum (in)
Returns:
The maxClassID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeometricNetworkEx

public IGeometricNetwork createGeometricNetworkEx(java.lang.String name,
                                                  int networkType,
                                                  boolean buildNormalizedTables,
                                                  java.lang.String configKeyword,
                                                  int formatNum)
                                           throws java.io.IOException,
                                                  AutomationException
Creates a new GeometricNetwork with a configuration keyword in this FeatureDataset.

Specified by:
createGeometricNetworkEx in interface INetworkCollection2
Parameters:
name - The name (in)
networkType - A com.esri.arcgis.geodatabase.esriNetworkType constant (in)
buildNormalizedTables - The buildNormalizedTables (in)
configKeyword - The configKeyword (in)
formatNum - The formatNum (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeometricNetwork
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_getClass

public IFeatureClass esri_getClass(int classIndex)
                            throws java.io.IOException,
                                   AutomationException
The FeatureClass associated with the specified index value.

Specified by:
esri_getClass in interface IFeatureClassContainer
Parameters:
classIndex - The classIndex (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassByID

public IFeatureClass getClassByID(int iD)
                           throws java.io.IOException,
                                  AutomationException
The FeatureClass with the specified ID.

Specified by:
getClassByID in interface IFeatureClassContainer
Parameters:
iD - The iD (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassByName

public IFeatureClass getClassByName(java.lang.String name)
                             throws java.io.IOException,
                                    AutomationException
The FeatureClass with the specified name.

Specified by:
getClassByName in interface IFeatureClassContainer
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassCount

public int getClassCount()
                  throws java.io.IOException,
                         AutomationException
The number of FeatureClasses in this container.

Specified by:
getClassCount in interface IFeatureClassContainer
Returns:
The numClasses
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClasses

public IEnumFeatureClass getClasses()
                             throws java.io.IOException,
                                    AutomationException
An enumerator over the FeatureClasses.

Specified by:
getClasses in interface IFeatureClassContainer
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipClasses

public IEnumRelationshipClass getRelationshipClasses()
                                              throws java.io.IOException,
                                                     AutomationException
An enumerator over the RelationshipClasses in this container.

Specified by:
getRelationshipClasses in interface IRelationshipClassContainer
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumRelationshipClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createRelationshipClass

public IRelationshipClass createRelationshipClass(java.lang.String relClassName,
                                                  IObjectClass originClass,
                                                  IObjectClass destinationClass,
                                                  java.lang.String forwardLabel,
                                                  java.lang.String backwardLabel,
                                                  int cardinality,
                                                  int notification,
                                                  boolean isComposite,
                                                  boolean isAttributed,
                                                  IFields relAttrFields,
                                                  java.lang.String originPrimaryKey,
                                                  java.lang.String destPrimaryKey,
                                                  java.lang.String originForeignKey,
                                                  java.lang.String destForeignKey)
                                           throws java.io.IOException,
                                                  AutomationException
Creates a new relationship class in this container.

Specified by:
createRelationshipClass in interface IRelationshipClassContainer
Parameters:
relClassName - The relClassName (in)
originClass - A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
destinationClass - A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
forwardLabel - The forwardLabel (in)
backwardLabel - The backwardLabel (in)
cardinality - A com.esri.arcgis.geodatabase.esriRelCardinality constant (in)
notification - A com.esri.arcgis.geodatabase.esriRelNotification constant (in)
isComposite - The isComposite (in)
isAttributed - The isAttributed (in)
relAttrFields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
originPrimaryKey - The originPrimaryKey (in)
destPrimaryKey - The destPrimaryKey (in)
originForeignKey - The originForeignKey (in)
destForeignKey - The destForeignKey (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRelationshipClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addRelationshipClass

public void addRelationshipClass(IRelationshipClass relationshipClass)
                          throws java.io.IOException,
                                 AutomationException
Transfers ownership of a relationship class to this container.

Specified by:
addRelationshipClass in interface IRelationshipClassContainer
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addDataset

public void addDataset(IDataset datasetToAdd)
                throws java.io.IOException,
                       AutomationException
Adds a dataset to the dataset collection.

Specified by:
addDataset in interface IDatasetContainer
Parameters:
datasetToAdd - A reference to a com.esri.arcgis.geodatabase.IDataset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createTopologyEx

public ITopology createTopologyEx(java.lang.String name,
                                  double clusterTolerance,
                                  double zClusterTolerance,
                                  int maxGeneratedErrorCount,
                                  java.lang.String configurationKeyword)
                           throws java.io.IOException,
                                  AutomationException
Creates a new topology.

Specified by:
createTopologyEx in interface ITopologyContainer2
Parameters:
name - The name (in)
clusterTolerance - The clusterTolerance (in)
zClusterTolerance - The zClusterTolerance (in)
maxGeneratedErrorCount - The maxGeneratedErrorCount (in)
configurationKeyword - The configurationKeyword (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITopology
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultZClusterTolerance

public double getDefaultZClusterTolerance()
                                   throws java.io.IOException,
                                          AutomationException
The default z cluster tolerance as per the topology engine.

Specified by:
getDefaultZClusterTolerance in interface ITopologyContainer2
Returns:
The zClusterTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinimumZClusterTolerance

public double getMinimumZClusterTolerance()
                                   throws java.io.IOException,
                                          AutomationException
The minimal z cluster tolerance as per the topology engine.

Specified by:
getMinimumZClusterTolerance in interface ITopologyContainer2
Returns:
The zClusterTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumZClusterTolerance

public double getMaximumZClusterTolerance()
                                   throws java.io.IOException,
                                          AutomationException
The maximal z cluster tolerance as per the topology engine.

Specified by:
getMaximumZClusterTolerance in interface ITopologyContainer2
Returns:
The zClusterTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTopology

public ITopology getTopology(int index)
                      throws java.io.IOException,
                             AutomationException
The topology at the specified index.

Specified by:
getTopology in interface ITopologyContainer
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITopology
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTopologyByName

public ITopology getTopologyByName(java.lang.String name)
                            throws java.io.IOException,
                                   AutomationException
The topology with the specified name.

Specified by:
getTopologyByName in interface ITopologyContainer
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITopology
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTopologyByID

public ITopology getTopologyByID(int iD)
                          throws java.io.IOException,
                                 AutomationException
The topology with the specified ID.

Specified by:
getTopologyByID in interface ITopologyContainer
Parameters:
iD - The iD (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITopology
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTopologyCount

public int getTopologyCount()
                     throws java.io.IOException,
                            AutomationException
The number of topologies in the container.

Specified by:
getTopologyCount in interface ITopologyContainer
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createTopology

public ITopology createTopology(java.lang.String name,
                                double clusterTolerance,
                                int maxGeneratedErrorCount,
                                java.lang.String configurationKeyword)
                         throws java.io.IOException,
                                AutomationException
Creates a new topology.

Specified by:
createTopology in interface ITopologyContainer
Parameters:
name - The name (in)
clusterTolerance - The clusterTolerance (in)
maxGeneratedErrorCount - The maxGeneratedErrorCount (in)
configurationKeyword - The configurationKeyword (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITopology
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultClusterTolerance

public double getDefaultClusterTolerance()
                                  throws java.io.IOException,
                                         AutomationException
The default cluster tolerance as per the topology engine.

Specified by:
getDefaultClusterTolerance in interface ITopologyContainer
Returns:
The clusterTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinimumClusterTolerance

public double getMinimumClusterTolerance()
                                  throws java.io.IOException,
                                         AutomationException
The minimal cluster tolerance as per the topology engine.

Specified by:
getMinimumClusterTolerance in interface ITopologyContainer
Returns:
The clusterTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumClusterTolerance

public double getMaximumClusterTolerance()
                                  throws java.io.IOException,
                                         AutomationException
The maximal cluster tolerance as per the topology engine.

Specified by:
getMaximumClusterTolerance in interface ITopologyContainer
Returns:
The clusterTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionCount

public int getExtensionCount()
                      throws java.io.IOException,
                             AutomationException
The number of feature dataset extensions.

Specified by:
getExtensionCount in interface IFeatureDatasetExtensionContainer
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtension

public IFeatureDatasetExtension getExtension(int index)
                                      throws java.io.IOException,
                                             AutomationException
Provides access to a feature dataset extension.

Specified by:
getExtension in interface IFeatureDatasetExtensionContainer
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureDatasetExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findExtension

public IFeatureDatasetExtension findExtension(int type)
                                       throws java.io.IOException,
                                              AutomationException
Provides access to the feature dataset extension that supports the specified dataset type.

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