Class Criterion

  • All Implemented Interfaces:
    java.io.Serializable

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

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name  
      protected Operators operator  
      protected Types type  
      protected java.util.List<java.lang.String> values  
    • Constructor Summary

      Constructors 
      Constructor Description
      Criterion()
      Default no-arg constructor abc
      Criterion​(java.lang.String name, Operators operator, Types type, java.util.List<java.lang.String> values)
      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 getName()
      Gets the value of the name property.
      Operators getOperator()
      Gets the value of the operator property.
      Types getType()
      Gets the value of the type property.
      java.util.List<java.lang.String> getValues()
      Gets the value of the values property.
      int hashCode()  
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setOperator​(Operators value)
      Sets the value of the operator property.
      void setType​(Types value)
      Sets the value of the type property.
      void setValues​(java.util.List<java.lang.String> value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • type

        protected Types type
      • values

        protected java.util.List<java.lang.String> values
    • Constructor Detail

      • Criterion

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

        public Criterion​(java.lang.String name,
                         Operators operator,
                         Types type,
                         java.util.List<java.lang.String> values)
        Fully-initialising value constructor
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        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
      • getOperator

        public Operators getOperator()
        Gets the value of the operator property.
        Returns:
        possible object is Operators
      • setOperator

        public void setOperator​(Operators value)
        Sets the value of the operator property.
        Parameters:
        value - allowed object is Operators
      • getType

        public Types getType()
        Gets the value of the type property.
        Returns:
        possible object is Types
      • setType

        public void setType​(Types value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is Types
      • getValues

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

        public void setValues​(java.util.List<java.lang.String> value)