public enum LanguageArticle extends Enum<LanguageArticle>
| Enum Constant and Description |
|---|
DEFINITE |
INDEFINITE |
PARTITIVE |
ZERO |
| Modifier and Type | Method and Description |
|---|---|
static LanguageArticle |
fromApiValue(String apiValue) |
static LanguageArticle |
fromDbValue(String dbValue) |
static LanguageArticle |
fromLabelValue(String labelValue) |
String |
getApiValue() |
String |
getDbValue() |
String |
getLabelValue() |
boolean |
isDefault() |
static LanguageArticle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LanguageArticle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LanguageArticle ZERO
public static final LanguageArticle INDEFINITE
public static final LanguageArticle DEFINITE
public static final LanguageArticle PARTITIVE
public static LanguageArticle[] values()
for (LanguageArticle c : LanguageArticle.values()) System.out.println(c);
public static LanguageArticle 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 String getDbValue()
public String getApiValue()
public String getLabelValue()
public boolean isDefault()
public static LanguageArticle fromDbValue(String dbValue)
public static LanguageArticle fromLabelValue(String labelValue)
public static LanguageArticle 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.