001package org.kuali.asr.bo; 002 003import org.codehaus.jackson.annotate.JsonAutoDetect; 004import org.codehaus.jackson.annotate.JsonMethod; 005import org.codehaus.jackson.annotate.JsonProperty; 006 007import javax.xml.bind.annotation.XmlAccessType; 008import javax.xml.bind.annotation.XmlAccessorType; 009import javax.xml.bind.annotation.XmlElement; 010import javax.xml.bind.annotation.XmlRootElement; 011 012/** 013 * Created with IntelliJ IDEA. 014 * User: maheswarang 015 * Date: 12/24/13 016 * Time: 5:32 PM 017 * To change this template use File | Settings | File Templates. 018 */ 019@XmlRootElement(name = "asrItem") 020@XmlAccessorType(XmlAccessType.FIELD) 021@JsonAutoDetect(JsonMethod.FIELD) 022public class ASRItem { 023 @XmlElement(name = "itemNumber") 024 @JsonProperty("itemNumber") 025 private String itemBarcode; 026 @XmlElement(name = "title") 027 @JsonProperty("title") 028 private String title; 029 @XmlElement(name = "author") 030 @JsonProperty("author") 031 private String author; 032 @XmlElement(name = "callNumber") 033 @JsonProperty("callNumber") 034 private String callNumber; 035 036 public String getItemBarcode() { 037 return itemBarcode; 038 } 039 040 public void setItemBarcode(String itemBarcode) { 041 this.itemBarcode = itemBarcode; 042 } 043 044 public String getTitle() { 045 return title; 046 } 047 048 public void setTitle(String title) { 049 this.title = title; 050 } 051 052 public String getAuthor() { 053 return author; 054 } 055 056 public void setAuthor(String author) { 057 this.author = author; 058 } 059 060 public String getCallNumber() { 061 return callNumber; 062 } 063 064 public void setCallNumber(String callNumber) { 065 this.callNumber = callNumber; 066 } 067}