
package com.ejie.ab61.clientesWS.X43ExpedienteElectronico;

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 TContact complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="TContact">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="channelType" type="{com/ejie/x43s/v2/ttn/xml}TContactType"/>
 *         &lt;choice>
 *           &lt;element ref="{com/ejie/x43s/v2/ttn/xml}email"/>
 *           &lt;element ref="{com/ejie/x43s/v2/ttn/xml}sms"/>
 *           &lt;element ref="{com/ejie/x43s/v2/ttn/xml}phone"/>
 *           &lt;element ref="{com/ejie/x43s/v2/ttn/xml}fax"/>
 *         &lt;/choice>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TContact", namespace = "com/ejie/x43s/v2/ttn/xml", propOrder = {
    "channelType",
    "email",
    "sms",
    "phone",
    "fax"
})
public class TContact {

    @XmlElement(required = true)
    protected TContactType channelType;
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String email;
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String sms;
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String phone;
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String fax;

    /**
     * Gets the value of the channelType property.
     * 
     * @return
     *     possible object is
     *     {@link TContactType }
     *     
     */
    public TContactType getChannelType() {
        return channelType;
    }

    /**
     * Sets the value of the channelType property.
     * 
     * @param value
     *     allowed object is
     *     {@link TContactType }
     *     
     */
    public void setChannelType(TContactType value) {
        this.channelType = 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 sms property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSms() {
        return sms;
    }

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

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

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

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

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

}
