context.arch.discoverer.querySystem
Class ANDQueryItem

java.lang.Object
  extended bycontext.arch.discoverer.querySystem.AbstractQueryItem
      extended bycontext.arch.discoverer.querySystem.AbstractBooleanQueryItem
          extended bycontext.arch.discoverer.querySystem.ANDQueryItem

public class ANDQueryItem
extends AbstractBooleanQueryItem

Author:
Agathe

Field Summary
static java.lang.String AND_QUERY_ITEM
           
 
Fields inherited from class context.arch.discoverer.querySystem.AbstractBooleanQueryItem
ABSTRACT_BOOLEAN_QUERY_ITEM, booleanCondition, left, LEFT, NAME, right, RIGHT
 
Fields inherited from class context.arch.discoverer.querySystem.AbstractQueryItem
ABSTRACT_QUERY_ITEM
 
Constructor Summary
ANDQueryItem(AbstractQueryItem left, AbstractQueryItem right)
          Creates new ANDQueryItem
 
Method Summary
 java.lang.Object process(AbstractDataModel dataModel)
          Perform a AND
 boolean process(java.lang.Object component)
          Returns true if the component fits the query item
 
Methods inherited from class context.arch.discoverer.querySystem.AbstractBooleanQueryItem
factory, fromDataObject, getBooleanCondition, toDataObject, toString
 
Methods inherited from class context.arch.discoverer.querySystem.AbstractQueryItem
arrayToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AND_QUERY_ITEM

public static final java.lang.String AND_QUERY_ITEM
See Also:
Constant Field Values
Constructor Detail

ANDQueryItem

public ANDQueryItem(AbstractQueryItem left,
                    AbstractQueryItem right)
Creates new ANDQueryItem

Method Detail

process

public java.lang.Object process(AbstractDataModel dataModel)
Perform a AND

Specified by:
process in class AbstractBooleanQueryItem

process

public boolean process(java.lang.Object component)
Description copied from class: AbstractBooleanQueryItem
Returns true if the component fits the query item

Specified by:
process in class AbstractBooleanQueryItem
Returns:
boolean