com.esri.arcgis.geodatabase
Class NetworkForwardStarAdjacencies

java.lang.Object
  extended by com.esri.arcgis.geodatabase.NetworkForwardStarAdjacencies
All Implemented Interfaces:
INetworkForwardStarAdjacencies, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class NetworkForwardStarAdjacencies
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INetworkForwardStarAdjacencies

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

Description 'A container for retrieving information about the elements adjacent to a given network element.' 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.INetworkForwardStarAdjacencies
IID, IIDf7b90a86_48db_46fe_af94_869e19b9fe75, xxDummy
 
Constructor Summary
NetworkForwardStarAdjacencies(java.lang.Object obj)
          Construct a NetworkForwardStarAdjacencies using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getCount()
          Number of adjacent edges returned by the NetworkForwardStar object.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 boolean isHasTurn(int index)
          Indicates if the adjacent edge at the specified index has a turn.
 boolean isHasTurnRestriction()
          Indicates if any of the adjacent edges are restricted due to a turn restriction.
 void queryAtJunction(INetworkJunction junction)
          Queries the junction element used as the atJunction in the NetworkForwardStar object.
 void queryEdge(int index, INetworkEdge adjacentEdge, double[] fromPosition, double[] toPosition)
          Queries the adjacent edge element at the specified index.
 void queryToJunction(int index, INetworkJunction adjacentJunction, boolean[] isFiltered)
          For the adjacent edge element at the specified index, queries the junction element opposite of the atJunction.
 void queryTurn(int index, INetworkTurn adjacentTurn)
          Queries the turn element that passes through the fromEdge, the atJunction, and the adjacent edge at the specified index.
 void release()
          Release a NetworkForwardStarAdjacencies.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkForwardStarAdjacencies

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

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

Throws:
java.io.IOException - if there are interop problems NetworkForwardStarAdjacencies theNetworkForwardStarAdjacencies = (NetworkForwardStarAdjacencies) 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 NetworkForwardStarAdjacencies.

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

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
Number of adjacent edges returned by the NetworkForwardStar object.

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

queryAtJunction

public void queryAtJunction(INetworkJunction junction)
                     throws java.io.IOException,
                            AutomationException
Queries the junction element used as the atJunction in the NetworkForwardStar object.

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

queryEdge

public void queryEdge(int index,
                      INetworkEdge adjacentEdge,
                      double[] fromPosition,
                      double[] toPosition)
               throws java.io.IOException,
                      AutomationException
Queries the adjacent edge element at the specified index.

Specified by:
queryEdge in interface INetworkForwardStarAdjacencies
Parameters:
index - The index (in)
adjacentEdge - A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)
fromPosition - The fromPosition (out: use single element array)
toPosition - The toPosition (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryToJunction

public void queryToJunction(int index,
                            INetworkJunction adjacentJunction,
                            boolean[] isFiltered)
                     throws java.io.IOException,
                            AutomationException
For the adjacent edge element at the specified index, queries the junction element opposite of the atJunction.

Specified by:
queryToJunction in interface INetworkForwardStarAdjacencies
Parameters:
index - The index (in)
adjacentJunction - A reference to a com.esri.arcgis.geodatabase.INetworkJunction (in)
isFiltered - The isFiltered (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTurn

public void queryTurn(int index,
                      INetworkTurn adjacentTurn)
               throws java.io.IOException,
                      AutomationException
Queries the turn element that passes through the fromEdge, the atJunction, and the adjacent edge at the specified index.

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

isHasTurn

public boolean isHasTurn(int index)
                  throws java.io.IOException,
                         AutomationException
Indicates if the adjacent edge at the specified index has a turn.

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

isHasTurnRestriction

public boolean isHasTurnRestriction()
                             throws java.io.IOException,
                                    AutomationException
Indicates if any of the adjacent edges are restricted due to a turn restriction.

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