Class BaseConstraint
- java.lang.Object
-
- org.alfresco.repo.search.impl.querymodel.impl.BaseConstraint
-
- All Implemented Interfaces:
Constraint
- Direct Known Subclasses:
BaseConjunction
,BaseDisjunction
,BaseFunctionalConstraint
,SimpleConstraint
public abstract class BaseConstraint extends java.lang.Object implements Constraint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
Constraint.Occur
-
-
Constructor Summary
Constructors Constructor Description BaseConstraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getBoost()
Constraint.Occur
getOccur()
void
setBoost(float boost)
void
setOccur(Constraint.Occur occur)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.repo.search.impl.querymodel.Constraint
evaluate
-
-
-
-
Method Detail
-
getOccur
public Constraint.Occur getOccur()
- Specified by:
getOccur
in interfaceConstraint
-
setOccur
public void setOccur(Constraint.Occur occur)
- Specified by:
setOccur
in interfaceConstraint
-
getBoost
public float getBoost()
- Specified by:
getBoost
in interfaceConstraint
-
setBoost
public void setBoost(float boost)
- Specified by:
setBoost
in interfaceConstraint
-
-