|
||||||||||
| 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.Not
public class Not
Not operator is used to build negative restriction for request on content.
For example, use: RestrictionHelper.not( RestrictionHelper.eq( myElement ,
"myValue" ) )
| Field Summary | |
|---|---|
protected Restriction |
restriction
|
| Fields inherited from class org.sharengo.wikitty.search.Restriction |
|---|
name |
| Constructor Summary | |
|---|---|
Not()
Default constructor |
|
Not(Restriction restriction)
Constructor with all parameters initialized |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Equality test based attributes values |
Restriction |
getRestriction()
Return restriction |
int |
hashCode()
|
void |
setRestriction(Restriction restriction)
Set a value to parameter restriction. |
| 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 Restriction restriction
| Constructor Detail |
|---|
public Not()
public Not(Restriction restriction)
restriction - | Method Detail |
|---|
public Restriction getRestriction()
public void setRestriction(Restriction restriction)
restriction - 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 | |||||||||