public class Circuit extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ICircuit
Description 'Utility Network Circuit' 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 =
IID, IIDe2674c0f_42ff_4071_b756_c2e8c48f8ff1, xxDummy
Constructor and Description |
---|
Circuit()
Constructs a Circuit using ArcGIS Engine.
|
Circuit(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Circuit theCircuit = (Circuit) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addSection(ICircuitSection circuitSection)
Adds section.
|
void |
addSubcircuit(ISubcircuit subcircuit)
Adds subcircuit.
|
void |
deleteSection(int sectionID)
Deletes section.
|
void |
deleteSubcircuit(java.lang.String subcircuitName)
Deletes subcircuit.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getName()
Returns the name.
|
IArray |
getSections()
Returns sections.
|
void |
getStartStopLocation(ICircuitLocation startLocation,
ICircuitLocation stopLocation)
Returns start and stop locations.
|
IArray |
getSubcircuits()
Returns subcircuits.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isSectioned()
Returns whether the circuit is sectioned.
|
void |
release()
Release this COM object reference
|
void |
setStartStopLocation(ICircuitLocation startLocation,
ICircuitLocation stopLocation)
Sets start and stop locations.
|
public Circuit() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic Circuit(java.lang.Object obj) throws java.io.IOException
Circuit theCircuit = (Circuit) obj;
obj
to Circuit
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface ICircuit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSectioned() throws java.io.IOException, AutomationException
isSectioned
in interface ICircuit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IArray getSections() throws java.io.IOException, AutomationException
getSections
in interface ICircuit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addSection(ICircuitSection circuitSection) throws java.io.IOException, AutomationException
addSection
in interface ICircuit
circuitSection
- A reference to a com.esri.arcgis.geodatabase.ICircuitSection (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteSection(int sectionID) throws java.io.IOException, AutomationException
deleteSection
in interface ICircuit
sectionID
- The sectionID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IArray getSubcircuits() throws java.io.IOException, AutomationException
getSubcircuits
in interface ICircuit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addSubcircuit(ISubcircuit subcircuit) throws java.io.IOException, AutomationException
addSubcircuit
in interface ICircuit
subcircuit
- A reference to a com.esri.arcgis.geodatabase.ISubcircuit (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteSubcircuit(java.lang.String subcircuitName) throws java.io.IOException, AutomationException
deleteSubcircuit
in interface ICircuit
subcircuitName
- The subcircuitName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getStartStopLocation(ICircuitLocation startLocation, ICircuitLocation stopLocation) throws java.io.IOException, AutomationException
getStartStopLocation
in interface ICircuit
startLocation
- A reference to a com.esri.arcgis.geodatabase.ICircuitLocation (in)stopLocation
- A reference to a com.esri.arcgis.geodatabase.ICircuitLocation (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setStartStopLocation(ICircuitLocation startLocation, ICircuitLocation stopLocation) throws java.io.IOException, AutomationException
setStartStopLocation
in interface ICircuit
startLocation
- A reference to a com.esri.arcgis.geodatabase.ICircuitLocation (in)stopLocation
- A reference to a com.esri.arcgis.geodatabase.ICircuitLocation (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.