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