Class BaseConjunction
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseConstraint
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseConjunction
-
- All Implemented Interfaces:
Conjunction
,Constraint
- Direct Known Subclasses:
LuceneConjunction
public class BaseConjunction extends BaseConstraint implements Conjunction
- Author:
- andyh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
Constraint.Occur
-
-
Constructor Summary
Constructors Constructor Description BaseConjunction(java.util.List<Constraint> constraints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate()
java.util.List<Constraint>
getConstraints()
Get the list of constraints which must all be metjava.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<Constraint> constraints)
-
-
Method Detail
-
getConstraints
public java.util.List<Constraint> getConstraints()
Description copied from interface:Conjunction
Get the list of constraints which must all be met- Specified by:
getConstraints
in interfaceConjunction
-
evaluate
public boolean evaluate()
- Specified by:
evaluate
in interfaceConstraint
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-