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   package eu.fbk.dkm.pikes.resources.util.propbank;
9   
10  import javax.xml.bind.annotation.*;
11  import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
12  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
13  import java.util.ArrayList;
14  import java.util.List;
15  
16  /**
17   *
18   */
19  @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = {
20          "inflectionOrNoteOrTextOrArgOrRel" }) @XmlRootElement(name = "example") public class Example {
21  
22      @XmlAttribute(name = "name") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String name;
23      @XmlAttribute(name = "type") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String type;
24      @XmlAttribute(name = "src") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String src;
25      @XmlElements({ @XmlElement(name = "inflection", type = Inflection.class),
26              @XmlElement(name = "note", type = Note.class),
27              @XmlElement(name = "text", type = Text.class),
28              @XmlElement(name = "arg", type = Arg.class),
29              @XmlElement(name = "rel", type = Rel.class) }) protected List<Object> inflectionOrNoteOrTextOrArgOrRel;
30  
31      /**
32       * Recupera il valore della proprietà name.
33       *
34       * @return possible object is
35       * {@link String }
36       */
37      public String getName() {
38          return name;
39      }
40  
41      /**
42       * Imposta il valore della proprietà name.
43       *
44       * @param value allowed object is
45       *              {@link String }
46       */
47      public void setName(String value) {
48          this.name = value;
49      }
50  
51      /**
52       * Recupera il valore della proprietà type.
53       *
54       * @return possible object is
55       * {@link String }
56       */
57      public String getType() {
58          return type;
59      }
60  
61      /**
62       * Imposta il valore della proprietà type.
63       *
64       * @param value allowed object is
65       *              {@link String }
66       */
67      public void setType(String value) {
68          this.type = value;
69      }
70  
71      /**
72       * Recupera il valore della proprietà src.
73       *
74       * @return possible object is
75       * {@link String }
76       */
77      public String getSrc() {
78          return src;
79      }
80  
81      /**
82       * Imposta il valore della proprietà src.
83       *
84       * @param value allowed object is
85       *              {@link String }
86       */
87      public void setSrc(String value) {
88          this.src = value;
89      }
90  
91      /**
92       * Gets the value of the inflectionOrNoteOrTextOrArgOrRel property.
93       * <p>
94       * <p>
95       * This accessor method returns a reference to the live list,
96       * not a snapshot. Therefore any modification you make to the
97       * returned list will be present inside the JAXB object.
98       * This is why there is not a <CODE>set</CODE> method for the inflectionOrNoteOrTextOrArgOrRel property.
99       * <p>
100      * <p>
101      * For example, to add a new item, do as follows:
102      * <pre>
103      *    getInflectionOrNoteOrTextOrArgOrRel().add(newItem);
104      * </pre>
105      * <p>
106      * <p>
107      * <p>
108      * Objects of the following type(s) are allowed in the list
109      * {@link Inflection }
110      * {@link Note }
111      * {@link Text }
112      * {@link Arg }
113      * {@link Rel }
114      */
115     public List<Object> getInflectionOrNoteOrTextOrArgOrRel() {
116         if (inflectionOrNoteOrTextOrArgOrRel == null) {
117             inflectionOrNoteOrTextOrArgOrRel = new ArrayList<Object>();
118         }
119         return this.inflectionOrNoteOrTextOrArgOrRel;
120     }
121 
122 }