1 package org.kuali.ole.docstore.common.document.content.instance; 2 3 import com.thoughtworks.xstream.annotations.XStreamAlias; 4 5 import javax.xml.bind.annotation.XmlAccessType; 6 import javax.xml.bind.annotation.XmlAccessorType; 7 import javax.xml.bind.annotation.XmlElement; 8 import javax.xml.bind.annotation.XmlType; 9 10 11 /** 12 * Created by IntelliJ IDEA. 13 * User: Pranitha 14 * Date: 8/17/12 15 * Time: 10:47 AM 16 * To change this template use File | Settings | File Templates. 17 * <p/> 18 * <p>Java class for locationLevel complex type. 19 * <p/> 20 * <p>The following schema fragment specifies the expected content contained within this class. 21 * <p/> 22 * <pre> 23 * <complexType name="locationLevel"> 24 * <complexContent> 25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 26 * <sequence> 27 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> 28 * <element name="level" type="{http://www.w3.org/2001/XMLSchema}string"/> 29 * <element name="locationLevel" type="{http://ole.kuali.org/standards/ole-instance}locationLevel" minOccurs="0"/> 30 * </sequence> 31 * </restriction> 32 * </complexContent> 33 * </complexType> 34 * </pre> 35 */ 36 @XmlAccessorType(XmlAccessType.FIELD) 37 @XmlType(name = "locationLevel", propOrder = { 38 "name", 39 "level", 40 "code", 41 "locationLevel", 42 43 }) 44 @XStreamAlias("locationLevel") 45 public class LocationLevel { 46 @XmlElement 47 protected String code; 48 @XmlElement(required = true) 49 protected String name; 50 @XmlElement(required = true) 51 protected String level; 52 //@XmlElement(name = "locationLevel") 53 protected LocationLevel locationLevel; 54 55 /** 56 * Gets the value of the name property. 57 * 58 * @return possible object is 59 * {@link String } 60 */ 61 public String getName() { 62 return name; 63 } 64 65 /** 66 * Sets the value of the name property. 67 * 68 * @param value allowed object is 69 * {@link String } 70 */ 71 public void setName(String value) { 72 this.name = value; 73 } 74 75 /** 76 * Gets the value of the level property. 77 * 78 * @return possible object is 79 * {@link String } 80 */ 81 public String getLevel() { 82 return level; 83 } 84 85 /** 86 * Sets the value of the level property. 87 * 88 * @param value allowed object is 89 * {@link String } 90 */ 91 public void setLevel(String value) { 92 this.level = value; 93 } 94 95 /** 96 * Gets the value of the locationLevel property. 97 * 98 * @return possible object is 99 * {@link org.kuali.ole.docstore.common.document.content.instance.LocationLevel } 100 */ 101 public LocationLevel getLocationLevel() { 102 return locationLevel; 103 } 104 105 /** 106 * Sets the value of the locationLevel property. 107 * 108 * @param value allowed object is 109 * {@link org.kuali.ole.docstore.common.document.content.instance.LocationLevel } 110 */ 111 public void setLocationLevel(LocationLevel value) { 112 this.locationLevel = value; 113 } 114 115 public String getCode() { 116 return code; 117 } 118 119 public void setCode(String code) { 120 this.code = code; 121 } 122 }