|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ValueType>
com.google.visualization.datasource.datatable.value.ValueType
public enum ValueType
Represents a supported value type for a table.
| Enum Constant Summary | |
|---|---|
BOOLEAN
|
|
DATE
|
|
DATETIME
|
|
NUMBER
|
|
TEXT
|
|
TIMEOFDAY
|
|
| Method Summary | |
|---|---|
Value |
createValue(java.lang.Object value)
Creates a value of this ValueType. |
java.lang.String |
getTypeCodeLowerCase()
Returns the type code string for this ValueType as a lower case string. |
static ValueType |
valueOf(java.lang.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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ValueType BOOLEAN
public static final ValueType NUMBER
public static final ValueType TEXT
public static final ValueType DATE
public static final ValueType TIMEOFDAY
public static final ValueType DATETIME
| Method Detail |
|---|
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getTypeCodeLowerCase()
public Value createValue(java.lang.Object value)
throws TypeMismatchException
value - The value to create.
TypeMismatchException - When the type of value does not match this.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||