com.esri.arcgis.networkanalysis
Class INetSolverWeightsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.networkanalysis.INetSolverWeightsProxy
All Implemented Interfaces:
INetSolverWeights, Externalizable, Serializable

public class INetSolverWeightsProxy
extends com.esri.arcgis.interop.Dispatch
implements INetSolverWeights, Serializable

Provides access to members that specify the weights to be used for this solver.

When To Use

Use the INetSolverWeightsinterface to specify what weights to use for tracing operations.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
INetWeightEdit, INetSolverWeights, INetWeightAssociation, ITraceFlowSolver, INetSolver, INetWeightAssociationEdit,

Not all members are callable from Java. Please use INetSolverWeightsGEN instead.

, Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INetSolverWeightsProxy()
           
  INetSolverWeightsProxy(Object obj)
           
protected INetSolverWeightsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setFilterRanges(int elementType, int rangeCount, Object fromValues, Object toValues)
          Sets the range of values to be filtered for the specified network element type.
 void setFilterType(int elementType, int weightFilterType, boolean applyNotOperator)
          Sets the filter type for the specified network element type.
 void setFromToEdgeFilterWeightByRef(INetWeight rhs1)
          Weight to be used for filtering edge elements traced in the digitized direction.
 void setFromToEdgeWeightByRef(INetWeight rhs1)
          Weight to be used to determine the cost of passing through edge elements in the digitized direction.
 void setJunctionFilterWeightByRef(INetWeight rhs1)
          Weight to be used for filtering junction elements.
 void setJunctionWeightByRef(INetWeight rhs1)
          Weight to be used to determine the cost of passing through junction elements.
 void setToFromEdgeFilterWeightByRef(INetWeight rhs1)
          Weight to be used for filtering edge elements traced against the digitized direction.
 void setToFromEdgeWeightByRef(INetWeight rhs1)
          Weight to be used to determine the cost of passing through edge elements against the digitized direction.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INetSolverWeightsProxy

public INetSolverWeightsProxy()

INetSolverWeightsProxy

public INetSolverWeightsProxy(Object obj)
                       throws IOException
Throws:
IOException

INetSolverWeightsProxy

protected INetSolverWeightsProxy(Object obj,
                                 String iid)
                          throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

setJunctionWeightByRef

public void setJunctionWeightByRef(INetWeight rhs1)
                            throws IOException,
                                   AutomationException
Weight to be used to determine the cost of passing through junction elements.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setJunctionWeightByRef in interface INetSolverWeights
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromToEdgeWeightByRef

public void setFromToEdgeWeightByRef(INetWeight rhs1)
                              throws IOException,
                                     AutomationException
Weight to be used to determine the cost of passing through edge elements in the digitized direction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFromToEdgeWeightByRef in interface INetSolverWeights
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToFromEdgeWeightByRef

public void setToFromEdgeWeightByRef(INetWeight rhs1)
                              throws IOException,
                                     AutomationException
Weight to be used to determine the cost of passing through edge elements against the digitized direction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setToFromEdgeWeightByRef in interface INetSolverWeights
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setJunctionFilterWeightByRef

public void setJunctionFilterWeightByRef(INetWeight rhs1)
                                  throws IOException,
                                         AutomationException
Weight to be used for filtering junction elements.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setJunctionFilterWeightByRef in interface INetSolverWeights
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromToEdgeFilterWeightByRef

public void setFromToEdgeFilterWeightByRef(INetWeight rhs1)
                                    throws IOException,
                                           AutomationException
Weight to be used for filtering edge elements traced in the digitized direction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFromToEdgeFilterWeightByRef in interface INetSolverWeights
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToFromEdgeFilterWeightByRef

public void setToFromEdgeFilterWeightByRef(INetWeight rhs1)
                                    throws IOException,
                                           AutomationException
Weight to be used for filtering edge elements traced against the digitized direction.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setToFromEdgeFilterWeightByRef in interface INetSolverWeights
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFilterType

public void setFilterType(int elementType,
                          int weightFilterType,
                          boolean applyNotOperator)
                   throws IOException,
                          AutomationException
Sets the filter type for the specified network element type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFilterType in interface INetSolverWeights
Parameters:
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
weightFilterType - A com.esri.arcgis.networkanalysis.esriWeightFilterType constant (in)
applyNotOperator - The applyNotOperator (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFilterRanges

public void setFilterRanges(int elementType,
                            int rangeCount,
                            Object fromValues,
                            Object toValues)
                     throws IOException,
                            AutomationException
Sets the range of values to be filtered for the specified network element type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFilterRanges in interface INetSolverWeights
Parameters:
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
rangeCount - The rangeCount (in)
fromValues - A Variant (in)
toValues - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException