com.esri.arcgis.geodatabase
Class NetElementDescription

java.lang.Object
  extended by com.esri.arcgis.geodatabase.NetElementDescription
All Implemented Interfaces:
INetElementDescription, INetElementDescriptionEdit, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class NetElementDescription
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INetElementDescription, INetElementDescriptionEdit

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

Description 'A container for describing an element in the network.' 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.INetElementDescriptionEdit
IID, IID027e7416_981b_11d1_b264_0000f878229e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetElementDescription
IIDb1eb90e0_0cfa_11d1_9cd7_00805f74d243
 
Constructor Summary
NetElementDescription()
          Constructs a NetElementDescription using ArcGIS Engine.
NetElementDescription(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NetElementDescription theNetElementDescription = (NetElementDescription) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getElementType()
          Type of network element described by this NetElementDescription object.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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 release()
          Release a NetElementDescription.
 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
 

Constructor Detail

NetElementDescription

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

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

NetElementDescription

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

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

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

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

getUserClassID

public int getUserClassID()
                   throws java.io.IOException,
                          AutomationException
User class ID for the element described by this NetElementDescription object.

Specified by:
getUserClassID in interface INetElementDescription
Returns:
The elementclassUserID
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 for the element described by this NetElementDescription object.

Specified by:
getUserID in interface INetElementDescription
Returns:
The userID
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 for the element described by this NetElementDescription object.

Specified by:
getUserSubID in interface INetElementDescription
Returns:
The userSubID
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 network element described by this NetElementDescription object.

Specified by:
getElementType in interface INetElementDescription
Returns:
A com.esri.arcgis.geodatabase.esriElementType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUserClassID

public void setUserClassID(int rhs1)
                    throws java.io.IOException,
                           AutomationException
User class ID for this NetElementDescription object.

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

setUserID

public void setUserID(int rhs1)
               throws java.io.IOException,
                      AutomationException
User ID for this NetElementDescription object.

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

setUserSubID

public void setUserSubID(int rhs1)
                  throws java.io.IOException,
                         AutomationException
User sub ID for this NetElementDescription object.

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

setElementType

public void setElementType(int rhs1)
                    throws java.io.IOException,
                           AutomationException
Type of network element for this NetElementDescription object.

Specified by:
setElementType in interface INetElementDescriptionEdit
Parameters:
rhs1 - A com.esri.arcgis.geodatabase.esriElementType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.