Package com.flower.docs.domain.search
Class FieldAggregation
- java.lang.Object
-
- com.flower.docs.domain.search.Aggregation
-
- com.flower.docs.domain.search.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> <complexType name="FieldAggregation"> <complexContent> <extension base="{http://flower.com/docs/domain/search}Aggregation"> <sequence> <element name="field" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="nested" type="{http://flower.com/docs/domain/search}Aggregation" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType> </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 doneprotected java.util.List<Aggregation>
nested
The nested aggregations
-
Constructor Summary
Constructors Constructor Description FieldAggregation()
Default no-arg constructor abcFieldAggregation(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()
-
-
-
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 isString
- 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 listAggregation
<p> The nested aggregations
-
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
-
setNested
public void setNested(java.util.List<Aggregation> value)
- See Also:
getNested()
-
-