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