diff --git a/generate/java/java_class_tpl.go b/generate/java/java_class_tpl.go index ce8d5d5..c6041db 100644 --- a/generate/java/java_class_tpl.go +++ b/generate/java/java_class_tpl.go @@ -70,7 +70,7 @@ public {{- if .Abstract }} abstract {{- end }} class {{ .Name }} {{ if .Extends {{- if .Identifiable }} @JsonIgnore @Override - private Map getIdentifikators() { + public Map getIdentifikators() { Map identifikators = new HashMap<>(); {{- if .ExtendsIdentifiable}} diff --git a/generate/java/java_resource_class_tpl.go b/generate/java/java_resource_class_tpl.go index 9777698..70b1072 100644 --- a/generate/java/java_resource_class_tpl.go +++ b/generate/java/java_resource_class_tpl.go @@ -73,7 +73,7 @@ public {{- if .Abstract }} abstract {{- end }} class {{ .Name }}Resource {{ if . {{- if .Identifiable }} @JsonIgnore @Override - private Map getIdentifikators() { + public Map getIdentifikators() { Map identifikators = new HashMap<>(); {{- if .ExtendsIdentifiable}}