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