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 java.util.ArrayList; 12 import java.util.List; 13 14 /** 15 * 16 */ 17 @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { 18 "noteOrRole" }) @XmlRootElement(name = "roles") public class Roles { 19 20 @XmlElements({ @XmlElement(name = "note", type = Note.class), 21 @XmlElement(name = "role", type = Role.class) }) protected List<Object> noteOrRole; 22 23 /** 24 * Gets the value of the noteOrRole property. 25 * <p> 26 * <p> 27 * This accessor method returns a reference to the live list, 28 * not a snapshot. Therefore any modification you make to the 29 * returned list will be present inside the JAXB object. 30 * This is why there is not a <CODE>set</CODE> method for the noteOrRole property. 31 * <p> 32 * <p> 33 * For example, to add a new item, do as follows: 34 * <pre> 35 * getNoteOrRole().add(newItem); 36 * </pre> 37 * <p> 38 * <p> 39 * <p> 40 * Objects of the following type(s) are allowed in the list 41 * {@link Note } 42 * {@link Role } 43 */ 44 public List<Object> getNoteOrRole() { 45 if (noteOrRole == null) { 46 noteOrRole = new ArrayList<Object>(); 47 } 48 return this.noteOrRole; 49 } 50 51 }