//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-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: 2015.07.02 at 12:14:43 PM MDT 
//


package gov.va.med.cds.template.generated.surveys;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for CensusModality complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="CensusModality">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="modalityType" type="{Surveys}CensusModalityType"/>
 *         &lt;element name="modalityName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CensusModality", propOrder = {
    "modalityType",
    "modalityName"
})
@XmlSeeAlso({
    MeasurementCensusModality.class,
    TelecomCensusModality.class,
    DMPCensusModality.class,
    VideoCensusModality.class,
    ImageCensusModality.class
})
public class CensusModality {

    @XmlElement(required = true)
    protected CensusModalityType modalityType;
    @XmlElement(required = true)
    protected String modalityName;

    /**
     * Gets the value of the modalityType property.
     * 
     * @return
     *     possible object is
     *     {@link CensusModalityType }
     *     
     */
    public CensusModalityType getModalityType() {
        return modalityType;
    }

    /**
     * Sets the value of the modalityType property.
     * 
     * @param value
     *     allowed object is
     *     {@link CensusModalityType }
     *     
     */
    public void setModalityType(CensusModalityType value) {
        this.modalityType = value;
    }

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

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

}
