//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
// 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: 2014.04.24 at 05:33:52 PM MSK 
//


package ru.lanit.masterenv.beans;

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 EnumerationType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="EnumerationType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://lanit.ru/master}FieldRestrictionsType">
 *       &lt;sequence>
 *         &lt;choice>
 *           &lt;element name="Enumeration">
 *             &lt;complexType>
 *               &lt;complexContent>
 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                   &lt;sequence>
 *                     &lt;element name="EnumElement" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                     &lt;element name="DefaultElement" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;/sequence>
 *                 &lt;/restriction>
 *               &lt;/complexContent>
 *             &lt;/complexType>
 *           &lt;/element>
 *           &lt;element name="FromDataSource" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *         &lt;/choice>
 *         &lt;element name="EnumerationField" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EnumerationType", propOrder = {
    "enumeration",
    "fromDataSource",
    "enumerationField"
})
public class EnumerationType
    extends FieldRestrictionsType
{

    @XmlElement(name = "Enumeration")
    protected EnumerationType.Enumeration enumeration;
    @XmlElement(name = "FromDataSource")
    protected Object fromDataSource;
    @XmlElement(name = "EnumerationField", required = true)
    protected Object enumerationField;

    /**
     * Gets the value of the enumeration property.
     * 
     * @return
     *     possible object is
     *     {@link EnumerationType.Enumeration }
     *     
     */
    public EnumerationType.Enumeration getEnumeration() {
        return enumeration;
    }

    /**
     * Sets the value of the enumeration property.
     * 
     * @param value
     *     allowed object is
     *     {@link EnumerationType.Enumeration }
     *     
     */
    public void setEnumeration(EnumerationType.Enumeration value) {
        this.enumeration = value;
    }

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

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

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

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


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="EnumElement" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="DefaultElement" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "enumElement",
        "defaultElement"
    })
    public static class Enumeration {

        @XmlElement(name = "EnumElement", required = true)
        protected String enumElement;
        @XmlElement(name = "DefaultElement")
        protected String defaultElement;

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

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

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

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

    }

}
