//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert 
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2014.02.04 um 12:22:03 PM CET 
//

package org.onvif.ver10.schema;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.Duration;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;

/**
 * <p>
 * Java-Klasse f�r VideoEncoderConfiguration complex type.
 * 
 * <p>
 * Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
 * 
 * <pre>
 * <complexType name="VideoEncoderConfiguration">
 *   <complexContent>
 *     <extension base="{http://www.onvif.org/ver10/schema}ConfigurationEntity">
 *       <sequence>
 *         <element name="Encoding" type="{http://www.onvif.org/ver10/schema}VideoEncoding"/>
 *         <element name="Resolution" type="{http://www.onvif.org/ver10/schema}VideoResolution"/>
 *         <element name="Quality" type="{http://www.w3.org/2001/XMLSchema}float"/>
 *         <element name="RateControl" type="{http://www.onvif.org/ver10/schema}VideoRateControl" minOccurs="0"/>
 *         <element name="MPEG4" type="{http://www.onvif.org/ver10/schema}Mpeg4Configuration" minOccurs="0"/>
 *         <element name="H264" type="{http://www.onvif.org/ver10/schema}H264Configuration" minOccurs="0"/>
 *         <element name="Multicast" type="{http://www.onvif.org/ver10/schema}MulticastConfiguration"/>
 *         <element name="SessionTimeout" type="{http://www.w3.org/2001/XMLSchema}duration"/>
 *         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <anyAttribute processContents='lax'/>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VideoEncoderConfiguration", propOrder = { "encoding", "resolution", "quality", "rateControl", "mpeg4", "h264", "multicast", "sessionTimeout",
		"any" })
public class VideoEncoderConfiguration extends ConfigurationEntity {

	@XmlElement(name = "Encoding", required = true)
	protected VideoEncoding encoding;
	@XmlElement(name = "Resolution", required = true)
	protected VideoResolution resolution;
	@XmlElement(name = "Quality")
	protected float quality;
	@XmlElement(name = "RateControl")
	protected VideoRateControl rateControl;
	@XmlElement(name = "MPEG4")
	protected Mpeg4Configuration mpeg4;
	@XmlElement(name = "H264")
	protected H264Configuration h264;
	@XmlElement(name = "Multicast", required = true)
	protected MulticastConfiguration multicast;
	@XmlElement(name = "SessionTimeout", required = true)
	protected Duration sessionTimeout;
	@XmlAnyElement(lax = true)
	protected List<java.lang.Object> any;
	@XmlAnyAttribute
	private Map<QName, String> otherAttributes = new HashMap<QName, String>();

	/**
	 * Ruft den Wert der encoding-Eigenschaft ab.
	 * 
	 * @return possible object is {@link VideoEncoding }
	 * 
	 */
	public VideoEncoding getEncoding() {
		return encoding;
	}

	/**
	 * Legt den Wert der encoding-Eigenschaft fest.
	 * 
	 * @param value
	 *            allowed object is {@link VideoEncoding }
	 * 
	 */
	public void setEncoding(VideoEncoding value) {
		this.encoding = value;
	}

	/**
	 * Ruft den Wert der resolution-Eigenschaft ab.
	 * 
	 * @return possible object is {@link VideoResolution }
	 * 
	 */
	public VideoResolution getResolution() {
		return resolution;
	}

	/**
	 * Legt den Wert der resolution-Eigenschaft fest.
	 * 
	 * @param value
	 *            allowed object is {@link VideoResolution }
	 * 
	 */
	public void setResolution(VideoResolution value) {
		this.resolution = value;
	}

	/**
	 * Ruft den Wert der quality-Eigenschaft ab.
	 * 
	 */
	public float getQuality() {
		return quality;
	}

	/**
	 * Legt den Wert der quality-Eigenschaft fest.
	 * 
	 */
	public void setQuality(float value) {
		this.quality = value;
	}

	/**
	 * Ruft den Wert der rateControl-Eigenschaft ab.
	 * 
	 * @return possible object is {@link VideoRateControl }
	 * 
	 */
	public VideoRateControl getRateControl() {
		return rateControl;
	}

	/**
	 * Legt den Wert der rateControl-Eigenschaft fest.
	 * 
	 * @param value
	 *            allowed object is {@link VideoRateControl }
	 * 
	 */
	public void setRateControl(VideoRateControl value) {
		this.rateControl = value;
	}

	/**
	 * Ruft den Wert der mpeg4-Eigenschaft ab.
	 * 
	 * @return possible object is {@link Mpeg4Configuration }
	 * 
	 */
	public Mpeg4Configuration getMPEG4() {
		return mpeg4;
	}

	/**
	 * Legt den Wert der mpeg4-Eigenschaft fest.
	 * 
	 * @param value
	 *            allowed object is {@link Mpeg4Configuration }
	 * 
	 */
	public void setMPEG4(Mpeg4Configuration value) {
		this.mpeg4 = value;
	}

	/**
	 * Ruft den Wert der h264-Eigenschaft ab.
	 * 
	 * @return possible object is {@link H264Configuration }
	 * 
	 */
	public H264Configuration getH264() {
		return h264;
	}

	/**
	 * Legt den Wert der h264-Eigenschaft fest.
	 * 
	 * @param value
	 *            allowed object is {@link H264Configuration }
	 * 
	 */
	public void setH264(H264Configuration value) {
		this.h264 = value;
	}

	/**
	 * Ruft den Wert der multicast-Eigenschaft ab.
	 * 
	 * @return possible object is {@link MulticastConfiguration }
	 * 
	 */
	public MulticastConfiguration getMulticast() {
		return multicast;
	}

	/**
	 * Legt den Wert der multicast-Eigenschaft fest.
	 * 
	 * @param value
	 *            allowed object is {@link MulticastConfiguration }
	 * 
	 */
	public void setMulticast(MulticastConfiguration value) {
		this.multicast = value;
	}

	/**
	 * Ruft den Wert der sessionTimeout-Eigenschaft ab.
	 * 
	 * @return possible object is {@link Duration }
	 * 
	 */
	public Duration getSessionTimeout() {
		return sessionTimeout;
	}

	/**
	 * Legt den Wert der sessionTimeout-Eigenschaft fest.
	 * 
	 * @param value
	 *            allowed object is {@link Duration }
	 * 
	 */
	public void setSessionTimeout(Duration value) {
		this.sessionTimeout = value;
	}

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

	/**
	 * Gets a map that contains attributes that aren't bound to any typed property on this class.
	 * 
	 * <p>
	 * the map is keyed by the name of the attribute and the value is the string value of the attribute.
	 * 
	 * the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
	 * 
	 * 
	 * @return always non-null
	 */
	public Map<QName, String> getOtherAttributes() {
		return otherAttributes;
	}

}
