Packagecom.esri.bacore.adapters
Classpublic class ComparisonParameters
InheritanceComparisonParameters Inheritance Object

Since : Community Analyst API for Flex 2.2.

The ComparisonParameters class provides parameters for a comparison task.

See also

IComparisonTaskAdapter


Public Properties
 PropertyDefined By
  benchmark : BenchmarkItem
A benchmark to make comparison with.
ComparisonParameters
  respectiveGeographies : Array
Array of geography features containing IGeographyFeature items.
ComparisonParameters
  studyAreas : Array
Array of study areas containing IStudyArea items.
ComparisonParameters
  summarizations : Array
Array of String items containing names of variables to make comparison by.
ComparisonParameters
Public Methods
 MethodDefined By
  
Creates a new instance of the ComparisonParameters class.
ComparisonParameters
  
Tests the correctness of the benchmark and returns the benchmark object encapsulated within.
ComparisonParameters
Property Detail
benchmarkproperty
benchmark:BenchmarkItem

A benchmark to make comparison with.


Implementation
    public function get benchmark():BenchmarkItem
    public function set benchmark(value:BenchmarkItem):void
respectiveGeographiesproperty 
respectiveGeographies:Array

Array of geography features containing IGeographyFeature items.


Implementation
    public function get respectiveGeographies():Array
    public function set respectiveGeographies(value:Array):void

See also

studyAreasproperty 
studyAreas:Array

Array of study areas containing IStudyArea items.


Implementation
    public function get studyAreas():Array
    public function set studyAreas(value:Array):void

See also

summarizationsproperty 
summarizations:Array

Array of String items containing names of variables to make comparison by.


Implementation
    public function get summarizations():Array
    public function set summarizations(value:Array):void
Constructor Detail
ComparisonParameters()Constructor
public function ComparisonParameters()

Creates a new instance of the ComparisonParameters class.

Method Detail
getBenchmarkObject()method
public function getBenchmarkObject():Object

Tests the correctness of the benchmark and returns the benchmark object encapsulated within.

This method tests that only one instance is specified in the benchmark: either benchmarkArea or benchmarkFeature or benchmarkOptions. If more than one instance is specified, the method throws BARequestError.

Returns
Object — IStudyArea or IGeographyFeature or BenchmarkOptions or null.

See also