SemanticFieldState Class

public final class SemanticFieldState
extends ExpandableStringEnum<SemanticFieldState>

The way the field was used for the semantic enrichment process.

Field Summary

Modifier and Type Field and Description
static final SemanticFieldState PARTIAL

The field was partially used for semantic enrichment.

static final SemanticFieldState UNUSED

The field was not used for semantic enrichment.

static final SemanticFieldState USED

The field was fully used for semantic enrichment.

Constructor Summary

Constructor Description
SemanticFieldState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SemanticFieldState value.

Method Summary

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

Creates or finds a SemanticFieldState from its string representation.

static Collection<SemanticFieldState> values()

Gets known SemanticFieldState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PARTIAL

public static final SemanticFieldState PARTIAL

The field was partially used for semantic enrichment.

UNUSED

public static final SemanticFieldState UNUSED

The field was not used for semantic enrichment.

USED

public static final SemanticFieldState USED

The field was fully used for semantic enrichment.

Constructor Details

SemanticFieldState

@Deprecated
public SemanticFieldState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SemanticFieldState value.

Method Details

fromString

public static SemanticFieldState fromString(String name)

Creates or finds a SemanticFieldState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SemanticFieldState.

values

public static Collection<SemanticFieldState> values()

Gets known SemanticFieldState values.

Returns:

known SemanticFieldState values.

Applies to