View Javadoc
1   package org.kuali.ole.ncip.bo;
2   
3   import org.codehaus.jackson.annotate.JsonAutoDetect;
4   import org.codehaus.jackson.annotate.JsonIgnore;
5   import org.codehaus.jackson.annotate.JsonMethod;
6   import org.codehaus.jackson.annotate.JsonProperty;
7   
8   /**
9    * Created with IntelliJ IDEA.
10   * User: sheiksalahudeenm
11   * Date: 9/3/13
12   * Time: 8:01 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  @JsonAutoDetect(JsonMethod.FIELD)
16  public class OLEPlaceRequest {
17  
18      @JsonProperty("code")
19      private String code;
20  
21      @JsonProperty("message")
22      private String message;
23  
24      @JsonProperty("requestId")
25      private String requestId;
26  
27      @JsonProperty("queuePosition")
28      private String queuePosition;
29  
30      @JsonProperty("availableDate")
31      private String availableDate;
32  
33      /*This following fields are only for SIP2*/
34      @JsonIgnore
35      private String expirationDate;
36      /*This above fields are only for SIP2*/
37  
38      /*This following field is only for overriding concept.*/
39      @JsonIgnore
40      private boolean blockOverride=false;
41      /*This above field is only for overriding concept.*/
42  
43      public boolean isBlockOverride() {
44          return blockOverride;
45      }
46  
47      public void setBlockOverride(boolean blockOverride) {
48          this.blockOverride = blockOverride;
49      }
50  
51      public String getCode() {
52          return code;
53      }
54  
55      public void setCode(String code) {
56          this.code = code;
57      }
58  
59      public String getMessage() {
60          return message;
61      }
62  
63      public void setMessage(String message) {
64          this.message = message;
65      }
66  
67      public String getRequestId() {
68          return requestId;
69      }
70  
71      public void setRequestId(String requestId) {
72          this.requestId = requestId;
73      }
74  
75      public String getQueuePosition() {
76          return queuePosition;
77      }
78  
79      public void setQueuePosition(String queuePosition) {
80          this.queuePosition = queuePosition;
81      }
82  
83      public String getAvailableDate() {
84          return availableDate;
85      }
86  
87      public void setAvailableDate(String availableDate) {
88          this.availableDate = availableDate;
89      }
90  
91      public String getExpirationDate() {
92          return expirationDate;
93      }
94  
95      public void setExpirationDate(String expirationDate) {
96          this.expirationDate = expirationDate;
97      }
98  }