public enum QueryParameterTypes extends Enum<QueryParameterTypes>
Enum Constant and Description |
---|
BOOLEAN |
DATE |
DOUBLE |
DOUBLE_ARRAY |
FLOAT |
FLOAT_ARRAY |
INT_ARRAY |
INTEGER |
LOCALDATE |
LOCALDATETIME |
LONG |
LONG_ARRAY |
OFFSETDATETIME |
STRING |
STRING_ARRAY |
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(Class<? extends Serializable> clazz)
Check if the given value is a supported type as a query parameter
|
Class<?> |
getClazz() |
String |
getName() |
static QueryParameterTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryParameterTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryParameterTypes STRING
public static final QueryParameterTypes INTEGER
public static final QueryParameterTypes DOUBLE
public static final QueryParameterTypes LONG
public static final QueryParameterTypes FLOAT
public static final QueryParameterTypes DATE
public static final QueryParameterTypes BOOLEAN
public static final QueryParameterTypes LOCALDATETIME
public static final QueryParameterTypes LOCALDATE
public static final QueryParameterTypes OFFSETDATETIME
public static final QueryParameterTypes STRING_ARRAY
public static final QueryParameterTypes INT_ARRAY
public static final QueryParameterTypes LONG_ARRAY
public static final QueryParameterTypes DOUBLE_ARRAY
public static final QueryParameterTypes FLOAT_ARRAY
public static QueryParameterTypes[] values()
for (QueryParameterTypes c : QueryParameterTypes.values()) System.out.println(c);
public static QueryParameterTypes 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 getName()
public Class<?> getClazz()
public static boolean contains(Class<? extends Serializable> clazz)
Copyright © 2020 Bonitasoft S.A. All rights reserved.