|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.EnumNetEIDArray
public class EnumNetEIDArray
A container for defining a network element ID (EID) enumeration.
Constructor Summary | |
---|---|
EnumNetEIDArray()
Constructs a EnumNetEIDArray using ArcGIS Engine. |
|
EnumNetEIDArray(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EnumNetEIDArray theEnumNetEIDArray = (EnumNetEIDArray) obj; |
Method Summary | |
---|---|
void |
add(int eID)
Adds an element to this EID enumeration. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
Number of network elements in this enumeration. |
int |
getElementType()
Type of network elements in this enumeration. |
INetwork |
getNetwork()
Network from which these elements came. |
int |
hashCode()
the hashcode for this object |
int |
last()
Forces the enumerator pointing at the last element in the enumeration and returns the last element. |
int |
next()
Moves the enumerator forward and returns the network element pointed by the enumerator. |
int |
prev()
Returns the network element pointed by the enumerator and moves the enumerator backward. |
void |
reset()
Forces the enumerator pointing before first network element; a subsequent next gives the first network element in the enumeration. |
void |
setEIDs(int[] rhs1)
Array of EIDs in this enumeration. |
void |
setEIDs(int count,
int[] rhs2)
Array of EIDs in this enumeration. |
void |
setElementType(int rhs1)
Type of network elements to be in this enumeration. |
void |
setNetworkByRef(INetwork rhs1)
Network from which these elements came. |
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 |
---|
public EnumNetEIDArray() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic EnumNetEIDArray(Object obj) throws IOException
EnumNetEIDArray theEnumNetEIDArray = (EnumNetEIDArray) obj;
obj
to EnumNetEIDArray
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public INetwork getNetwork() throws IOException, AutomationException
getNetwork
in interface IEnumNetEID
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
Returns the number of elements in the enumeration.
getCount
in interface IEnumNetEID
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getElementType() throws IOException, AutomationException
The element type is a value from the esriElementType enumeration. Note that turns are only available for street networks and not utility networks.
getElementType
in interface IEnumNetEID
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
reset
in interface IEnumNetEID
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int next() throws IOException, AutomationException
next
in interface IEnumNetEID
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int last() throws IOException, AutomationException
last
in interface IEnumNetEID
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int prev() throws IOException, AutomationException
prev
in interface IEnumNetEID
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNetworkByRef(INetwork rhs1) throws IOException, AutomationException
setNetworkByRef
in interface IEnumNetEIDBuilder
setNetworkByRef
in interface IEnumNetEIDBuilderGEN
rhs1
- A reference to a com.esri.arcgis.geodatabase.INetwork (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(int eID) throws IOException, AutomationException
add
in interface IEnumNetEIDBuilder
add
in interface IEnumNetEIDBuilderGEN
eID
- The eID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setElementType(int rhs1) throws IOException, AutomationException
setElementType
in interface IEnumNetEIDBuilder
setElementType
in interface IEnumNetEIDBuilderGEN
rhs1
- A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEIDs(int[] rhs1) throws IOException, AutomationException
setEIDs
in interface IEnumNetEIDBuilderGEN
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEIDs(int count, int[] rhs2) throws IOException, AutomationException
setEIDs
in interface IEnumNetEIDBuilder
count
- The count (in)rhs2
- The rhs2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |