public enum ValueType extends Enum<ValueType>
| Enum Constant and Description |
|---|
BOOLEANVALUE |
DATEVALUE |
INEQUALITYNUMBERVALUE |
NOMINALVALUE |
NUMBERVALUE |
NUMERICALVALUE |
ORDEREDVALUE |
ORDINALVALUE |
VALUE |
VALUELIST |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isInstance(Value value)
Returns whether a value is an instance of this value type.
|
abstract Value |
parse(String val)
Creates a
Value instance by parsing the given string. |
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType VALUE
public static final ValueType NOMINALVALUE
public static final ValueType BOOLEANVALUE
public static final ValueType ORDEREDVALUE
public static final ValueType INEQUALITYNUMBERVALUE
public static final ValueType NUMERICALVALUE
public static final ValueType NUMBERVALUE
public static final ValueType ORDINALVALUE
public static final ValueType VALUELIST
public static final ValueType DATEVALUE
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 abstract boolean isInstance(Value value)
value - a Value.true or false.Copyright © 2012–2016 Emory University. All rights reserved.