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

Static value Boolean for PropertyType.

static final PropertyType INTEGER

Static value Integer for PropertyType.

static final PropertyType NUMBER

Static value Number for PropertyType.

static final PropertyType STRING

Static value String for PropertyType.

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

Static value Boolean for PropertyType.

INTEGER

public static final PropertyType INTEGER

Static value Integer for PropertyType.

NUMBER

public static final PropertyType NUMBER

Static value Number for PropertyType.

STRING

public static final PropertyType STRING

Static value String for PropertyType.

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 values()

Gets known PropertyType values.

Returns:

known PropertyType values.

Applies to