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:51 PM 017 * To change this template use File | Settings | File Templates. 018 */ 019@XmlRootElement 020@XmlAccessorType(XmlAccessType.FIELD) 021@JsonAutoDetect(JsonMethod.FIELD) 022public class ASRRequestDetailBo { 023 @XmlElement(name="holdId") 024 @JsonProperty("holdId") 025 private String requestId; 026 @XmlElement(name = "patronBarcode") 027 @JsonProperty("patronBarcode") 028 private String patronId; 029 @XmlElement 030 @JsonProperty 031 private boolean available; 032 @XmlElement 033 @JsonProperty 034 private boolean recallStatus; 035 @XmlElement 036 @JsonProperty 037 private String dateExpires; 038 @XmlElement 039 @JsonProperty 040 private String dateCreated; 041 @XmlElement 042 @JsonProperty 043 private String priority; 044 @XmlElement 045 @JsonProperty 046 private String requestType; 047 @XmlElement 048 @JsonProperty 049 private String pickupLocation; 050 @XmlElement 051 @JsonProperty 052 private String dateRecalled; 053 @XmlElement 054 @JsonProperty 055 private String dateAvailable; 056 @XmlElement 057 @JsonProperty 058 private String dateAvailableExpires; 059 @XmlElement 060 @JsonProperty 061 private String requestStatus; 062 063 public String getRequestId() { 064 return requestId; 065 } 066 067 public void setRequestId(String requestId) { 068 this.requestId = requestId; 069 } 070 071 public String getPatronId() { 072 return patronId; 073 } 074 075 public void setPatronId(String patronId) { 076 this.patronId = patronId; 077 } 078 079 public boolean isAvailable() { 080 return available; 081 } 082 083 public void setAvailable(boolean available) { 084 this.available = available; 085 } 086 087 public boolean isRecallStatus() { 088 return recallStatus; 089 } 090 091 public void setRecallStatus(boolean recallStatus) { 092 this.recallStatus = recallStatus; 093 } 094 095 public String getDateExpires() { 096 return dateExpires; 097 } 098 099 public void setDateExpires(String dateExpires) { 100 this.dateExpires = dateExpires; 101 } 102 103 public String getDateCreated() { 104 return dateCreated; 105 } 106 107 public void setDateCreated(String dateCreated) { 108 this.dateCreated = dateCreated; 109 } 110 111 public String getPriority() { 112 return priority; 113 } 114 115 public void setPriority(String priority) { 116 this.priority = priority; 117 } 118 119 public String getRequestType() { 120 return requestType; 121 } 122 123 public void setRequestType(String requestType) { 124 this.requestType = requestType; 125 } 126 127 public String getPickupLocation() { 128 return pickupLocation; 129 } 130 131 public void setPickupLocation(String pickupLocation) { 132 this.pickupLocation = pickupLocation; 133 } 134 135 public String getDateRecalled() { 136 return dateRecalled; 137 } 138 139 public void setDateRecalled(String dateRecalled) { 140 this.dateRecalled = dateRecalled; 141 } 142 143 public String getDateAvailable() { 144 return dateAvailable; 145 } 146 147 public void setDateAvailable(String dateAvailable) { 148 this.dateAvailable = dateAvailable; 149 } 150 151 public String getDateAvailableExpires() { 152 return dateAvailableExpires; 153 } 154 155 public void setDateAvailableExpires(String dateAvailableExpires) { 156 this.dateAvailableExpires = dateAvailableExpires; 157 } 158 159 public String getRequestStatus() { 160 return requestStatus; 161 } 162 163 public void setRequestStatus(String requestStatus) { 164 this.requestStatus = requestStatus; 165 } 166}