1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2015.11.12 at 10:43:37 PM CET 6 // 7 8 9 package eu.fbk.dkm.pikes.resources.util.fnlu; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAttribute; 16 import javax.xml.bind.annotation.XmlType; 17 18 19 /** 20 * <p>Java class for subCorpusType complex type. 21 * 22 * <p>The following schema fragment specifies the expected content contained within this class. 23 * 24 * <pre> 25 * <complexType name="subCorpusType"> 26 * <complexContent> 27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 28 * <sequence> 29 * <element name="sentence" type="{http://framenet.icsi.berkeley.edu}sentenceType" maxOccurs="unbounded" minOccurs="0"/> 30 * </sequence> 31 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 32 * </restriction> 33 * </complexContent> 34 * </complexType> 35 * </pre> 36 * 37 * 38 */ 39 @XmlAccessorType(XmlAccessType.FIELD) 40 @XmlType(name = "subCorpusType", propOrder = { 41 "sentence" 42 }) 43 public class SubCorpusType { 44 45 protected List<SentenceType> sentence; 46 @XmlAttribute(name = "name") 47 protected String name; 48 49 /** 50 * Gets the value of the sentence property. 51 * 52 * <p> 53 * This accessor method returns a reference to the live list, 54 * not a snapshot. Therefore any modification you make to the 55 * returned list will be present inside the JAXB object. 56 * This is why there is not a <CODE>set</CODE> method for the sentence property. 57 * 58 * <p> 59 * For example, to add a new item, do as follows: 60 * <pre> 61 * getSentence().add(newItem); 62 * </pre> 63 * 64 * 65 * <p> 66 * Objects of the following type(s) are allowed in the list 67 * {@link SentenceType } 68 * 69 * 70 */ 71 public List<SentenceType> getSentence() { 72 if (sentence == null) { 73 sentence = new ArrayList<SentenceType>(); 74 } 75 return this.sentence; 76 } 77 78 /** 79 * Gets the value of the name property. 80 * 81 * @return 82 * possible object is 83 * {@link String } 84 * 85 */ 86 public String getName() { 87 return name; 88 } 89 90 /** 91 * Sets the value of the name property. 92 * 93 * @param value 94 * allowed object is 95 * {@link String } 96 * 97 */ 98 public void setName(String value) { 99 this.name = value; 100 } 101 102 }