Kind Class

public final class Kind
extends ExpandableStringEnum<Kind>

Kind of the connection string key.

Field Summary

Modifier and Type Field and Description
static final Kind PRIMARY

Static value Primary for Kind.

static final Kind PRIMARY_READONLY

Static value PrimaryReadonly for Kind.

static final Kind SECONDARY

Static value Secondary for Kind.

static final Kind SECONDARY_READONLY

Static value SecondaryReadonly for Kind.

Constructor Summary

Constructor Description
Kind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Kind value.

Method Summary

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

Creates or finds a Kind from its string representation.

static Collection<Kind> values()

Gets known Kind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PRIMARY

public static final Kind PRIMARY

Static value Primary for Kind.

PRIMARY_READONLY

public static final Kind PRIMARY_READONLY

Static value PrimaryReadonly for Kind.

SECONDARY

public static final Kind SECONDARY

Static value Secondary for Kind.

SECONDARY_READONLY

public static final Kind SECONDARY_READONLY

Static value SecondaryReadonly for Kind.

Constructor Details

Kind

@Deprecated
public Kind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Kind value.

Method Details

fromString

public static Kind fromString(String name)

Creates or finds a Kind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Kind.

values

public static Collection values()

Gets known Kind values.

Returns:

known Kind values.

Applies to