public enum LanguageNumber extends Enum<LanguageNumber>
| Modifier and Type | Method and Description |
|---|---|
static LanguageNumber |
fromApiValue(String apiValue) |
static LanguageNumber |
fromDbValue(String dbValue) |
static LanguageNumber |
fromIntValue(int intValue) |
static LanguageNumber |
fromLabelValue(String dbValue) |
String |
getApiValue() |
String |
getDbValue() |
int |
getIntValue() |
boolean |
isDefault() |
boolean |
isPlural() |
static LanguageNumber |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LanguageNumber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LanguageNumber SINGULAR
public static final LanguageNumber PLURAL
public static LanguageNumber[] values()
for (LanguageNumber c : LanguageNumber.values()) System.out.println(c);
public static LanguageNumber valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getIntValue()
public String getDbValue()
public String getApiValue()
public boolean isDefault()
public boolean isPlural()
public static LanguageNumber fromDbValue(String dbValue)
public static LanguageNumber fromLabelValue(String dbValue)
public static LanguageNumber fromIntValue(int intValue)
public static LanguageNumber fromApiValue(String apiValue)
Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.