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.XmlElement; 17 import javax.xml.bind.annotation.XmlType; 18 19 20 /** 21 * <p>Java class for governorType complex type. 22 * 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 25 * <pre> 26 * <complexType name="governorType"> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element name="annoSet" type="{http://framenet.icsi.berkeley.edu}annoSetType" maxOccurs="unbounded"/> 31 * </sequence> 32 * <attribute name="lemma" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 33 * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 34 * </restriction> 35 * </complexContent> 36 * </complexType> 37 * </pre> 38 * 39 * 40 */ 41 @XmlAccessorType(XmlAccessType.FIELD) 42 @XmlType(name = "governorType", propOrder = { 43 "annoSet" 44 }) 45 public class GovernorType { 46 47 @XmlElement(required = true) 48 protected List<AnnoSetType> annoSet; 49 @XmlAttribute(name = "lemma", required = true) 50 protected String lemma; 51 @XmlAttribute(name = "type", required = true) 52 protected String type; 53 54 /** 55 * Gets the value of the annoSet property. 56 * 57 * <p> 58 * This accessor method returns a reference to the live list, 59 * not a snapshot. Therefore any modification you make to the 60 * returned list will be present inside the JAXB object. 61 * This is why there is not a <CODE>set</CODE> method for the annoSet property. 62 * 63 * <p> 64 * For example, to add a new item, do as follows: 65 * <pre> 66 * getAnnoSet().add(newItem); 67 * </pre> 68 * 69 * 70 * <p> 71 * Objects of the following type(s) are allowed in the list 72 * {@link AnnoSetType } 73 * 74 * 75 */ 76 public List<AnnoSetType> getAnnoSet() { 77 if (annoSet == null) { 78 annoSet = new ArrayList<AnnoSetType>(); 79 } 80 return this.annoSet; 81 } 82 83 /** 84 * Gets the value of the lemma property. 85 * 86 * @return 87 * possible object is 88 * {@link String } 89 * 90 */ 91 public String getLemma() { 92 return lemma; 93 } 94 95 /** 96 * Sets the value of the lemma property. 97 * 98 * @param value 99 * allowed object is 100 * {@link String } 101 * 102 */ 103 public void setLemma(String value) { 104 this.lemma = value; 105 } 106 107 /** 108 * Gets the value of the type property. 109 * 110 * @return 111 * possible object is 112 * {@link String } 113 * 114 */ 115 public String getType() { 116 return type; 117 } 118 119 /** 120 * Sets the value of the type property. 121 * 122 * @param value 123 * allowed object is 124 * {@link String } 125 * 126 */ 127 public void setType(String value) { 128 this.type = value; 129 } 130 131 }