All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.aries.blueprint.jaxb.Tmap Maven / Gradle / Ivy

Go to download

This bundle contains the core implementation of Blueprint along with the "ext" namespace handler.

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
// See http://java.sun.com/xml/jaxb 
// 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  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.
 *                 
 * 			
 * 
 * 

Java class for Tmap complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <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>
 * 
* * */ @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 entry = new Vector(); @XmlAttribute(name = "key-type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String keyType; /** * Gets the value of the entry property. * *

* 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 set method for the entry property. * *

* For example, to add a new item, do as follows: *

     *    getEntry().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TmapEntry } * * */ public List getEntry() { if (entry == null) { entry = new Vector(); } 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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy