TournamentStatus.java
325 Bytes
package fi.codecrew.moya.enums;
public enum TournamentStatus {
SETUP,
IN_PROGRESS,
COMPLETED
;
private final String key;
private static final String I18N_HEADER = "bortalApplication.tournamentstatus.";
private TournamentStatus() {
key = I18N_HEADER + name();
}
public String getI18nKey() {
return key;
}
}