1
2
3
4
5
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 * <complexType name="parameterisedDocument">
26 * <complexContent>
27 * <extension base="{http://www.xmlhammer.org/2007/project}document">
28 * <sequence maxOccurs="unbounded">
29 * <element ref="{http://www.xmlhammer.org/2007/project}parameter"/>
30 * </sequence>
31 * </extension>
32 * </complexContent>
33 * </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 }