Package com.flower.docs.domain.search
Class SearchResult
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.search.SearchResult
-
- All Implemented Interfaces:
java.io.Serializable
public class SearchResult extends IdentifiableElement implements java.io.Serializable
A result of a search <p>Java class for SearchResult complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="SearchResult"> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <sequence> <element name="fields" type="{http://flower.com/docs/domain/common}ResultField" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ResultField>
fields
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description SearchResult()
Default no-arg constructor abcSearchResult(Id id, java.util.List<ResultField> fields)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.List<ResultField>
getFields()
Gets the value of the fields property.int
hashCode()
void
setFields(java.util.List<ResultField> value)
java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
fields
protected java.util.List<ResultField> fields
-
-
Constructor Detail
-
SearchResult
public SearchResult()
Default no-arg constructor abc
-
SearchResult
public SearchResult(Id id, java.util.List<ResultField> fields)
Fully-initialising value constructor
-
-
Method Detail
-
getFields
public java.util.List<ResultField> getFields()
Gets the value of the fields 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 fields property. <p> For example, to add a new item, do as follows: <pre> getFields().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listResultField
-
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
-
setFields
public void setFields(java.util.List<ResultField> value)
-
-