com.esri.arcgis.geodatabase
Class NetworkJunction

java.lang.Object
  extended by com.esri.arcgis.geodatabase.NetworkJunction
All Implemented Interfaces:
INetworkElement, INetworkJunction, INetworkJunction2, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class NetworkJunction
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INetworkElement, INetworkJunction, INetworkJunction2, ISupportErrorInfo

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

Description 'A container for querying information on a network dataset junction 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.INetworkJunction2
DISPID_1610874880_GET_NAME, IID, IID10c79f21_f00b_4f1f_b6d3_372c8dc3c129, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkJunction
DISPID_100_GET_NAME, DISPID_110_GET_NAME, DISPID_150_NAME, DISPID_160_NAME, DISPID_170_NAME, IIDe3d2d64e_c620_4262_888a_dc724a82f62d
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkElement
DISPID_10_GET_NAME, DISPID_20_GET_NAME, DISPID_30_GET_NAME, DISPID_40_GET_NAME, DISPID_50_GET_NAME, DISPID_60_GET_NAME, IIDed843586_99b4_4e36_9684_5bec34938906
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
NetworkJunction(java.lang.Object obj)
          Construct a NetworkJunction 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
 java.lang.Object getAttributeValue(int attributeID)
          Value of this network element for the given network attribute ID.
 java.lang.Object getAttributeValueAtTime(int attributeID, java.util.Date localTime, int timeUsage)
          Value of this network element for the given network attribute ID and local time.
 java.lang.Object getAttributeValueByName(java.lang.String attributeName)
          Value of this network element for the given network attribute name.
 int getEdgeCount()
          Number of network edge elements adjacent to this network junction element.
 int getEID()
          Element ID for this network element.
 int getElementType()
          Type of this network element.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getOID()
          Object ID of the object corresponding to this network element.
 int getSourceID()
          ID of the network dataset source from which this network element was derived.
 int getTurnCount()
          Number of network turn elements anchored at this network junction.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void queryEdge(int index, boolean leavingJunction, INetworkEdge edge)
          Queries the index'th network edge element adjacent to this network junction element.
 void queryPoint(IPoint point)
          Queries the point object corresponding to this network junction element.
 void queryTurn(int index, INetworkTurn turn)
          Queries the index'th network turn element anchored at this network junction element.
 void release()
          Release a NetworkJunction.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkJunction

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

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

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

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

getEID

public int getEID()
           throws java.io.IOException,
                  AutomationException
Element ID for this network element.

Specified by:
getEID in interface INetworkElement
Returns:
The eID
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
Type of this network element.

Specified by:
getElementType in interface INetworkElement
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.

getSourceID

public int getSourceID()
                throws java.io.IOException,
                       AutomationException
ID of the network dataset source from which this network element was derived.

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

getOID

public int getOID()
           throws java.io.IOException,
                  AutomationException
Object ID of the object corresponding to this network element.

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

getAttributeValue

public java.lang.Object getAttributeValue(int attributeID)
                                   throws java.io.IOException,
                                          AutomationException
Value of this network element for the given network attribute ID.

Specified by:
getAttributeValue in interface INetworkElement
Parameters:
attributeID - The attributeID (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeValueByName

public java.lang.Object getAttributeValueByName(java.lang.String attributeName)
                                         throws java.io.IOException,
                                                AutomationException
Value of this network element for the given network attribute name.

Specified by:
getAttributeValueByName in interface INetworkElement
Parameters:
attributeName - The attributeName (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEdgeCount

public int getEdgeCount()
                 throws java.io.IOException,
                        AutomationException
Number of network edge elements adjacent to this network junction element.

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

getTurnCount

public int getTurnCount()
                 throws java.io.IOException,
                        AutomationException
Number of network turn elements anchored at this network junction.

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

queryEdge

public void queryEdge(int index,
                      boolean leavingJunction,
                      INetworkEdge edge)
               throws java.io.IOException,
                      AutomationException
Queries the index'th network edge element adjacent to this network junction element.

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

queryTurn

public void queryTurn(int index,
                      INetworkTurn turn)
               throws java.io.IOException,
                      AutomationException
Queries the index'th network turn element anchored at this network junction element.

Specified by:
queryTurn in interface INetworkJunction
Parameters:
index - The index (in)
turn - 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.

queryPoint

public void queryPoint(IPoint point)
                throws java.io.IOException,
                       AutomationException
Queries the point object corresponding to this network junction element.

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

getAttributeValueAtTime

public java.lang.Object getAttributeValueAtTime(int attributeID,
                                                java.util.Date localTime,
                                                int timeUsage)
                                         throws java.io.IOException,
                                                AutomationException
Value of this network element for the given network attribute ID and local time.

Specified by:
getAttributeValueAtTime in interface INetworkJunction2
Parameters:
attributeID - The attributeID (in)
localTime - The localTime (in)
timeUsage - A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.