1 | package com.ether; |
---|
2 | |
---|
3 | import org.jetbrains.annotations.NotNull; |
---|
4 | import org.jetbrains.annotations.Nullable; |
---|
5 | |
---|
6 | import java.util.Date; |
---|
7 | import java.util.List; |
---|
8 | |
---|
9 | /** |
---|
10 | * @author vmipsl |
---|
11 | * @date 31 may 2011 |
---|
12 | */ |
---|
13 | public class MegapoliPlot |
---|
14 | { |
---|
15 | @Nullable |
---|
16 | public String getTitle() |
---|
17 | { |
---|
18 | return _title; |
---|
19 | } |
---|
20 | |
---|
21 | public void setTitle( @Nullable final String title ) |
---|
22 | { |
---|
23 | _title = title; |
---|
24 | } |
---|
25 | |
---|
26 | @NotNull |
---|
27 | public String getLogoMegapoli() |
---|
28 | { |
---|
29 | return _logoMegapoli; |
---|
30 | } |
---|
31 | |
---|
32 | public void setLogoMegapoli( @NotNull final String logoMegapoli ) |
---|
33 | { |
---|
34 | _logoMegapoli = logoMegapoli; |
---|
35 | } |
---|
36 | |
---|
37 | @NotNull |
---|
38 | public String getLogoEther() |
---|
39 | { |
---|
40 | return _logoEther; |
---|
41 | } |
---|
42 | |
---|
43 | public void setLogoEther( @NotNull final String logoEther ) |
---|
44 | { |
---|
45 | _logoEther = logoEther; |
---|
46 | } |
---|
47 | |
---|
48 | @NotNull |
---|
49 | public Data getData() |
---|
50 | { |
---|
51 | return _data; |
---|
52 | } |
---|
53 | |
---|
54 | public void setData( @NotNull final Data data ) |
---|
55 | { |
---|
56 | _data = data; |
---|
57 | } |
---|
58 | |
---|
59 | public boolean isLegendToHide() |
---|
60 | { |
---|
61 | return _legendToHide; |
---|
62 | } |
---|
63 | |
---|
64 | public void setLegendToHide( final boolean legendToHide ) |
---|
65 | { |
---|
66 | _legendToHide = legendToHide; |
---|
67 | } |
---|
68 | |
---|
69 | public boolean isTimeSerie() |
---|
70 | { |
---|
71 | return _isTimeSerie; |
---|
72 | } |
---|
73 | |
---|
74 | public void setTimeSerie( final boolean timeSerie ) |
---|
75 | { |
---|
76 | _isTimeSerie = timeSerie; |
---|
77 | } |
---|
78 | |
---|
79 | @NotNull |
---|
80 | public String getAxeType() |
---|
81 | { |
---|
82 | return _axeType; |
---|
83 | } |
---|
84 | |
---|
85 | public void setAxeType( @NotNull final String axeType ) |
---|
86 | { |
---|
87 | _axeType = axeType; |
---|
88 | } |
---|
89 | |
---|
90 | @NotNull |
---|
91 | public List<Pair> getpIdPIdList() |
---|
92 | { |
---|
93 | return _pIdPIdList; |
---|
94 | } |
---|
95 | |
---|
96 | public void setpIdPIdList( @NotNull final List<Pair> pIdPIdList ) |
---|
97 | { |
---|
98 | _pIdPIdList = pIdPIdList; |
---|
99 | } |
---|
100 | |
---|
101 | @Nullable |
---|
102 | public Date getBeginDate() |
---|
103 | { |
---|
104 | return _beginDate; |
---|
105 | } |
---|
106 | |
---|
107 | public void setBeginDate( @Nullable final Date beginDate ) |
---|
108 | { |
---|
109 | _beginDate = beginDate; |
---|
110 | } |
---|
111 | |
---|
112 | @Nullable |
---|
113 | public Date getEndDate() |
---|
114 | { |
---|
115 | return _endDate; |
---|
116 | } |
---|
117 | |
---|
118 | public void setEndDate( @Nullable final Date endDate ) |
---|
119 | { |
---|
120 | _endDate = endDate; |
---|
121 | } |
---|
122 | |
---|
123 | @Nullable |
---|
124 | private String _title; |
---|
125 | @NotNull |
---|
126 | private Data _data; |
---|
127 | @NotNull |
---|
128 | // private String _logoMegapoli = MegapoliInitialisation.pathImages + "/logo_Megapoli.png"; |
---|
129 | private String _logoMegapoli = "/home_local/PROJETS/MEGAPOLI/megapoli/data/images/logo_Megapoli.png"; |
---|
130 | |
---|
131 | @NotNull |
---|
132 | // private String _logoEther = MegapoliInitialisation.pathImages + "/logo_Ether.jpg"; |
---|
133 | private String _logoEther = "/home_local/PROJETS/MEGAPOLI/megapoli/data/images/logo_Ether.jpg"; |
---|
134 | private boolean _legendToHide = true; |
---|
135 | private boolean _isTimeSerie = true; |
---|
136 | @NotNull |
---|
137 | private String _axeType; |
---|
138 | |
---|
139 | // List of <plateformId, parameterId> to display |
---|
140 | @NotNull |
---|
141 | private List<Pair> _pIdPIdList; |
---|
142 | @Nullable |
---|
143 | private Date _beginDate; |
---|
144 | @Nullable |
---|
145 | private Date _endDate; |
---|
146 | } |
---|