Class 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> &lt;complexType name="SearchResult"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;sequence&gt; &lt;element name="fields" type="{http://flower.com/docs/domain/common}ResultField" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

    • 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 list ResultField
      • 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
      • setFields

        public void setFields​(java.util.List<ResultField> value)