Aracılığıyla paylaş


LimitType Class

public final class LimitType
extends ExpandableStringEnum<LimitType>

The limit object type.

Field Summary

Modifier and Type Field and Description
static final LimitType LIMIT_VALUE

Static value LimitValue for LimitType.

Constructor Summary

Constructor Description
LimitType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LimitType value.

Method Summary

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

Creates or finds a LimitType from its string representation.

static Collection<LimitType> values()

Gets known LimitType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LIMIT_VALUE

public static final LimitType LIMIT_VALUE

Static value LimitValue for LimitType.

Constructor Details

LimitType

@Deprecated
public LimitType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LimitType value.

Method Details

fromString

public static LimitType fromString(String name)

Creates or finds a LimitType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LimitType.

values

public static Collection<LimitType> values()

Gets known LimitType values.

Returns:

known LimitType values.

Applies to