com.esri.arcgis.geodatabase
Class EdgeFeatureSource

java.lang.Object
  extended by com.esri.arcgis.geodatabase.EdgeFeatureSource
All Implemented Interfaces:
IEdgeFeatureSource, INetworkSource, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class EdgeFeatureSource
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INetworkSource, IEdgeFeatureSource

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

Description 'A container for describing a network dataset source whose edge elements are derived from line feature geometry.' 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.INetworkSource
IID, IID10f8d75c_1d54_4f2a_8ce8_fb7d50a0df1d, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEdgeFeatureSource
IID, IIDcc16e6db_051a_4ccb_adaf_0ca823ecd00b, xxDummy
 
Constructor Summary
EdgeFeatureSource()
          Constructs a EdgeFeatureSource using ArcGIS Engine.
EdgeFeatureSource(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EdgeFeatureSource theEdgeFeatureSource = (EdgeFeatureSource) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getClassConnectivityGroup()
          Connectivity group in which this edge feature source participates.
 int getClassConnectivityPolicy()
          Policy determining how all edge elements in this source connect to each other.
static java.lang.String getClsid()
          getClsid.
 int getElementType()
          Network element type of this network source.
 java.lang.String getFromElevationFieldName()
          The field name on the feature source to be used as the from elevation field when determining connectivity at coincident end vertices.
 int getID()
          Unique identifier of this network source.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          Name of the class associated with this network source.
 INetworkSourceDirections getNetworkSourceDirections()
          The driving directions settings for this network source.
 IPropertySet getProperties()
          Property set of this network source.
 int getSourceType()
          Type of network source.
 int getSubtypeConnectivityGroup(int subtypeCode)
          Connectivity group in which the specified subtype of this edge feature source participates.
 int getSubtypeConnectivityPolicy(int subtypeCode)
          Policy determining how the edge elements in the specified subtype of this source connect to each other.
 java.lang.String getToElevationFieldName()
          The field name on the feature source to be used as the to elevation field when determining connectivity at coincident end vertices.
 int hashCode()
          the hashcode for this object
 boolean isUsesGeometryInConnectivity()
          Indicates if the source object's geometry is used in determining network connectivity.
 boolean isUsesSubtypes()
          Indicates if this edge feature source determines connectivity groups and policies by subtypes.
 void release()
          Release a EdgeFeatureSource.
 void setClassConnectivityGroup(int group)
          Connectivity group in which this edge feature source participates.
 void setClassConnectivityPolicy(int policy)
          Policy determining how all edge elements in this source connect to each other.
 void setElementType(int elementType)
          Network element type of this network source.
 void setFromElevationFieldName(java.lang.String name)
          The field name on the feature source to be used as the from elevation field when determining connectivity at coincident end vertices.
 void setName(java.lang.String sourceName)
          Name of the class associated with this network source.
 void setNetworkSourceDirectionsByRef(INetworkSourceDirections sourceDirections)
          The driving directions settings for this network source.
 void setProperties(IPropertySet sourceProperties)
          Property set of this network source.
 void setSubtypeConnectivityGroup(int subtypeCode, int group)
          Connectivity group in which the specified subtype of this edge feature source participates.
 void setSubtypeConnectivityPolicy(int subtypeCode, int policy)
          Policy determining how the edge elements in the specified subtype of this source connect to each other.
 void setToElevationFieldName(java.lang.String name)
          The field name on the feature source to be used as the to elevation field when determining connectivity at coincident end vertices.
 void setUsesSubtypes(boolean bySubtype)
          Indicates if this edge feature source determines connectivity groups and policies by subtypes.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeFeatureSource

public EdgeFeatureSource()
                  throws java.io.IOException,
                         java.net.UnknownHostException
Constructs a EdgeFeatureSource using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

EdgeFeatureSource

public EdgeFeatureSource(java.lang.Object obj)
                  throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EdgeFeatureSource theEdgeFeatureSource = (EdgeFeatureSource) obj;

Construct a EdgeFeatureSource using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EdgeFeatureSource.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


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 EdgeFeatureSource.

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

getID

public int getID()
          throws java.io.IOException,
                 AutomationException
Unique identifier of this network source.

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

getElementType

public int getElementType()
                   throws java.io.IOException,
                          AutomationException
Network element type of this network source.

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

setElementType

public void setElementType(int elementType)
                    throws java.io.IOException,
                           AutomationException
Network element type of this network source.

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the class associated with this network source.

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

setName

public void setName(java.lang.String sourceName)
             throws java.io.IOException,
                    AutomationException
Name of the class associated with this network source.

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

getProperties

public IPropertySet getProperties()
                           throws java.io.IOException,
                                  AutomationException
Property set of this network source.

Specified by:
getProperties in interface INetworkSource
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.

setProperties

public void setProperties(IPropertySet sourceProperties)
                   throws java.io.IOException,
                          AutomationException
Property set of this network source.

Specified by:
setProperties in interface INetworkSource
Parameters:
sourceProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUsesGeometryInConnectivity

public boolean isUsesGeometryInConnectivity()
                                     throws java.io.IOException,
                                            AutomationException
Indicates if the source object's geometry is used in determining network connectivity.

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

getSourceType

public int getSourceType()
                  throws java.io.IOException,
                         AutomationException
Type of network source.

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

getNetworkSourceDirections

public INetworkSourceDirections getNetworkSourceDirections()
                                                    throws java.io.IOException,
                                                           AutomationException
The driving directions settings for this network source.

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

setNetworkSourceDirectionsByRef

public void setNetworkSourceDirectionsByRef(INetworkSourceDirections sourceDirections)
                                     throws java.io.IOException,
                                            AutomationException
The driving directions settings for this network source.

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

getClassConnectivityPolicy

public int getClassConnectivityPolicy()
                               throws java.io.IOException,
                                      AutomationException
Policy determining how all edge elements in this source connect to each other.

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

setClassConnectivityPolicy

public void setClassConnectivityPolicy(int policy)
                                throws java.io.IOException,
                                       AutomationException
Policy determining how all edge elements in this source connect to each other.

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

getClassConnectivityGroup

public int getClassConnectivityGroup()
                              throws java.io.IOException,
                                     AutomationException
Connectivity group in which this edge feature source participates.

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

setClassConnectivityGroup

public void setClassConnectivityGroup(int group)
                               throws java.io.IOException,
                                      AutomationException
Connectivity group in which this edge feature source participates.

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

getSubtypeConnectivityPolicy

public int getSubtypeConnectivityPolicy(int subtypeCode)
                                 throws java.io.IOException,
                                        AutomationException
Policy determining how the edge elements in the specified subtype of this source connect to each other.

Specified by:
getSubtypeConnectivityPolicy in interface IEdgeFeatureSource
Parameters:
subtypeCode - The subtypeCode (in)
Returns:
A com.esri.arcgis.geodatabase.esriNetworkEdgeConnectivityPolicy constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSubtypeConnectivityPolicy

public void setSubtypeConnectivityPolicy(int subtypeCode,
                                         int policy)
                                  throws java.io.IOException,
                                         AutomationException
Policy determining how the edge elements in the specified subtype of this source connect to each other.

Specified by:
setSubtypeConnectivityPolicy in interface IEdgeFeatureSource
Parameters:
subtypeCode - The subtypeCode (in)
policy - A com.esri.arcgis.geodatabase.esriNetworkEdgeConnectivityPolicy constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubtypeConnectivityGroup

public int getSubtypeConnectivityGroup(int subtypeCode)
                                throws java.io.IOException,
                                       AutomationException
Connectivity group in which the specified subtype of this edge feature source participates.

Specified by:
getSubtypeConnectivityGroup in interface IEdgeFeatureSource
Parameters:
subtypeCode - The subtypeCode (in)
Returns:
The group
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSubtypeConnectivityGroup

public void setSubtypeConnectivityGroup(int subtypeCode,
                                        int group)
                                 throws java.io.IOException,
                                        AutomationException
Connectivity group in which the specified subtype of this edge feature source participates.

Specified by:
setSubtypeConnectivityGroup in interface IEdgeFeatureSource
Parameters:
subtypeCode - The subtypeCode (in)
group - The group (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUsesSubtypes

public boolean isUsesSubtypes()
                       throws java.io.IOException,
                              AutomationException
Indicates if this edge feature source determines connectivity groups and policies by subtypes.

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

setUsesSubtypes

public void setUsesSubtypes(boolean bySubtype)
                     throws java.io.IOException,
                            AutomationException
Indicates if this edge feature source determines connectivity groups and policies by subtypes.

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

getFromElevationFieldName

public java.lang.String getFromElevationFieldName()
                                           throws java.io.IOException,
                                                  AutomationException
The field name on the feature source to be used as the from elevation field when determining connectivity at coincident end vertices.

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

setFromElevationFieldName

public void setFromElevationFieldName(java.lang.String name)
                               throws java.io.IOException,
                                      AutomationException
The field name on the feature source to be used as the from elevation field when determining connectivity at coincident end vertices.

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

getToElevationFieldName

public java.lang.String getToElevationFieldName()
                                         throws java.io.IOException,
                                                AutomationException
The field name on the feature source to be used as the to elevation field when determining connectivity at coincident end vertices.

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

setToElevationFieldName

public void setToElevationFieldName(java.lang.String name)
                             throws java.io.IOException,
                                    AutomationException
The field name on the feature source to be used as the to elevation field when determining connectivity at coincident end vertices.

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