public enum ColumnType extends Enum<ColumnType>
Enum Constant and Description |
---|
DATE
Value is a date (=
Calendar ) |
DIFF
Value is a diff of two values
|
INT
Value is an integer number
|
NUMBER
Value is a number
|
SORTABLE
Value is labeled with a different property
|
STRING
Value is a String
|
TIMESLOT
Value is the timeslot of a date property
|
Modifier and Type | Method and Description |
---|---|
static ColumnType |
fromTransferString(String transferStr)
Gets a suitable
ColumnType for the specified transfer representation. |
DisplayDataType |
getDisplayType()
Gets the display type for the column type.
|
String |
getTransferStr()
Gets the string representation used for data transfer.
|
static ColumnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnType STRING
public static final ColumnType NUMBER
public static final ColumnType INT
public static final ColumnType DATE
Calendar
)public static final ColumnType DIFF
public static final ColumnType TIMESLOT
public static final ColumnType SORTABLE
public static ColumnType[] values()
for (ColumnType c : ColumnType.values()) System.out.println(c);
public static ColumnType 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 getTransferStr()
public DisplayDataType getDisplayType()
public static ColumnType fromTransferString(String transferStr)
ColumnType
for the specified transfer representation.transferStr
- The transfer stringColumnType
for the specified transfer
representationCopyright © 2010 - 2020 Adobe. All Rights Reserved