Package com.smartsheet.api.models.enums
Enum ObjectValueType
- java.lang.Object
-
- java.lang.Enum<ObjectValueType>
-
- com.smartsheet.api.models.enums.ObjectValueType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ObjectValueType>
public enum ObjectValueType extends java.lang.Enum<ObjectValueType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSTRACT_DATETIME
ABSTRACT_DATETIMEBOOLEAN
BOOLEANCONTACT
CONTACTDATE
DATEDATETIME
DATETIMEDURATION
DURATIONMULTI_CONTACT
MULTI_CONTACTMULTI_PICKLIST
MULTI_PICKLISTNULL
NULLNUMBER
NUMBERPREDECESSOR_LIST
PREDECESSOR_LISTSTRING
STRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectValueType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ObjectValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATE
public static final ObjectValueType DATE
DATE
-
DATETIME
public static final ObjectValueType DATETIME
DATETIME
-
ABSTRACT_DATETIME
public static final ObjectValueType ABSTRACT_DATETIME
ABSTRACT_DATETIME
-
CONTACT
public static final ObjectValueType CONTACT
CONTACT
-
DURATION
public static final ObjectValueType DURATION
DURATION
-
PREDECESSOR_LIST
public static final ObjectValueType PREDECESSOR_LIST
PREDECESSOR_LIST
-
MULTI_CONTACT
public static final ObjectValueType MULTI_CONTACT
MULTI_CONTACT
-
MULTI_PICKLIST
public static final ObjectValueType MULTI_PICKLIST
MULTI_PICKLIST
-
NUMBER
public static final ObjectValueType NUMBER
NUMBER
-
BOOLEAN
public static final ObjectValueType BOOLEAN
BOOLEAN
-
STRING
public static final ObjectValueType STRING
STRING
-
NULL
public static final ObjectValueType NULL
NULL
-
-
Method Detail
-
values
public static ObjectValueType[] 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 (ObjectValueType c : ObjectValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectValueType 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
-
-