|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.egothor.core.query.Query
org.egothor.query.QGroup
public class QGroup
The QGroup object represents a group of clausulas.
| Field Summary |
|---|
| Fields inherited from class org.egothor.core.query.Query |
|---|
MODEL_BOOLEAN, MODEL_FUZZY_M, MODEL_VECTOR |
| Constructor Summary | |
|---|---|
QGroup()
Constructor for the QGroup object. |
|
QGroup(boolean required)
Construct a QGroup with the given boolean value. |
|
| Method Summary | |
|---|---|
void |
add(Query q)
Add the given Query to the group. |
void |
addTerms(java.util.HashSet<Token> to)
Add the given HashSet of terms. |
Query |
applyCWI(CWI cwi)
Apply the given CWI to this Query. |
Runner |
attach(Rider r)
Return a binary form of this object for the given Rider. |
org.w3c.dom.Node |
explain(org.w3c.dom.Document doc)
Description of the Method |
java.lang.String |
getNodeName()
Gets the nodeName attribute of the QGroup object |
void |
setModel(int model)
Sets the model attribute of the QGroup object |
java.lang.String |
toString()
Return a String representation of this object. |
| Methods inherited from class org.egothor.core.query.Query |
|---|
getExcluded, getModel, getProhibited, getRequired, getUnknown, isRequiredOrProhibited, setExcluded, setProhibited, setRequired, setUnknown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QGroup()
public QGroup(boolean required)
required - Description of the Parameter| Method Detail |
|---|
public void setModel(int model)
setModel in class Querymodel - The new model valuepublic java.lang.String getNodeName()
getNodeName in class Query
public org.w3c.dom.Node explain(org.w3c.dom.Document doc)
throws org.w3c.dom.DOMException
explain in class Querydoc - Description of the Parameter
org.w3c.dom.DOMException - Description of the Exceptionpublic void add(Query q)
q - the query to addpublic java.lang.String toString()
toString in class java.lang.Objectpublic Runner attach(Rider r)
attach in class Queryr - the Rider
public void addTerms(java.util.HashSet<Token> to)
addTerms in class Queryto - the HashSet containing the desired termspublic Query applyCWI(CWI cwi)
applyCWI in class Querycwi - the desired CWI
this
object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||