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: 1/6/14 016 * Time: 4:37 PM 017 * To change this template use File | Settings | File Templates. 018 */ 019@XmlRootElement(name = "asrRequestBo") 020@XmlAccessorType(XmlAccessType.FIELD) 021@JsonAutoDetect(JsonMethod.FIELD) 022public class ASRRequestBo { 023 @XmlElement(name = "itemNumber") 024 @JsonProperty("itemNumber") 025 private String itemBarcode; 026 @XmlElement(name = "pickupLocation") 027 @JsonProperty("pickupLocation") 028 private String pickupLocation; 029 @XmlElement() 030 @JsonProperty() 031 private String patronBarcode; 032 @XmlElement(name = "patronName") 033 @JsonProperty("patronName") 034 private String patronName; 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 getPickupLocation() { 045 return pickupLocation; 046 } 047 048 public void setPickupLocation(String pickupLocation) { 049 this.pickupLocation = pickupLocation; 050 } 051 052 public String getPatronBarcode() { 053 return patronBarcode; 054 } 055 056 public void setPatronBarcode(String patronBarcode) { 057 this.patronBarcode = patronBarcode; 058 } 059 060 public String getPatronName() { 061 return patronName; 062 } 063 064 public void setPatronName(String patronName) { 065 this.patronName = patronName; 066 } 067}