@Deprecated public enum ParameterType extends Enum<ParameterType>
validationMethod()
Enum Constant and Description |
---|
BASE64
Deprecated.
|
BOOL
Deprecated.
It allows true, false, t, f, 1, 0
|
DATE
Deprecated.
DATE as defined by full-date - RFC3339
|
DATETIME
Deprecated.
DATETIME as defined by date-time - RFC3339
|
DOUBLE
Deprecated.
DOUBLE type does the validation with Double.parseDouble(value)
|
EMAIL
Deprecated.
|
FLOAT
Deprecated.
FLOAT type does the validation with Float.parseFloat(value)
|
GENERIC_STRING
Deprecated.
STRING Type accept every string
|
HOSTNAME
Deprecated.
|
INT
Deprecated.
INT type does the validation with Integer.parseInt(value)
|
IPV4
Deprecated.
|
IPV6
Deprecated.
|
TIME
Deprecated.
TIME as defined by partial-time - RFC3339
|
URI
Deprecated.
|
UUID
Deprecated.
UUID as defined by RFC4122
|
Modifier and Type | Method and Description |
---|---|
ParameterTypeValidator |
validationMethod()
Deprecated.
|
static ParameterType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ParameterType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterType GENERIC_STRING
public static final ParameterType EMAIL
public static final ParameterType URI
public static final ParameterType BOOL
public static final ParameterType INT
public static final ParameterType FLOAT
public static final ParameterType DOUBLE
public static final ParameterType DATE
public static final ParameterType DATETIME
public static final ParameterType TIME
public static final ParameterType BASE64
public static final ParameterType IPV4
public static final ParameterType IPV6
public static final ParameterType HOSTNAME
public static final ParameterType UUID
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 ParameterTypeValidator validationMethod()
Copyright © 2024 Eclipse. All rights reserved.