| Package | com.esri.bacore |
| Class | public class BAValueType |
| Inheritance | BAValueType BaseEnum Object |
| Property | Defined By | ||
|---|---|---|---|
| items : Array [static] [read-only]
Array of all items of this enumeration. | BAValueType | ||
![]() | value : String [read-only]
Value of the enumeration item. | BaseEnum | |
| Method | Defined By | ||
|---|---|---|---|
[static]
Converts a string value to the enumeration item. | BAValueType | ||
![]() | toString():String
Gets the value of the enumeration item. | BaseEnum | |
| Constant | Defined By | ||
|---|---|---|---|
| COUNT : BAValueType [static] The value is a number without units. | BAValueType | ||
| CURRENCY : BAValueType [static] The value has currency units. | BAValueType | ||
| INDEX : BAValueType [static] The value is an index. | BAValueType | ||
| OTHER : BAValueType [static] The value isn't a number. | BAValueType | ||
| PERCENTAGE : BAValueType [static] The value is a percentage. | BAValueType | ||
| 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:BAValueType = null):BAValueTypeConverts a string value to the enumeration item.
Parameters
value:String — String value of the enumeration.
| |
defaultItem:BAValueType (default = null) — A enumeration value to be used if the value does not recognized.
|
BAValueType — A enumeration item or the default item.
|
| COUNT | Constant |
public static const COUNT:BAValueTypeThe value is a number without units.
| CURRENCY | Constant |
public static const CURRENCY:BAValueTypeThe value has currency units.
| INDEX | Constant |
public static const INDEX:BAValueTypeThe value is an index.
| OTHER | Constant |
public static const OTHER:BAValueTypeThe value isn't a number.
| PERCENTAGE | Constant |
public static const PERCENTAGE:BAValueTypeThe value is a percentage.