| Package | com.esri.baserver |
| Class | public final class BusinessesSearchMethod |
| Inheritance | BusinessesSearchMethod BaseEnum Object |
See also
| Property | Defined By | ||
|---|---|---|---|
| items : Array [static] [read-only]
Array of all items of this enumeration. | BusinessesSearchMethod | ||
![]() | value : String [read-only]
Value of the enumeration item. | BaseEnum | |
| Method | Defined By | ||
|---|---|---|---|
[static]
Converts a string value to the enumeration item. | BusinessesSearchMethod | ||
![]() | toString():String
Gets the value of the enumeration item. | BaseEnum | |
| Constant | Defined By | ||
|---|---|---|---|
| FIND_CLOSEST : BusinessesSearchMethod [static] Select the given number of closest competitors. | BusinessesSearchMethod | ||
| WITHIN_RANGE : BusinessesSearchMethod [static] Select all competitors that fall within the given distance. | BusinessesSearchMethod | ||
| items | property |
items:Array [read-only] Array of all items of this enumeration.
public static function get items():Array| toEnumItem | () | method |
public static function toEnumItem(value:String, defaultItem:BusinessesSearchMethod = null):BusinessesSearchMethodConverts a string value to the enumeration item.
Parameters
value:String — String value of the enumeration.
| |
defaultItem:BusinessesSearchMethod (default = null) — An enumeration value to be used if the value is not recognized.
|
BusinessesSearchMethod — An enumeration item or the default item.
|
| FIND_CLOSEST | Constant |
public static const FIND_CLOSEST:BusinessesSearchMethodSelect the given number of closest competitors.
| WITHIN_RANGE | Constant |
public static const WITHIN_RANGE:BusinessesSearchMethodSelect all competitors that fall within the given distance.