public static enum IDSResult.Types extends Enum<IDSResult.Types>
Enum Constant and Description |
---|
BAIKE |
CONFIRMATION |
COOKING |
DATE |
EXCHANGE_RATE |
JOKE |
MATH |
MATH_24 |
NEWS |
NONSENSE |
OPEN_WEB |
POEM |
QUESTION |
SELECTION |
STOCK_MARKET |
TV_PROGRAM |
UNIT_CONVERT |
WEATHER |
ZIP_CODE |
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(String moduleName)
Check if the given name exists in module type list.
|
static IDSResult.Types |
getByName(String moduleName)
Get enum by mdoule name.
|
Type |
getDataArrayListType() |
static Type |
getDataArrayListType(String moduleName)
Get DataObject array type by the specified module name.
|
String |
getName() |
static IDSResult.Types |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IDSResult.Types[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IDSResult.Types QUESTION
public static final IDSResult.Types CONFIRMATION
public static final IDSResult.Types SELECTION
public static final IDSResult.Types DATE
public static final IDSResult.Types NONSENSE
public static final IDSResult.Types ZIP_CODE
public static final IDSResult.Types MATH_24
public static final IDSResult.Types WEATHER
public static final IDSResult.Types BAIKE
public static final IDSResult.Types NEWS
public static final IDSResult.Types TV_PROGRAM
public static final IDSResult.Types POEM
public static final IDSResult.Types JOKE
public static final IDSResult.Types STOCK_MARKET
public static final IDSResult.Types MATH
public static final IDSResult.Types UNIT_CONVERT
public static final IDSResult.Types EXCHANGE_RATE
public static final IDSResult.Types COOKING
public static final IDSResult.Types OPEN_WEB
public static IDSResult.Types[] values()
for (IDSResult.Types c : IDSResult.Types.values()) System.out.println(c);
public static IDSResult.Types 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 getName()
public Type getDataArrayListType()
public static boolean contains(String moduleName)
moduleName
- - Module name you want to check.public static IDSResult.Types getByName(String moduleName)
moduleName
- - Module name you want to find.Copyright © 2018. All rights reserved.