AliasPathTokenType Class

public final class AliasPathTokenType
extends ExpandableStringEnum<AliasPathTokenType>

The type of the token that the alias path is referring to.

Field Summary

Modifier and Type Field and Description
static final AliasPathTokenType ANY

The token type can be anything.

static final AliasPathTokenType ARRAY

The token type is array.

static final AliasPathTokenType BOOLEAN

The token type is boolean.

static final AliasPathTokenType INTEGER

The token type is integer.

static final AliasPathTokenType NOT_SPECIFIED

The token type is not specified.

static final AliasPathTokenType NUMBER

The token type is number.

static final AliasPathTokenType OBJECT

The token type is object.

static final AliasPathTokenType STRING

The token type is string.

Constructor Summary

Constructor Description
AliasPathTokenType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AliasPathTokenType value.

Method Summary

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

Creates or finds a AliasPathTokenType from its string representation.

static Collection<AliasPathTokenType> values()

Gets known AliasPathTokenType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ANY

public static final AliasPathTokenType ANY

The token type can be anything.

ARRAY

public static final AliasPathTokenType ARRAY

The token type is array.

BOOLEAN

public static final AliasPathTokenType BOOLEAN

The token type is boolean.

INTEGER

public static final AliasPathTokenType INTEGER

The token type is integer.

NOT_SPECIFIED

public static final AliasPathTokenType NOT_SPECIFIED

The token type is not specified.

NUMBER

public static final AliasPathTokenType NUMBER

The token type is number.

OBJECT

public static final AliasPathTokenType OBJECT

The token type is object.

STRING

public static final AliasPathTokenType STRING

The token type is string.

Constructor Details

AliasPathTokenType

@Deprecated
public AliasPathTokenType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AliasPathTokenType value.

Method Details

fromString

public static AliasPathTokenType fromString(String name)

Creates or finds a AliasPathTokenType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AliasPathTokenType.

values

public static Collection<AliasPathTokenType> values()

Gets known AliasPathTokenType values.

Returns:

known AliasPathTokenType values.

Applies to