EnumComparisonField

Inheritance: java.lang.Object, com.aspose.email.QueryField, com.aspose.email.ComparisonField

public final class EnumComparisonField extends ComparisonField

Represents the enum search field.

Methods

Method Description
equals(int value) Indicates that field in message must be equal to the specified value.
equals(Object arg0)
getClass()
hashCode()
in(Iterable values) Indicates that field vlaue in message must be in list of specified values.
notEquals(int value) Indicates that field in message must not be equal to the specified value.
notIn(Iterable values) Indicates that field vlaue in message must not be in list of specified values.
notify()
notifyAll()
orderBy(boolean ascending) Sets value which indicates if client uses ascending or descending sorting on the Field.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(int value)

public final MailQuery equals(int value)

Indicates that field in message must be equal to the specified value.

Parameters:

Parameter Type Description
value int The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

in(Iterable values)

public final MailQuery in(Iterable<Integer> values)

Indicates that field vlaue in message must be in list of specified values.

Parameters:

Parameter Type Description
values java.lang.Iterable<java.lang.Integer> Values .

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

notEquals(int value)

public final MailQuery notEquals(int value)

Indicates that field in message must not be equal to the specified value.

Parameters:

Parameter Type Description
value int The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

notIn(Iterable values)

public final MailQuery notIn(Iterable<Integer> values)

Indicates that field vlaue in message must not be in list of specified values.

Parameters:

Parameter Type Description
values java.lang.Iterable<java.lang.Integer> Values .

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

orderBy(boolean ascending)

public final void orderBy(boolean ascending)

Sets value which indicates if client uses ascending or descending sorting on the Field.

Parameters:

Parameter Type Description
ascending boolean Set true if you want to use ascending sorting, otherwise set false.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int