Freigeben über


RegionCategory Class

public final class RegionCategory
extends ExpandableStringEnum<RegionCategory>

The category of the region.

Field Summary

Modifier and Type Field and Description
static final RegionCategory EXTENDED

Static value Extended for RegionCategory.

static final RegionCategory OTHER

Static value Other for RegionCategory.

static final RegionCategory RECOMMENDED

Static value Recommended for RegionCategory.

Constructor Summary

Constructor Description
RegionCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RegionCategory value.

Method Summary

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

Creates or finds a RegionCategory from its string representation.

static Collection<RegionCategory> values()

Gets known RegionCategory values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

EXTENDED

public static final RegionCategory EXTENDED

Static value Extended for RegionCategory.

OTHER

public static final RegionCategory OTHER

Static value Other for RegionCategory.

public static final RegionCategory RECOMMENDED

Static value Recommended for RegionCategory.

Constructor Details

RegionCategory

@Deprecated
public RegionCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RegionCategory value.

Method Details

fromString

public static RegionCategory fromString(String name)

Creates or finds a RegionCategory from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RegionCategory.

values

public static Collection values()

Gets known RegionCategory values.

Returns:

known RegionCategory values.

Applies to