ERXNotQualifier Class Reference

Inherits com::webobjects::eocontrol::EONotQualifier, and er::extensions::qualifiers::IERXChainableQualifier.

Collaboration diagram for ERXNotQualifier:

Collaboration graph
[legend]

List of all members.

Public Member Functions

ERXAndQualifier and (EOQualifier...qualifiers)
 ERXNotQualifier (EOQualifier qualifier)
void filter (NSMutableArray<?> array)
ERXNotQualifier not ()
ERXOrQualifier or (EOQualifier...qualifiers)

Package Functions

public< T > NSArray< T > filtered (NSArray< T > array)
public< T > T first (NSArray< T > array)
public< T > T one (NSArray< T > array)
public< T > T requiredOne (NSArray< T > array)


Detailed Description

ERXNotQualifier is a chainable extension of EONotQualifier.

Author:
mschrag

Constructor & Destructor Documentation

ERXNotQualifier ( EOQualifier  qualifier  ) 


Member Function Documentation

ERXAndQualifier and ( EOQualifier...  qualifiers  ) 

Returns a new qualifier that represents this qualifier and'd to the given list of qualifiers.

Parameters:
qualifiers the qualifiers to and with this qualifier
Returns:
an ERXAndQualifier

Implements IERXChainableQualifier.

void filter ( NSMutableArray<?>  array  ) 

Equivalent to EOQualifier.filterArrayWithQualifier(NSMutableArray, EOQualfier)

Parameters:
array the array to filter (in place)

Implements IERXChainableQualifier.

public<T> NSArray<T> filtered ( NSArray< T >  array  )  [package]

Equivalent to EOQualifier.filteredArrayWithQualifier(NSArray, EOQualifier)

Parameters:
<T> the type of the array
array the array to filter
Returns:
the filtered array

Implements IERXChainableQualifier.

public<T> T first ( NSArray< T >  array  )  [package]

Equivalent to EOQualifier.first(NSMutableArray, EOQualfier)

Parameters:
<T> the type of the array
array the array to filter (in place)
Returns:
the first matching object or null

Implements IERXChainableQualifier.

ERXNotQualifier not (  ) 

Returns a new qualifier that represents this qualifier not'd.

Returns:
an ERXNotQualifier

Implements IERXChainableQualifier.

public<T> T one ( NSArray< T >  array  )  [package]

Equivalent to EOQualifier.one(NSMutableArray, EOQualfier)

Parameters:
<T> the type of the array
array the array to filter (in place)
Returns:
one matching object or null
Exceptions:
IllegalStateException if more than one object matched

Implements IERXChainableQualifier.

ERXOrQualifier or ( EOQualifier...  qualifiers  ) 

Returns a new qualifier that represents this qualifier or'd with the given list of qualifiers.

Parameters:
qualifiers the qualifiers to or with this qualifier
Returns:
an ERXOrQualifier

Implements IERXChainableQualifier.

public<T> T requiredOne ( NSArray< T >  array  )  [package]

Equivalent to EOQualifier.requiredOne(NSArray, EOQualfier)

Parameters:
<T> the type of the array
array the array to filter (in place)
Returns:
one matching object
Exceptions:
IllegalStateException if more than one object matched
NoSuchElementException if no objects matched

Implements IERXChainableQualifier.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:17 2012 for Project Wonder by  doxygen 1.5.8