Operator Class

public final class Operator
extends ExpandableStringEnum<Operator>

the criteria operator.

Field Summary

Modifier and Type Field and Description
static final Operator EQUALS

Static value Equals for Operator.

static final Operator GREATER_THAN

Static value GreaterThan for Operator.

static final Operator GREATER_THAN_OR_EQUAL

Static value GreaterThanOrEqual for Operator.

static final Operator LESS_THAN

Static value LessThan for Operator.

static final Operator LESS_THAN_OR_EQUAL

Static value LessThanOrEqual for Operator.

Constructor Summary

Constructor Description
Operator()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Operator value.

Method Summary

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

Creates or finds a Operator from its string representation.

static Collection<Operator> values()

Gets known Operator values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

EQUALS

public static final Operator EQUALS

Static value Equals for Operator.

GREATER_THAN

public static final Operator GREATER_THAN

Static value GreaterThan for Operator.

GREATER_THAN_OR_EQUAL

public static final Operator GREATER_THAN_OR_EQUAL

Static value GreaterThanOrEqual for Operator.

LESS_THAN

public static final Operator LESS_THAN

Static value LessThan for Operator.

LESS_THAN_OR_EQUAL

public static final Operator LESS_THAN_OR_EQUAL

Static value LessThanOrEqual for Operator.

Constructor Details

Operator

@Deprecated
public Operator()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Operator value.

Method Details

fromString

public static Operator fromString(String name)

Creates or finds a Operator from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Operator.

values

public static Collection values()

Gets known Operator values.

Returns:

known Operator values.

Applies to