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      "noteOrRoleset"
24  })
25  @XmlRootElement(name = "predicate")
26  public class Predicate {
27  
28      @XmlAttribute(name = "lemma", required = true)
29      @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
30      protected String lemma;
31      @XmlElements({
32          @XmlElement(name = "note", type = Note.class),
33          @XmlElement(name = "roleset", type = Roleset.class)
34      })
35      protected List<Object> noteOrRoleset;
36  
37      /**
38       * Recupera il valore della proprietà lemma.
39       * 
40       * @return
41       *     possible object is
42       *     {@link String }
43       *     
44       */
45      public String getLemma() {
46          return lemma;
47      }
48  
49      /**
50       * Imposta il valore della proprietà lemma.
51       * 
52       * @param value
53       *     allowed object is
54       *     {@link String }
55       *     
56       */
57      public void setLemma(String value) {
58          this.lemma = value;
59      }
60  
61      /**
62       * Gets the value of the noteOrRoleset property.
63       * 
64       * <p>
65       * This accessor method returns a reference to the live list,
66       * not a snapshot. Therefore any modification you make to the
67       * returned list will be present inside the JAXB object.
68       * This is why there is not a <CODE>set</CODE> method for the noteOrRoleset property.
69       * 
70       * <p>
71       * For example, to add a new item, do as follows:
72       * <pre>
73       *    getNoteOrRoleset().add(newItem);
74       * </pre>
75       * 
76       * 
77       * <p>
78       * Objects of the following type(s) are allowed in the list
79       * {@link Note }
80       * {@link Roleset }
81       * 
82       * 
83       */
84      public List<Object> getNoteOrRoleset() {
85          if (noteOrRoleset == null) {
86              noteOrRoleset = new ArrayList<Object>();
87          }
88          return this.noteOrRoleset;
89      }
90  
91  }