package com.ejie.client.fdcdp;

import java.util.ArrayList;
import java.util.List;
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 Map complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="Map">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="item" maxOccurs="unbounded" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="key" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *                   &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "Map", propOrder = { "item" })
public class Map {

	@XmlElement(nillable = true)
	private List<Map.Item> item;

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

	/**
	 * <p>
	 * Java class for anonymous complex type.
	 * 
	 * <p>
	 * The following schema fragment specifies the expected content contained
	 * within this class.
	 * 
	 * <pre>
	 * &lt;complexType>
	 *   &lt;complexContent>
	 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
	 *       &lt;sequence>
	 *         &lt;element name="key" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
	 *         &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
	 *       &lt;/sequence>
	 *     &lt;/restriction>
	 *   &lt;/complexContent>
	 * &lt;/complexType>
	 * </pre>
	 * 
	 * 
	 */
	@XmlAccessorType(value = XmlAccessType.FIELD)
	@XmlType(name = "", propOrder = { "key", "value" })
	public static class Item {

		@XmlElement(required = true, nillable = true)
		private Object key;
		@XmlElement(required = true, nillable = true)
		private Object value;

		/**
		 * Gets the value of the key property.
		 * 
		 * @return possible object is {@link Object }
		 * 
		 */
		public Object getKey() {
			return this.key;
		}

		/**
		 * Sets the value of the key property.
		 * 
		 * @param value
		 *            allowed object is {@link Object }
		 * 
		 */
		public void setKey(Object value) {
			this.key = value;
		}

		/**
		 * Gets the value of the value property.
		 * 
		 * @return possible object is {@link Object }
		 * 
		 */
		public Object getValue() {
			return this.value;
		}

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

	}

}
