org.eclipse.stardust.engine.api.query
Class WorklistQuery.Attribute

java.lang.Object
  extended by org.eclipse.stardust.engine.api.query.WorklistQuery.Attribute
All Implemented Interfaces:
java.io.Serializable, FilterableAttribute
Enclosing class:
WorklistQuery

public static final class WorklistQuery.Attribute
extends java.lang.Object

Worklist item attribute supporting filter operations.

Not for direct use.

See Also:
Serialized Form

Method Summary
 TernaryOperatorFilter between(double arg0, double arg1)
          Creates a filter matching an attribute being both greater than or equal the given lowerBound and less than or equal the given upperBound.
 TernaryOperatorFilter between(long arg0, long arg1)
          Creates a filter matching an attribute being both greater than or equal the given lowerBound and less than or equal the given upperBound.
 TernaryOperatorFilter between(java.lang.String arg0, java.lang.String arg1)
          Creates a filter matching an attribute being both greater than or equal the given lowerBound and less than or equal the given upperBound.
 java.lang.String getAttributeName()
          Returns the name of the attribute to apply this filter to.
 BinaryOperatorFilter greaterOrEqual(double arg0)
          Creates a filter matching an attribute being greater than the given value.
 BinaryOperatorFilter greaterOrEqual(long arg0)
          Creates a filter matching an attribute being greater than the given value.
 BinaryOperatorFilter greaterOrEqual(java.lang.String arg0)
          Creates a filter matching an attribute being greater than the given value.
 BinaryOperatorFilter greaterThan(double arg0)
          Creates a filter matching an attribute being greater than or equal the given value.
 BinaryOperatorFilter greaterThan(long arg0)
          Creates a filter matching an attribute being greater than or equal the given value.
 BinaryOperatorFilter greaterThan(java.lang.String arg0)
          Creates a filter matching an attribute being greater than or equal the given value.
 BinaryOperatorFilter isEqual(double arg0)
          Creates a filter matching an attribute being equal with the given value.
 BinaryOperatorFilter isEqual(long arg0)
          Creates a filter matching an attribute being equal with the given value.
 BinaryOperatorFilter isEqual(java.lang.String arg0)
          Creates a filter matching an attribute being equal with the given value.
 UnaryOperatorFilter isNotNull()
          Creates a filter matching an attribute not having a SQL NULL value.
 UnaryOperatorFilter isNull()
          Creates a filter matching an attribute having a SQL NULL value.
 BinaryOperatorFilter lessOrEqual(double arg0)
          Creates a filter matching an attribute being less than or equal the given value.
 BinaryOperatorFilter lessOrEqual(long arg0)
          Creates a filter matching an attribute being less than or equal the given value.
 BinaryOperatorFilter lessOrEqual(java.lang.String arg0)
          Creates a filter matching an attribute being less than or equal the given value.
 BinaryOperatorFilter lessThan(double arg0)
          Creates a filter matching an attribute being less than the given value.
 BinaryOperatorFilter lessThan(long arg0)
          Creates a filter matching an attribute being less than the given value.
 BinaryOperatorFilter lessThan(java.lang.String arg0)
          Creates a filter matching an attribute being less than the given value.
 BinaryOperatorFilter like(java.lang.String arg0)
          Creates a filter matching a text attribute according to the pattern given by value.
 BinaryOperatorFilter notEqual(double arg0)
          Creates a filter matching an attribute being equal with the given value.
 BinaryOperatorFilter notEqual(long arg0)
          Creates a filter matching an attribute being not equal with the given value.
 BinaryOperatorFilter notEqual(java.lang.String arg0)
          Creates a filter matching an attribute being not equal with the given value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isNull

public final UnaryOperatorFilter isNull()
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute having a SQL NULL value.

Specified by:
isNull in interface FilterableAttribute
Returns:
The readily configured filter.
See Also:
FilterableAttribute.isNotNull()

isNotNull

public final UnaryOperatorFilter isNotNull()
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute not having a SQL NULL value.

Specified by:
isNotNull in interface FilterableAttribute
Returns:
The readily configured filter.
See Also:
FilterableAttribute.isNull()

isEqual

public final BinaryOperatorFilter isEqual(java.lang.String arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being equal with the given value.

Specified by:
isEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.isEqual(long), FilterableAttribute.isEqual(double)

isEqual

public final BinaryOperatorFilter isEqual(long arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being equal with the given value.

Specified by:
isEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.isEqual(String), FilterableAttribute.isEqual(double)

isEqual

public final BinaryOperatorFilter isEqual(double arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being equal with the given value.

Specified by:
isEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.isEqual(String), FilterableAttribute.isEqual(long)

notEqual

public final BinaryOperatorFilter notEqual(java.lang.String arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being not equal with the given value.

Specified by:
notEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.notEqual(long), FilterableAttribute.notEqual(double)

notEqual

public final BinaryOperatorFilter notEqual(long arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being not equal with the given value.

Specified by:
notEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.notEqual(String), FilterableAttribute.notEqual(double)

notEqual

public final BinaryOperatorFilter notEqual(double arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being equal with the given value.

Specified by:
notEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.notEqual(String), FilterableAttribute.notEqual(long)

lessThan

public final BinaryOperatorFilter lessThan(java.lang.String arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being less than the given value.

The meaning of being less than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
lessThan in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.lessThan(long), FilterableAttribute.lessThan(double)

lessThan

public final BinaryOperatorFilter lessThan(long arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being less than the given value.

The meaning of being less than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
lessThan in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.lessThan(String), FilterableAttribute.lessThan(double)

lessThan

public final BinaryOperatorFilter lessThan(double arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being less than the given value.

The meaning of being less than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
lessThan in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.lessThan(String), FilterableAttribute.lessThan(long)

lessOrEqual

public final BinaryOperatorFilter lessOrEqual(java.lang.String arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being less than or equal the given value.

The meaning of being less than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
lessOrEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.lessOrEqual(long), FilterableAttribute.lessOrEqual(double)

lessOrEqual

public final BinaryOperatorFilter lessOrEqual(long arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being less than or equal the given value.

The meaning of being less than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
lessOrEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.lessOrEqual(String), FilterableAttribute.lessOrEqual(double)

lessOrEqual

public final BinaryOperatorFilter lessOrEqual(double arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being less than or equal the given value.

The meaning of being less than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
lessOrEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.lessOrEqual(String), FilterableAttribute.lessOrEqual(long)

greaterThan

public final BinaryOperatorFilter greaterThan(java.lang.String arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being greater than or equal the given value.

The meaning of being greater than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
greaterThan in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.greaterOrEqual(long), FilterableAttribute.greaterOrEqual(double)

greaterThan

public final BinaryOperatorFilter greaterThan(long arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being greater than or equal the given value.

The meaning of being greater than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
greaterThan in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.greaterOrEqual(String), FilterableAttribute.greaterOrEqual(double)

greaterThan

public final BinaryOperatorFilter greaterThan(double arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being greater than or equal the given value.

The meaning of being greater than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
greaterThan in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.greaterOrEqual(String), FilterableAttribute.greaterOrEqual(long)

greaterOrEqual

public final BinaryOperatorFilter greaterOrEqual(java.lang.String arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being greater than the given value.

The meaning of being greater than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
greaterOrEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.greaterThan(long), FilterableAttribute.greaterThan(double)

greaterOrEqual

public final BinaryOperatorFilter greaterOrEqual(long arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being greater than the given value.

The meaning of being greater than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
greaterOrEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.greaterThan(String), FilterableAttribute.greaterThan(double)

greaterOrEqual

public final BinaryOperatorFilter greaterOrEqual(double arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being greater than the given value.

The meaning of being greater than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
greaterOrEqual in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.greaterThan(String), FilterableAttribute.greaterThan(long)

like

public final BinaryOperatorFilter like(java.lang.String arg0)
Description copied from interface: FilterableAttribute
Creates a filter matching a text attribute according to the pattern given by value.

The pattern language syntax is that of SQL LIKE patterns. For details please check the documentation of your database backend.

Specified by:
like in interface FilterableAttribute
Parameters:
arg0 - The value to match with.
Returns:
The readily configured filter.

between

public final TernaryOperatorFilter between(java.lang.String arg0,
                                           java.lang.String arg1)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being both greater than or equal the given lowerBound and less than or equal the given upperBound.

The meaning of being less than or greater than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
between in interface FilterableAttribute
Parameters:
arg0 - The lowerBound bound of the value range to match with.
arg1 - The upperBound bound of the value range to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.between(long, long), FilterableAttribute.between(double, double)

between

public final TernaryOperatorFilter between(long arg0,
                                           long arg1)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being both greater than or equal the given lowerBound and less than or equal the given upperBound.

The meaning of being less than or greater than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
between in interface FilterableAttribute
Parameters:
arg0 - The lowerBound bound of the value range to match with.
arg1 - The upperBound bound of the value range to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.between(String, String), FilterableAttribute.between(double, double)

between

public final TernaryOperatorFilter between(double arg0,
                                           double arg1)
Description copied from interface: FilterableAttribute
Creates a filter matching an attribute being both greater than or equal the given lowerBound and less than or equal the given upperBound.

The meaning of being less than or greater than is specific to the type of the attribute, i.e. arithmetic or lexical order.

Specified by:
between in interface FilterableAttribute
Parameters:
arg0 - The lowerBound bound of the value range to match with.
arg1 - The upperBound bound of the value range to match with.
Returns:
The readily configured filter.
See Also:
FilterableAttribute.between(String, String), FilterableAttribute.between(long, long)

getAttributeName

public java.lang.String getAttributeName()
Description copied from interface: FilterableAttribute
Returns the name of the attribute to apply this filter to.

Specified by:
getAttributeName in interface FilterableAttribute
Returns:
The attribute name.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 SunGard CSA LLC. All Rights Reserved.