View Javadoc
1   package org.kuali.ole.loaders.common.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   import javax.xml.bind.annotation.*;
9   
10  /**
11   * Created by sheiksalahudeenm on 2/11/15.
12   */
13  @XmlRootElement(name = "oleLoader")
14  @XmlAccessorType(XmlAccessType.FIELD)
15  @JsonAutoDetect(JsonMethod.FIELD)
16  public class OLELoaderResponseBo {
17  
18      @XmlElement(name = "message")
19      @JsonProperty("message")
20      private String message;
21  
22      @XmlTransient
23      @JsonIgnore
24      private int statusCode;
25  
26      @XmlElement(name = "details")
27      @JsonProperty("details")
28      private String details;
29  
30      public String getMessage() {
31          return message;
32      }
33  
34      public void setMessage(String message) {
35          this.message = message;
36      }
37  
38      public int getStatusCode() {
39          return statusCode;
40      }
41  
42      public void setStatusCode(int statusCode) {
43          this.statusCode = statusCode;
44      }
45  
46      public String getDetails() {
47          return details;
48      }
49  
50      public void setDetails(String details) {
51          this.details = details;
52      }
53  }
54