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

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

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
BaseConstraint()
           
 
Method Summary
 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
 

Constructor Detail

BaseConstraint

public BaseConstraint()
Method Detail

getOccur

public Constraint.Occur getOccur()
Specified by:
getOccur in interface Constraint

setOccur

public void setOccur(Constraint.Occur occur)
Specified by:
setOccur in interface Constraint

getBoost

public float getBoost()
Specified by:
getBoost in interface Constraint

setBoost

public void setBoost(float boost)
Specified by:
setBoost in interface Constraint


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