ComparisonFieldAdapter

Inheritance: java.lang.Object

public class ComparisonFieldAdapter

Implements adapter for using ComparisonField according to their type

Methods

Method Description
getAsString() Returns current ComparisonField as StringComparisonField
getAsDateTime() Returns current ComparisonField as DateComparisonField
getAsInteger() Returns current ComparisonField as LongComparisonField
getAsFloating() Returns current ComparisonField as DoubleComparisonField
getAsBoolean() Returns current ComparisonField as BoolComparisonField
getAsBinary() Returns current ComparisonField as BinaryComparisonField
exists(boolean value) Get a search expression that returns true if the supplied property exists.

getAsString()

public final StringComparisonField getAsString()

Returns current ComparisonField as StringComparisonField

Returns: StringComparisonField

getAsDateTime()

public final DateComparisonField getAsDateTime()

Returns current ComparisonField as DateComparisonField

Returns: DateComparisonField

getAsInteger()

public final LongComparisonField getAsInteger()

Returns current ComparisonField as LongComparisonField

Returns: LongComparisonField

getAsFloating()

public final DoubleComparisonField getAsFloating()

Returns current ComparisonField as DoubleComparisonField

Returns: DoubleComparisonField

getAsBoolean()

public final BoolComparisonField getAsBoolean()

Returns current ComparisonField as BoolComparisonField

Returns: BoolComparisonField

getAsBinary()

public final BinaryComparisonField getAsBinary()

Returns current ComparisonField as BinaryComparisonField

Returns: BinaryComparisonField

exists(boolean value)

public final MailQuery exists(boolean value)

Get a search expression that returns true if the supplied property exists.

Parameters:

Parameter Type Description
value boolean

Returns: MailQuery - A MailQuery object that represents a search expression.