
package com.dla.dda.utils.test.json.dto;

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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * Estructura de datos para la creación de orden interna
 * 
 * <p>Clase Java para DT_OrdenInterna complex type.
 * 
 * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
 * 
 * <pre>
 * &lt;complexType name="DT_OrdenInterna">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Registro" maxOccurs="unbounded">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="ID_DDA">
 *                     &lt;simpleType>
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                         &lt;maxLength value="10"/>
 *                       &lt;/restriction>
 *                     &lt;/simpleType>
 *                   &lt;/element>
 *                   &lt;element name="Descripcion">
 *                     &lt;simpleType>
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                         &lt;maxLength value="29"/>
 *                       &lt;/restriction>
 *                     &lt;/simpleType>
 *                   &lt;/element>
 *                   &lt;element name="Sociedad">
 *                     &lt;simpleType>
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                         &lt;maxLength value="4"/>
 *                       &lt;/restriction>
 *                     &lt;/simpleType>
 *                   &lt;/element>
 *                   &lt;element name="CentroCostos" minOccurs="0">
 *                     &lt;simpleType>
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                         &lt;maxLength value="10"/>
 *                       &lt;/restriction>
 *                     &lt;/simpleType>
 *                   &lt;/element>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
/*
@XmlRootElement(name="DT_OrdenInterna" , namespace = "http://americamovil.com/DDA/1/F/EnviaOrdenInterna" )
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DT_OrdenInterna", propOrder = {
    "registro"
})
*/
@XmlRootElement(name="MT_OrdenInterna_req" , namespace = "http://americamovil.com/DDA/1/F/EnviaOrdenInterna" )
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MT_OrdenInterna_req", propOrder = {
    "registro"
})
public class DTOrdenInterna {

    @XmlElement(name = "Registro", required = true)
    protected List<DTOrdenInterna.Registro> registro;

    /**
     * Gets the value of the registro 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 registro property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getRegistro().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DTOrdenInterna.Registro }
     * 
     * 
     */
    public List<DTOrdenInterna.Registro> getRegistro() {
        if (registro == null) {
            registro = new ArrayList<DTOrdenInterna.Registro>();
        }
        return this.registro;
    }

    public void setRegistro(List<DTOrdenInterna.Registro> registro) {
    	this.registro = registro;
    }

    /**
     * <p>Clase Java para anonymous complex type.
     * 
     * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="ID_DDA">
     *           &lt;simpleType>
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *               &lt;maxLength value="10"/>
     *             &lt;/restriction>
     *           &lt;/simpleType>
     *         &lt;/element>
     *         &lt;element name="Descripcion">
     *           &lt;simpleType>
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *               &lt;maxLength value="29"/>
     *             &lt;/restriction>
     *           &lt;/simpleType>
     *         &lt;/element>
     *         &lt;element name="Sociedad">
     *           &lt;simpleType>
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *               &lt;maxLength value="4"/>
     *             &lt;/restriction>
     *           &lt;/simpleType>
     *         &lt;/element>
     *         &lt;element name="CentroCostos" minOccurs="0">
     *           &lt;simpleType>
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *               &lt;maxLength value="10"/>
     *             &lt;/restriction>
     *           &lt;/simpleType>
     *         &lt;/element>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "iddda",
        "descripcion",
        "sociedad",
        "centroCostos"
    })
    public static class Registro {

        @XmlElement(name = "ID_DDA", required = true)
        protected String iddda;
        @XmlElement(name = "Descripcion", required = true)
        protected String descripcion;
        @XmlElement(name = "Sociedad", required = true)
        protected String sociedad;
        @XmlElement(name = "CentroCostos")
        protected String centroCostos;

        /**
         * Obtiene el valor de la propiedad iddda.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getIDDDA() {
            return iddda;
        }

        /**
         * Define el valor de la propiedad iddda.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setIDDDA(String value) {
            this.iddda = value;
        }

        /**
         * Obtiene el valor de la propiedad descripcion.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getDescripcion() {
            return descripcion;
        }

        /**
         * Define el valor de la propiedad descripcion.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setDescripcion(String value) {
            this.descripcion = value;
        }

        /**
         * Obtiene el valor de la propiedad sociedad.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getSociedad() {
            return sociedad;
        }

        /**
         * Define el valor de la propiedad sociedad.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setSociedad(String value) {
            this.sociedad = value;
        }

        /**
         * Obtiene el valor de la propiedad centroCostos.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getCentroCostos() {
            return centroCostos;
        }

        /**
         * Define el valor de la propiedad centroCostos.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setCentroCostos(String value) {
            this.centroCostos = value;
        }

    }

}