Package com.adobe.acs.commons.data
Enum Variant.CellType
- java.lang.Object
-
- java.lang.Enum<Variant.CellType>
-
- com.adobe.acs.commons.data.Variant.CellType
-
- All Implemented Interfaces:
Serializable,Comparable<Variant.CellType>
- Enclosing class:
- Variant
public static enum Variant.CellType extends Enum<Variant.CellType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Variant.CellTypefromObject(Object o)static Variant.CellTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Variant.CellType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_NONE
public static final Variant.CellType _NONE
-
NUMERIC
public static final Variant.CellType NUMERIC
-
STRING
public static final Variant.CellType STRING
-
FORMULA
public static final Variant.CellType FORMULA
-
BLANK
public static final Variant.CellType BLANK
-
BOOLEAN
public static final Variant.CellType BOOLEAN
-
ERROR
public static final Variant.CellType ERROR
-
-
Method Detail
-
values
public static Variant.CellType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Variant.CellType c : Variant.CellType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Variant.CellType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromObject
public static Variant.CellType fromObject(Object o)
-
-