|
||||||||||
| 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.Contains
WikittyQuery
@Deprecated public class Contains
Contains operator is used to build restriction containing "(element like
*value1 or element like value1*) and (element like *value2 or element like
value2*)" where element could be a String, a multimedia, a text or an xhtml
For example, use:
| Field Summary | |
|---|---|
protected Element |
element
Deprecated. |
protected List<String> |
value
Deprecated. |
| Fields inherited from class org.nuiton.wikitty.search.operators.Restriction |
|---|
name |
| Constructor Summary | |
|---|---|
Contains()
Deprecated. Default constructor |
|
Contains(Element element,
List<String> value)
Deprecated. Constructor with all parameters initialized |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Deprecated. Equality test based attributes values |
Element |
getElement()
Deprecated. Return element |
List<String> |
getValue()
Deprecated. Return value |
int |
hashCode()
Deprecated. |
void |
setElement(Element element)
Deprecated. Set a value to parameter element. |
void |
setValue(List<String> value)
Deprecated. Set a value to parameter value. |
| 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 Element element
protected List<String> value
| Constructor Detail |
|---|
public Contains()
public Contains(Element element,
List<String> value)
element - value - | Method Detail |
|---|
public Element getElement()
public void setElement(Element element)
element - public List<String> getValue()
public void setValue(List<String> value)
value - 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 | |||||||||