//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
// 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: 2010.04.23 at 12:57:08 PM EDT
//
package org.apache.aries.blueprint.jaxb;
import java.util.List;
import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*
* Tmap is the base type used for <map> elements. A map may have a
* default value type specified, so it inherits from the TtypeCollection
* type. A key type can also be specified, and the map members are
* created from the entry elements, which require a key/value pair.
*
*
*
* <p>Java class for Tmap complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Tmap">
* <complexContent>
* <extension base="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TtypedCollection">
* <sequence>
* <element name="entry" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TmapEntry" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="key-type" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Ttype" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Tmap", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
"entry"
})
@XmlRootElement(name = "map")
public class Tmap
extends TtypedCollection
{
protected List<TmapEntry> entry = new Vector<TmapEntry>();
@XmlAttribute(name = "key-type")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String keyType;
/**
* Gets the value of the entry 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 entry property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getEntry().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TmapEntry }
*
*
*/
public List<TmapEntry> getEntry() {
if (entry == null) {
entry = new Vector<TmapEntry>();
}
return this.entry;
}
/**
* Gets the value of the keyType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyType() {
return keyType;
}
/**
* Sets the value of the keyType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyType(String value) {
this.keyType = value;
}
}