1 | String getSuccessCode(){↵ | | 1 | String getYLabel() {↵
|
2 | return getPropertyAsString(SUCCESSCODE);↵ | | 2 | return getPropertyAsString(REPORT_CHART_Y_LABEL);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | ↵
|
5 | * set the succes code. the success code should↵ | | |
|
6 | * be unique.↵ | | |
|
7 | * @param code↵ | | |
|
8 | */↵ | | |
|
9 | public void setSuccessCode(String code){↵ | | 5 | public void setYLabel(String label) {↵
|
10 | setProperty(SUCCESSCODE,code);↵ | | 6 | setProperty(REPORT_CHART_Y_LABEL,label);↵
|
11 | }↵ | | 7 | }↵
|
12 | ↵ | | 8 | ↵
|
13 | /**↵ | | 9 | /**↵
|
14 | * get the failure messag↵ | | 10 | * The title is a the name for the chart. A page link will↵
|
| | | 11 | * be generated using the title. The title will also be↵
|
| | | 12 | * used for a page index.↵
|
15 | e↵ | | 13 | * @return chart title↵
|
16 | */↵ | | 14 | */↵
|
17 | public String getFailure(){↵ | | 15 | public String getTitle() {↵
|
18 | return getPropertyAsString(FAILURE);↵ | | 16 | return getPropertyAsString(REPORT_CHART_TITLE);↵
|
19 | }↵ | | 17 | }↵
|
| | | 18 | ↵
|
20 | /**↵ | | 19 | /**↵
|
21 | * set the failure message↵ | | 20 | * The title is a the name for the chart. A page link will↵
|
| | | 21 | * be generated using the title. The title will also be↵
|
| | | 22 | * used for a page index.↵
|
22 | * @param fail↵ | | 23 | * @param title↵
|
23 | */↵ | | 24 | */↵
|
24 | public void setFailure(String fail){↵ | | 25 | public void setTitle(String title) {↵
|
25 | setProperty(FAILURE,fail);↵ | | 26 | setProperty(REPORT_CHART_TITLE,title);↵
|
26 | }↵ | | 27 | }↵
|
27 | ↵ | | |
|
28 | /**↵ | | 28 | /**↵
|
29 | * The failure code is used by other components↵ | | 29 | * The caption is a description for the chart explaining↵
|
| | | 30 | * what the chart means.↵
|
| | | 31 | * @return caption↵
|
30 | */↵ | | 32 | */↵
|
31 | public String getFailureCode(){↵ | | 33 | public String getCaption() {↵
|
32 | return getPropertyAsString(FAILURECODE);↵ | | 34 | return getPropertyAsString(REPORT_CHART_CAPTION);↵
|
33 | | | 35 |
|