com.esri.core.tasks.ags.na
Class ClosestFacilityTaskParameters

java.lang.Object
  extended by com.esri.core.tasks.ags.na.NATaskParameters
      extended by com.esri.core.tasks.ags.na.ClosestFacilityTaskParameters

public class ClosestFacilityTaskParameters
extends NATaskParameters


Constructor Summary
ClosestFacilityTaskParameters()
           
 
Method Summary
 String[] getAccumulateAttributeNames()
          Returns the list of accumulate attribute names
 AttributeParameterValue[] getAttributeParameterValues()
          Returns the list of attribute parameter values
 Double getDefaultCutoff()
          Gets the default cutoff value to stop traversing
 Integer getDefaultTargetFacilityCount()
          Gets the default number of target facilities to find
 String getDirectionsLanguage()
          Returns the language in which to return the directions
 DirectionsLengthUnit getDirectionsLengthUnit()
          Returns the Unit type of the length of the directions
 DirectionsOutputType getDirectionsOutputType()
          Returns the type in which the directions are output
 String getDirectionsStyleName()
          Returns the name of the style in which to return the directions
 String getDirectionsTimeAttributeName()
          Returns the name of the directions time attribute
 NAFeatures getFacilities()
          Gets the facilities used for the closest facility task
 String getImpedanceAttributeName()
          Returns the name of the impedance attribute to use
 NAFeatures getIncidents()
          Gets the incidents used for the closest facility task
 Double getOutputGeometryPrecision()
          Returns the precision value of the output geometry
 Unit.EsriUnit getOutputGeometryPrecisionUnits()
          Returns the unit of the output geometry precision
 NAOutputLine getOutputLines()
          Gets the type of output lines of the route
 SpatialReference getOutSpatialReference()
          Returns the spatial reference of the output geometry
 NAFeatures getPointBarriers()
          Returns the point barriers to avoid while solving
 NAFeatures getPolygonBarriers()
          Returns the polygon barriers to avoid while solving
 NAFeatures getPolylineBarriers()
          Returns the polyline barriers to avoid while solving
 String[] getRestrictionAttributeNames()
          Returns the list of restriction attribute names
 UTurnRestriction getRestrictUTurns()
          Returns the type of U turn restriction to use
 Long getTimeOfDay()
          Gets the time of day at which to compute the closest facility
 NATimeOfDayUsage getTimeOfDayUsage()
          Gets how the time of day should be used (start or end)
 NATravelDirection getTravelDirection()
          Gets the travel direction to use for the closest facility task (to or from the facilities)
 Boolean getUseHierarchy()
          Gets whether or not to use hierarchy
 boolean isReturnCFRoutes()
          Gets whether or not to return closest facility routes
 boolean isReturnDirections()
          Gets whether or not to return turn-by-turn directions for the closest facility routes.
 boolean isReturnFacilities()
          Gets whether or not to return the facilities used in the closest facility task
 boolean isReturnIncidents()
          Gets whether or not to return the incidents used in the closest facility task
 boolean isReturnPointBarriers()
          Gets whether or not to return point barriers
 boolean isReturnPolygonBarriers()
          Gets whether or not to return polygon barriers
 boolean isReturnPolylineBarriers()
          Gets whether or not to return polyline barriers
 boolean isReturnZ()
          Gets whether or not to return z values
 void setAccumulateAttributeNames(String[] accumulateAttributeNames)
          Sets the list of accumulate attribute names
 void setAttributeParameterValues(AttributeParameterValue[] attributeParameterValues)
          Sets the list of attribute parameter values
 void setDefaultCutoff(Double defaultCutoff)
          Sets the default cutoff value to stop traversing
 void setDefaultTargetFacilityCount(Integer defaultTargetFacilityCount)
          Sets the default number of target facilities to find
 void setDirectionsLanguage(String directionsLanguage)
          Sets the language in which to return the directions
 void setDirectionsLengthUnit(DirectionsLengthUnit directionsLengthUnit)
          Sets the Unit type of the length of the directions
 void setDirectionsOutputType(DirectionsOutputType directionsOutputType)
          Sets the type in which the directions are output
 void setDirectionsStyleName(String directionsStyleName)
          Sets the name of the style in which to return the directions
 void setDirectionsTimeAttributeName(String directionsTimeAttributeName)
          Sets the name of the directions time attribute
 void setFacilities(NAFeatures facilities)
          Sets the facilities used for the closest facility task
 void setImpedanceAttributeName(String impedanceAttributeName)
          Sets the name of the impedance attribute to use
 void setIncidents(NAFeatures incidents)
          Sets the incidents used for the closest facility task
 void setOutputGeometryPrecision(Double outputGeometryPrecision)
          Sets the precision value of the output geometry
 void setOutputGeometryPrecisionUnits(Unit.EsriUnit outputGeometryPrecisionUnit)
          Sets the unit of the output geometry precision
 void setOutputLines(NAOutputLine outputLines)
          Sets the type of output lines of the route
 void setOutSpatialReference(SpatialReference outSpatialReference)
          Sets the spatial reference of the output geometry
 void setPointBarriers(NAFeatures barriers)
          Sets the point barriers to avoid while solving
 void setPolygonBarriers(NAFeatures polygonBarriers)
          Sets the polygon barriers to avoid while solving
 void setPolylineBarriers(NAFeatures polylineBarriers)
          Sets the polyline barriers to avoid while solving
 void setRestrictionAttributeNames(String[] restrictionAttributeNames)
          Sets the list of restriction attribute names
 void setRestrictUTurns(UTurnRestriction restrictUTurns)
          Sets the type of U turn restriction to use
 void setReturnCFRoutes(boolean returnCFRoutes)
          Sets whether or not to return closest facility routes
 void setReturnDirections(boolean returnDirections)
          Sets whether or not to return turn-by-turn directions for the closest facility routes.
 void setReturnFacilities(boolean returnFacilities)
          Sets whether or not to return the facilities used in the closest facility task
 void setReturnIncidents(boolean returnIncidents)
          Sets whether or not to return the incidents used in the closest facility task
 void setReturnPointBarriers(boolean returnPointBarriers)
          Sets whether or not to return point barriers
 void setReturnPolygonBarriers(boolean returnPolygonBarriers)
          Sets whether or not to return polygon barriers
 void setReturnPolylineBarriers(boolean returnPolylineBarriers)
          Sets whether or not to return polyline barriers
 void setReturnZ(boolean returnZ)
          Sets whether or not to return z values
 void setTimeOfDay(Long timeOfDay)
          Sets the time of day at which to compute the closest facility
 void setTimeOfDayUsage(NATimeOfDayUsage timeOfDayUsage)
          Sets how the time of day should be used (start or end)
 void setTravelDirection(NATravelDirection travelDirection)
          Sets the travel direction to use for the closest facility task (to or from the facilities)
 void setUseHierarchy(Boolean useHierarchy)
          Sets whether or not to use hierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosestFacilityTaskParameters

public ClosestFacilityTaskParameters()
Method Detail

getFacilities

public NAFeatures getFacilities()
Gets the facilities used for the closest facility task

Returns:
the facilities used for the closest facility task

setFacilities

public void setFacilities(NAFeatures facilities)
Sets the facilities used for the closest facility task

Parameters:
facilities - the facilities used for the closest facility task

getIncidents

public NAFeatures getIncidents()
Gets the incidents used for the closest facility task

Returns:
the incidents used for the closest facility task

setIncidents

public void setIncidents(NAFeatures incidents)
Sets the incidents used for the closest facility task

Parameters:
incidents - the incidents used for the closest facility task

isReturnDirections

public boolean isReturnDirections()
Gets whether or not to return turn-by-turn directions for the closest facility routes.

Returns:
whether or not to return turn-by-turn directions

setReturnDirections

public void setReturnDirections(boolean returnDirections)
Sets whether or not to return turn-by-turn directions for the closest facility routes.

Parameters:
returnDirections - true to return turn-by-turn directions

getDirectionsLanguage

public String getDirectionsLanguage()
Returns the language in which to return the directions

Returns:
the language in which to return the directions

setDirectionsLanguage

public void setDirectionsLanguage(String directionsLanguage)
Sets the language in which to return the directions

Parameters:
directionsLanguage - the language in which to return the directions

getDirectionsOutputType

public DirectionsOutputType getDirectionsOutputType()
Returns the type in which the directions are output

Returns:
the type in which the directions are output

setDirectionsOutputType

public void setDirectionsOutputType(DirectionsOutputType directionsOutputType)
Sets the type in which the directions are output

Parameters:
directionsOutputType - the type in which the directions are output

getDirectionsStyleName

public String getDirectionsStyleName()
Returns the name of the style in which to return the directions

Returns:
the name of the style in which to return the directions

setDirectionsStyleName

public void setDirectionsStyleName(String directionsStyleName)
Sets the name of the style in which to return the directions

Parameters:
directionsStyleName - the name of the style in which to return the directions

getDirectionsLengthUnit

public DirectionsLengthUnit getDirectionsLengthUnit()
Returns the Unit type of the length of the directions

Returns:
the Unit type of the length of the directions

setDirectionsLengthUnit

public void setDirectionsLengthUnit(DirectionsLengthUnit directionsLengthUnit)
Sets the Unit type of the length of the directions

Parameters:
directionsLengthUnit - the Unit type of the length of the directions

getDirectionsTimeAttributeName

public String getDirectionsTimeAttributeName()
Returns the name of the directions time attribute

Returns:
the name of the directions time attribute

setDirectionsTimeAttributeName

public void setDirectionsTimeAttributeName(String directionsTimeAttributeName)
Sets the name of the directions time attribute

Parameters:
directionsTimeAttributeName - the name of the directions time attribute

isReturnCFRoutes

public boolean isReturnCFRoutes()
Gets whether or not to return closest facility routes

Returns:
whether or not to return closest facility routes

setReturnCFRoutes

public void setReturnCFRoutes(boolean returnCFRoutes)
Sets whether or not to return closest facility routes

Parameters:
returnCFRoutes - true to return closest facility routes

isReturnFacilities

public boolean isReturnFacilities()
Gets whether or not to return the facilities used in the closest facility task

Returns:
whether or not to return the facilities

setReturnFacilities

public void setReturnFacilities(boolean returnFacilities)
Sets whether or not to return the facilities used in the closest facility task

Parameters:
returnFacilities - true to return the facilities

isReturnIncidents

public boolean isReturnIncidents()
Gets whether or not to return the incidents used in the closest facility task

Returns:
whether or not to return the incidents

setReturnIncidents

public void setReturnIncidents(boolean returnIncidents)
Sets whether or not to return the incidents used in the closest facility task

Parameters:
returnIncidents - true to return the incidents

getDefaultCutoff

public Double getDefaultCutoff()
Gets the default cutoff value to stop traversing

Returns:
the default cutoff value to stop traversing

setDefaultCutoff

public void setDefaultCutoff(Double defaultCutoff)
Sets the default cutoff value to stop traversing

Parameters:
defaultCutoff - the default cutoff value to stop traversing

getDefaultTargetFacilityCount

public Integer getDefaultTargetFacilityCount()
Gets the default number of target facilities to find

Returns:
the default number of target facilities to find

setDefaultTargetFacilityCount

public void setDefaultTargetFacilityCount(Integer defaultTargetFacilityCount)
Sets the default number of target facilities to find

Parameters:
defaultTargetFacilityCount - the default number of target facilities to find

getTravelDirection

public NATravelDirection getTravelDirection()
Gets the travel direction to use for the closest facility task (to or from the facilities)

Returns:
the travel direction to use

setTravelDirection

public void setTravelDirection(NATravelDirection travelDirection)
Sets the travel direction to use for the closest facility task (to or from the facilities)

Parameters:
travelDirection - the travel direction to use

getTimeOfDay

public Long getTimeOfDay()
Gets the time of day at which to compute the closest facility

Returns:
the time of day at which to compute the closest facility

setTimeOfDay

public void setTimeOfDay(Long timeOfDay)
Sets the time of day at which to compute the closest facility

Parameters:
timeOfDay - the time of day at which to compute the closest facility

getTimeOfDayUsage

public NATimeOfDayUsage getTimeOfDayUsage()
Gets how the time of day should be used (start or end)

Returns:
how the time of day should be used

setTimeOfDayUsage

public void setTimeOfDayUsage(NATimeOfDayUsage timeOfDayUsage)
Sets how the time of day should be used (start or end)

Parameters:
timeOfDayUsage - how the time of day should be used

getPointBarriers

public NAFeatures getPointBarriers()
Description copied from class: NATaskParameters
Returns the point barriers to avoid while solving

Specified by:
getPointBarriers in class NATaskParameters
Returns:
the point barriers to avoid while solving

setPointBarriers

public void setPointBarriers(NAFeatures barriers)
Description copied from class: NATaskParameters
Sets the point barriers to avoid while solving

Specified by:
setPointBarriers in class NATaskParameters
Parameters:
barriers - the point barriers to avoid while solving

getPolylineBarriers

public NAFeatures getPolylineBarriers()
Description copied from class: NATaskParameters
Returns the polyline barriers to avoid while solving

Specified by:
getPolylineBarriers in class NATaskParameters
Returns:
polylineBarriers the polyline barriers to avoid while solving

setPolylineBarriers

public void setPolylineBarriers(NAFeatures polylineBarriers)
Description copied from class: NATaskParameters
Sets the polyline barriers to avoid while solving

Specified by:
setPolylineBarriers in class NATaskParameters
Parameters:
polylineBarriers - the polyline barriers to avoid while solving

getPolygonBarriers

public NAFeatures getPolygonBarriers()
Description copied from class: NATaskParameters
Returns the polygon barriers to avoid while solving

Specified by:
getPolygonBarriers in class NATaskParameters
Returns:
polygonBarriers the polygon barriers to avoid while solving

setPolygonBarriers

public void setPolygonBarriers(NAFeatures polygonBarriers)
Description copied from class: NATaskParameters
Sets the polygon barriers to avoid while solving

Specified by:
setPolygonBarriers in class NATaskParameters
Parameters:
polygonBarriers - the polygon barriers to avoid while solving

getAttributeParameterValues

public AttributeParameterValue[] getAttributeParameterValues()
Description copied from class: NATaskParameters
Returns the list of attribute parameter values

Specified by:
getAttributeParameterValues in class NATaskParameters
Returns:
attributeParameterValues the list of attribute parameter values

setAttributeParameterValues

public void setAttributeParameterValues(AttributeParameterValue[] attributeParameterValues)
Description copied from class: NATaskParameters
Sets the list of attribute parameter values

Specified by:
setAttributeParameterValues in class NATaskParameters
Parameters:
attributeParameterValues - the list of attribute parameter values

isReturnPointBarriers

public boolean isReturnPointBarriers()
Description copied from class: NATaskParameters
Gets whether or not to return point barriers

Specified by:
isReturnPointBarriers in class NATaskParameters
Returns:
true if point barriers should be returned

setReturnPointBarriers

public void setReturnPointBarriers(boolean returnPointBarriers)
Description copied from class: NATaskParameters
Sets whether or not to return point barriers

Specified by:
setReturnPointBarriers in class NATaskParameters
Parameters:
returnPointBarriers - true if point barriers should be returned

isReturnPolylineBarriers

public boolean isReturnPolylineBarriers()
Description copied from class: NATaskParameters
Gets whether or not to return polyline barriers

Specified by:
isReturnPolylineBarriers in class NATaskParameters
Returns:
true if polyline barriers should be returned

setReturnPolylineBarriers

public void setReturnPolylineBarriers(boolean returnPolylineBarriers)
Description copied from class: NATaskParameters
Sets whether or not to return polyline barriers

Specified by:
setReturnPolylineBarriers in class NATaskParameters
Parameters:
returnPolylineBarriers - true if polyline barriers should be returned

isReturnPolygonBarriers

public boolean isReturnPolygonBarriers()
Description copied from class: NATaskParameters
Gets whether or not to return polygon barriers

Specified by:
isReturnPolygonBarriers in class NATaskParameters
Returns:
true if polygon barriers should be returned

setReturnPolygonBarriers

public void setReturnPolygonBarriers(boolean returnPolygonBarriers)
Description copied from class: NATaskParameters
Sets whether or not to return polygon barriers

Specified by:
setReturnPolygonBarriers in class NATaskParameters
Parameters:
returnPolygonBarriers - true if polygon barriers should be returned

getOutSpatialReference

public SpatialReference getOutSpatialReference()
Description copied from class: NATaskParameters
Returns the spatial reference of the output geometry

Specified by:
getOutSpatialReference in class NATaskParameters
Returns:
the spatial reference of the output geometry

setOutSpatialReference

public void setOutSpatialReference(SpatialReference outSpatialReference)
Description copied from class: NATaskParameters
Sets the spatial reference of the output geometry

Specified by:
setOutSpatialReference in class NATaskParameters
Parameters:
outSpatialReference - the spatial reference of the output geometry

getOutputLines

public NAOutputLine getOutputLines()
Description copied from class: NATaskParameters
Gets the type of output lines of the route

Specified by:
getOutputLines in class NATaskParameters
Returns:
the type of lines that the route outputs

setOutputLines

public void setOutputLines(NAOutputLine outputLines)
Description copied from class: NATaskParameters
Sets the type of output lines of the route

Specified by:
setOutputLines in class NATaskParameters
Parameters:
outputLines - the type of lines that the route outputs

getAccumulateAttributeNames

public String[] getAccumulateAttributeNames()
Description copied from class: NATaskParameters
Returns the list of accumulate attribute names

Specified by:
getAccumulateAttributeNames in class NATaskParameters
Returns:
the list of accumulate attribute names

setAccumulateAttributeNames

public void setAccumulateAttributeNames(String[] accumulateAttributeNames)
Description copied from class: NATaskParameters
Sets the list of accumulate attribute names

Specified by:
setAccumulateAttributeNames in class NATaskParameters
Parameters:
accumulateAttributeNames - the list of accumulate attribute names

getImpedanceAttributeName

public String getImpedanceAttributeName()
Description copied from class: NATaskParameters
Returns the name of the impedance attribute to use

Specified by:
getImpedanceAttributeName in class NATaskParameters
Returns:
the name of the impedance attribute to use

setImpedanceAttributeName

public void setImpedanceAttributeName(String impedanceAttributeName)
Description copied from class: NATaskParameters
Sets the name of the impedance attribute to use

Specified by:
setImpedanceAttributeName in class NATaskParameters
Parameters:
impedanceAttributeName - the name of the impedance attribute to use

getRestrictionAttributeNames

public String[] getRestrictionAttributeNames()
Description copied from class: NATaskParameters
Returns the list of restriction attribute names

Specified by:
getRestrictionAttributeNames in class NATaskParameters
Returns:
the list of restriction attribute names

setRestrictionAttributeNames

public void setRestrictionAttributeNames(String[] restrictionAttributeNames)
Description copied from class: NATaskParameters
Sets the list of restriction attribute names

Specified by:
setRestrictionAttributeNames in class NATaskParameters
Parameters:
restrictionAttributeNames - the list of restriction attribute names

getRestrictUTurns

public UTurnRestriction getRestrictUTurns()
Description copied from class: NATaskParameters
Returns the type of U turn restriction to use

Specified by:
getRestrictUTurns in class NATaskParameters
Returns:
the type of U turn restriction to use

setRestrictUTurns

public void setRestrictUTurns(UTurnRestriction restrictUTurns)
Description copied from class: NATaskParameters
Sets the type of U turn restriction to use

Specified by:
setRestrictUTurns in class NATaskParameters
Parameters:
restrictUTurns - the type of U turn restriction to use

getUseHierarchy

public Boolean getUseHierarchy()
Description copied from class: NATaskParameters
Gets whether or not to use hierarchy

Specified by:
getUseHierarchy in class NATaskParameters
Returns:
true to use hierarchy

setUseHierarchy

public void setUseHierarchy(Boolean useHierarchy)
Description copied from class: NATaskParameters
Sets whether or not to use hierarchy

Specified by:
setUseHierarchy in class NATaskParameters
Parameters:
useHierarchy - true to use hierarchy

getOutputGeometryPrecision

public Double getOutputGeometryPrecision()
Description copied from class: NATaskParameters
Returns the precision value of the output geometry

Specified by:
getOutputGeometryPrecision in class NATaskParameters
Returns:
the precision value of the output geometry

setOutputGeometryPrecision

public void setOutputGeometryPrecision(Double outputGeometryPrecision)
Description copied from class: NATaskParameters
Sets the precision value of the output geometry

Specified by:
setOutputGeometryPrecision in class NATaskParameters
Parameters:
outputGeometryPrecision - the precision value of the output geometry

isReturnZ

public boolean isReturnZ()
Description copied from class: NATaskParameters
Gets whether or not to return z values

Specified by:
isReturnZ in class NATaskParameters
Returns:
true to return z values

setReturnZ

public void setReturnZ(boolean returnZ)
Description copied from class: NATaskParameters
Sets whether or not to return z values

Specified by:
setReturnZ in class NATaskParameters
Parameters:
returnZ - true to return z values

getOutputGeometryPrecisionUnits

public Unit.EsriUnit getOutputGeometryPrecisionUnits()
Description copied from class: NATaskParameters
Returns the unit of the output geometry precision

Specified by:
getOutputGeometryPrecisionUnits in class NATaskParameters
Returns:
the unit of the output geometry precision

setOutputGeometryPrecisionUnits

public void setOutputGeometryPrecisionUnits(Unit.EsriUnit outputGeometryPrecisionUnit)
Description copied from class: NATaskParameters
Sets the unit of the output geometry precision

Specified by:
setOutputGeometryPrecisionUnits in class NATaskParameters
Parameters:
outputGeometryPrecisionUnit - the unit of the output geometry precision


Copyright © 2012. All Rights Reserved.