StringComparisonField

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

public final class StringComparisonField extends ComparisonField

Represents the string search field.

Methods

MethodDescription
contains(String value)Indicates that field in message must contain the specified value.
contains(String value, boolean ignoreCase)Indicates that field in message must contain the specified value.
empty()Indicates that field in message must be empty.
equals(Object arg0)
equals(String value)Indicates that field in message must be equal to the specified value.
equals(String value, boolean ignoreCase)Indicates that field in message must be equal to the specified value.
getClass()
hashCode()hashCode.
notContains(String value)Indicates that field in message must not contain the specified value.
notContains(String value, boolean ignoreCase)Indicates that field in message must not contain the specified value.
notEmpty()Indicates that field in message must not be empty.
notEquals(String value)Indicates that field in message must not be equal to the specified value.
notEquals(String value, boolean ignoreCase)Indicates that field in message must not be equal to the specified value.
notify()
notifyAll()
orderBy(boolean ascending)Sets value which indicates if client uses ascending or descending sorting on the Field.
setKQL(boolean isKQL)Gets or sets value which defines whether property is used for Keyword Query Language
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

contains(String value)

public final MailQuery contains(String value)

Indicates that field in message must contain the specified value.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.

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

contains(String value, boolean ignoreCase)

public final MailQuery contains(String value, boolean ignoreCase)

Indicates that field in message must contain the specified value.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.
ignoreCasebooleantrue to ignore case during the comparison; otherwise, false.

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

empty()

public final MailQuery empty()

Indicates that field in message must be empty.

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

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

equals(String value)

public final MailQuery equals(String value)

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

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.

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

equals(String value, boolean ignoreCase)

public final MailQuery equals(String value, boolean ignoreCase)

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

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.
ignoreCasebooleantrue to ignore case during the comparison; otherwise, false.

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

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public int hashCode()

hashCode.

Returns: int - a int.

notContains(String value)

public final MailQuery notContains(String value)

Indicates that field in message must not contain the specified value.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.

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

notContains(String value, boolean ignoreCase)

public final MailQuery notContains(String value, boolean ignoreCase)

Indicates that field in message must not contain the specified value.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.
ignoreCasebooleantrue to ignore case during the comparison; otherwise, false.

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

notEmpty()

public final MailQuery notEmpty()

Indicates that field in message must not be empty.

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

notEquals(String value)

public final MailQuery notEquals(String value)

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

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.

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

notEquals(String value, boolean ignoreCase)

public final MailQuery notEquals(String value, boolean ignoreCase)

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

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe value.
ignoreCasebooleantrue to ignore case during the comparison; otherwise, false.

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:

ParameterTypeDescription
ascendingbooleanSet true if you want to use ascending sorting, otherwise set false.

setKQL(boolean isKQL)

public final StringComparisonField setKQL(boolean isKQL)

Gets or sets value which defines whether property is used for Keyword Query Language

Parameters:

ParameterTypeDescription
isKQLboolean

Returns: StringComparisonField -

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