Package com.flower.docs.domain.search
Class Criteria
- java.lang.Object
-
- com.flower.docs.domain.search.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> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="CriterionList" type="{http://flower.com/docs/domain/search}Criterion" maxOccurs="unbounded"/> <element name="category" type="{http://flower.com/docs/domain/component}Category"/> <element name="any" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
any
protected Category
category
protected java.util.List<Criterion>
criterionList
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Category
getCategory()
The category on which the criteria should be appliedjava.util.List<Criterion>
getCriterionList()
The list of criterion Gets the value of the criterionList property.int
hashCode()
boolean
isAny()
Determines if all criteria are required or any one.void
setAny(boolean value)
Sets the value of the any property.void
setCategory(Category value)
Sets the value of the category property.void
setCriterionList(java.util.List<Criterion> value)
java.lang.String
toString()
-
-
-
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 listCriterion
-
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 isCategory
-
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 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
-
setCriterionList
public void setCriterionList(java.util.List<Criterion> value)
-
-