Packagecom.esri.baserver.tasks.tradeareas
Classpublic class TradeAreaTaskParameters
InheritanceTradeAreaTaskParameters Inheritance SummaryReportParameters Inheritance BATaskParameters Inheritance Object
Subclasses CustomerDerivedAreasParameters, DriveTimeParameters, GridsParameters, RemoveOverlapParameters, SimpleRingsParameters, StandardLevelsOfGeographyParameters, ThresholdRingsParameters

The TradeAreaTaskParameters class is the base class for parameters of Business Analyst Server tasks producing trade areas.

Output options for tasks whose parameters inherit from this class include rendering an output image (outputTypes.getMapImage), creating a feature class for subsequent analysis (outputTypes.getFeatureClass), and/or creating a report (outputTypes.getReport). If no output options are specified, the required output options are specified as follows. If the renderingParameters parameter is specified, the image output is requested. If the reportOptions parameter is specified, the report is requested. If the outputAnalysisItem parameter is specified, the output analysis feature class will be stored in the repository. If renderingParameters, reportOptions, and outputAnalysisItem parameters are missing, the feature class output is requested.



Public Properties
 PropertyDefined By
 InheritedactiveDatasetID : String
Active dataset ID.
BATaskParameters
  dataHierarchy : String
Name of a data hierarchy used for generating summary reports.
TradeAreaTaskParameters
  outputAnalysisItem : FolderItem
Configuration options for storing the output feature class in the repository.
TradeAreaTaskParameters
  outputReportItems : Array
Array of FolderItem items specifying configuration options for storing output reports in the repository.
TradeAreaTaskParameters
  outputSpatialReference : SpatialReference
The spatial reference to return the output feature set in.
TradeAreaTaskParameters
 InheritedoutputTypes : OutputTypes
Task output types.
BATaskParameters
  renderingParameters : RenderingParameters
Configuration options for rendering output to map image.
TradeAreaTaskParameters
 InheritedreportOptions : Array
Array of summary reports options constisting of items of the ReportOptions type.
SummaryReportParameters
 InheritedresultType : BAResultType
[read-only] Type of the result returned by the task associated with these parameters.
BATaskParameters
  returnGeometry : Boolean
An option specifying the presence of the shape attribute in the returned record set.
TradeAreaTaskParameters
 InheritedtaskName : String
[read-only] Name of a Community Analyst Task associated with these parameters.
BATaskParameters
Public Methods
 MethodDefined By
  
TradeAreaTaskParameters(taskName:String, outputTypes:OutputTypes = null)
Creates a new instance of the TradeAreaTaskParameters class.
TradeAreaTaskParameters
Property Detail
dataHierarchyproperty
dataHierarchy:String

Name of a data hierarchy used for generating summary reports. If this property value is null or empty, the default data hierarchy is used. List of available data hierarchies can be retrieved with Get Data Hierarchies task.


Implementation
    public function get dataHierarchy():String
    public function set dataHierarchy(value:String):void

See also

outputAnalysisItemproperty 
outputAnalysisItem:FolderItem

Configuration options for storing the output feature class in the repository.


Implementation
    public function get outputAnalysisItem():FolderItem
    public function set outputAnalysisItem(value:FolderItem):void
outputReportItemsproperty 
outputReportItems:Array

Array of FolderItem items specifying configuration options for storing output reports in the repository.


Implementation
    public function get outputReportItems():Array
    public function set outputReportItems(value:Array):void
outputSpatialReferenceproperty 
outputSpatialReference:SpatialReference

The spatial reference to return the output feature set in.


Implementation
    public function get outputSpatialReference():SpatialReference
    public function set outputSpatialReference(value:SpatialReference):void
renderingParametersproperty 
renderingParameters:RenderingParameters

Configuration options for rendering output to map image.


Implementation
    public function get renderingParameters():RenderingParameters
    public function set renderingParameters(value:RenderingParameters):void
returnGeometryproperty 
returnGeometry:Boolean

An option specifying the presence of the shape attribute in the returned record set.

The default value is true.


Implementation
    public function get returnGeometry():Boolean
    public function set returnGeometry(value:Boolean):void
Constructor Detail
TradeAreaTaskParameters()Constructor
public function TradeAreaTaskParameters(taskName:String, outputTypes:OutputTypes = null)

Creates a new instance of the TradeAreaTaskParameters class.

Parameters
taskName:String — Name of a Business Analyst Server task associated with this instance.
 
outputTypes:OutputTypes (default = null) — Task output types.