|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sharengo.wikitty.search.Restriction
org.sharengo.wikitty.search.Or
public class Or
Or operator is used to build disjunctive 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.sharengo.wikitty.search.Restriction |
|---|
name |
| Constructor Summary | |
|---|---|
Or()
Default constructor |
|
Or(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.sharengo.wikitty.search.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 Or()
public Or(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 | |||||||||