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 Aggregationaggregationprotected java.util.List<Criterion>contextprotected java.util.List<FilterClause>filterClausesprotected intmaxprotected java.util.List<OrderClause>orderClausesprotected SelectClauseselectClauseprotected intstart
-
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 booleanequals(java.lang.Object other)AggregationgetAggregation()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.intgetMax()Gets the value of the max property.java.util.List<OrderClause>getOrderClauses()Gets the value of the orderClauses property.SelectClausegetSelectClause()Gets the value of the selectClause property.intgetStart()Gets the value of the start property.inthashCode()voidsetAggregation(Aggregation value)Sets the value of the aggregation property.voidsetContext(java.util.List<Criterion> value)voidsetFilterClauses(java.util.List<FilterClause> value)voidsetMax(int value)Sets the value of the max property.voidsetOrderClauses(java.util.List<OrderClause> value)voidsetSelectClause(SelectClause value)Sets the value of the selectClause property.voidsetStart(int value)Sets the value of the start property.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin 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)
-
-