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: 6:25 PM 017 * To change this template use File | Settings | File Templates. 018 */ 019@XmlRootElement 020@XmlAccessorType(XmlAccessType.FIELD) 021@JsonAutoDetect(JsonMethod.FIELD) 022public class ASRRequest { 023 @XmlElement 024 @JsonProperty 025 private String holdId; 026 @XmlElement 027 @JsonProperty 028 private String itemBarcode; 029 @XmlElement 030 @JsonProperty 031 private String title; 032 @XmlElement 033 @JsonProperty 034 private String author; 035 @XmlElement 036 @JsonProperty 037 private String callNumber; 038 @XmlElement 039 @JsonProperty 040 private String patronBarcode; 041 @XmlElement 042 @JsonProperty 043 private String patronName; 044 @XmlElement 045 @JsonProperty 046 private String requestDate; 047 @XmlElement 048 @JsonProperty 049 private String pickupLocation; 050 @XmlElement 051 @JsonProperty 052 private String requestStatus; 053 054 public String getHoldId() { 055 return holdId; 056 } 057 058 public void setHoldId(String holdId) { 059 this.holdId = holdId; 060 } 061 062 public String getItemBarcode() { 063 return itemBarcode; 064 } 065 066 public void setItemBarcode(String itemBarcode) { 067 this.itemBarcode = itemBarcode; 068 } 069 070 public String getTitle() { 071 return title; 072 } 073 074 public void setTitle(String title) { 075 this.title = title; 076 } 077 078 public String getAuthor() { 079 return author; 080 } 081 082 public void setAuthor(String author) { 083 this.author = author; 084 } 085 086 public String getCallNumber() { 087 return callNumber; 088 } 089 090 public void setCallNumber(String callNumber) { 091 this.callNumber = callNumber; 092 } 093 094 public String getPatronBarcode() { 095 return patronBarcode; 096 } 097 098 public void setPatronBarcode(String patronBarcode) { 099 this.patronBarcode = patronBarcode; 100 } 101 102 public String getPatronName() { 103 return patronName; 104 } 105 106 public void setPatronName(String patronName) { 107 this.patronName = patronName; 108 } 109 110 public String getRequestDate() { 111 return requestDate; 112 } 113 114 public void setRequestDate(String requestDate) { 115 this.requestDate = requestDate; 116 } 117 118 public String getPickupLocation() { 119 return pickupLocation; 120 } 121 122 public void setPickupLocation(String pickupLocation) { 123 this.pickupLocation = pickupLocation; 124 } 125 126 public String getRequestStatus() { 127 return requestStatus; 128 } 129 130 public void setRequestStatus(String requestStatus) { 131 this.requestStatus = requestStatus; 132 } 133}