//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2013.08.27 at 09:45:12 AM CEST 
//


package org.apache.batchee.jaxb;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlType;


/**
 * Java class for Partition complex type.
 * <p>
 * <p>The following schema fragment specifies the expected content contained within this class.
 *
 * <pre>
 * &lt;complexType name="Partition"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;choice minOccurs="0"&gt;
 *           &lt;element name="mapper" type="{https://jakarta.ee/xml/ns/jakartaee}PartitionMapper"/&gt;
 *           &lt;element name="plan" type="{https://jakarta.ee/xml/ns/jakartaee}PartitionPlan"/&gt;
 *         &lt;/choice&gt;
 *         &lt;element name="collector" type="{https://jakarta.ee/xml/ns/jakartaee}Collector" minOccurs="0"/&gt;
 *         &lt;element name="analyzer" type="{https://jakarta.ee/xml/ns/jakartaee}Analyzer" minOccurs="0"/&gt;
 *         &lt;element name="reducer" type="{https://jakarta.ee/xml/ns/jakartaee}PartitionReducer" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Partition", propOrder = {
    "mapper",
    "plan",
    "collector",
    "analyzer",
    "reducer"
})
public class Partition {

    protected PartitionMapper mapper;
    protected PartitionPlan plan;
    protected Collector collector;
    protected Analyzer analyzer;
    protected PartitionReducer reducer;

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

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

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

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

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

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

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

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

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

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

}
