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.CollapsedStringAdapter;
13  import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
14  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
15  import java.util.ArrayList;
16  import java.util.List;
17  
18  
19  /**
20   * 
21   */
22  @XmlAccessorType(XmlAccessType.FIELD)
23  @XmlType(name = "", propOrder = {
24      "noteOrRolesOrExample"
25  })
26  @XmlRootElement(name = "roleset")
27  public class Roleset {
28  
29      @XmlAttribute(name = "id", required = true)
30      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
31      @XmlID
32      protected String id;
33      @XmlAttribute(name = "name")
34      @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
35      protected String name;
36      @XmlAttribute(name = "vncls")
37      @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
38      protected String vncls;
39      @XmlAttribute(name = "framnet")
40      @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
41      protected String framnet;
42      @XmlAttribute(name = "source")
43      @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
44      protected String source;
45      @XmlElements({
46          @XmlElement(name = "note", type = Note.class),
47          @XmlElement(name = "roles", type = Roles.class),
48          @XmlElement(name = "example", type = Example.class)
49      })
50      protected List<Object> noteOrRolesOrExample;
51  
52      /**
53       * Recupera il valore della proprietà id.
54       * 
55       * @return
56       *     possible object is
57       *     {@link String }
58       *     
59       */
60      public String getId() {
61          return id;
62      }
63  
64      /**
65       * Imposta il valore della proprietà id.
66       * 
67       * @param value
68       *     allowed object is
69       *     {@link String }
70       *     
71       */
72      public void setId(String value) {
73          this.id = value;
74      }
75  
76      /**
77       * Recupera il valore della proprietà name.
78       * 
79       * @return
80       *     possible object is
81       *     {@link String }
82       *     
83       */
84      public String getName() {
85          return name;
86      }
87  
88      /**
89       * Imposta il valore della proprietà name.
90       * 
91       * @param value
92       *     allowed object is
93       *     {@link String }
94       *     
95       */
96      public void setName(String value) {
97          this.name = value;
98      }
99  
100     /**
101      * Recupera il valore della proprietà vncls.
102      * 
103      * @return
104      *     possible object is
105      *     {@link String }
106      *     
107      */
108     public String getVncls() {
109         return vncls;
110     }
111 
112     /**
113      * Imposta il valore della proprietà vncls.
114      * 
115      * @param value
116      *     allowed object is
117      *     {@link String }
118      *     
119      */
120     public void setVncls(String value) {
121         this.vncls = value;
122     }
123 
124     /**
125      * Recupera il valore della proprietà framnet.
126      * 
127      * @return
128      *     possible object is
129      *     {@link String }
130      *     
131      */
132     public String getFramnet() {
133         return framnet;
134     }
135 
136     /**
137      * Imposta il valore della proprietà framnet.
138      * 
139      * @param value
140      *     allowed object is
141      *     {@link String }
142      *     
143      */
144     public void setFramnet(String value) {
145         this.framnet = value;
146     }
147 
148     /**
149      * Recupera il valore della proprietà source.
150      * 
151      * @return
152      *     possible object is
153      *     {@link String }
154      *     
155      */
156     public String getSource() {
157         return source;
158     }
159 
160     /**
161      * Imposta il valore della proprietà source.
162      * 
163      * @param value
164      *     allowed object is
165      *     {@link String }
166      *     
167      */
168     public void setSource(String value) {
169         this.source = value;
170     }
171 
172     /**
173      * Gets the value of the noteOrRolesOrExample property.
174      * 
175      * <p>
176      * This accessor method returns a reference to the live list,
177      * not a snapshot. Therefore any modification you make to the
178      * returned list will be present inside the JAXB object.
179      * This is why there is not a <CODE>set</CODE> method for the noteOrRolesOrExample property.
180      * 
181      * <p>
182      * For example, to add a new item, do as follows:
183      * <pre>
184      *    getNoteOrRolesOrExample().add(newItem);
185      * </pre>
186      * 
187      * 
188      * <p>
189      * Objects of the following type(s) are allowed in the list
190      * {@link Note }
191      * {@link Roles }
192      * {@link Example }
193      * 
194      * 
195      */
196     public List<Object> getNoteOrRolesOrExample() {
197         if (noteOrRolesOrExample == null) {
198             noteOrRolesOrExample = new ArrayList<Object>();
199         }
200         return this.noteOrRolesOrExample;
201     }
202 
203 }