|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.NetElementDescription
public class NetElementDescription
A container for describing an element in the network.
NetElementDescription objects are used to add new elements to a logical network. The AddEdgeByEndEIDs and AddJunction methods on the INetTopologyEdit interface both take NetElementDescription objects as input for creating new elements.
You should only be adding new elements to logical networks that do not have associated geometric networks. For geometric networks, simply add new features--new elements will automatically be added when you add the new features.
| Constructor Summary | |
|---|---|
NetElementDescription()
Constructs a NetElementDescription using ArcGIS Engine. |
|
NetElementDescription(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NetElementDescription theNetElementDescription = (NetElementDescription) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getElementType()
Type of network element described by this NetElementDescription object. |
int |
getUserClassID()
User class ID for the element described by this NetElementDescription object. |
int |
getUserID()
User ID for the element described by this NetElementDescription object. |
int |
getUserSubID()
User sub ID for the element described by this NetElementDescription object. |
int |
hashCode()
the hashcode for this object |
void |
setElementType(int rhs1)
Type of network element for this NetElementDescription object. |
void |
setUserClassID(int rhs1)
User class ID for this NetElementDescription object. |
void |
setUserID(int rhs1)
User ID for this NetElementDescription object. |
void |
setUserSubID(int rhs1)
User sub ID for this NetElementDescription object. |
| 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 NetElementDescription()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public NetElementDescription(Object obj)
throws IOException
NetElementDescription theNetElementDescription = (NetElementDescription) obj;
obj to NetElementDescription.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getUserClassID()
throws IOException,
AutomationException
UserClassID returns the object class ID of the element. Use INetElementDescriptionEdit to update the value.
getUserClassID in interface INetElementDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUserID()
throws IOException,
AutomationException
UserID returns the object ID (OID) of the element. Use INetElementDescriptionEdit to update the value.
getUserID in interface INetElementDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUserSubID()
throws IOException,
AutomationException
UserSubID returns the index number of the element within the feature. Use INetElementDescriptionEdit to update the value.
getUserSubID in interface INetElementDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getElementType()
throws IOException,
AutomationException
ElementType returns the type of the element. The possible types are esriETEdge (value of 2), esriETJunction (value of 1), esriETNone (value of 0), and esriETTurn (value of 3).
getElementType in interface INetElementDescriptionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUserClassID(int rhs1)
throws IOException,
AutomationException
UserClassID allows setting and retrieval of the object class ID of the element. Use INetElementDescription for read-only access.
The UserClassID must be a positive integer.
setUserClassID in interface INetElementDescriptionEditrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUserID(int rhs1)
throws IOException,
AutomationException
UserID allows setting and retrieval of the object ID (OID) of the element. Use INetElementDescription for read-only access.
The UserID must be a positive integer.
setUserID in interface INetElementDescriptionEditrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUserSubID(int rhs1)
throws IOException,
AutomationException
UserSubID allows setting and retrieval of the sub ID of the element within the feature. Use INetElementDescription for read-only access.
The UserSubID must be a non-negative integer.
setUserSubID in interface INetElementDescriptionEditrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setElementType(int rhs1)
throws IOException,
AutomationException
ElementType return or sets the type of the element. The possible types are esriETEdge (value of 2), esriETJunction (value of 1), esriETNone (value of 0), and esriETTurn (value of 3).
setElementType in interface INetElementDescriptionEditrhs1 - A com.esri.arcgis.geodatabase.esriElementType constant (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 | ||||||||