Package com.flower.docs.domain.search
Class SearchRequest
- java.lang.Object
-
- com.flower.docs.domain.search.SearchRequest
-
- All Implemented Interfaces:
java.io.Serializable
public class SearchRequest extends java.lang.Object implements java.io.Serializable
<p>Java class for SearchRequest complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="SearchRequest"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="selectClause" type="{http://flower.com/docs/domain/search}SelectClause"/> <element name="filterClauses" type="{http://flower.com/docs/domain/search}FilterClause" maxOccurs="unbounded"/> <element name="orderClauses" type="{http://flower.com/docs/domain/search}OrderClause" maxOccurs="unbounded"/> <element name="context" type="{http://flower.com/docs/domain/search}Criterion" maxOccurs="unbounded"/> <element name="start" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="max" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="aggregation" type="{http://flower.com/docs/domain/search}Aggregation"/> </sequence> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Aggregation
aggregation
protected java.util.List<Criterion>
context
protected java.util.List<FilterClause>
filterClauses
protected int
max
protected java.util.List<OrderClause>
orderClauses
protected SelectClause
selectClause
protected int
start
-
Constructor Summary
Constructors Constructor Description SearchRequest()
Default no-arg constructor abcSearchRequest(SelectClause selectClause, java.util.List<FilterClause> filterClauses, java.util.List<OrderClause> orderClauses, java.util.List<Criterion> context, int start, int max, Aggregation aggregation)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Aggregation
getAggregation()
Gets the value of the aggregation property.java.util.List<Criterion>
getContext()
Gets the value of the context property.java.util.List<FilterClause>
getFilterClauses()
Gets the value of the filterClauses property.int
getMax()
Gets the value of the max property.java.util.List<OrderClause>
getOrderClauses()
Gets the value of the orderClauses property.SelectClause
getSelectClause()
Gets the value of the selectClause property.int
getStart()
Gets the value of the start property.int
hashCode()
void
setAggregation(Aggregation value)
Sets the value of the aggregation property.void
setContext(java.util.List<Criterion> value)
void
setFilterClauses(java.util.List<FilterClause> value)
void
setMax(int value)
Sets the value of the max property.void
setOrderClauses(java.util.List<OrderClause> value)
void
setSelectClause(SelectClause value)
Sets the value of the selectClause property.void
setStart(int value)
Sets the value of the start property.java.lang.String
toString()
-
-
-
Field Detail
-
selectClause
protected SelectClause selectClause
-
filterClauses
protected java.util.List<FilterClause> filterClauses
-
orderClauses
protected java.util.List<OrderClause> orderClauses
-
context
protected java.util.List<Criterion> context
-
start
protected int start
-
max
protected int max
-
aggregation
protected Aggregation aggregation
-
-
Constructor Detail
-
SearchRequest
public SearchRequest()
Default no-arg constructor abc
-
SearchRequest
public SearchRequest(SelectClause selectClause, java.util.List<FilterClause> filterClauses, java.util.List<OrderClause> orderClauses, java.util.List<Criterion> context, int start, int max, Aggregation aggregation)
Fully-initialising value constructor
-
-
Method Detail
-
getSelectClause
public SelectClause getSelectClause()
Gets the value of the selectClause property.- Returns:
- possible object is
SelectClause
-
setSelectClause
public void setSelectClause(SelectClause value)
Sets the value of the selectClause property.- Parameters:
value
- allowed object isSelectClause
-
getFilterClauses
public java.util.List<FilterClause> getFilterClauses()
Gets the value of the filterClauses property. <p> 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 <CODE>set</CODE> method for the filterClauses property. <p> For example, to add a new item, do as follows: <pre> getFilterClauses().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listFilterClause
-
getOrderClauses
public java.util.List<OrderClause> getOrderClauses()
Gets the value of the orderClauses property. <p> 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 <CODE>set</CODE> method for the orderClauses property. <p> For example, to add a new item, do as follows: <pre> getOrderClauses().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listOrderClause
-
getContext
public java.util.List<Criterion> getContext()
Gets the value of the context property. <p> 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 <CODE>set</CODE> method for the context property. <p> For example, to add a new item, do as follows: <pre> getContext().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listCriterion
-
getStart
public int getStart()
Gets the value of the start property.
-
setStart
public void setStart(int value)
Sets the value of the start property.
-
getMax
public int getMax()
Gets the value of the max property.
-
setMax
public void setMax(int value)
Sets the value of the max property.
-
getAggregation
public Aggregation getAggregation()
Gets the value of the aggregation property.- Returns:
- possible object is
Aggregation
-
setAggregation
public void setAggregation(Aggregation value)
Sets the value of the aggregation property.- Parameters:
value
- allowed object isAggregation
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
setFilterClauses
public void setFilterClauses(java.util.List<FilterClause> value)
-
setOrderClauses
public void setOrderClauses(java.util.List<OrderClause> value)
-
setContext
public void setContext(java.util.List<Criterion> value)
-
-