public enum NegatingBooleanValueMapper extends Enum<NegatingBooleanValueMapper> implements ValueMapper<Boolean>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handles(Class<?> type,
Class<?>... parameters)
Checks if given type is supported by this handler
|
Boolean |
transform(String value)
Returns converted value from a string
|
static NegatingBooleanValueMapper |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NegatingBooleanValueMapper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NegatingBooleanValueMapper INSTANCE
public static NegatingBooleanValueMapper[] values()
for (NegatingBooleanValueMapper c : NegatingBooleanValueMapper.values()) System.out.println(c);
public static NegatingBooleanValueMapper 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 boolean handles(Class<?> type, Class<?>... parameters)
ValueMapperhandles in interface ValueMapper<Boolean>type - Type to be supportedparameters - Types that have to match in case type is generic typetrue if this is supported, false otherwisepublic Boolean transform(String value)
ValueMappertransform in interface ValueMapper<Boolean>value - String value to be convertedCopyright © 2017 JBoss by Red Hat. All rights reserved.