Class NamedBucket

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    PartialBucket

    public class NamedBucket
    extends Bucket
    implements java.io.Serializable
    A bucket whose the name can be defined <p>Java class for NamedBucket complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="NamedBucket"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/search}Bucket"&gt; &lt;sequence&gt; &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • name

        protected java.lang.String name
        Name of the bucket
    • Constructor Detail

      • NamedBucket

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

        public NamedBucket​(SearchRequest request,
                           long count,
                           java.util.List<Bucket> children,
                           java.lang.String name)
        Fully-initialising value constructor
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the value of the name property. <p> Name of the bucket
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
        See Also:
        getName()
      • toString

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

        public int hashCode()
        Overrides:
        hashCode in class Bucket
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class Bucket