public class TNTracerService extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ITracer, ITraceResults
Description 'Trace Network Tracer.' 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, IID8a5938f3_74a8_43b9_961c_59083d327137, xxDummy
IID, IID29c70874_c8c3_4964_b681_c14a167641ee, xxDummy
Constructor and Description |
---|
TNTracerService(java.lang.Object obj)
Construct a TNTracerService using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
void |
addTraceLocation(int type,
int elementType,
long eID)
Adds a trace location.
|
void |
addTraceLocationForEdgeFeatures(int type,
IStringArray edgeGlobalIDs,
IDoubleArray percentAlongLengths)
Adds trace location for edge features.
|
void |
addTraceLocationForJunctionFeatures(int type,
IStringArray junctionGlobalIDs,
ILongArray terminalIDs)
Adds trace location for junction features.
|
void |
addTraceLocations(int type,
int[] elementTypes,
long[] eIDs)
Adds trace locations.
|
void |
addTraceLocationsFromGeometries(int type,
IArray geometries)
Add the given geometries as trace locations.
|
void |
deleteTraceLocations(int type)
Deletes all trace locations.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
getAggregatedGeometries(IGeometry[] aggregatedPointGeometry,
IGeometry[] aggregatedLineGeometry,
IGeometry[] aggregatedPolygonGeometry)
Returns aggregated geometries.
|
java.lang.Object |
getGlobalFunctionResult(IUNFunction function)
Returns the global function result.
|
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.
|
IArray |
getResultTypes()
Returns the result types.
|
ITraceConfiguration |
getTraceConfiguration()
Returns trace configuration.
|
GUID |
getTraceConfigurationGlobalID()
Returns trace configuration global ID.
|
void |
getTraceLocations(int type,
int[][] elementTypes,
long[][] eIDs)
Returns trace locations.
|
void |
getTraceResultConnectivity(ILongArray[] viaNetworkSourceIDs,
IStringArray[] viaGlobalIDs,
ILongArray[] viaObjectIDs,
IDoubleArray[] viaPositionFroms,
IDoubleArray[] viaPositionTos,
IArray[] viaGeometries,
ILongArray[] fromNetworkSourceIDs,
IStringArray[] fromGlobalIDs,
ILongArray[] fromObjectIDs,
ILongArray[] fromTerminalIDs,
IArray[] fromGeometries,
ILongArray[] toNetworkSourceIDs,
IStringArray[] toGlobalIDs,
ILongArray[] toObjectIDs,
ILongArray[] toTerminalIDs,
IArray[] toGeometries)
Returns connectivity information for trace results.
|
void |
getTraceResultFeatures(ILongArray[] junctionNetworkSourceIDs,
IStringArray[] junctionGlobalIDs,
ILongArray[] junctionObjectIDs,
ILongArray[] junctionTerminalIDs,
ILongArray[] junctionAssetGroupCodes,
ILongArray[] junctionAssetTypeCodes,
ILongArray[] edgeNetworkSourceIDs,
IStringArray[] edgeGlobalIDs,
ILongArray[] edgeObjectIDs,
ILongArray[] edgeAssetGroupCodes,
ILongArray[] edgeAssetTypeCodes)
Returns the trace results as features.
|
void |
getTraceResultFeaturesWithPosition(ILongArray[] junctionNetworkSourceIDs,
IStringArray[] junctionGlobalIDs,
ILongArray[] junctionObjectIDs,
ILongArray[] junctionTerminalIDs,
ILongArray[] junctionAssetGroupCodes,
ILongArray[] junctionAssetTypeCodes,
ILongArray[] edgeNetworkSourceIDs,
IStringArray[] edgeGlobalIDs,
ILongArray[] edgeObjectIDs,
ILongArray[] edgeAssetGroupCodes,
ILongArray[] edgeAssetTypeCodes,
IDoubleArray[] edgePositionFroms,
IDoubleArray[] edgePositionTos)
Returns the trace results as features with position from and position to for lines.
|
IStringArray |
getWarnings()
Returns warnings.
|
int |
hashCode()
the hashcode for this object
|
void |
initialize(IUtilityNetworkQuery unQuery,
IDataElement definition)
Initializes the tracer.
|
void |
release()
Release this COM object reference
|
void |
setResultTypesByRef(IArray resultTypes)
Returns the result types.
|
void |
setTraceConfigurationByRef(ITraceConfiguration traceConfiguration)
Returns trace configuration.
|
void |
setTraceConfigurationGlobalID(GUID globalID)
Returns trace configuration global ID.
|
void |
trace(int traceType,
long[][] junctionEIDs,
long[][] edgeEIDs)
Execute the given trace.
|
void |
traceEx(int traceType,
boolean asynchronous,
long[][] junctionEIDs,
long[][] edgeEIDs)
Execute the given trace.
|
public TNTracerService(java.lang.Object obj) throws java.io.IOException
obj
to TNTracerService
. *
TNTracerService o = (TNTracerService)obj; // will not work
TNTracerService o = new TNTracerService(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problems
TNTracerService theTNTracerService = (TNTracerService) obj;
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 void initialize(IUtilityNetworkQuery unQuery, IDataElement definition) throws java.io.IOException, AutomationException
initialize
in interface ITracer
unQuery
- A reference to a com.esri.arcgis.geodatabase.IUtilityNetworkQuery (in)definition
- A reference to a com.esri.arcgis.geodatabase.IDataElement (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addTraceLocation(int type, int elementType, long eID) throws java.io.IOException, AutomationException
addTraceLocation
in interface ITracer
type
- A com.esri.arcgis.geodatabase.esriTraceLocationType constant (in)elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)eID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addTraceLocations(int type, int[] elementTypes, long[] eIDs) throws java.io.IOException, AutomationException
addTraceLocations
in interface ITracer
type
- A com.esri.arcgis.geodatabase.esriTraceLocationType constant (in)elementTypes
- A com.esri.arcgis.geodatabase.esriElementType constant array (in)eIDs
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteTraceLocations(int type) throws java.io.IOException, AutomationException
deleteTraceLocations
in interface ITracer
type
- A com.esri.arcgis.geodatabase.esriTraceLocationType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getTraceLocations(int type, int[][] elementTypes, long[][] eIDs) throws java.io.IOException, AutomationException
getTraceLocations
in interface ITracer
type
- A com.esri.arcgis.geodatabase.esriTraceLocationType constant (in)elementTypes
- A com.esri.arcgis.geodatabase.esriElementType constant array (out: use single element array)eIDs
- Signed 64-bit int (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addTraceLocationForJunctionFeatures(int type, IStringArray junctionGlobalIDs, ILongArray terminalIDs) throws java.io.IOException, AutomationException
addTraceLocationForJunctionFeatures
in interface ITracer
type
- A com.esri.arcgis.geodatabase.esriTraceLocationType constant (in)junctionGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (in)terminalIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addTraceLocationForEdgeFeatures(int type, IStringArray edgeGlobalIDs, IDoubleArray percentAlongLengths) throws java.io.IOException, AutomationException
addTraceLocationForEdgeFeatures
in interface ITracer
type
- A com.esri.arcgis.geodatabase.esriTraceLocationType constant (in)edgeGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (in)percentAlongLengths
- A reference to a com.esri.arcgis.system.IDoubleArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addTraceLocationsFromGeometries(int type, IArray geometries) throws java.io.IOException, AutomationException
addTraceLocationsFromGeometries
in interface ITracer
type
- A com.esri.arcgis.geodatabase.esriTraceLocationType constant (in)geometries
- A reference to a com.esri.arcgis.system.IArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITraceConfiguration getTraceConfiguration() throws java.io.IOException, AutomationException
getTraceConfiguration
in interface ITracer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTraceConfigurationByRef(ITraceConfiguration traceConfiguration) throws java.io.IOException, AutomationException
setTraceConfigurationByRef
in interface ITracer
traceConfiguration
- A reference to a com.esri.arcgis.geodatabase.ITraceConfiguration (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IArray getResultTypes() throws java.io.IOException, AutomationException
getResultTypes
in interface ITracer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setResultTypesByRef(IArray resultTypes) throws java.io.IOException, AutomationException
setResultTypesByRef
in interface ITracer
resultTypes
- A reference to a com.esri.arcgis.system.IArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void trace(int traceType, long[][] junctionEIDs, long[][] edgeEIDs) throws java.io.IOException, AutomationException
trace
in interface ITracer
traceType
- A com.esri.arcgis.geodatabase.esriUtilityNetworkTraceType constant (in)junctionEIDs
- Signed 64-bit int (out: use single element array)edgeEIDs
- Signed 64-bit int (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public GUID getTraceConfigurationGlobalID() throws java.io.IOException, AutomationException
getTraceConfigurationGlobalID
in interface ITracer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTraceConfigurationGlobalID(GUID globalID) throws java.io.IOException, AutomationException
setTraceConfigurationGlobalID
in interface ITracer
globalID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void traceEx(int traceType, boolean asynchronous, long[][] junctionEIDs, long[][] edgeEIDs) throws java.io.IOException, AutomationException
traceEx
in interface ITracer
traceType
- A com.esri.arcgis.geodatabase.esriUtilityNetworkTraceType constant (in)asynchronous
- The asynchronous (in)junctionEIDs
- Signed 64-bit int (out: use single element array)edgeEIDs
- Signed 64-bit int (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getGlobalFunctionResult(IUNFunction function) throws java.io.IOException, AutomationException
getGlobalFunctionResult
in interface ITraceResults
function
- A reference to a com.esri.arcgis.geodatabase.IUNFunction (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getTraceResultFeatures(ILongArray[] junctionNetworkSourceIDs, IStringArray[] junctionGlobalIDs, ILongArray[] junctionObjectIDs, ILongArray[] junctionTerminalIDs, ILongArray[] junctionAssetGroupCodes, ILongArray[] junctionAssetTypeCodes, ILongArray[] edgeNetworkSourceIDs, IStringArray[] edgeGlobalIDs, ILongArray[] edgeObjectIDs, ILongArray[] edgeAssetGroupCodes, ILongArray[] edgeAssetTypeCodes) throws java.io.IOException, AutomationException
getTraceResultFeatures
in interface ITraceResults
junctionNetworkSourceIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)junctionGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)junctionObjectIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)junctionTerminalIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)junctionAssetGroupCodes
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)junctionAssetTypeCodes
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)edgeNetworkSourceIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)edgeGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)edgeObjectIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)edgeAssetGroupCodes
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)edgeAssetTypeCodes
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IStringArray getWarnings() throws java.io.IOException, AutomationException
getWarnings
in interface ITraceResults
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getAggregatedGeometries(IGeometry[] aggregatedPointGeometry, IGeometry[] aggregatedLineGeometry, IGeometry[] aggregatedPolygonGeometry) throws java.io.IOException, AutomationException
getAggregatedGeometries
in interface ITraceResults
aggregatedPointGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)aggregatedLineGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)aggregatedPolygonGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getTraceResultFeaturesWithPosition(ILongArray[] junctionNetworkSourceIDs, IStringArray[] junctionGlobalIDs, ILongArray[] junctionObjectIDs, ILongArray[] junctionTerminalIDs, ILongArray[] junctionAssetGroupCodes, ILongArray[] junctionAssetTypeCodes, ILongArray[] edgeNetworkSourceIDs, IStringArray[] edgeGlobalIDs, ILongArray[] edgeObjectIDs, ILongArray[] edgeAssetGroupCodes, ILongArray[] edgeAssetTypeCodes, IDoubleArray[] edgePositionFroms, IDoubleArray[] edgePositionTos) throws java.io.IOException, AutomationException
getTraceResultFeaturesWithPosition
in interface ITraceResults
junctionNetworkSourceIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)junctionGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)junctionObjectIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)junctionTerminalIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)junctionAssetGroupCodes
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)junctionAssetTypeCodes
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)edgeNetworkSourceIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)edgeGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)edgeObjectIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)edgeAssetGroupCodes
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)edgeAssetTypeCodes
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)edgePositionFroms
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)edgePositionTos
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getTraceResultConnectivity(ILongArray[] viaNetworkSourceIDs, IStringArray[] viaGlobalIDs, ILongArray[] viaObjectIDs, IDoubleArray[] viaPositionFroms, IDoubleArray[] viaPositionTos, IArray[] viaGeometries, ILongArray[] fromNetworkSourceIDs, IStringArray[] fromGlobalIDs, ILongArray[] fromObjectIDs, ILongArray[] fromTerminalIDs, IArray[] fromGeometries, ILongArray[] toNetworkSourceIDs, IStringArray[] toGlobalIDs, ILongArray[] toObjectIDs, ILongArray[] toTerminalIDs, IArray[] toGeometries) throws java.io.IOException, AutomationException
getTraceResultConnectivity
in interface ITraceResults
viaNetworkSourceIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)viaGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)viaObjectIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)viaPositionFroms
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)viaPositionTos
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)viaGeometries
- A reference to a com.esri.arcgis.system.IArray (out: use single element array)fromNetworkSourceIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)fromGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)fromObjectIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)fromTerminalIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)fromGeometries
- A reference to a com.esri.arcgis.system.IArray (out: use single element array)toNetworkSourceIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)toGlobalIDs
- A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)toObjectIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)toTerminalIDs
- A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)toGeometries
- A reference to a com.esri.arcgis.system.IArray (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.