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 FERealizationType complex type. 22 * 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 25 * <pre> 26 * <complexType name="FERealizationType"> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element name="FE" type="{http://framenet.icsi.berkeley.edu}FEValenceType"/> 31 * <element name="pattern" maxOccurs="unbounded"> 32 * <complexType> 33 * <complexContent> 34 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 35 * <sequence> 36 * <element name="valenceUnit" type="{http://framenet.icsi.berkeley.edu}valenceUnitType"/> 37 * <element name="annoSet" type="{http://framenet.icsi.berkeley.edu}annoSetType" maxOccurs="unbounded"/> 38 * </sequence> 39 * <attribute name="total" use="required" type="{http://framenet.icsi.berkeley.edu}countType" /> 40 * </restriction> 41 * </complexContent> 42 * </complexType> 43 * </element> 44 * </sequence> 45 * <attribute name="total" use="required" type="{http://framenet.icsi.berkeley.edu}countType" /> 46 * </restriction> 47 * </complexContent> 48 * </complexType> 49 * </pre> 50 * 51 * 52 */ 53 @XmlAccessorType(XmlAccessType.FIELD) 54 @XmlType(name = "FERealizationType", propOrder = { 55 "fe", 56 "pattern" 57 }) 58 public class FERealizationType { 59 60 @XmlElement(name = "FE", required = true) 61 protected FEValenceType fe; 62 @XmlElement(required = true) 63 protected List<FERealizationType.Pattern> pattern; 64 @XmlAttribute(name = "total", required = true) 65 protected int total; 66 67 /** 68 * Gets the value of the fe property. 69 * 70 * @return 71 * possible object is 72 * {@link FEValenceType } 73 * 74 */ 75 public FEValenceType getFE() { 76 return fe; 77 } 78 79 /** 80 * Sets the value of the fe property. 81 * 82 * @param value 83 * allowed object is 84 * {@link FEValenceType } 85 * 86 */ 87 public void setFE(FEValenceType value) { 88 this.fe = value; 89 } 90 91 /** 92 * Gets the value of the pattern property. 93 * 94 * <p> 95 * This accessor method returns a reference to the live list, 96 * not a snapshot. Therefore any modification you make to the 97 * returned list will be present inside the JAXB object. 98 * This is why there is not a <CODE>set</CODE> method for the pattern property. 99 * 100 * <p> 101 * For example, to add a new item, do as follows: 102 * <pre> 103 * getPattern().add(newItem); 104 * </pre> 105 * 106 * 107 * <p> 108 * Objects of the following type(s) are allowed in the list 109 * {@link FERealizationType.Pattern } 110 * 111 * 112 */ 113 public List<FERealizationType.Pattern> getPattern() { 114 if (pattern == null) { 115 pattern = new ArrayList<FERealizationType.Pattern>(); 116 } 117 return this.pattern; 118 } 119 120 /** 121 * Gets the value of the total property. 122 * 123 */ 124 public int getTotal() { 125 return total; 126 } 127 128 /** 129 * Sets the value of the total property. 130 * 131 */ 132 public void setTotal(int value) { 133 this.total = value; 134 } 135 136 137 /** 138 * <p>Java class for anonymous complex type. 139 * 140 * <p>The following schema fragment specifies the expected content contained within this class. 141 * 142 * <pre> 143 * <complexType> 144 * <complexContent> 145 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 146 * <sequence> 147 * <element name="valenceUnit" type="{http://framenet.icsi.berkeley.edu}valenceUnitType"/> 148 * <element name="annoSet" type="{http://framenet.icsi.berkeley.edu}annoSetType" maxOccurs="unbounded"/> 149 * </sequence> 150 * <attribute name="total" use="required" type="{http://framenet.icsi.berkeley.edu}countType" /> 151 * </restriction> 152 * </complexContent> 153 * </complexType> 154 * </pre> 155 * 156 * 157 */ 158 @XmlAccessorType(XmlAccessType.FIELD) 159 @XmlType(name = "", propOrder = { 160 "valenceUnit", 161 "annoSet" 162 }) 163 public static class Pattern { 164 165 @XmlElement(required = true) 166 protected ValenceUnitType valenceUnit; 167 @XmlElement(required = true) 168 protected List<AnnoSetType> annoSet; 169 @XmlAttribute(name = "total", required = true) 170 protected int total; 171 172 /** 173 * Gets the value of the valenceUnit property. 174 * 175 * @return 176 * possible object is 177 * {@link ValenceUnitType } 178 * 179 */ 180 public ValenceUnitType getValenceUnit() { 181 return valenceUnit; 182 } 183 184 /** 185 * Sets the value of the valenceUnit property. 186 * 187 * @param value 188 * allowed object is 189 * {@link ValenceUnitType } 190 * 191 */ 192 public void setValenceUnit(ValenceUnitType value) { 193 this.valenceUnit = value; 194 } 195 196 /** 197 * Gets the value of the annoSet property. 198 * 199 * <p> 200 * This accessor method returns a reference to the live list, 201 * not a snapshot. Therefore any modification you make to the 202 * returned list will be present inside the JAXB object. 203 * This is why there is not a <CODE>set</CODE> method for the annoSet property. 204 * 205 * <p> 206 * For example, to add a new item, do as follows: 207 * <pre> 208 * getAnnoSet().add(newItem); 209 * </pre> 210 * 211 * 212 * <p> 213 * Objects of the following type(s) are allowed in the list 214 * {@link AnnoSetType } 215 * 216 * 217 */ 218 public List<AnnoSetType> getAnnoSet() { 219 if (annoSet == null) { 220 annoSet = new ArrayList<AnnoSetType>(); 221 } 222 return this.annoSet; 223 } 224 225 /** 226 * Gets the value of the total property. 227 * 228 */ 229 public int getTotal() { 230 return total; 231 } 232 233 /** 234 * Sets the value of the total property. 235 * 236 */ 237 public void setTotal(int value) { 238 this.total = value; 239 } 240 241 } 242 243 }