context.arch.discoverer.querySystem
Class ORQueryItem

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

public class ORQueryItem
extends AbstractBooleanQueryItem

Author:
Agathe

Field Summary
static java.lang.String OR_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
ORQueryItem(AbstractQueryItem left, AbstractQueryItem right)
          Creates new ANDQueryItem
 
Method Summary
 java.lang.Object process(AbstractDataModel dataModel)
          Perform an OR
 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

OR_QUERY_ITEM

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

ORQueryItem

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

Method Detail

process

public java.lang.Object process(AbstractDataModel dataModel)
Perform an OR

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