Package org.opennms.web.rest.support
Class CriteriaValueConverters
- java.lang.Object
-
- org.opennms.web.rest.support.CriteriaValueConverters
-
public abstract class CriteriaValueConverters extends java.lang.Object
This class is used to overrideObject.toString()
on several string conversion functions so that they are identifiable inside a debugger. Otherwise, you will just see the object hash identifier for theFunction
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Function<java.lang.String,java.lang.Boolean>
BOOLEAN_CONVERTER
static java.util.function.Function<java.lang.String,java.util.Date>
DATE_CONVERTER
static java.util.function.Function<java.lang.String,java.lang.Float>
FLOAT_CONVERTER
static java.util.function.Function<java.lang.String,java.net.InetAddress>
INET_ADDRESS_CONVERTER
static java.util.function.Function<java.lang.String,java.lang.Integer>
INT_CONVERTER
static java.util.function.Function<java.lang.String,java.lang.Long>
LONG_CONVERTER
static java.util.function.Function<java.lang.String,java.lang.String>
STRING_CONVERTER
-
Constructor Summary
Constructors Constructor Description CriteriaValueConverters()
-
-
-
Field Detail
-
BOOLEAN_CONVERTER
public static final java.util.function.Function<java.lang.String,java.lang.Boolean> BOOLEAN_CONVERTER
-
DATE_CONVERTER
public static final java.util.function.Function<java.lang.String,java.util.Date> DATE_CONVERTER
-
FLOAT_CONVERTER
public static final java.util.function.Function<java.lang.String,java.lang.Float> FLOAT_CONVERTER
-
INET_ADDRESS_CONVERTER
public static final java.util.function.Function<java.lang.String,java.net.InetAddress> INET_ADDRESS_CONVERTER
-
INT_CONVERTER
public static final java.util.function.Function<java.lang.String,java.lang.Integer> INT_CONVERTER
-
LONG_CONVERTER
public static final java.util.function.Function<java.lang.String,java.lang.Long> LONG_CONVERTER
-
STRING_CONVERTER
public static final java.util.function.Function<java.lang.String,java.lang.String> STRING_CONVERTER
-
-