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