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.
notEquals(int value) Indicates that field in message must not be equal to the specified value.
in(Iterable values) Indicates that field vlaue in message must be in list of specified values.
notIn(Iterable values) Indicates that field vlaue in message must not be in list of specified values.

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).

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).

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).

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).