Package | com.esri.bacore.domain |
Class | public class MeanBenchmark |
Inheritance | MeanBenchmark Object |
Since : | Community Analyst API for Flex 2.2. |
Property | Defined By | ||
---|---|---|---|
name : String
User-friendly name of this instance. | MeanBenchmark | ||
options : BenchmarkOptions [read-only]
Benchmark options associated with this instance. | MeanBenchmark |
Method | Defined By | ||
---|---|---|---|
MeanBenchmark(options:BenchmarkOptions, name:String = null)
Creates a new instance of the MeanBenchmark class. | MeanBenchmark | ||
createAverageBenchmark(name:String = Average of Sites):MeanBenchmark [static]
Creates a new average benchmark. | MeanBenchmark | ||
createMedianBenchmark(name:String = Median of Sites):MeanBenchmark [static]
Creates a new median benchmark. | MeanBenchmark |
name | property |
name:String
User-friendly name of this instance.
public function get name():String
public function set name(value:String):void
options | property |
options:BenchmarkOptions
[read-only] Benchmark options associated with this instance.
This value is either BenchmarkOptions.USE_AVERAGE_VALUES
or BenchmarkOptions.USE_MEDIAN_VALUES
.
public function get options():BenchmarkOptions
MeanBenchmark | () | Constructor |
public function MeanBenchmark(options:BenchmarkOptions, name:String = null)
Creates a new instance of the MeanBenchmark class.
The options parameter should be either BenchmarkOptions.USE_AVERAGE_VALUES
or BenchmarkOptions.USE_MEDIAN_VALUES
. Otherwise, an ArgumentError will be thrown.
options:BenchmarkOptions — Benchmark options.
| |
name:String (default = null ) — User-friendly name of this instance.
|
createAverageBenchmark | () | method |
public static function createAverageBenchmark(name:String = Average of Sites):MeanBenchmark
Creates a new average benchmark.
Parameters
name:String (default = Average of Sites ) — User-friendly name of the benchmark.
|
MeanBenchmark — A new instance of the benchmark.
|
createMedianBenchmark | () | method |
public static function createMedianBenchmark(name:String = Median of Sites):MeanBenchmark
Creates a new median benchmark.
Parameters
name:String (default = Median of Sites ) — User-friendly name of the benchmark.
|
MeanBenchmark — A new instance of the benchmark.
|