
package RendezVous_client;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for creneaux complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="creneaux">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="hdebut" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="hfin" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="mdebut" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="medecins" type="{http://RendezVous/}medecins" minOccurs="0"/>
 *         &lt;element name="mfin" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="rvList" type="{http://RendezVous/}rv" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="version" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "creneaux", propOrder = {
    "hdebut",
    "hfin",
    "id",
    "mdebut",
    "medecins",
    "mfin",
    "rvList",
    "version"
})
public class Creneaux {

    protected int hdebut;
    protected int hfin;
    protected Long id;
    protected int mdebut;
    protected Medecins medecins;
    protected int mfin;
    @XmlElement(nillable = true)
    protected List<Rv> rvList;
    protected int version;

    /**
     * Gets the value of the hdebut property.
     * 
     */
    public int getHdebut() {
        return hdebut;
    }

    /**
     * Sets the value of the hdebut property.
     * 
     */
    public void setHdebut(int value) {
        this.hdebut = value;
    }

    /**
     * Gets the value of the hfin property.
     * 
     */
    public int getHfin() {
        return hfin;
    }

    /**
     * Sets the value of the hfin property.
     * 
     */
    public void setHfin(int value) {
        this.hfin = value;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setId(Long value) {
        this.id = value;
    }

    /**
     * Gets the value of the mdebut property.
     * 
     */
    public int getMdebut() {
        return mdebut;
    }

    /**
     * Sets the value of the mdebut property.
     * 
     */
    public void setMdebut(int value) {
        this.mdebut = value;
    }

    /**
     * Gets the value of the medecins property.
     * 
     * @return
     *     possible object is
     *     {@link Medecins }
     *     
     */
    public Medecins getMedecins() {
        return medecins;
    }

    /**
     * Sets the value of the medecins property.
     * 
     * @param value
     *     allowed object is
     *     {@link Medecins }
     *     
     */
    public void setMedecins(Medecins value) {
        this.medecins = value;
    }

    /**
     * Gets the value of the mfin property.
     * 
     */
    public int getMfin() {
        return mfin;
    }

    /**
     * Sets the value of the mfin property.
     * 
     */
    public void setMfin(int value) {
        this.mfin = value;
    }

    /**
     * Gets the value of the rvList 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 rvList property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getRvList().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Rv }
     * 
     * 
     */
    public List<Rv> getRvList() {
        if (rvList == null) {
            rvList = new ArrayList<Rv>();
        }
        return this.rvList;
    }

    /**
     * Gets the value of the version property.
     * 
     */
    public int getVersion() {
        return version;
    }

    /**
     * Sets the value of the version property.
     * 
     */
    public void setVersion(int value) {
        this.version = value;
    }

}
