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