|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.wikitty.search.operators.Restriction
org.nuiton.wikitty.search.operators.And
public class And
And operator is used to build conjunctive restriction for request on content.
It take at least 2 args.
For example, use:
| Field Summary | |
|---|---|
protected List<Restriction> |
restrictions
|
| Fields inherited from class org.nuiton.wikitty.search.operators.Restriction |
|---|
name |
| Constructor Summary | |
|---|---|
And()
Default constructor |
|
And(List<Restriction> restrictions)
Constructor with all parameters initialized |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Equality test based attributes values |
List<Restriction> |
getRestrictions()
Return restrictions |
int |
hashCode()
|
void |
setRestrictions(List<Restriction> restrictions)
Set a value to parameter restrictions. |
| Methods inherited from class org.nuiton.wikitty.search.operators.Restriction |
|---|
getName, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Restriction> restrictions
| Constructor Detail |
|---|
public And()
public And(List<Restriction> restrictions)
restrictions - | Method Detail |
|---|
public List<Restriction> getRestrictions()
public void setRestrictions(List<Restriction> restrictions)
restrictions - public boolean equals(Object other)
equals in class Restrictionvalue - Value to comparepublic int hashCode()
hashCode in class Restriction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||