org.alfresco.repo.search.impl.querymodel.impl
Class BaseConjunction

java.lang.Object
  extended by org.alfresco.repo.search.impl.querymodel.impl.BaseConstraint
      extended by org.alfresco.repo.search.impl.querymodel.impl.BaseConjunction
All Implemented Interfaces:
Conjunction, Constraint
Direct Known Subclasses:
LuceneConjunction

public class BaseConjunction
extends BaseConstraint
implements Conjunction


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
Constraint.Occur
 
Constructor Summary
BaseConjunction(java.util.List constraints)
           
 
Method Summary
 boolean evaluate()
           
 java.util.List getConstraints()
          Get the list of constraints which must all be met
 java.lang.String toString()
           
 
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseConstraint
getBoost, getOccur, setBoost, setOccur
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
getBoost, getOccur, setBoost, setOccur
 

Constructor Detail

BaseConjunction

public BaseConjunction(java.util.List constraints)
Method Detail

getConstraints

public java.util.List getConstraints()
Description copied from interface: Conjunction
Get the list of constraints which must all be met

Specified by:
getConstraints in interface Conjunction
Returns:

evaluate

public boolean evaluate()
Specified by:
evaluate in interface Constraint

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.