public enum ModelType extends Enum<ModelType>
| Enum Constant and Description |
|---|
AUTO |
BOOLEAN |
DATE |
FLOAT |
INTEGER |
STRING |
| Modifier and Type | Method and Description |
|---|---|
String |
getJsName() |
abstract boolean |
supports(Class<?> type) |
static ModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelType AUTO
public static final ModelType INTEGER
public static final ModelType FLOAT
public static final ModelType STRING
public static final ModelType DATE
public static final ModelType BOOLEAN
public static ModelType[] values()
for (ModelType c : ModelType.values()) System.out.println(c);
public static ModelType 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 getJsName()
public abstract boolean supports(Class<?> type)
type - any classCopyright © 2010-2013. All Rights Reserved.