-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDictData.java
More file actions
69 lines (55 loc) · 1.16 KB
/
DictData.java
File metadata and controls
69 lines (55 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package com.c.data;
public class DictData {
private long _id = -1;
private long dtype;
private int code;
private String locale;
private String data;
public DictData(long _id, long dtype, int code, String locale, String data) {
this._id = _id;
this.dtype = dtype;
this.code = code;
this.locale = locale;
this.data = data;
}
public DictData(long dtype, int code, String locale, String data) {
this.dtype = dtype;
this.code = code;
this.locale = locale;
this.data = data;
}
public long getId() {
return _id;
}
public void setId(long _id) {
this._id = _id;
}
public long getDtype() {
return dtype;
}
public void setDtype(long dtype) {
this.dtype = dtype;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
public String getLocale() {
return locale;
}
public void setLocale(String locale) {
this.locale = locale;
}
public String getData() {
return data;
}
public void setData(String data) {
this.data = data;
}
@Override
public String toString() {
return String.format("DictData [_id=%s, dtype=%s, code=%s, locale=%s, data=%s]", _id, dtype, code, locale, data);
}
};