Class 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> &lt;complexType name="SearchRequest"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="selectClause" type="{http://flower.com/docs/domain/search}SelectClause"/&gt; &lt;element name="filterClauses" type="{http://flower.com/docs/domain/search}FilterClause" maxOccurs="unbounded"/&gt; &lt;element name="orderClauses" type="{http://flower.com/docs/domain/search}OrderClause" maxOccurs="unbounded"/&gt; &lt;element name="context" type="{http://flower.com/docs/domain/search}Criterion" maxOccurs="unbounded"/&gt; &lt;element name="start" type="{http://www.w3.org/2001/XMLSchema}int"/&gt; &lt;element name="max" type="{http://www.w3.org/2001/XMLSchema}int"/&gt; &lt;element name="aggregation" type="{http://flower.com/docs/domain/search}Aggregation"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • 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
    • 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 is SelectClause
      • 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 list FilterClause
      • 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 list OrderClause
      • 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 list Criterion
      • 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 is Aggregation
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.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)