Package com.smartsheet.api.models.enums
Enum ColumnType
- java.lang.Object
-
- java.lang.Enum<ColumnType>
-
- com.smartsheet.api.models.enums.ColumnType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ColumnType>
public enum ColumnType extends java.lang.Enum<ColumnType>
Represents column types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSTRACT_DATETIME
Represents the ABSTRACT_DATETIME (auto number) column typeCHECKBOX
Represents the CHECKBOX column type.CONTACT_LIST
Represents the CONTACT_LIST column type.DATE
Represents the DATE column type.DATETIME
Represents the DATETIME column type.DURATION
Represents the DURATION column type.MULTI_CONTACT_LIST
Represents the MULTI_CONTACT_LIST (multi-assign) column typeMULTI_PICKLIST
Represents the MULTI_PICKLIST (multi select picklist) column typePICKLIST
Represents the PICKLIST column type.PREDECESSOR
Represents the PREDECESSOR column type.TEXT_NUMBER
Represents the TEXT_NUMBER column type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColumnType
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
TEXT_NUMBER
public static final ColumnType TEXT_NUMBER
Represents the TEXT_NUMBER column type.
-
CONTACT_LIST
public static final ColumnType CONTACT_LIST
Represents the CONTACT_LIST column type.
-
DATE
public static final ColumnType DATE
Represents the DATE column type.
-
DATETIME
public static final ColumnType DATETIME
Represents the DATETIME column type.
-
PICKLIST
public static final ColumnType PICKLIST
Represents the PICKLIST column type.
-
CHECKBOX
public static final ColumnType CHECKBOX
Represents the CHECKBOX column type.
-
DURATION
public static final ColumnType DURATION
Represents the DURATION column type.
-
PREDECESSOR
public static final ColumnType PREDECESSOR
Represents the PREDECESSOR column type.
-
ABSTRACT_DATETIME
public static final ColumnType ABSTRACT_DATETIME
Represents the ABSTRACT_DATETIME (auto number) column type
-
MULTI_CONTACT_LIST
public static final ColumnType MULTI_CONTACT_LIST
Represents the MULTI_CONTACT_LIST (multi-assign) column type
-
MULTI_PICKLIST
public static final ColumnType MULTI_PICKLIST
Represents the MULTI_PICKLIST (multi select picklist) column type
-
-
Method Detail
-
values
public static ColumnType[] 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 (ColumnType c : ColumnType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-