SecondaryType Class

public final class SecondaryType
extends ExpandableStringEnum<SecondaryType>

The secondary type of the database if it is a secondary. Valid values are Geo and Named.

Field Summary

Modifier and Type Field and Description
static final SecondaryType GEO

Static value Geo for SecondaryType.

static final SecondaryType NAMED

Static value Named for SecondaryType.

Constructor Summary

Constructor Description
SecondaryType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecondaryType value.

Method Summary

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

Creates or finds a SecondaryType from its string representation.

static Collection<SecondaryType> values()

Gets known SecondaryType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GEO

public static final SecondaryType GEO

Static value Geo for SecondaryType.

NAMED

public static final SecondaryType NAMED

Static value Named for SecondaryType.

Constructor Details

SecondaryType

@Deprecated
public SecondaryType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecondaryType value.

Method Details

fromString

public static SecondaryType fromString(String name)

Creates or finds a SecondaryType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecondaryType.

values

public static Collection values()

Gets known SecondaryType values.

Returns:

known SecondaryType values.

Applies to