
package com.amadeus.fmptbq_24_1_1a;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * To specify Criteria with list of parameters
 * 
 * &lt;p&gt;Java class for ValueSearchCriteriaType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="ValueSearchCriteriaType"&amp;gt;
 *   &amp;lt;complexContent&amp;gt;
 *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
 *       &amp;lt;sequence&amp;gt;
 *         &amp;lt;element name="ref" type="{http://xml.amadeus.com/FMPTBQ_24_1_1A}AlphaNumericString_Length1To35" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="criteriaName" type="{http://xml.amadeus.com/FMPTBQ_24_1_1A}AlphaNumericString_Length1To50" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="criteriaCode" type="{http://xml.amadeus.com/FMPTBQ_24_1_1A}AlphaNumericString_Length1To3" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="value" type="{http://xml.amadeus.com/FMPTBQ_24_1_1A}AlphaNumericString_Length1To18" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="criteriaDetails" type="{http://xml.amadeus.com/FMPTBQ_24_1_1A}CriteriaiDetaislType" maxOccurs="10" minOccurs="0"/&amp;gt;
 *       &amp;lt;/sequence&amp;gt;
 *     &amp;lt;/restriction&amp;gt;
 *   &amp;lt;/complexContent&amp;gt;
 * &amp;lt;/complexType&amp;gt;
 * &lt;/pre&gt;
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ValueSearchCriteriaType", propOrder = {
    "ref",
    "criteriaName",
    "criteriaCode",
    "value",
    "criteriaDetails"
})
public class ValueSearchCriteriaType {

    protected String ref;
    protected String criteriaName;
    protected String criteriaCode;
    protected String value;
    protected List<CriteriaiDetaislType> criteriaDetails;

    /**
     * Gets the value of the ref property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRef() {
        return ref;
    }

    /**
     * Sets the value of the ref property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRef(String value) {
        this.ref = value;
    }

    /**
     * Gets the value of the criteriaName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCriteriaName() {
        return criteriaName;
    }

    /**
     * Sets the value of the criteriaName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCriteriaName(String value) {
        this.criteriaName = value;
    }

    /**
     * Gets the value of the criteriaCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCriteriaCode() {
        return criteriaCode;
    }

    /**
     * Sets the value of the criteriaCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCriteriaCode(String value) {
        this.criteriaCode = value;
    }

    /**
     * Gets the value of the value property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getValue() {
        return value;
    }

    /**
     * Sets the value of the value property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * Gets the value of the criteriaDetails property.
     * 
     * &lt;p&gt;
     * 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 &lt;CODE&gt;set&lt;/CODE&gt; method for the criteriaDetails property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getCriteriaDetails().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link CriteriaiDetaislType }
     * 
     * 
     */
    public List<CriteriaiDetaislType> getCriteriaDetails() {
        if (criteriaDetails == null) {
            criteriaDetails = new ArrayList<CriteriaiDetaislType>();
        }
        return this.criteriaDetails;
    }

}
