Class FieldAggregation

  • All Implemented Interfaces:
    java.io.Serializable

    public class FieldAggregation
    extends Aggregation
    implements java.io.Serializable
    An aggregation based on fields <p>Java class for FieldAggregation complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="FieldAggregation"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/search}Aggregation"&gt; &lt;sequence&gt; &lt;element name="field" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;element name="nested" type="{http://flower.com/docs/domain/search}Aggregation" maxOccurs="unbounded"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String field
      The field on which the aggregation is done
      protected java.util.List<Aggregation> nested
      The nested aggregations
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldAggregation()
      Default no-arg constructor abc
      FieldAggregation​(java.lang.String field, java.util.List<Aggregation> nested)
      Fully-initialising value constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.lang.String getField()
      Gets the value of the field property.
      java.util.List<Aggregation> getNested()
      Gets the value of the nested property.
      int hashCode()  
      void setField​(java.lang.String value)
      Sets the value of the field property.
      void setNested​(java.util.List<Aggregation> value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • field

        protected java.lang.String field
        The field on which the aggregation is done
      • nested

        protected java.util.List<Aggregation> nested
        The nested aggregations
    • Constructor Detail

      • FieldAggregation

        public FieldAggregation()
        Default no-arg constructor abc
      • FieldAggregation

        public FieldAggregation​(java.lang.String field,
                                java.util.List<Aggregation> nested)
        Fully-initialising value constructor
    • Method Detail

      • getField

        public java.lang.String getField()
        Gets the value of the field property. <p> The field on which the aggregation is done
        Returns:
        possible object is String
      • setField

        public void setField​(java.lang.String value)
        Sets the value of the field property.
        Parameters:
        value - allowed object is String
        See Also:
        getField()
      • getNested

        public java.util.List<Aggregation> getNested()
        Gets the value of the nested 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 nested property. <p> For example, to add a new item, do as follows: <pre> getNested().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Aggregation <p> The nested aggregations
      • 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