View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
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: 2007.09.26 at 09:37:45 PM IST 
6   //
7   
8   
9   package org.xmlhammer.model.project;
10  
11  import java.util.ArrayList;
12  import java.util.List;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlElement;
16  import javax.xml.bind.annotation.XmlType;
17  
18  
19  /***
20   * <p>Java class for parameterisedDocument complex type.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;complexType name="parameterisedDocument">
26   *   &lt;complexContent>
27   *     &lt;extension base="{http://www.xmlhammer.org/2007/project}document">
28   *       &lt;sequence maxOccurs="unbounded">
29   *         &lt;element ref="{http://www.xmlhammer.org/2007/project}parameter"/>
30   *       &lt;/sequence>
31   *     &lt;/extension>
32   *   &lt;/complexContent>
33   * &lt;/complexType>
34   * </pre>
35   * 
36   * 
37   */
38  @XmlAccessorType(XmlAccessType.FIELD)
39  @XmlType(name = "parameterisedDocument", propOrder = {
40      "parameter"
41  })
42  public class ParameterisedDocument
43      extends Document
44  {
45  
46      @XmlElement(namespace = "http://www.xmlhammer.org/2007/project", required = true)
47      protected List<Parameter> parameter;
48  
49      /***
50       * Gets the value of the parameter property.
51       * 
52       * <p>
53       * This accessor method returns a reference to the live list,
54       * not a snapshot. Therefore any modification you make to the
55       * returned list will be present inside the JAXB object.
56       * This is why there is not a <CODE>set</CODE> method for the parameter property.
57       * 
58       * <p>
59       * For example, to add a new item, do as follows:
60       * <pre>
61       *    getParameter().add(newItem);
62       * </pre>
63       * 
64       * 
65       * <p>
66       * Objects of the following type(s) are allowed in the list
67       * {@link Parameter }
68       * 
69       * 
70       */
71      public List<Parameter> getParameter() {
72          if (parameter == null) {
73              parameter = new ArrayList<Parameter>();
74          }
75          return this.parameter;
76      }
77  
78  }