We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 390559a commit 66a76b2Copy full SHA for 66a76b2
src/env/entity/medicaltechnology/MedicalTechnologyType.java
@@ -13,7 +13,25 @@
13
*/
14
public enum MedicalTechnologyType {
15
/** Endoscope technology. */
16
- ENDOSCOPE,
+ ENDOSCOPE("endoscope"),
17
/** X-ray technology. */
18
- XRAY
+ XRAY("xray");
19
+
20
+ private final String name;
21
22
+ /**
23
+ * Default constructor.
24
+ * @param name the name of the medical technology type.
25
+ */
26
+ MedicalTechnologyType(final String name) {
27
+ this.name = name;
28
+ }
29
30
31
+ * Get the display name.
32
+ * @return the name
33
34
+ public String getName() {
35
+ return this.name;
36
37
}
0 commit comments