1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package com.macvu.tiles.cache;
20
21 /***
22 * User: MVu
23 */
24 public class CacheStatus {
25 public static final int STATUS_ENABLED = 0;
26 public static final int STATUS_DISABLED = 1;
27 public static final int STATUS_ERROR = 3;
28
29 String name;
30 int status;
31 String error;
32
33 public CacheStatus(String name) {
34 this.name = name;
35 }
36
37 public String getName() {
38 return name;
39 }
40
41 public void setName(String name) {
42 this.name = name;
43 }
44
45 public int getStatus() {
46 return status;
47 }
48
49 public void setStatus(int status) {
50 this.status = status;
51 }
52
53 public String getError() {
54 return error;
55 }
56
57 public void setError(String error) {
58 this.error = error;
59 }
60 }