Rule Execution Server API

ilog.rules.res.persistence.trace
Interface IlrCriteria

All Known Subinterfaces:
IlrBooleanCriteria, IlrBooleanCriteria.AndCriteria, IlrBooleanCriteria.OrCriteria, IlrCriteriaPlain<T>

public interface IlrCriteria

Interface for Decision Warehouse query criteria.

Since:
7.0

Method Summary
 IlrBooleanCriteria.AndCriteria and(IlrCriteria other)
          Returns an And criteria that combines this IlrCriteria instance with another one.
 boolean matches(Object o)
          Tests if an object matches this IlrCriteria instance.
 IlrBooleanCriteria.OrCriteria or(IlrCriteria other)
          Returns an Or criteria that combines this IlrCriteria instance with another one.
 

Method Detail

and

IlrBooleanCriteria.AndCriteria and(IlrCriteria other)
Returns an And criteria that combines this IlrCriteria instance with another one.

Parameters:
other - The IlrCriteria object to combine with this one.
Returns:
The And criteria.

or

IlrBooleanCriteria.OrCriteria or(IlrCriteria other)
Returns an Or criteria that combines this IlrCriteria instance with another one.

Parameters:
other - The IlrCriteria object to combine with this one.
Returns:
The Or criteria.

matches

boolean matches(Object o)
                throws IllegalAccessException,
                       InvocationTargetException,
                       IntrospectionException
Tests if an object matches this IlrCriteria instance.

Throws:
IllegalAccessException - if there is an access problem.
InvocationTargetException - if there is a problem invoking the target.
IntrospectionException - if there is an introspection problem.
Parameters:
o - The object to compare.
Returns:
true if the object matches.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2012