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