View Javadoc
1   package org.kuali.asr.bo;
2   
3   import org.codehaus.jackson.annotate.JsonAutoDetect;
4   import org.codehaus.jackson.annotate.JsonMethod;
5   import org.codehaus.jackson.annotate.JsonProperty;
6   
7   import javax.xml.bind.annotation.XmlAccessType;
8   import javax.xml.bind.annotation.XmlAccessorType;
9   import javax.xml.bind.annotation.XmlElement;
10  import javax.xml.bind.annotation.XmlRootElement;
11  
12  /**
13   * Created with IntelliJ IDEA.
14   * User: maheswarang
15   * Date: 1/6/14
16   * Time: 4:37 PM
17   * To change this template use File | Settings | File Templates.
18   */
19  @XmlRootElement(name = "asrRequestBo")
20  @XmlAccessorType(XmlAccessType.FIELD)
21  @JsonAutoDetect(JsonMethod.FIELD)
22  public class ASRRequestBo {
23      @XmlElement(name = "itemNumber")
24      @JsonProperty("itemNumber")
25      private String itemBarcode;
26      @XmlElement(name = "pickupLocation")
27      @JsonProperty("pickupLocation")
28      private String pickupLocation;
29      @XmlElement()
30      @JsonProperty()
31      private String patronBarcode;
32      @XmlElement(name = "patronName")
33      @JsonProperty("patronName")
34      private String patronName;
35  
36      public String getItemBarcode() {
37          return itemBarcode;
38      }
39  
40      public void setItemBarcode(String itemBarcode) {
41          this.itemBarcode = itemBarcode;
42      }
43  
44      public String getPickupLocation() {
45          return pickupLocation;
46      }
47  
48      public void setPickupLocation(String pickupLocation) {
49          this.pickupLocation = pickupLocation;
50      }
51  
52      public String getPatronBarcode() {
53          return patronBarcode;
54      }
55  
56      public void setPatronBarcode(String patronBarcode) {
57          this.patronBarcode = patronBarcode;
58      }
59  
60      public String getPatronName() {
61          return patronName;
62      }
63  
64      public void setPatronName(String patronName) {
65          this.patronName = patronName;
66      }
67  }