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

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

public class ServiceAreaTaskParameters
extends NATaskParameters


Constructor Summary
ServiceAreaTaskParameters()
           
 
Method Summary
 String[] getAccumulateAttributeNames()
          Returns the list of accumulate attribute names
 AttributeParameterValue[] getAttributeParameterValues()
          Returns the list of attribute parameter values
 Double[] getDefaultBreaks()
          Gets the break levels for the service area (i.e. 1, 3, and 5 minute break levels)
 String[] getExcludeSourcesFromPolygons()
          Gets the list of sources to exclude from polygons
 NAFeatures getFacilities()
          Gets the facilities to find service area of
 String getImpedanceAttributeName()
          Returns the name of the impedance attribute to use
 Boolean getMergeSimilarPolygonRanges()
          Gets whether or not to merge similar polygon ranges
 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
 NAOutputPolygon getOutputPolygons()
          Gets the type of OutputPolygons (none, simplified, detailed, default)
 SpatialReference getOutSpatialReference()
          Returns the spatial reference of the output geometry
 Boolean getOverlapLines()
          Gets whether or not the lines should overlap from multiple facilities
 Boolean getOverlapPolygons()
          Gets whether or not the polygons for all facilities should overlap
 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
 Boolean getSplitLinesAtBreaks()
          Gets whether or not lines should be split at breaks
 Boolean getSplitPolygonsAtBreaks()
          Gets whether or not polygons should be split at breaks
 Long getTimeOfDay()
          Gets what time of day the service area should be computed at
 NATravelDirection getTravelDirection()
          Gets the travel direction for the service area computation (to or from facility)
 Boolean getTrimOuterPolygon()
          Gets whether or not to trim the outermost polygon
 Double getTrimPolygonDistance()
          Gets the distance to trim the outermost polygon, if trimming is set to true
 Unit.EsriUnit getTrimPolygonDistanceUnits()
          Gets the units of the trim distance
 Boolean getUseHierarchy()
          Gets whether or not to use hierarchy
 boolean isReturnFacilities()
          Gets whether or not facilities should be returned
 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 setDefaultBreaks(Double[] defaultBreaks)
          Sets the break levels for the service area (i.e. 1, 3, and 5 minute break levels)
 void setExcludeSourcesFromPolygons(String[] excludeSourcesFromPolygons)
          Sets the list of sources to exclude from polygons
 void setFacilities(NAFeatures facilities)
          Sets the facilities to find service area of
 void setImpedanceAttributeName(String impedanceAttributeName)
          Sets the name of the impedance attribute to use
 void setMergeSimilarPolygonRanges(Boolean mergeSimilarPolygonRanges)
          Sets ets whether or not to merge similar polygon ranges
 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 setOutputPolygons(NAOutputPolygon outputPolygons)
          Sets the type of OutputPolygons (none, simplified, detailed, default)
 void setOutSpatialReference(SpatialReference outSpatialReference)
          Sets the spatial reference of the output geometry
 void setOverlapLines(Boolean overlapLines)
          Sets whether or not the lines should overlap from multiple facilities
 void setOverlapPolygons(Boolean overlapPolygons)
          Sets whether or not the polygons for all facilities should overlap
 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 setReturnFacilities(boolean returnFacilities)
          Sets whether or not facilities should be returned
 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 setSplitLinesAtBreaks(Boolean splitLinesAtBreaks)
          Sets whether or not lines should be split at breaks
 void setSplitPolygonsAtBreaks(Boolean splitPolygonsAtBreaks)
          Sets whether or not polygons should be split at breaks
 void setTimeOfDay(Long timeOfDay)
          Sets what time of day the service area should be computed at
 void setTravelDirection(NATravelDirection travelDirection)
          Sets the travel direction for the service area computation (to or from facility)
 void setTrimOuterPolygon(Boolean trimOuterPolygon)
          Sets whether or not to trim the outermost polygon
 void setTrimPolygonDistance(Double trimPolygonDistance)
          Sets the distance to trim the outermost polygon, if trimming is set to true
 void setTrimPolygonDistanceUnits(Unit.EsriUnit trimPolygonDistanceUnits)
          Sets the units of the trim distance
 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

ServiceAreaTaskParameters

public ServiceAreaTaskParameters()
Method Detail

getFacilities

public NAFeatures getFacilities()
Gets the facilities to find service area of

Returns:
facilities the facilities to find service area of

setFacilities

public void setFacilities(NAFeatures facilities)
Sets the facilities to find service area of

Parameters:
facilities - the facilities to find service area of

getDefaultBreaks

public Double[] getDefaultBreaks()
Gets the break levels for the service area (i.e. 1, 3, and 5 minute break levels)

Returns:
the break levels for the service area

setDefaultBreaks

public void setDefaultBreaks(Double[] defaultBreaks)
Sets the break levels for the service area (i.e. 1, 3, and 5 minute break levels)

Parameters:
defaultBreaks - the break levels for the service area

getExcludeSourcesFromPolygons

public String[] getExcludeSourcesFromPolygons()
Gets the list of sources to exclude from polygons

Returns:
the list of sources to exclude from polygons

setExcludeSourcesFromPolygons

public void setExcludeSourcesFromPolygons(String[] excludeSourcesFromPolygons)
Sets the list of sources to exclude from polygons

Parameters:
excludeSourcesFromPolygons - the list of sources to exclude from polygons

getMergeSimilarPolygonRanges

public Boolean getMergeSimilarPolygonRanges()
Gets whether or not to merge similar polygon ranges

Returns:
whether or not to merge similar polygon ranges

setMergeSimilarPolygonRanges

public void setMergeSimilarPolygonRanges(Boolean mergeSimilarPolygonRanges)
Sets ets whether or not to merge similar polygon ranges

Parameters:
mergeSimilarPolygonRanges - true to merge similar polygon ranges

getOutputPolygons

public NAOutputPolygon getOutputPolygons()
Gets the type of OutputPolygons (none, simplified, detailed, default)

Returns:
the type of OutputPolygons

setOutputPolygons

public void setOutputPolygons(NAOutputPolygon outputPolygons)
Sets the type of OutputPolygons (none, simplified, detailed, default)

Parameters:
outputPolygons - the type of OutputPolygons

getOverlapLines

public Boolean getOverlapLines()
Gets whether or not the lines should overlap from multiple facilities

Returns:
whether or not the lines should overlap from multiple facilities

setOverlapLines

public void setOverlapLines(Boolean overlapLines)
Sets whether or not the lines should overlap from multiple facilities

Parameters:
overlapLines - true if the lines should overlap from multiple facilities

getOverlapPolygons

public Boolean getOverlapPolygons()
Gets whether or not the polygons for all facilities should overlap

Returns:
whether or not the polygons for all facilities should overlap

setOverlapPolygons

public void setOverlapPolygons(Boolean overlapPolygons)
Sets whether or not the polygons for all facilities should overlap

Parameters:
overlapPolygons - true if the polygons for all facilities should overlap

getSplitLinesAtBreaks

public Boolean getSplitLinesAtBreaks()
Gets whether or not lines should be split at breaks

Returns:
whether or not lines should be split at breaks

setSplitLinesAtBreaks

public void setSplitLinesAtBreaks(Boolean splitLinesAtBreaks)
Sets whether or not lines should be split at breaks

Parameters:
splitLinesAtBreaks - true if lines should be split at breaks

getSplitPolygonsAtBreaks

public Boolean getSplitPolygonsAtBreaks()
Gets whether or not polygons should be split at breaks

Returns:
whether or not polygons should be split at breaks

setSplitPolygonsAtBreaks

public void setSplitPolygonsAtBreaks(Boolean splitPolygonsAtBreaks)
Sets whether or not polygons should be split at breaks

Parameters:
splitPolygonsAtBreaks - true if polygons should be split at breaks

getTrimOuterPolygon

public Boolean getTrimOuterPolygon()
Gets whether or not to trim the outermost polygon

Returns:
whether or not to trim the outermost polygon

setTrimOuterPolygon

public void setTrimOuterPolygon(Boolean trimOuterPolygon)
Sets whether or not to trim the outermost polygon

Parameters:
trimOuterPolygon - true to trim the outermost polygon

getTrimPolygonDistance

public Double getTrimPolygonDistance()
Gets the distance to trim the outermost polygon, if trimming is set to true

Returns:
the distance to trim the outermost polygon

setTrimPolygonDistance

public void setTrimPolygonDistance(Double trimPolygonDistance)
Sets the distance to trim the outermost polygon, if trimming is set to true

Parameters:
trimPolygonDistance - the distance to trim the outermost polygon

getTrimPolygonDistanceUnits

public Unit.EsriUnit getTrimPolygonDistanceUnits()
Gets the units of the trim distance

Returns:
the units of the trim distance

setTrimPolygonDistanceUnits

public void setTrimPolygonDistanceUnits(Unit.EsriUnit trimPolygonDistanceUnits)
Sets the units of the trim distance

Parameters:
trimPolygonDistanceUnits - the units of the trim distance

isReturnFacilities

public boolean isReturnFacilities()
Gets whether or not facilities should be returned

Returns:
whether or not facilities should be returned

setReturnFacilities

public void setReturnFacilities(boolean returnFacilities)
Sets whether or not facilities should be returned

Parameters:
returnFacilities - true if facilities should be returned

getTimeOfDay

public Long getTimeOfDay()
Gets what time of day the service area should be computed at

Returns:
the time of day the service area should be computed at

setTimeOfDay

public void setTimeOfDay(Long timeOfDay)
Sets what time of day the service area should be computed at

Parameters:
timeOfDay - the time of day the service area should be computed at

getTravelDirection

public NATravelDirection getTravelDirection()
Gets the travel direction for the service area computation (to or from facility)

Returns:
the travel direction for the service area computation

setTravelDirection

public void setTravelDirection(NATravelDirection travelDirection)
Sets the travel direction for the service area computation (to or from facility)

Parameters:
travelDirection - the travel direction for the service area computation

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.