* Study-specific state qualifying typical reference studies.
*/
TEMPLATE;
+
+ /**
+ * Get i18n key of the enumeration value.
+ *
+ * @return i18n key
+ */
+ public String getKey() {
+ return "label." + name();
+ }
+
+ /**
+ * Get enumeration constant as a string.
+ *
+ * @return enumeration constant name
+ */
+ public String getValue() {
+ return name();
+ }
}
\ No newline at end of file
* Persistent list of study scenarios.
*/
private final List<Scenario> scenarii = new LinkedList<Scenario>();
+ /**
+ * Persistent study version property.
+ */
private String version;
/**
* Persistent history property. It is a number of studies versioning this one, if any.