Package com.pullreports.export.request
Interface FilterValue
-
public interface FilterValue
-
-
Field Summary
Fields Modifier and Type Field Description static String
DATE_FORMAT_LONG
static String
DATE_FORMAT_MEDIUM
static String
DATE_FORMAT_SHORT
static String
TIME_FORMAT_LONG
static String
TIME_FORMAT_SHORT
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static List<FilterValue>
asList(Object... values)
static List<FilterValue>
asList(List<?> values)
Object
coerceValue(Class<?> type)
Object
getValue()
-
-
-
Field Detail
-
TIME_FORMAT_SHORT
static final String TIME_FORMAT_SHORT
- See Also:
- Constant Field Values
-
TIME_FORMAT_LONG
static final String TIME_FORMAT_LONG
- See Also:
- Constant Field Values
-
DATE_FORMAT_SHORT
static final String DATE_FORMAT_SHORT
- See Also:
- Constant Field Values
-
DATE_FORMAT_MEDIUM
static final String DATE_FORMAT_MEDIUM
- See Also:
- Constant Field Values
-
DATE_FORMAT_LONG
static final String DATE_FORMAT_LONG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getValue
Object getValue()
-
coerceValue
Object coerceValue(Class<?> type)
- Parameters:
type
- The type to coerce into the parameter type.- Returns:
- the value coerced to the given parameter type. For instance,
if the value is a String, passing
java.lang.Number
as the type would return a Number parsed from the value.
-
asList
static List<FilterValue> asList(Object... values)
-
asList
static List<FilterValue> asList(List<?> values)
-
-