
package com.ejie.ab63.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;

/**
 * <p>
 * Java class for TParticipantRRI complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="TParticipantRRI">
 *   &lt;complexContent>
 *     &lt;extension base="{com/ejie/x43s/v2/ttn/xml}AParticipantRRI">
 *       &lt;sequence>
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}language"/>
 *         &lt;element name="role" type="{com/ejie/x43s/v2/ttn/xml}TParticipantType"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TParticipantRRI", propOrder = { "language", "role" })
public class TParticipantRRI extends AParticipantRRI {

	@XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
	protected TLanguage language;
	@XmlElement(required = true)
	protected TParticipantType role;

	/**
	 * Gets the value of the language property.
	 * 
	 * @return possible object is {@link TLanguage }
	 * 
	 */
	public TLanguage getLanguage() {
		return language;
	}

	/**
	 * Sets the value of the language property.
	 * 
	 * @param value
	 *            allowed object is {@link TLanguage }
	 * 
	 */
	public void setLanguage(TLanguage value) {
		this.language = value;
	}

	/**
	 * Gets the value of the role property.
	 * 
	 * @return possible object is {@link TParticipantType }
	 * 
	 */
	public TParticipantType getRole() {
		return role;
	}

	/**
	 * Sets the value of the role property.
	 * 
	 * @param value
	 *            allowed object is {@link TParticipantType }
	 * 
	 */
	public void setRole(TParticipantType value) {
		this.role = value;
	}

}
