Project

General

Profile

1
//
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
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: 2014.05.29 at 10:46:46 AM CEST 
6
//
7

    
8

    
9
package eu.dnetlib.schema.oaf;
10

    
11
import java.util.ArrayList;
12
import java.util.List;
13
import javax.xml.bind.JAXBElement;
14
import javax.xml.bind.annotation.XmlAccessType;
15
import javax.xml.bind.annotation.XmlAccessorType;
16
import javax.xml.bind.annotation.XmlElementRef;
17
import javax.xml.bind.annotation.XmlElementRefs;
18
import javax.xml.bind.annotation.XmlRootElement;
19
import javax.xml.bind.annotation.XmlType;
20
import javax.xml.bind.annotation.XmlValue;
21

    
22

    
23
/**
24
 * <p>Java class for anonymous complex type.
25
 * 
26
 * <p>The following schema fragment specifies the expected content contained within this class.
27
 * 
28
 * <pre>
29
 * &lt;complexType>
30
 *   &lt;complexContent>
31
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32
 *       &lt;choice maxOccurs="unbounded">
33
 *         &lt;element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
34
 *         &lt;element name="acronym" type="{http://www.w3.org/2001/XMLSchema}string"/>
35
 *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
36
 *         &lt;element name="startdate" type="{http://www.w3.org/2001/XMLSchema}string"/>
37
 *         &lt;element name="enddate" type="{http://www.w3.org/2001/XMLSchema}string"/>
38
 *         &lt;element name="callidentifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
39
 *         &lt;element name="ecsc39" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
40
 *         &lt;element name="contracttype" type="{http://namespace.openaire.eu/oaf}optionalClassedSchemedElement"/>
41
 *         &lt;element name="fundingtree" type="{http://namespace.openaire.eu/oaf}fundingTreeType"/>
42
 *         &lt;element name="websiteurl" type="{http://www.w3.org/2001/XMLSchema}string"/>
43
 *         &lt;element name="keywords" type="{http://www.w3.org/2001/XMLSchema}string"/>
44
 *         &lt;element name="duration" type="{http://www.w3.org/2001/XMLSchema}string"/>
45
 *         &lt;element name="originalId" type="{http://www.w3.org/2001/XMLSchema}string"/>
46
 *         &lt;element name="collectedfrom" type="{http://namespace.openaire.eu/oaf}namedIdElement"/>
47
 *         &lt;element name="pid" type="{http://www.w3.org/2001/XMLSchema}string"/>
48
 *         &lt;element name="datainfo" type="{http://namespace.openaire.eu/oaf}datainfoType"/>
49
 *         &lt;element name="rels" type="{http://namespace.openaire.eu/oaf}relsType"/>
50
 *         &lt;element name="children">
51
 *           &lt;complexType>
52
 *             &lt;complexContent>
53
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
54
 *               &lt;/restriction>
55
 *             &lt;/complexContent>
56
 *           &lt;/complexType>
57
 *         &lt;/element>
58
 *       &lt;/choice>
59
 *     &lt;/restriction>
60
 *   &lt;/complexContent>
61
 * &lt;/complexType>
62
 * </pre>
63
 * 
64
 * 
65
 */
66
@XmlAccessorType(XmlAccessType.FIELD)
67
@XmlType(name = "", propOrder = {
68
    "codeOrAcronymOrTitle"
69
})
70
@XmlRootElement(name = "project")
71
public class Project {
72

    
73
    @XmlElementRefs({
74
        @XmlElementRef(name = "callidentifier", type = JAXBElement.class, required = false),
75
        @XmlElementRef(name = "contracttype", type = JAXBElement.class, required = false),
76
        @XmlElementRef(name = "pid", type = JAXBElement.class, required = false),
77
        @XmlElementRef(name = "title", type = JAXBElement.class, required = false),
78
        @XmlElementRef(name = "collectedfrom", type = JAXBElement.class, required = false),
79
        @XmlElementRef(name = "enddate", type = JAXBElement.class, required = false),
80
        @XmlElementRef(name = "code", type = JAXBElement.class, required = false),
81
        @XmlElementRef(name = "ecsc39", type = JAXBElement.class, required = false),
82
        @XmlElementRef(name = "startdate", type = JAXBElement.class, required = false),
83
        @XmlElementRef(name = "websiteurl", type = JAXBElement.class, required = false),
84
        @XmlElementRef(name = "rels", type = JAXBElement.class, required = false),
85
        @XmlElementRef(name = "originalId", type = JAXBElement.class, required = false),
86
        @XmlElementRef(name = "acronym", type = JAXBElement.class, required = false),
87
        @XmlElementRef(name = "fundingtree", type = JAXBElement.class, required = false),
88
        @XmlElementRef(name = "keywords", type = JAXBElement.class, required = false),
89
        @XmlElementRef(name = "children", type = JAXBElement.class, required = false),
90
        @XmlElementRef(name = "datainfo", type = JAXBElement.class, required = false),
91
        @XmlElementRef(name = "duration", type = JAXBElement.class, required = false)
92
    })
93
    protected List<JAXBElement<?>> codeOrAcronymOrTitle;
94

    
95
    /**
96
     * Gets the value of the codeOrAcronymOrTitle property.
97
     * 
98
     * <p>
99
     * This accessor method returns a reference to the live list,
100
     * not a snapshot. Therefore any modification you make to the
101
     * returned list will be present inside the JAXB object.
102
     * This is why there is not a <CODE>set</CODE> method for the codeOrAcronymOrTitle property.
103
     * 
104
     * <p>
105
     * For example, to add a new item, do as follows:
106
     * <pre>
107
     *    getCodeOrAcronymOrTitle().add(newItem);
108
     * </pre>
109
     * 
110
     * 
111
     * <p>
112
     * Objects of the following type(s) are allowed in the list
113
     * {@link JAXBElement }{@code <}{@link OptionalClassedSchemedElement }{@code >}
114
     * {@link JAXBElement }{@code <}{@link String }{@code >}
115
     * {@link JAXBElement }{@code <}{@link String }{@code >}
116
     * {@link JAXBElement }{@code <}{@link String }{@code >}
117
     * {@link JAXBElement }{@code <}{@link String }{@code >}
118
     * {@link JAXBElement }{@code <}{@link NamedIdElement }{@code >}
119
     * {@link JAXBElement }{@code <}{@link String }{@code >}
120
     * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
121
     * {@link JAXBElement }{@code <}{@link String }{@code >}
122
     * {@link JAXBElement }{@code <}{@link String }{@code >}
123
     * {@link JAXBElement }{@code <}{@link RelsType }{@code >}
124
     * {@link JAXBElement }{@code <}{@link String }{@code >}
125
     * {@link JAXBElement }{@code <}{@link String }{@code >}
126
     * {@link JAXBElement }{@code <}{@link FundingTreeType }{@code >}
127
     * {@link JAXBElement }{@code <}{@link String }{@code >}
128
     * {@link JAXBElement }{@code <}{@link Project.Children }{@code >}
129
     * {@link JAXBElement }{@code <}{@link String }{@code >}
130
     * {@link JAXBElement }{@code <}{@link DatainfoType }{@code >}
131
     * 
132
     * 
133
     */
134
    public List<JAXBElement<?>> getCodeOrAcronymOrTitle() {
135
        if (codeOrAcronymOrTitle == null) {
136
            codeOrAcronymOrTitle = new ArrayList<JAXBElement<?>>();
137
        }
138
        return this.codeOrAcronymOrTitle;
139
    }
140

    
141

    
142
    /**
143
     * <p>Java class for anonymous complex type.
144
     * 
145
     * <p>The following schema fragment specifies the expected content contained within this class.
146
     * 
147
     * <pre>
148
     * &lt;complexType>
149
     *   &lt;complexContent>
150
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
151
     *     &lt;/restriction>
152
     *   &lt;/complexContent>
153
     * &lt;/complexType>
154
     * </pre>
155
     * 
156
     * 
157
     */
158
    @XmlAccessorType(XmlAccessType.FIELD)
159
    @XmlType(name = "", propOrder = {
160
        "content"
161
    })
162
    public static class Children {
163

    
164
        @XmlValue
165
        protected String content;
166

    
167
        /**
168
         * Gets the value of the content property.
169
         * 
170
         * @return
171
         *     possible object is
172
         *     {@link String }
173
         *     
174
         */
175
        public String getContent() {
176
            return content;
177
        }
178

    
179
        /**
180
         * Sets the value of the content property.
181
         * 
182
         * @param value
183
         *     allowed object is
184
         *     {@link String }
185
         *     
186
         */
187
        public void setContent(String value) {
188
            this.content = value;
189
        }
190

    
191
    }
192

    
193
}
(22-22/29)