Skip to content

Commit 66a76b2

Browse files
chore: add medical technology type label name
1 parent 390559a commit 66a76b2

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

src/env/entity/medicaltechnology/MedicalTechnologyType.java

+20-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,25 @@
1313
*/
1414
public enum MedicalTechnologyType {
1515
/** Endoscope technology. */
16-
ENDOSCOPE,
16+
ENDOSCOPE("endoscope"),
1717
/** X-ray technology. */
18-
XRAY
18+
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+
}
1937
}

0 commit comments

Comments
 (0)