VariableType Class

public final class VariableType
extends ExpandableStringEnum<VariableType>

Variable type.

Field Summary

Modifier and Type Field and Description
static final VariableType ARRAY

Static value Array for VariableType.

static final VariableType BOOL

Static value Bool for VariableType.

static final VariableType BOOLEAN

Static value Boolean for VariableType.

static final VariableType STRING

Static value String for VariableType.

Constructor Summary

Constructor Description
VariableType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VariableType value.

Method Summary

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

Creates or finds a VariableType from its string representation.

static Collection<VariableType> values()

Gets known VariableType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ARRAY

public static final VariableType ARRAY

Static value Array for VariableType.

BOOL

public static final VariableType BOOL

Static value Bool for VariableType.

BOOLEAN

public static final VariableType BOOLEAN

Static value Boolean for VariableType.

STRING

public static final VariableType STRING

Static value String for VariableType.

Constructor Details

VariableType

@Deprecated
public VariableType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VariableType value.

Method Details

fromString

public static VariableType fromString(String name)

Creates or finds a VariableType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VariableType.

values

public static Collection<VariableType> values()

Gets known VariableType values.

Returns:

known VariableType values.

Applies to