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: 12/24/13
16   * Time: 5:32 PM
17   * To change this template use File | Settings | File Templates.
18   */
19  @XmlRootElement(name = "asrItem")
20  @XmlAccessorType(XmlAccessType.FIELD)
21  @JsonAutoDetect(JsonMethod.FIELD)
22  public class ASRItem {
23      @XmlElement(name = "itemNumber")
24      @JsonProperty("itemNumber")
25      private String itemBarcode;
26      @XmlElement(name = "title")
27      @JsonProperty("title")
28      private String title;
29      @XmlElement(name = "author")
30      @JsonProperty("author")
31      private String author;
32      @XmlElement(name = "callNumber")
33      @JsonProperty("callNumber")
34      private String callNumber;
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 getTitle() {
45          return title;
46      }
47  
48      public void setTitle(String title) {
49          this.title = title;
50      }
51  
52      public String getAuthor() {
53          return author;
54      }
55  
56      public void setAuthor(String author) {
57          this.author = author;
58      }
59  
60      public String getCallNumber() {
61          return callNumber;
62      }
63  
64      public void setCallNumber(String callNumber) {
65          this.callNumber = callNumber;
66      }
67  }