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:30 PM CEST 
6   //
7   
8   
9   package eu.fbk.dkm.pikes.resources.ontonotes.senses;
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      "commentary",
24      "sense",
25      "wordmeta"
26  })
27  @XmlRootElement(name = "inventory")
28  public class Inventory {
29  
30      @XmlAttribute(name = "lemma", required = true)
31      @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
32      protected String lemma;
33      protected String commentary;
34      @XmlElement(required = true)
35      protected List<Sense> sense;
36      @XmlElement(name = "WORD_META", required = true)
37      protected WORDMETA wordmeta;
38  
39      /**
40       * Recupera il valore della proprietà lemma.
41       * 
42       * @return
43       *     possible object is
44       *     {@link String }
45       *     
46       */
47      public String getLemma() {
48          return lemma;
49      }
50  
51      /**
52       * Imposta il valore della proprietà lemma.
53       * 
54       * @param value
55       *     allowed object is
56       *     {@link String }
57       *     
58       */
59      public void setLemma(String value) {
60          this.lemma = value;
61      }
62  
63      /**
64       * Recupera il valore della proprietà commentary.
65       * 
66       * @return
67       *     possible object is
68       *     {@link String }
69       *     
70       */
71      public String getCommentary() {
72          return commentary;
73      }
74  
75      /**
76       * Imposta il valore della proprietà commentary.
77       * 
78       * @param value
79       *     allowed object is
80       *     {@link String }
81       *     
82       */
83      public void setCommentary(String value) {
84          this.commentary = value;
85      }
86  
87      /**
88       * Gets the value of the sense property.
89       * 
90       * <p>
91       * This accessor method returns a reference to the live list,
92       * not a snapshot. Therefore any modification you make to the
93       * returned list will be present inside the JAXB object.
94       * This is why there is not a <CODE>set</CODE> method for the sense property.
95       * 
96       * <p>
97       * For example, to add a new item, do as follows:
98       * <pre>
99       *    getSense().add(newItem);
100      * </pre>
101      * 
102      * 
103      * <p>
104      * Objects of the following type(s) are allowed in the list
105      * {@link Sense }
106      * 
107      * 
108      */
109     public List<Sense> getSense() {
110         if (sense == null) {
111             sense = new ArrayList<Sense>();
112         }
113         return this.sense;
114     }
115 
116     /**
117      * Recupera il valore della proprietà wordmeta.
118      * 
119      * @return
120      *     possible object is
121      *     {@link WORDMETA }
122      *     
123      */
124     public WORDMETA getWORDMETA() {
125         return wordmeta;
126     }
127 
128     /**
129      * Imposta il valore della proprietà wordmeta.
130      * 
131      * @param value
132      *     allowed object is
133      *     {@link WORDMETA }
134      *     
135      */
136     public void setWORDMETA(WORDMETA value) {
137         this.wordmeta = value;
138     }
139 
140 }