|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.NetworkDataset
public class NetworkDataset
COM Class 'NetworkDataset'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'
Description 'A container for querying information about a network dataset.' 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 |
|---|
| Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetComponent2 |
|---|
IID, IID06422a95_1f61_4e3c_9523_bcdae837ddcb, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetComponent |
|---|
IID5f636f00_4b3c_46eb_a684_c2d746357061 |
| Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureClassContainer |
|---|
IID, IID3b439634_cfc3_11d1_aead_0000f80372b4, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.INetworkDataset2 |
|---|
IID, IIDd108c47b_2030_47c6_9b1a_269c73cdd1fb, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.INetworkDataset |
|---|
IID5299f003_fca2_453d_ab8e_28b9ac6648b5 |
| Fields inherited from interface com.esri.arcgis.geodatabase.INetworkBuild |
|---|
IID, IID99ca1a8e_0301_4089_b939_1634e45f14a3, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.INetworkQuery3 |
|---|
IID, IIDc8451f72_ca7e_47d1_8e07_d545073dedce, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.INetworkQuery2 |
|---|
IIDf5c55877_9fbe_47dc_92cd_b49037605b9f |
| Fields inherited from interface com.esri.arcgis.geodatabase.INetworkQuery |
|---|
IID73bed6fc_fda9_45b0_a82d_1b42d52a26d0 |
| Fields inherited from interface com.esri.arcgis.geodatabase.IDataset |
|---|
IID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummy |
| 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.ISchemaLock |
|---|
IID, IIDdca648e5_0fbb_11d3_80a5_00c04f686238, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IVersionedObject2 |
|---|
IID, IID884d388e_8918_443a_8f4a_db5aac5b9d5e, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IVersionedObject |
|---|
IID4a1fb361_b863_11d1_9ce7_0000f8780619 |
| Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetAnalyze |
|---|
IID, IID60262917_d53f_4e0b_86ff_a916c3fb26bc, 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.IMetadata |
|---|
IID, IID5de04a82_24e4_11d3_a641_0008c7d3ae50, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IMetadataEdit |
|---|
IID, IID97fdb978_62a4_49c5_8252_b07837b33ee9, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.INativeTypeInfo |
|---|
IID, IID906db24a_f0ad_4ca5_871b_5466e54fab80, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Constructor Summary | |
|---|---|
NetworkDataset(java.lang.Object obj)
Construct a NetworkDataset using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
addAttribute(INetworkAttribute attribute)
Adds the given attribute to the schema of the network dataset. |
void |
addSource(INetworkSource source)
Adds the given source to the schema of the network dataset. |
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. |
IEnvelope |
buildNetwork(IEnvelope areaToBuild)
Builds the network dataset for the given extent. |
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. |
void |
clearIDCache()
Empties the contents of the index used for finding network elements by source. |
java.util.Date |
convertLocalTimeToUTCTime(int localTimeZoneID,
java.util.Date localTime)
Converts local time for the given time zone to UTC time. |
java.util.Date |
convertUTCTimeToLocalTime(int localTimeZoneID,
java.util.Date utcTime)
Converts UTC time to local time for the given time zone. |
IDataset |
copy(java.lang.String copyName,
IWorkspace copyWorkspace)
Copies this dataset to a new dataset with the specified name. |
INetworkForwardStar |
createForwardStar()
Creates a NetworkForwardStar object for traversing the network dataset. |
INetworkForwardStarAdjacencies |
createForwardStarAdjacencies()
Creates a NetworkForwardStarAdjacencies container object for forward star queries. |
INetworkElement |
createNetworkElement(int elementType)
Creates an uninitialized network element of the specified type for use in network dataset queries. |
void |
delete()
Deletes this dataset. |
void |
deleteAttribute(INetworkAttribute attribute)
Deletes the given attribute from the network dataset. |
void |
deleteSource(INetworkSource source)
Deletes the given source from the network 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. |
INetworkSource |
esri_getSource(int index)
Network dataset source by index. |
int |
getAllowableComponents()
The allowable components to be analyzed. |
INetworkAttribute |
getAttribute(int index)
Network dataset attribute by index. |
INetworkAttribute |
getAttributeByID(int iD)
Network dataset attribute corresponding to the specified ID. |
INetworkAttribute |
getAttributeByName(java.lang.String name)
Network dataset attribute corresponding to the specified name. |
int |
getAttributeCount()
Number of attributes in the network dataset. |
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. |
int |
getComplexTurnCount()
Number of turn elements in the network dataset having more than two edge elements participating. |
void |
getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
The list of current locks. |
IDEDataset |
getDataElement()
The data element corresponding to the dataset component. |
IPolygon |
getDirtyArea(IPolygon location)
The dirty area polygon of the network dataset. |
IEnumNetworkElement |
getEdgesByPosition(int sourceID,
int oID,
double position,
boolean includeRelatedSDCHyperEdges)
Edge elements in the network dataset with a from and to position that includes the given position for the given source object. |
IEnumNetworkElement |
getEdgesBySegment(int sourceID,
int oID,
double fromPosition,
double toPosition)
Edge elements in the network dataset with a from and to position included in the given range for the given source object. |
int |
getElementCount(int elementType)
Number of network elements of the given type in the network dataset. |
IEnumNetworkElement |
getElements(int elementType)
Enumeration of all elements in the network dataset of the given type. |
IEnumNetworkElement |
getElementsByOID(int sourceID,
int oID)
Elements in the network dataset corresponding to the given source object. |
IEnumNetworkElement |
getElementsByOIDs(int sourceID,
ILongArray oids)
Elements in the network dataset corresponding to the given source objects. |
IEnumNetworkElement |
getElementsForSource(int sourceID)
Enumeration of all elements in the network dataset corresponding to the given source. |
IEnvelope |
getExtent()
The extent of the GeoDataset. |
IName |
getFullName()
The associated name object. |
int |
getID()
The data element corresponding to the dataset component. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getMaxEID(int elementType)
Highest element ID in the network dataset for the given element type. |
int |
getMaxValence()
Maximum number of edge elements connected to any single junction element. |
IPropertySet |
getMetadata()
The PropertySet containing metadata. |
java.lang.String |
getName()
The name of the Dataset. |
INativeType |
getNativeType()
The native type. |
int |
getNetworkType()
The type of the network dataset. |
IDataset |
getParent()
The containing parent dataset. |
IPropertySet |
getPropertySet()
The set of properties for the dataset. |
INetworkSource |
getSourceByID(int iD)
Network dataset source corresponding to the specified ID. |
INetworkSource |
getSourceByName(java.lang.String name)
Network dataset source corresponding to the specified name. |
int |
getSourceCount()
Number of sources in the network dataset. |
ISpatialReference |
getSpatialReference()
The spatial reference of the GeoDataset. |
int |
getState()
Indicates whether the network dataset is built or not. |
IEnumDataset |
getSubsets()
Datasets contained within this dataset. |
int |
getTimeZoneID(INetworkElement networkElement)
The time zone ID for the given network element. |
int |
getType()
The type of the Dataset. |
IVersion |
getVersion()
The object's current version. |
IWorkspace |
getWorkspace()
The workspace containing this dataset. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isBeingEdited()
True if the dataset is being edited. |
boolean |
isBuildable()
Indicates if this network dataset is buildable. |
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 |
isCanEditMetadata()
Indicates if metadata can be edited. |
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. |
boolean |
isHasUncompressedEdits()
Indicates if the object has edits that haven't been compressed yet. |
boolean |
isRegisteredAsVersioned()
Indicates if the object is registered as versioned. |
boolean |
isSupportsTurns()
Indicates if this network dataset supports network turn elements. |
void |
populateIDCache(int sourceID)
Initializes the index used for quickly finding network elements for the given source ID. |
void |
queryEdge(int eID,
int direction,
INetworkEdge edge)
Performs a network edge element query by element ID and edge direction and populates the given edge element object. |
void |
queryJunction(int eID,
INetworkJunction junction)
Performs a network junction element query by element ID and populates the given junction element object. |
void |
queryTurn(int eID,
INetworkTurn turn)
Performs a network turn element query by element ID and populates the given turn element object. |
void |
refreshDynamicTrafficData(java.util.Date utcTime,
int utcTimeUsage,
java.util.Date[] pDynamicTrafficUTCStartTime,
java.util.Date[] pDynamicTrafficUTCEndTime)
Refreshes the current dynamic traffic data referenced by the network dataset based on the specified time and usage. |
void |
registerAsVersioned(boolean isVersioned)
Register/UnRegister the object as being versioned. |
void |
release()
Release a NetworkDataset. |
void |
rename(java.lang.String name)
Renames this Dataset. |
void |
setBrowseName(java.lang.String name)
The browse name of the dataset. |
void |
setMetadata(IPropertySet propertySet)
The PropertySet containing metadata. |
void |
synchronize(int action,
int interval)
Updates metadata with the current properties; may create metadata if it doesn't already exist. |
void |
updateSchema(IDENetworkDataset dataElement)
Updates the schema for the network dataset based upon the given data element. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkDataset(java.lang.Object obj)
throws java.io.IOException
obj to NetworkDataset. *
NetworkDataset o = (NetworkDataset)obj; // will not work
NetworkDataset o = new NetworkDataset(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems
NetworkDataset theNetworkDataset = (NetworkDataset) obj;| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public int getID()
throws java.io.IOException,
AutomationException
getID in interface IDatasetComponent2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDEDataset getDataElement()
throws java.io.IOException,
AutomationException
getDataElement in interface IDatasetComponentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataset getParent()
throws java.io.IOException,
AutomationException
getParent in interface IDatasetComponentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureClass esri_getClass(int classIndex)
throws java.io.IOException,
AutomationException
esri_getClass in interface IFeatureClassContainerclassIndex - The classIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureClass getClassByID(int iD)
throws java.io.IOException,
AutomationException
getClassByID in interface IFeatureClassContaineriD - The iD (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureClass getClassByName(java.lang.String name)
throws java.io.IOException,
AutomationException
getClassByName in interface IFeatureClassContainername - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getClassCount()
throws java.io.IOException,
AutomationException
getClassCount in interface IFeatureClassContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumFeatureClass getClasses()
throws java.io.IOException,
AutomationException
getClasses in interface IFeatureClassContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isBuildable()
throws java.io.IOException,
AutomationException
isBuildable in interface INetworkDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNetworkType()
throws java.io.IOException,
AutomationException
getNetworkType in interface INetworkDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportsTurns()
throws java.io.IOException,
AutomationException
isSupportsTurns in interface INetworkDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkAttribute getAttributeByID(int iD)
throws java.io.IOException,
AutomationException
getAttributeByID in interface INetworkDatasetiD - The iD (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkAttribute getAttributeByName(java.lang.String name)
throws java.io.IOException,
AutomationException
getAttributeByName in interface INetworkDatasetname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAttributeCount()
throws java.io.IOException,
AutomationException
getAttributeCount in interface INetworkDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkAttribute getAttribute(int index)
throws java.io.IOException,
AutomationException
getAttribute in interface INetworkDatasetindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkSource getSourceByID(int iD)
throws java.io.IOException,
AutomationException
getSourceByID in interface INetworkDatasetiD - The iD (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkSource getSourceByName(java.lang.String name)
throws java.io.IOException,
AutomationException
getSourceByName in interface INetworkDatasetname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSourceCount()
throws java.io.IOException,
AutomationException
getSourceCount in interface INetworkDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkSource esri_getSource(int index)
throws java.io.IOException,
AutomationException
esri_getSource in interface INetworkDatasetindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getState()
throws java.io.IOException,
AutomationException
getState in interface INetworkDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPolygon getDirtyArea(IPolygon location)
throws java.io.IOException,
AutomationException
getDirtyArea in interface INetworkDataset2location - A reference to a com.esri.arcgis.geometry.IPolygon (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addAttribute(INetworkAttribute attribute)
throws java.io.IOException,
AutomationException
addAttribute in interface INetworkBuildattribute - A reference to a com.esri.arcgis.geodatabase.INetworkAttribute (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addSource(INetworkSource source)
throws java.io.IOException,
AutomationException
addSource in interface INetworkBuildsource - A reference to a com.esri.arcgis.geodatabase.INetworkSource (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteAttribute(INetworkAttribute attribute)
throws java.io.IOException,
AutomationException
deleteAttribute in interface INetworkBuildattribute - A reference to a com.esri.arcgis.geodatabase.INetworkAttribute (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteSource(INetworkSource source)
throws java.io.IOException,
AutomationException
deleteSource in interface INetworkBuildsource - A reference to a com.esri.arcgis.geodatabase.INetworkSource (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateSchema(IDENetworkDataset dataElement)
throws java.io.IOException,
AutomationException
updateSchema in interface INetworkBuilddataElement - A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope buildNetwork(IEnvelope areaToBuild)
throws java.io.IOException,
AutomationException
buildNetwork in interface INetworkBuildareaToBuild - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxEID(int elementType)
throws java.io.IOException,
AutomationException
getMaxEID in interface INetworkQueryelementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxValence()
throws java.io.IOException,
AutomationException
getMaxValence in interface INetworkQueryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getElementCount(int elementType)
throws java.io.IOException,
AutomationException
getElementCount in interface INetworkQueryelementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getComplexTurnCount()
throws java.io.IOException,
AutomationException
getComplexTurnCount in interface INetworkQueryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkForwardStar createForwardStar()
throws java.io.IOException,
AutomationException
createForwardStar in interface INetworkQueryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkForwardStarAdjacencies createForwardStarAdjacencies()
throws java.io.IOException,
AutomationException
createForwardStarAdjacencies in interface INetworkQueryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkElement createNetworkElement(int elementType)
throws java.io.IOException,
AutomationException
createNetworkElement in interface INetworkQueryelementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryEdge(int eID,
int direction,
INetworkEdge edge)
throws java.io.IOException,
AutomationException
queryEdge in interface INetworkQueryeID - The eID (in)direction - A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)edge - A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryJunction(int eID,
INetworkJunction junction)
throws java.io.IOException,
AutomationException
queryJunction in interface INetworkQueryeID - The eID (in)junction - A reference to a com.esri.arcgis.geodatabase.INetworkJunction (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryTurn(int eID,
INetworkTurn turn)
throws java.io.IOException,
AutomationException
queryTurn in interface INetworkQueryeID - The eID (in)turn - A reference to a com.esri.arcgis.geodatabase.INetworkTurn (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumNetworkElement getElementsByOID(int sourceID,
int oID)
throws java.io.IOException,
AutomationException
getElementsByOID in interface INetworkQuerysourceID - The sourceID (in)oID - The oID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumNetworkElement getEdgesByPosition(int sourceID,
int oID,
double position,
boolean includeRelatedSDCHyperEdges)
throws java.io.IOException,
AutomationException
getEdgesByPosition in interface INetworkQuerysourceID - The sourceID (in)oID - The oID (in)position - The position (in)includeRelatedSDCHyperEdges - The includeRelatedSDCHyperEdges (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumNetworkElement getEdgesBySegment(int sourceID,
int oID,
double fromPosition,
double toPosition)
throws java.io.IOException,
AutomationException
getEdgesBySegment in interface INetworkQuerysourceID - The sourceID (in)oID - The oID (in)fromPosition - The fromPosition (in)toPosition - The toPosition (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumNetworkElement getElements(int elementType)
throws java.io.IOException,
AutomationException
getElements in interface INetworkQueryelementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumNetworkElement getElementsByOIDs(int sourceID,
ILongArray oids)
throws java.io.IOException,
AutomationException
getElementsByOIDs in interface INetworkQuerysourceID - The sourceID (in)oids - A reference to a com.esri.arcgis.system.ILongArray (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumNetworkElement getElementsForSource(int sourceID)
throws java.io.IOException,
AutomationException
getElementsForSource in interface INetworkQuerysourceID - The sourceID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearIDCache()
throws java.io.IOException,
AutomationException
clearIDCache in interface INetworkQueryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void populateIDCache(int sourceID)
throws java.io.IOException,
AutomationException
populateIDCache in interface INetworkQuerysourceID - The sourceID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTimeZoneID(INetworkElement networkElement)
throws java.io.IOException,
AutomationException
getTimeZoneID in interface INetworkQuery2networkElement - A reference to a com.esri.arcgis.geodatabase.INetworkElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.util.Date convertLocalTimeToUTCTime(int localTimeZoneID,
java.util.Date localTime)
throws java.io.IOException,
AutomationException
convertLocalTimeToUTCTime in interface INetworkQuery2localTimeZoneID - The localTimeZoneID (in)localTime - The localTime (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.util.Date convertUTCTimeToLocalTime(int localTimeZoneID,
java.util.Date utcTime)
throws java.io.IOException,
AutomationException
convertUTCTimeToLocalTime in interface INetworkQuery2localTimeZoneID - The localTimeZoneID (in)utcTime - The utcTime (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refreshDynamicTrafficData(java.util.Date utcTime,
int utcTimeUsage,
java.util.Date[] pDynamicTrafficUTCStartTime,
java.util.Date[] pDynamicTrafficUTCEndTime)
throws java.io.IOException,
AutomationException
refreshDynamicTrafficData in interface INetworkQuery3utcTime - The utcTime (in)utcTimeUsage - A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)pDynamicTrafficUTCStartTime - The pDynamicTrafficUTCStartTime (out: use single element array)pDynamicTrafficUTCEndTime - The pDynamicTrafficUTCEndTime (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IName getFullName()
throws java.io.IOException,
AutomationException
getFullName in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getBrowseName()
throws java.io.IOException,
AutomationException
getBrowseName in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBrowseName(java.lang.String name)
throws java.io.IOException,
AutomationException
setBrowseName in interface IDatasetname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getType()
throws java.io.IOException,
AutomationException
getType in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
getCategory in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumDataset getSubsets()
throws java.io.IOException,
AutomationException
getSubsets in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IWorkspace getWorkspace()
throws java.io.IOException,
AutomationException
getWorkspace in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getPropertySet()
throws java.io.IOException,
AutomationException
getPropertySet in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canCopy()
throws java.io.IOException,
AutomationException
canCopy in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataset copy(java.lang.String copyName,
IWorkspace copyWorkspace)
throws java.io.IOException,
AutomationException
copy in interface IDatasetcopyName - The copyName (in)copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canDelete()
throws java.io.IOException,
AutomationException
canDelete in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws java.io.IOException,
AutomationException
delete in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canRename()
throws java.io.IOException,
AutomationException
canRename in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rename(java.lang.String name)
throws java.io.IOException,
AutomationException
rename in interface IDatasetname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isBeingEdited()
throws java.io.IOException,
AutomationException
isBeingEdited in interface IDatasetEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanEdit()
throws java.io.IOException,
AutomationException
isCanEdit in interface IDatasetEditInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanUndo()
throws java.io.IOException,
AutomationException
isCanUndo in interface IDatasetEditInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanRedo()
throws java.io.IOException,
AutomationException
isCanRedo in interface IDatasetEditInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void changeSchemaLock(int schemaLock)
throws java.io.IOException,
AutomationException
changeSchemaLock in interface ISchemaLockschemaLock - A com.esri.arcgis.geodatabase.esriSchemaLock constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
throws java.io.IOException,
AutomationException
getCurrentSchemaLocks in interface ISchemaLockschemaLockInfo - A reference to a com.esri.arcgis.geodatabase.IEnumSchemaLockInfo (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasUncompressedEdits()
throws java.io.IOException,
AutomationException
isHasUncompressedEdits in interface IVersionedObject2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IVersion getVersion()
throws java.io.IOException,
AutomationException
getVersion in interface IVersionedObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRegisteredAsVersioned()
throws java.io.IOException,
AutomationException
isRegisteredAsVersioned in interface IVersionedObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void registerAsVersioned(boolean isVersioned)
throws java.io.IOException,
AutomationException
registerAsVersioned in interface IVersionedObjectisVersioned - The isVersioned (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void analyze(int tableComponents)
throws java.io.IOException,
AutomationException
analyze in interface IDatasetAnalyzetableComponents - The tableComponents (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAllowableComponents()
throws java.io.IOException,
AutomationException
getAllowableComponents in interface IDatasetAnalyzejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getSpatialReference()
throws java.io.IOException,
AutomationException
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.
getSpatialReference in interface IGeoDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws java.io.IOException,
AutomationException
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.
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.
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.
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.
getExtent in interface IGeoDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanAlterSpatialReference()
throws java.io.IOException,
AutomationException
isCanAlterSpatialReference in interface IGeoDatasetSchemaEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void alterSpatialReference(ISpatialReference spatialReference)
throws java.io.IOException,
AutomationException
alterSpatialReference in interface IGeoDatasetSchemaEditspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getMetadata()
throws java.io.IOException,
AutomationException
getMetadata in interface IMetadatajava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMetadata(IPropertySet propertySet)
throws java.io.IOException,
AutomationException
setMetadata in interface IMetadatapropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void synchronize(int action,
int interval)
throws java.io.IOException,
AutomationException
synchronize in interface IMetadataaction - A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)interval - The interval (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanEditMetadata()
throws java.io.IOException,
AutomationException
isCanEditMetadata in interface IMetadataEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INativeType getNativeType()
throws java.io.IOException,
AutomationException
getNativeType in interface INativeTypeInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 | ||||||||