Class Criteria

  • All Implemented Interfaces:
    java.io.Serializable

    public class Criteria
    extends java.lang.Object
    implements java.io.Serializable
    <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="CriterionList" type="{http://flower.com/docs/domain/search}Criterion" maxOccurs="unbounded"/&gt; &lt;element name="category" type="{http://flower.com/docs/domain/component}Category"/&gt; &lt;element name="any" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Criteria()
      Default no-arg constructor abc
      Criteria​(java.util.List<Criterion> criterionList, Category category, boolean any)
      Fully-initialising value constructor
    • Field Detail

      • criterionList

        protected java.util.List<Criterion> criterionList
      • any

        protected boolean any
    • Constructor Detail

      • Criteria

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

        public Criteria​(java.util.List<Criterion> criterionList,
                        Category category,
                        boolean any)
        Fully-initialising value constructor
    • Method Detail

      • getCriterionList

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

        public Category getCategory()
        The category on which the criteria should be applied
        Returns:
        possible object is Category
      • setCategory

        public void setCategory​(Category value)
        Sets the value of the category property.
        Parameters:
        value - allowed object is Category
      • isAny

        public boolean isAny()
        Determines if all criteria are required or any one.
      • setAny

        public void setAny​(boolean value)
        Sets the value of the any property.
      • 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
      • setCriterionList

        public void setCriterionList​(java.util.List<Criterion> value)