com.esri.arcgis.networkanalysis
Class EdgeFlag

java.lang.Object
  extended by com.esri.arcgis.networkanalysis.EdgeFlag
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IEdgeFlag, INetFlag, java.io.Serializable

public class EdgeFlag
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IEdgeFlag, INetFlag

COM Class 'EdgeFlag'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriNetworkAnalysis.olb'

Description 'A container for defining a network flag on an edge element for a trace flow solver.' 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.networkanalysis.IEdgeFlag
IID, IID19f99c8f_a089_11d0_9cc9_00805f74d243, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalysis.INetFlag
IID, IID19f99c8d_a089_11d0_9cc9_00805f74d243, xxDummy
 
Constructor Summary
EdgeFlag()
          Constructs a EdgeFlag using ArcGIS Engine.
EdgeFlag(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EdgeFlag theEdgeFlag = (EdgeFlag) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getClientClassID()
          User-specified client class ID of this flag.
 int getClientID()
          User-specified client ID of this flag.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getLabel()
          Label of this flag.
 float getPosition()
          Position of the flag along the edge.
 int getUserClassID()
          User class ID of the network element on which this flag is placed.
 int getUserID()
          User ID of the network element on which this flag is placed.
 int getUserSubID()
          User sub ID of the network element on which this flag is placed.
 int hashCode()
          the hashcode for this object
 boolean isTwoWay()
          Indicates if the trace can proceed in either direction from this edge flag.
 void release()
          Release a EdgeFlag.
 void setClientClassID(int clientClassID)
          User-specified client class ID of this flag.
 void setClientID(int clientID)
          User-specified client ID of this flag.
 void setLabel(java.lang.String label)
          Label of this flag.
 void setPosition(float position)
          Position of the flag along the edge.
 void setTwoWay(boolean twoWay)
          Indicates if the trace can proceed in either direction from this edge flag.
 void setUserClassID(int userClassID)
          User class ID of the network element on which this flag is placed.
 void setUserID(int userID)
          User ID of the network element on which this flag is placed.
 void setUserSubID(int userID)
          User sub ID of the network element on which this flag is placed.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeFlag

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

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

EdgeFlag

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

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

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

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

getPosition

public float getPosition()
                  throws java.io.IOException,
                         AutomationException
Position of the flag along the edge.

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

setPosition

public void setPosition(float position)
                 throws java.io.IOException,
                        AutomationException
Position of the flag along the edge.

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

isTwoWay

public boolean isTwoWay()
                 throws java.io.IOException,
                        AutomationException
Indicates if the trace can proceed in either direction from this edge flag.

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

setTwoWay

public void setTwoWay(boolean twoWay)
               throws java.io.IOException,
                      AutomationException
Indicates if the trace can proceed in either direction from this edge flag.

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

getLabel

public java.lang.String getLabel()
                          throws java.io.IOException,
                                 AutomationException
Label of this flag.

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

setLabel

public void setLabel(java.lang.String label)
              throws java.io.IOException,
                     AutomationException
Label of this flag.

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

getUserClassID

public int getUserClassID()
                   throws java.io.IOException,
                          AutomationException
User class ID of the network element on which this flag is placed.

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

setUserClassID

public void setUserClassID(int userClassID)
                    throws java.io.IOException,
                           AutomationException
User class ID of the network element on which this flag is placed.

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

getUserID

public int getUserID()
              throws java.io.IOException,
                     AutomationException
User ID of the network element on which this flag is placed.

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

setUserID

public void setUserID(int userID)
               throws java.io.IOException,
                      AutomationException
User ID of the network element on which this flag is placed.

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

getUserSubID

public int getUserSubID()
                 throws java.io.IOException,
                        AutomationException
User sub ID of the network element on which this flag is placed.

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

setUserSubID

public void setUserSubID(int userID)
                  throws java.io.IOException,
                         AutomationException
User sub ID of the network element on which this flag is placed.

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

setClientClassID

public void setClientClassID(int clientClassID)
                      throws java.io.IOException,
                             AutomationException
User-specified client class ID of this flag.

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

getClientClassID

public int getClientClassID()
                     throws java.io.IOException,
                            AutomationException
User-specified client class ID of this flag.

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

setClientID

public void setClientID(int clientID)
                 throws java.io.IOException,
                        AutomationException
User-specified client ID of this flag.

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

getClientID

public int getClientID()
                throws java.io.IOException,
                       AutomationException
User-specified client ID of this flag.

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