View Javadoc
1   package org.kuali.ole.systemintegration.rest.bo;
2   
3   import com.thoughtworks.xstream.annotations.XStreamAlias;
4   import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
5   import org.kuali.ole.docstore.common.document.content.instance.LocationLevel;
6   
7   import javax.xml.bind.annotation.*;
8   
9   /**
10   * Created by sheiksalahudeenm on 7/1/14.
11   */
12  
13  @XmlAccessorType(XmlAccessType.FIELD)
14  @XmlType(name = "unboundLocation", propOrder = {"locationLevel"})
15  @XStreamAlias("unboundLocation")
16  public class UnboundLocation {
17  
18      @XmlElement(required = true)
19      protected LocationLevel locationLevel;
20      @XmlAttribute
21      @XStreamAsAttribute
22      protected String primary;
23      @XmlAttribute
24      @XStreamAsAttribute
25      protected String status;
26  
27      /**
28       * Gets the value of the locationLevel property.
29       *
30       * @return possible object is
31       *         {@link LocationLevel }
32       */
33      public LocationLevel getLocationLevel() {
34          return locationLevel;
35      }
36  
37      /**
38       * Sets the value of the locationLevel property.
39       *
40       * @param value allowed object is
41       *              {@link LocationLevel }
42       */
43      public void setLocationLevel(LocationLevel value) {
44          this.locationLevel = value;
45      }
46  
47      /**
48       * @return
49       */
50      public String getPrimary() {
51          return primary;
52      }
53  
54      /**
55       * @param primary
56       */
57      public void setPrimary(String primary) {
58          this.primary = primary;
59      }
60  
61      /**
62       * @return
63       */
64      public String getStatus() {
65          return status;
66      }
67  
68      /**
69       * @param status
70       */
71      public void setStatus(String status) {
72          this.status = status;
73      }
74  }