ComparisonFieldAdapter

Inheritance: java.lang.Object

public class ComparisonFieldAdapter

Implements adapter for using ComparisonField according to their type

Methods

MethodDescription
equals(Object arg0)
exists(boolean value)Get a search expression that returns true if the supplied property exists.
getAsBinary()Returns current ComparisonField as BinaryComparisonField
getAsBoolean()Returns current ComparisonField as BoolComparisonField
getAsDateTime()Returns current ComparisonField as DateComparisonField
getAsFloating()Returns current ComparisonField as DoubleComparisonField
getAsInteger()Returns current ComparisonField as LongComparisonField
getAsString()Returns current ComparisonField as StringComparisonField
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

exists(boolean value)

public final MailQuery exists(boolean value)

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

Parameters:

ParameterTypeDescription
valueboolean

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

getAsBinary()

public final BinaryComparisonField getAsBinary()

Returns current ComparisonField as BinaryComparisonField

Returns: BinaryComparisonField

getAsBoolean()

public final BoolComparisonField getAsBoolean()

Returns current ComparisonField as BoolComparisonField

Returns: BoolComparisonField

getAsDateTime()

public final DateComparisonField getAsDateTime()

Returns current ComparisonField as DateComparisonField

Returns: DateComparisonField

getAsFloating()

public final DoubleComparisonField getAsFloating()

Returns current ComparisonField as DoubleComparisonField

Returns: DoubleComparisonField

getAsInteger()

public final LongComparisonField getAsInteger()

Returns current ComparisonField as LongComparisonField

Returns: LongComparisonField

getAsString()

public final StringComparisonField getAsString()

Returns current ComparisonField as StringComparisonField

Returns: StringComparisonField

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int