PropertyType Class

public final class PropertyType
extends ExpandableStringEnum<PropertyType>

The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].

Field Summary

Modifier and Type Field and Description
static final PropertyType BOOLEAN

Boolean.

static final PropertyType INTEGER

Integer.

static final PropertyType NUMBER

Number.

static final PropertyType STRING

String.

Constructor Summary

Constructor Description
PropertyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PropertyType value.

Method Summary

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

Creates or finds a PropertyType from its string representation.

static Collection<PropertyType> values()

Gets known PropertyType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BOOLEAN

public static final PropertyType BOOLEAN

Boolean.

INTEGER

public static final PropertyType INTEGER

Integer.

NUMBER

public static final PropertyType NUMBER

Number.

STRING

public static final PropertyType STRING

String.

Constructor Details

PropertyType

@Deprecated
public PropertyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PropertyType value.

Method Details

fromString

public static PropertyType fromString(String name)

Creates or finds a PropertyType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PropertyType.

values

public static Collection<PropertyType> values()

Gets known PropertyType values.

Returns:

known PropertyType values.

Applies to