Package com.smartgwt.client.types
Enum ValueItemType
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<ValueItemType>
,Constable
Enum used within the
FilterBuilder
class to indicate the role of a particular
value-field form item within a filter clause.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates this item will generate the higher-bound value (or "end") when generating criteria withOperator.valueType
"valueRange"
.This is the single form item that will populate the generatedCriterion.value
forOperator.valueType
of"fieldName"
.Indicates this item will generate the lower-bound value (or "start") when generating criteria withOperator.valueType
"valueRange"
.This is the single form item that will populate the generatedCriterion.value
for this clause. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static ValueItemType
Returns the enum constant of this type with the specified name.static ValueItemType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALUE
This is the single form item that will populate the generatedCriterion.value
for this clause. This applies for operators withOperator.valueType
of"fieldType"
or"custom"
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "value". -
NAME
This is the single form item that will populate the generatedCriterion.value
forOperator.valueType
of"fieldName"
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "name". -
START
Indicates this item will generate the lower-bound value (or "start") when generating criteria withOperator.valueType
"valueRange"
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "start". -
END
Indicates this item will generate the higher-bound value (or "end") when generating criteria withOperator.valueType
"valueRange"
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "end".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
-