public static enum Value.Type extends Enum<Value.Type>
Enum Constant and Description |
---|
BIG_DEC |
DATE |
DATE_TIME |
DOUBLE |
LONG |
NULL |
STRING |
TIME |
Modifier and Type | Method and Description |
---|---|
Value.Type |
getPreferredFPType() |
Value.Type |
getPreferredNumericType() |
boolean |
isIntegral() |
boolean |
isNumeric() |
boolean |
isString() |
boolean |
isTemporal() |
static Value.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Value.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Value.Type NULL
public static final Value.Type STRING
public static final Value.Type DATE
public static final Value.Type TIME
public static final Value.Type DATE_TIME
public static final Value.Type LONG
public static final Value.Type DOUBLE
public static final Value.Type BIG_DEC
public static Value.Type[] values()
for (Value.Type c : Value.Type.values()) System.out.println(c);
public static Value.Type 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 boolean isString()
public boolean isNumeric()
public boolean isIntegral()
public boolean isTemporal()
public Value.Type getPreferredFPType()
public Value.Type getPreferredNumericType()
Copyright © 2005–2024 OpenHMS. All rights reserved.