com.esri.arcgis.networkanalysis
Class JunctionFlag

java.lang.Object
  extended by com.esri.arcgis.networkanalysis.JunctionFlag
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IJunctionFlag, INetFlag, Serializable

public class JunctionFlag
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IJunctionFlag, INetFlag

A container for defining a network flag on a junction element for a trace flow solver.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
JunctionFlag()
          Constructs a JunctionFlag using ArcGIS Engine.
JunctionFlag(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
JunctionFlag theJunctionFlag = (JunctionFlag) obj;
 
Method Summary
 boolean equals(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 String getClsid()
          getClsid.
 String getLabel()
          Label of this flag.
 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
 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(String label)
          Label of this 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
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

JunctionFlag

public JunctionFlag()
             throws IOException,
                    UnknownHostException
Constructs a JunctionFlag using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

JunctionFlag

public JunctionFlag(Object obj)
             throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
JunctionFlag theJunctionFlag = (JunctionFlag) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getLabel

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setLabel

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getUserClassID

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

Remarks

The UserClassID must be a positive integer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setUserClassID

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

Remarks

The UserClassID must be a positive integer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getUserID

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

Remarks

The UserID must be a positive integer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setUserID

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

Remarks

The UserID must be a positive integer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getUserSubID

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

Remarks

The UserSubID must be a non-negative integer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setUserSubID

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

Remarks

The UserSubID must be a non-negative integer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setClientClassID

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getClientClassID

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setClientID

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getClientID

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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