ParameterType Class

public final class ParameterType
extends ExpandableStringEnum<ParameterType>

The data type of the parameter.

Field Summary

Modifier and Type Field and Description
static final ParameterType ARRAY

The array parameter type.

static final ParameterType BOOLEAN

The boolean parameter type.

static final ParameterType DATE_TIME

The date-time parameter type.

static final ParameterType FLOAT

The float parameter type.

static final ParameterType INTEGER

The integer parameter type.

static final ParameterType OBJECT

The object parameter type.

static final ParameterType STRING

The string parameter type.

Constructor Summary

Constructor Description
ParameterType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ParameterType value.

Method Summary

Modifier and Type Method and Description
static ParameterType fromString(String name)

Creates or finds a ParameterType from its string representation.

static Collection<ParameterType> values()

Gets known ParameterType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ARRAY

public static final ParameterType ARRAY

The array parameter type.

BOOLEAN

public static final ParameterType BOOLEAN

The boolean parameter type.

DATE_TIME

public static final ParameterType DATE_TIME

The date-time parameter type.

FLOAT

public static final ParameterType FLOAT

The float parameter type.

INTEGER

public static final ParameterType INTEGER

The integer parameter type.

OBJECT

public static final ParameterType OBJECT

The object parameter type.

STRING

public static final ParameterType STRING

The string parameter type.

Constructor Details

ParameterType

@Deprecated
public ParameterType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ParameterType value.

Method Details

fromString

public static ParameterType fromString(String name)

Creates or finds a ParameterType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ParameterType.

values

public static Collection<ParameterType> values()

Gets known ParameterType values.

Returns:

known ParameterType values.

Applies to