public enum HstValueType extends Enum<HstValueType>
Enum Constant and Description |
---|
BOOLEAN |
DATE |
DOUBLE |
INTEGER |
LONG |
STRING |
Modifier and Type | Method and Description |
---|---|
Object |
from(String string) |
Object |
getDefaultValue() |
static HstValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HstValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HstValueType STRING
public static final HstValueType BOOLEAN
public static final HstValueType INTEGER
public static final HstValueType DOUBLE
public static final HstValueType LONG
public static final HstValueType DATE
public static HstValueType[] values()
for (HstValueType c : HstValueType.values()) System.out.println(c);
public static HstValueType 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 Object getDefaultValue()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.