#5619 added getValue() method in generated Enum classes in Java (#5620)

This commit is contained in:
sdoeringNew
2017-05-12 18:03:44 +02:00
committed by wing328
parent e7a1f5fb17
commit 98d53bc8d2
100 changed files with 568 additions and 0 deletions

View File

@@ -25,6 +25,10 @@ public enum {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum
this.value = value;
}
public {{{dataType}}} getValue() {
return value;
}
@Override
{{#jackson}}
@JsonValue

View File

@@ -26,6 +26,10 @@
this.value = value;
}
public {{{datatype}}} getValue() {
return value;
}
@Override
{{#jackson}}
@JsonValue