You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
460 B
24 lines
460 B
package de.kreth.invoice.data;
|
|
|
|
public enum ReportLicense {
|
|
|
|
TRAINER("/reports/mtv_gross_buchholz_trainer.jrxml"),
|
|
ASSISTANT("/reports/mtv_gross_buchholz.jrxml");
|
|
|
|
private String ressource;
|
|
|
|
private ReportLicense(String ressource) {
|
|
this.ressource = ressource;
|
|
}
|
|
|
|
public String getRessource() {
|
|
return ressource;
|
|
}
|
|
|
|
public String getLabel() {
|
|
if (TRAINER == this) {
|
|
return "Trainer";
|
|
}
|
|
return "Übungsleiter";
|
|
}
|
|
}
|
|
|