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: 1/6/14
16   * Time: 4:51 PM
17   * To change this template use File | Settings | File Templates.
18   */
19  @XmlRootElement
20  @XmlAccessorType(XmlAccessType.FIELD)
21  @JsonAutoDetect(JsonMethod.FIELD)
22  public class ASRRequestDetailBo {
23      @XmlElement(name="holdId")
24      @JsonProperty("holdId")
25      private String requestId;
26      @XmlElement(name = "patronBarcode")
27      @JsonProperty("patronBarcode")
28      private String patronId;
29      @XmlElement
30      @JsonProperty
31      private boolean available;
32      @XmlElement
33      @JsonProperty
34      private boolean recallStatus;
35      @XmlElement
36      @JsonProperty
37      private String dateExpires;
38      @XmlElement
39      @JsonProperty
40      private String dateCreated;
41      @XmlElement
42      @JsonProperty
43      private String priority;
44      @XmlElement
45      @JsonProperty
46      private String requestType;
47      @XmlElement
48      @JsonProperty
49      private String pickupLocation;
50      @XmlElement
51      @JsonProperty
52      private String dateRecalled;
53      @XmlElement
54      @JsonProperty
55      private String dateAvailable;
56      @XmlElement
57      @JsonProperty
58      private String dateAvailableExpires;
59      @XmlElement
60      @JsonProperty
61      private String requestStatus;
62  
63      public String getRequestId() {
64          return requestId;
65      }
66  
67      public void setRequestId(String requestId) {
68          this.requestId = requestId;
69      }
70  
71      public String getPatronId() {
72          return patronId;
73      }
74  
75      public void setPatronId(String patronId) {
76          this.patronId = patronId;
77      }
78  
79      public boolean isAvailable() {
80          return available;
81      }
82  
83      public void setAvailable(boolean available) {
84          this.available = available;
85      }
86  
87      public boolean isRecallStatus() {
88          return recallStatus;
89      }
90  
91      public void setRecallStatus(boolean recallStatus) {
92          this.recallStatus = recallStatus;
93      }
94  
95      public String getDateExpires() {
96          return dateExpires;
97      }
98  
99      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 }