1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.hadoop.chukwa.rest.bean;
19
20 import javax.xml.bind.annotation.XmlElement;
21 import javax.xml.bind.annotation.XmlRootElement;
22
23 @XmlRootElement
24 public class ClientTraceBean {
25
26 private String action;
27 private long size = 0L;
28 private String src;
29 private String dest;
30 private String date;
31
32 @XmlElement
33 public String getAction() {
34 return action;
35 }
36
37 public void setAction(String action) {
38 this.action = action;
39 }
40
41 @XmlElement
42 public String getSrc() {
43 return src;
44 }
45
46 public void setSrc(String src) {
47 this.src = src;
48 }
49
50 @XmlElement
51 public String getDest() {
52 return dest;
53 }
54
55 public void setDest(String dest) {
56 this.dest = dest;
57 }
58
59 @XmlElement
60 public long getSize() {
61 return size;
62 }
63
64 public void setSize(long size) {
65 this.size=size;
66 }
67
68 @XmlElement
69 public String getDate() {
70 return date;
71 }
72
73 public void setDate(String date) {
74 this.date = date;
75 }
76
77 }