| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| CategoryBag | 
  | 
  | 2.0;2 | 
| 1 |  // | |
| 2 |  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661  | |
| 3 |  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>  | |
| 4 |  // Any modifications to this file will be lost upon recompilation of the source schema.  | |
| 5 |  // Generated on: 2009.07.19 at 09:49:41 PM CDT  | |
| 6 |  // | |
| 7 | ||
| 8 | ||
| 9 |  package org.apache.ws.scout.model.uddi.v2; | |
| 10 | ||
| 11 |  import java.util.ArrayList; | |
| 12 |  import java.util.List; | |
| 13 | ||
| 14 |  import javax.xml.bind.annotation.XmlAccessType; | |
| 15 |  import javax.xml.bind.annotation.XmlAccessorType; | |
| 16 |  import javax.xml.bind.annotation.XmlElement; | |
| 17 |  import javax.xml.bind.annotation.XmlType; | |
| 18 | ||
| 19 | ||
| 20 |  /** | |
| 21 |   * <p>Java class for categoryBag complex type. | |
| 22 |   *  | |
| 23 |   * <p>The following schema fragment specifies the expected content contained within this class. | |
| 24 |   *  | |
| 25 |   * <pre> | |
| 26 |   * <complexType name="categoryBag"> | |
| 27 |   *   <complexContent> | |
| 28 |   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 29 |   *       <sequence> | |
| 30 |   *         <element ref="{urn:uddi-org:api_v2}keyedReference" maxOccurs="unbounded"/> | |
| 31 |   *       </sequence> | |
| 32 |   *     </restriction> | |
| 33 |   *   </complexContent> | |
| 34 |   * </complexType> | |
| 35 |   * </pre> | |
| 36 |   *  | |
| 37 |   *  | |
| 38 |   */ | |
| 39 | @XmlAccessorType(XmlAccessType.FIELD)  | |
| 40 |  @XmlType(name = "categoryBag", propOrder = { | |
| 41 |      "keyedReference" | |
| 42 | })  | |
| 43 | 58 | public class CategoryBag {  | 
| 44 | ||
| 45 |      @XmlElement(required = true) | |
| 46 |      protected List<KeyedReference> keyedReference; | |
| 47 | ||
| 48 |      /** | |
| 49 |       * Gets the value of the keyedReference property. | |
| 50 |       *  | |
| 51 |       * <p> | |
| 52 |       * This accessor method returns a reference to the live list, | |
| 53 |       * not a snapshot. Therefore any modification you make to the | |
| 54 |       * returned list will be present inside the JAXB object. | |
| 55 |       * This is why there is not a <CODE>set</CODE> method for the keyedReference property. | |
| 56 |       *  | |
| 57 |       * <p> | |
| 58 |       * For example, to add a new item, do as follows: | |
| 59 |       * <pre> | |
| 60 |       *    getKeyedReference().add(newItem); | |
| 61 |       * </pre> | |
| 62 |       *  | |
| 63 |       *  | |
| 64 |       * <p> | |
| 65 |       * Objects of the following type(s) are allowed in the list | |
| 66 |       * {@link KeyedReference } | |
| 67 |       *  | |
| 68 |       *  | |
| 69 |       */ | |
| 70 |      public List<KeyedReference> getKeyedReference() { | |
| 71 | 48 | if (keyedReference == null) {  | 
| 72 | 18 |              keyedReference = new ArrayList<KeyedReference>(); | 
| 73 | }  | |
| 74 | 48 | return this.keyedReference;  | 
| 75 | }  | |
| 76 | ||
| 77 | }  |