com.metamatrix.query.sql.lang
Class AtomicCriteria

java.lang.Object
  extended by com.metamatrix.query.sql.lang.Criteria
      extended by com.metamatrix.query.sql.lang.LogicalCriteria
          extended by com.metamatrix.query.sql.lang.AtomicCriteria
All Implemented Interfaces:
LanguageObject, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
NotCriteria

public abstract class AtomicCriteria
extends LogicalCriteria

This abstract class represents an atomic logical criteria. An atomic criteria operates on a single other criteria and evaluates to true or false during processing.

See Also:
Serialized Form

Constructor Summary
protected AtomicCriteria()
          Constructs a default instance of this class.
protected AtomicCriteria(Criteria crit)
          Constructs an instance of this class with a single sub-criteria.
 
Method Summary
abstract  java.lang.Object clone()
          Deep copy of object
 Criteria getCriteria()
          Get sub criteria
 void setCriteria(Criteria criteria)
          Set sub criteria
 
Methods inherited from class com.metamatrix.query.sql.lang.Criteria
combineCriteria, combineCriteria, combineCriteria, separateCriteriaByAnd, toConjunctiveNormalForm, toDisjunctiveNormalForm, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.metamatrix.query.sql.LanguageObject
acceptVisitor
 

Constructor Detail

AtomicCriteria

protected AtomicCriteria()
Constructs a default instance of this class.


AtomicCriteria

protected AtomicCriteria(Criteria crit)
Constructs an instance of this class with a single sub-criteria.

Method Detail

getCriteria

public Criteria getCriteria()
Get sub criteria

Returns:
Sub criteria

setCriteria

public void setCriteria(Criteria criteria)
Set sub criteria

Parameters:
criteria - Sub criteria

clone

public abstract java.lang.Object clone()
Deep copy of object

Specified by:
clone in interface LanguageObject
Specified by:
clone in class Criteria
Returns:
Deep copy of object


Copyright © 2009. All Rights Reserved.