|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.weblab_project.core.model.Resource
org.weblab_project.core.model.query.Query
org.weblab_project.core.model.query.ComposedQuery
public class ComposedQuery
This kind of query is only an aggregation of query using a n-ary boolean operator to combine them. Composing queries using various composed queries will enable to deal with brackets. Please note that when dealing with the operators AND and OR, the number of queries should be at least two to be used; used with a simple query it will have no effects. NOT is a unary operator, so the list of queries should be reduced to one, but when using it in a more-that-one-query list, a AND NOT operator will be used in fact. Data Exchange Model for WebLab platform provided by EADS Query package - Version 1.1 - 2009/05
Java class for composedQuery complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="composedQuery"> <complexContent> <extension base="{http://weblab-project.org/core/model/query}query"> <sequence> <element name="query" type="{http://weblab-project.org/core/model/query}query" maxOccurs="unbounded"/> <element name="operator" type="{http://weblab-project.org/core/model/query}operator"/> </sequence> </extension> </complexContent> </complexType>
Field Summary | |
---|---|
protected Operator |
operator
|
protected java.util.List<Query> |
query
|
Fields inherited from class org.weblab_project.core.model.Resource |
---|
annotation, descriptor, uri |
Constructor Summary | |
---|---|
ComposedQuery()
|
Method Summary | |
---|---|
Operator |
getOperator()
Gets the value of the operator property. |
java.util.List<Query> |
getQuery()
Gets the value of the query property. |
void |
setOperator(Operator value)
Sets the value of the operator property. |
Methods inherited from class org.weblab_project.core.model.Resource |
---|
getAnnotation, getDescriptor, getUri, setUri |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<Query> query
protected Operator operator
Constructor Detail |
---|
public ComposedQuery()
Method Detail |
---|
public java.util.List<Query> getQuery()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the query property.
For example, to add a new item, do as follows:
getQuery().add(newItem);
Objects of the following type(s) are allowed in the list
Query
public Operator getOperator()
Operator
public void setOperator(Operator value)
value
- allowed object is
Operator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |