SchemaCompatibility Class

public final class SchemaCompatibility
extends ExpandableStringEnum<SchemaCompatibility>

Defines values for SchemaCompatibility.

Field Summary

Modifier and Type Field and Description
static final SchemaCompatibility BACKWARD

Static value Backward for SchemaCompatibility.

static final SchemaCompatibility FORWARD

Static value Forward for SchemaCompatibility.

static final SchemaCompatibility NONE

Static value None for SchemaCompatibility.

Constructor Summary

Constructor Description
SchemaCompatibility()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SchemaCompatibility value.

Method Summary

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

Creates or finds a SchemaCompatibility from its string representation.

static Collection<SchemaCompatibility> values()

Gets known SchemaCompatibility values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BACKWARD

public static final SchemaCompatibility BACKWARD

Static value Backward for SchemaCompatibility.

FORWARD

public static final SchemaCompatibility FORWARD

Static value Forward for SchemaCompatibility.

NONE

public static final SchemaCompatibility NONE

Static value None for SchemaCompatibility.

Constructor Details

SchemaCompatibility

@Deprecated
public SchemaCompatibility()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SchemaCompatibility value.

Method Details

fromString

public static SchemaCompatibility fromString(String name)

Creates or finds a SchemaCompatibility from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SchemaCompatibility.

values

public static Collection values()

Gets known SchemaCompatibility values.

Returns:

known SchemaCompatibility values.

Applies to