1 package net.sf.gaeappmanager.google.appengine;
2
3 import java.math.BigDecimal;
4
5
6
7
8
9
10 public class QuotaValue {
11
12 private Quota quota;
13
14 private boolean okay = false;
15
16 private BigDecimal percent = BigDecimal.ZERO;
17
18 private String unit = "";
19
20 private BigDecimal value = BigDecimal.ZERO;
21
22 private BigDecimal limit = BigDecimal.ZERO;
23
24 public Quota getQuota() {
25 return quota;
26 }
27
28 public void setQuota(Quota quota) {
29 this.quota = quota;
30 }
31
32 public boolean isOkay() {
33 return okay;
34 }
35
36 public void setOkay(boolean okay) {
37 this.okay = okay;
38 }
39
40 public BigDecimal getPercent() {
41 return percent;
42 }
43
44 public void setPercent(BigDecimal percent) {
45 this.percent = percent;
46 }
47
48 public String getUnit() {
49 return unit;
50 }
51
52 public void setUnit(String unit) {
53 this.unit = unit;
54 }
55
56 public BigDecimal getValue() {
57 return value;
58 }
59
60 public void setValue(BigDecimal value) {
61 this.value = value;
62 }
63
64 public BigDecimal getLimit() {
65 return limit;
66 }
67
68 public void setLimit(BigDecimal limit) {
69 this.limit = limit;
70 }
71 }