com.esri.arcgis.geodatabase
Class JunctionFeatureSource

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

public class JunctionFeatureSource
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INetworkSource, IJunctionFeatureSource

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

Description 'A container for describing a network dataset source whose junction elements are derived from point 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.IJunctionFeatureSource
IID, IID442ace6e_78ca_452f_91e9_405534cc9d27, xxDummy
 
Constructor Summary
JunctionFeatureSource()
          Constructs a JunctionFeatureSource using ArcGIS Engine.
JunctionFeatureSource(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
JunctionFeatureSource theJunctionFeatureSource = (JunctionFeatureSource) obj;
 
Method Summary
 void addClassConnectivityGroup(int group)
          Adds a connectivity group in which this junction feature source participates.
 void addSubtypeConnectivityGroup(int subtypeCode, int group)
          Adds a connectivity group in which the specified subtype of this junction feature source participates.
 boolean equals(java.lang.Object o)
          Compare this object with another
 ILongArray getClassConnectivityGroups()
          Connectivity groups in which this junction feature source participates.
 int getClassConnectivityPolicy()
          Policy determining how all junction elements in this source connect to other edge elements.
static java.lang.String getClsid()
          getClsid.
 int getElementType()
          Network element type of this network source.
 java.lang.String getElevationFieldName()
          The field name on the feature source to be used as the elevation field when determining connectivity at coincident 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.
 ILongArray getSubtypeConnectivityGroups(int subtypeCode)
          Connectivity groups in which the specified subtype of this junction feature source participates.
 int getSubtypeConnectivityPolicy(int subtypeCode)
          Policy determining how the junction elements in the specified subtype of this source connect to other edge elements.
 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 junction feature source determines connectivity groups and policies by subtypes.
 void release()
          Release a JunctionFeatureSource.
 void removeAllClassConnectivityGroups()
          Removes all connectivity groups in which this junction feature source participates.
 void removeAllSubtypeConnectivityGroups(int subtypeCode)
          Removes all connectivity groups in which the specified subtype of this junction feature source participates.
 void setClassConnectivityPolicy(int policy)
          Policy determining how all junction elements in this source connect to other edge elements.
 void setElementType(int elementType)
          Network element type of this network source.
 void setElevationFieldName(java.lang.String name)
          The field name on the feature source to be used as the elevation field when determining connectivity at coincident 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 setSubtypeConnectivityPolicy(int subtypeCode, int policy)
          Policy determining how the junction elements in the specified subtype of this source connect to other edge elements.
 void setUsesSubtypes(boolean bySubtype)
          Indicates if this junction 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

JunctionFeatureSource

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

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

JunctionFeatureSource

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

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

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

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.

getClassConnectivityGroups

public ILongArray getClassConnectivityGroups()
                                      throws java.io.IOException,
                                             AutomationException
Connectivity groups in which this junction feature source participates.

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

addClassConnectivityGroup

public void addClassConnectivityGroup(int group)
                               throws java.io.IOException,
                                      AutomationException
Adds a connectivity group in which this junction feature source participates.

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

removeAllClassConnectivityGroups

public void removeAllClassConnectivityGroups()
                                      throws java.io.IOException,
                                             AutomationException
Removes all connectivity groups in which this junction feature source participates.

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

getSubtypeConnectivityGroups

public ILongArray getSubtypeConnectivityGroups(int subtypeCode)
                                        throws java.io.IOException,
                                               AutomationException
Connectivity groups in which the specified subtype of this junction feature source participates.

Specified by:
getSubtypeConnectivityGroups in interface IJunctionFeatureSource
Parameters:
subtypeCode - The subtypeCode (in)
Returns:
A reference to a com.esri.arcgis.system.ILongArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSubtypeConnectivityGroup

public void addSubtypeConnectivityGroup(int subtypeCode,
                                        int group)
                                 throws java.io.IOException,
                                        AutomationException
Adds a connectivity group in which the specified subtype of this junction feature source participates.

Specified by:
addSubtypeConnectivityGroup in interface IJunctionFeatureSource
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.

removeAllSubtypeConnectivityGroups

public void removeAllSubtypeConnectivityGroups(int subtypeCode)
                                        throws java.io.IOException,
                                               AutomationException
Removes all connectivity groups in which the specified subtype of this junction feature source participates.

Specified by:
removeAllSubtypeConnectivityGroups in interface IJunctionFeatureSource
Parameters:
subtypeCode - The subtypeCode (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 junction elements in this source connect to other edge elements.

Specified by:
getClassConnectivityPolicy in interface IJunctionFeatureSource
Returns:
A com.esri.arcgis.geodatabase.esriNetworkJunctionConnectivityPolicy 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 junction elements in this source connect to other edge elements.

Specified by:
setClassConnectivityPolicy in interface IJunctionFeatureSource
Parameters:
policy - A com.esri.arcgis.geodatabase.esriNetworkJunctionConnectivityPolicy constant (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 junction elements in the specified subtype of this source connect to other edge elements.

Specified by:
getSubtypeConnectivityPolicy in interface IJunctionFeatureSource
Parameters:
subtypeCode - The subtypeCode (in)
Returns:
A com.esri.arcgis.geodatabase.esriNetworkJunctionConnectivityPolicy 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 junction elements in the specified subtype of this source connect to other edge elements.

Specified by:
setSubtypeConnectivityPolicy in interface IJunctionFeatureSource
Parameters:
subtypeCode - The subtypeCode (in)
policy - A com.esri.arcgis.geodatabase.esriNetworkJunctionConnectivityPolicy constant (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 junction feature source determines connectivity groups and policies by subtypes.

Specified by:
isUsesSubtypes in interface IJunctionFeatureSource
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 junction feature source determines connectivity groups and policies by subtypes.

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

getElevationFieldName

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

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

setElevationFieldName

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

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