This project has retired. For details please refer to its
Attic page.
SeriesMetaData xref
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.hadoop.chukwa.hicc.bean;
19
20 import java.net.URI;
21 import java.util.ArrayList;
22
23 import javax.xml.bind.annotation.XmlElement;
24 import javax.xml.bind.annotation.XmlRootElement;
25
26 @XmlRootElement
27 public class SeriesMetaData implements Cloneable {
28
29 @XmlElement
30 public URI url;
31 @XmlElement
32 public String color;
33 @XmlElement
34 public String label;
35 @XmlElement
36 public LineOptions lines;
37 @XmlElement
38 public BarOptions bars;
39 @XmlElement
40 public PointOptions points;
41 @XmlElement
42 public int xaxis;
43 @XmlElement
44 public int yaxis;
45 @XmlElement
46 public boolean clickable;
47 @XmlElement
48 public boolean hoverable;
49 @XmlElement
50 public int shadowSize;
51 @XmlElement
52 public int highlightColor;
53 public ArrayList<ArrayList<Number>> data = null;
54
55 public SeriesMetaData() {
56
57 }
58
59 public void setUrl(URI url) {
60 this.url = url;
61 }
62
63 public URI getUrl() {
64 return url;
65 }
66
67 public void setLineOptions(LineOptions lines) {
68 this.lines = lines;
69
70 }
71
72 public LineOptions getLineOptions() {
73 return lines;
74 }
75
76 public void setBarOptions(BarOptions bars) {
77 this.bars = bars;
78 }
79
80 public BarOptions getBarOptions() {
81 return bars;
82 }
83
84 public void setPointOptions(PointOptions points) {
85 this.points = points;
86 }
87
88 public PointOptions getPointOptions() {
89 return points;
90 }
91
92 public void setColor(String color) {
93 this.color = color;
94 }
95
96 public String getColor() {
97 return color;
98 }
99
100 public void setData(ArrayList<ArrayList<Number>> data) {
101 this.data = data;
102 }
103
104 public ArrayList<ArrayList<Number>> getData() {
105 return data;
106 }
107
108 public void setLabel(String label) {
109 this.label = label;
110 }
111
112 public String getLabel() {
113 return label;
114 }
115
116 @Override
117 public Object clone()throws CloneNotSupportedException{
118 return super.clone();
119 }
120 }