]> SALOME platform Git repositories - modules/gde.git/blob - projects/GDE-transferables/src/com/edf/gde/transferables/responses/CommandResultTO.java
Salome HOME
Fix renaming of Group as UserGroup
[modules/gde.git] / projects / GDE-transferables / src / com / edf / gde / transferables / responses / CommandResultTO.java
1 package com.edf.gde.transferables.responses;
2
3 /**
4  *
5  * @author Kavoos
6  */
7 public class CommandResultTO {
8     public static final int OK = 1;
9     public static final int ERROR = 2;
10     
11     private int code;
12     private String msg;
13     private String data;
14     
15     public CommandResultTO() {
16         code = OK;
17     }
18
19     public int getCode() {
20         return code;
21     }
22
23     public void setCode(int code) {
24         this.code = code;
25     }
26
27     public String getMsg() {
28         return msg;
29     }
30
31     public void setMsg(String msg) {
32         this.msg = msg;
33     }
34
35     public String getData() {
36         return data;
37     }
38
39     public void setData(String data) {
40         this.data = data;
41     }
42     
43 }