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.NormalizedStringAdapter;
12  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
13  import java.util.ArrayList;
14  import java.util.List;
15  
16  /**
17   *
18   */
19  @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = {
20          "vnrole" }) @XmlRootElement(name = "role") public class Role {
21  
22      @XmlAttribute(name = "n", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String n;
23      @XmlAttribute(name = "f") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String f;
24      @XmlAttribute(name = "descr", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String descr;
25      @XmlAttribute(name = "source") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String source;
26      protected List<Vnrole> vnrole;
27  
28      /**
29       * Recupera il valore della proprietà n.
30       *
31       * @return possible object is
32       * {@link String }
33       */
34      public String getN() {
35          return n;
36      }
37  
38      /**
39       * Imposta il valore della proprietà n.
40       *
41       * @param value allowed object is
42       *              {@link String }
43       */
44      public void setN(String value) {
45          this.n = value;
46      }
47  
48      /**
49       * Recupera il valore della proprietà f.
50       *
51       * @return possible object is
52       * {@link String }
53       */
54      public String getF() {
55          return f;
56      }
57  
58      /**
59       * Imposta il valore della proprietà f.
60       *
61       * @param value allowed object is
62       *              {@link String }
63       */
64      public void setF(String value) {
65          this.f = value;
66      }
67  
68      /**
69       * Recupera il valore della proprietà descr.
70       *
71       * @return possible object is
72       * {@link String }
73       */
74      public String getDescr() {
75          return descr;
76      }
77  
78      /**
79       * Imposta il valore della proprietà descr.
80       *
81       * @param value allowed object is
82       *              {@link String }
83       */
84      public void setDescr(String value) {
85          this.descr = value;
86      }
87  
88      /**
89       * Recupera il valore della proprietà source.
90       *
91       * @return possible object is
92       * {@link String }
93       */
94      public String getSource() {
95          return source;
96      }
97  
98      /**
99       * Imposta il valore della proprietà source.
100      *
101      * @param value allowed object is
102      *              {@link String }
103      */
104     public void setSource(String value) {
105         this.source = value;
106     }
107 
108     /**
109      * Gets the value of the vnrole property.
110      * <p>
111      * <p>
112      * This accessor method returns a reference to the live list,
113      * not a snapshot. Therefore any modification you make to the
114      * returned list will be present inside the JAXB object.
115      * This is why there is not a <CODE>set</CODE> method for the vnrole property.
116      * <p>
117      * <p>
118      * For example, to add a new item, do as follows:
119      * <pre>
120      *    getVnrole().add(newItem);
121      * </pre>
122      * <p>
123      * <p>
124      * <p>
125      * Objects of the following type(s) are allowed in the list
126      * {@link Vnrole }
127      */
128     public List<Vnrole> getVnrole() {
129         if (vnrole == null) {
130             vnrole = new ArrayList<Vnrole>();
131         }
132         return this.vnrole;
133     }
134 
135 }