public enum CellType extends Enum<CellType> implements AttributeValue
| Enum Constant and Description |
|---|
BOOLEAN
a boolean: "true or false"
|
CURRENCY
a currency: "Numeric value and currency symbol"
|
DATE
a date: "Date value as specified in §3.2.9 of [xmlschema-2], or date and time value as
specified in §3.2.7 of [xmlschema-2]"
|
FLOAT
a float: "Numeric value"
|
PERCENTAGE
a percentage: "Numeric value"
|
STRING
a string: "String"
|
TIME
a time: "Duration, as specified in §3.2.6 of [xmlschema-2]"
|
VOID
a void type: nothing.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
String |
getValueAttribute() |
static CellType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellType BOOLEAN
public static final CellType CURRENCY
public static final CellType DATE
public static final CellType FLOAT
public static final CellType PERCENTAGE
public static final CellType STRING
public static final CellType TIME
public static final CellType VOID
public static CellType[] values()
for (CellType c : CellType.values()) System.out.println(c);
public static CellType 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 getValueAttribute()
public String getValue()
getValue in interface AttributeValueCopyright © 2016–2021. All rights reserved.