public enum MappingType extends Enum<MappingType>
| Modifier and Type | Method and Description |
|---|---|
String |
getMappingType() |
static MappingType |
getMappingType(String mappingType) |
static MappingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MappingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingType TEXT
public static final MappingType KEYWORD
public static MappingType[] values()
for (MappingType c : MappingType.values()) System.out.println(c);
public static MappingType 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 getMappingType()
public static MappingType getMappingType(String mappingType) throws Exception
ExceptionCopyright © 2020. All rights reserved.