|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CompositeRestriction represents a list of AND-ed Restrictions.
| Method Summary | |
void |
addRestriction(int restrictedField,
Restriction r)
This method add restriction to some attribute of the implemantation class. |
boolean |
admit(java.lang.Object o)
Checks if given object complies with restrictions specified by the implementation class |
java.lang.String |
reduceToLuceneQuery()
|
| Method Detail |
public boolean admit(java.lang.Object o)
o - given object
True if the object complys with the restrictions,
otherwise returns False.
public void addRestriction(int restrictedField,
Restriction r)
restrictedField - implicitly given fieldr - given restrictionpublic java.lang.String reduceToLuceneQuery()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||