public enum ParameterType extends Enum<ParameterType>
| Enum Constant and Description |
|---|
INDEX_POSITION |
MAPPED_NAME |
MAPPING |
STATUS |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
findParameter(Parameter[] parameters,
V defaultValue) |
String |
getName() |
<V> Parameter<V> |
getParameter(V value) |
boolean |
hasParameter(Parameter[] parameters) |
String |
toString() |
static ParameterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterType MAPPING
public static final ParameterType INDEX_POSITION
public static final ParameterType MAPPED_NAME
public static final ParameterType STATUS
public static ParameterType[] values()
for (ParameterType c : ParameterType.values()) System.out.println(c);
public static ParameterType 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 toString()
toString in class Enum<ParameterType>public String getName()
public <V> V findParameter(Parameter[] parameters, V defaultValue)
public boolean hasParameter(Parameter[] parameters)
public <V> Parameter<V> getParameter(V value)
Copyright © 2012–2015. All rights reserved.