
package com.ejie.ab61.clientesWS.X43TareasTramitacion;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * <p>Java class for TNotifyAddress complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="TNotifyAddress">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="notificationType" type="{com/ejie/x43s/v2/ttn/xml}TNotificationType"/>
 *         &lt;element name="postal" type="{com/ejie/x43s/v2/ttn/xml}TPostalAddress"/>
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}email"/>
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}ep" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TNotifyAddress", namespace = "com/ejie/x43s/v2/ttn/xml", propOrder = {
    "notificationType",
    "postal",
    "email",
    "ep"
})
public class TNotifyAddress {

    @XmlElement(required = true)
    protected TNotificationType notificationType;
    @XmlElement(required = true)
    protected TPostalAddress postal;
    @XmlElement(required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String email;
    protected AExtensionPoint ep;

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

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

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

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

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

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

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

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

}
