View Javadoc
1   package org.kuali.asr.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 with IntelliJ IDEA.
12   * User: maheswarang
13   * Date: 12/24/13
14   * Time: 5:51 PM
15   * To change this template use File | Settings | File Templates.
16   */
17  @XmlRootElement(name = "asrResponse")
18  @XmlAccessorType(XmlAccessType.FIELD)
19  @JsonAutoDetect(JsonMethod.FIELD)
20  public class ASRResponseBo {
21          @XmlElement(name = "code")
22          @JsonProperty("code")
23          private String code;
24          @XmlElement(name = "message")
25          @JsonProperty("code")
26          private String message;
27          @XmlTransient
28          @JsonIgnore
29          private int statusCode;
30  
31      public String getCode() {
32          return code;
33      }
34  
35      public void setCode(String code) {
36          this.code = code;
37      }
38  
39      public String getMessage() {
40          return message;
41      }
42  
43      public void setMessage(String message) {
44          this.message = message;
45      }
46  
47      public int getStatusCode() {
48          return statusCode;
49      }
50  
51      public void setStatusCode(int statusCode) {
52          this.statusCode = statusCode;
53      }
54  }