1   //
2   // Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802 
3   // Vedere <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. 
5   // Generato il: 2015.05.07 alle 12:32:49 PM CEST 
6   //
7   
8   
9   package eu.fbk.dkm.pikes.resources.ontonotes.frames;
10  
11  import javax.xml.bind.annotation.*;
12  import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
13  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
14  import java.util.ArrayList;
15  import java.util.List;
16  
17  
18  /**
19   * 
20   */
21  @XmlAccessorType(XmlAccessType.FIELD)
22  @XmlType(name = "", propOrder = {
23      "inflectionOrNoteOrTextOrArgOrRel"
24  })
25  @XmlRootElement(name = "example")
26  public class Example {
27  
28      @XmlAttribute(name = "name")
29      @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
30      protected String name;
31      @XmlAttribute(name = "type")
32      @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
33      protected String type;
34      @XmlAttribute(name = "src")
35      @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
36      protected String src;
37      @XmlElements({
38          @XmlElement(name = "inflection", type = Inflection.class),
39          @XmlElement(name = "note", type = Note.class),
40          @XmlElement(name = "text", type = Text.class),
41          @XmlElement(name = "arg", type = Arg.class),
42          @XmlElement(name = "rel", type = Rel.class)
43      })
44      protected List<Object> inflectionOrNoteOrTextOrArgOrRel;
45  
46      /**
47       * Recupera il valore della proprietà name.
48       * 
49       * @return
50       *     possible object is
51       *     {@link String }
52       *     
53       */
54      public String getName() {
55          return name;
56      }
57  
58      /**
59       * Imposta il valore della proprietà name.
60       * 
61       * @param value
62       *     allowed object is
63       *     {@link String }
64       *     
65       */
66      public void setName(String value) {
67          this.name = value;
68      }
69  
70      /**
71       * Recupera il valore della proprietà type.
72       * 
73       * @return
74       *     possible object is
75       *     {@link String }
76       *     
77       */
78      public String getType() {
79          return type;
80      }
81  
82      /**
83       * Imposta il valore della proprietà type.
84       * 
85       * @param value
86       *     allowed object is
87       *     {@link String }
88       *     
89       */
90      public void setType(String value) {
91          this.type = value;
92      }
93  
94      /**
95       * Recupera il valore della proprietà src.
96       * 
97       * @return
98       *     possible object is
99       *     {@link String }
100      *     
101      */
102     public String getSrc() {
103         return src;
104     }
105 
106     /**
107      * Imposta il valore della proprietà src.
108      * 
109      * @param value
110      *     allowed object is
111      *     {@link String }
112      *     
113      */
114     public void setSrc(String value) {
115         this.src = value;
116     }
117 
118     /**
119      * Gets the value of the inflectionOrNoteOrTextOrArgOrRel property.
120      * 
121      * <p>
122      * This accessor method returns a reference to the live list,
123      * not a snapshot. Therefore any modification you make to the
124      * returned list will be present inside the JAXB object.
125      * This is why there is not a <CODE>set</CODE> method for the inflectionOrNoteOrTextOrArgOrRel property.
126      * 
127      * <p>
128      * For example, to add a new item, do as follows:
129      * <pre>
130      *    getInflectionOrNoteOrTextOrArgOrRel().add(newItem);
131      * </pre>
132      * 
133      * 
134      * <p>
135      * Objects of the following type(s) are allowed in the list
136      * {@link Inflection }
137      * {@link Note }
138      * {@link Text }
139      * {@link Arg }
140      * {@link Rel }
141      * 
142      * 
143      */
144     public List<Object> getInflectionOrNoteOrTextOrArgOrRel() {
145         if (inflectionOrNoteOrTextOrArgOrRel == null) {
146             inflectionOrNoteOrTextOrArgOrRel = new ArrayList<Object>();
147         }
148         return this.inflectionOrNoteOrTextOrArgOrRel;
149     }
150 
151 }