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

Static value Array for ParameterType.

static final ParameterType BOOLEAN

Static value Boolean for ParameterType.

static final ParameterType DATE_TIME

Static value DateTime for ParameterType.

static final ParameterType FLOAT

Static value Float for ParameterType.

static final ParameterType INTEGER

Static value Integer for ParameterType.

static final ParameterType OBJECT

Static value Object for ParameterType.

static final ParameterType STRING

Static value String for ParameterType.

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

Static value Array for ParameterType.

BOOLEAN

public static final ParameterType BOOLEAN

Static value Boolean for ParameterType.

DATE_TIME

public static final ParameterType DATE_TIME

Static value DateTime for ParameterType.

FLOAT

public static final ParameterType FLOAT

Static value Float for ParameterType.

INTEGER

public static final ParameterType INTEGER

Static value Integer for ParameterType.

OBJECT

public static final ParameterType OBJECT

Static value Object for ParameterType.

STRING

public static final ParameterType STRING

Static value String for ParameterType.

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 values()

Gets known ParameterType values.

Returns:

known ParameterType values.

Applies to