|
||||||||||
| 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.BinaryOperator
public class BinaryOperator
This class is an abstract class that's used to factor each operator that handle two parameters (=, !=, <, <=, >, >=, end, begin).
| Field Summary | |
|---|---|
protected Element |
element
|
protected String |
value
|
| Fields inherited from class org.sharengo.wikitty.search.Restriction |
|---|
name |
| Constructor Summary | |
|---|---|
BinaryOperator()
Default constructor |
|
BinaryOperator(Element element,
String value)
Constructor with all parameters initialized |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Equality test based attributes values |
Element |
getElement()
Return element |
String |
getValue()
Return value |
int |
hashCode()
|
void |
setElement(Element element)
Set a value to parameter element. |
void |
setValue(String value)
Set a value to parameter value. |
| 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 Element element
protected String value
| Constructor Detail |
|---|
public BinaryOperator()
public BinaryOperator(Element element,
String value)
element - value - | Method Detail |
|---|
public Element getElement()
public void setElement(Element element)
element - public String getValue()
public void setValue(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 | |||||||||