From 80d813709bef6da0236951252b1aabc2d03496e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Heffner?= <56156750+gitgoodjhe@users.noreply.github.com> Date: Tue, 3 Mar 2020 11:50:37 +0100 Subject: [PATCH] TSK-1148 Include Comments from Holger Hagen --- .../api/models/ClassificationSummary.java | 4 +- .../ClassificationSummaryResource.java | 54 ++++++++++++------- 2 files changed, 38 insertions(+), 20 deletions(-) diff --git a/lib/taskana-core/src/main/java/pro/taskana/classification/api/models/ClassificationSummary.java b/lib/taskana-core/src/main/java/pro/taskana/classification/api/models/ClassificationSummary.java index edcd55172..cf36c89a8 100644 --- a/lib/taskana-core/src/main/java/pro/taskana/classification/api/models/ClassificationSummary.java +++ b/lib/taskana-core/src/main/java/pro/taskana/classification/api/models/ClassificationSummary.java @@ -63,7 +63,7 @@ public interface ClassificationSummary { String getParentKey(); /** - * Gets the service level of the parent classification. It is a String in ISO-8601 duration + * Gets the service level of the classification. It is a String in ISO-8601 duration * format. See the parse() method of {@code Duration} for details. * * @return the service level @@ -71,7 +71,7 @@ public interface ClassificationSummary { String getServiceLevel(); /** - * Gets the application entry point of the parent classification. + * Gets the application entry point of the classification. * * @return the application entry point */ diff --git a/rest/taskana-rest-spring/src/main/java/pro/taskana/rest/resource/ClassificationSummaryResource.java b/rest/taskana-rest-spring/src/main/java/pro/taskana/rest/resource/ClassificationSummaryResource.java index 977cad081..f8cdf22b2 100644 --- a/rest/taskana-rest-spring/src/main/java/pro/taskana/rest/resource/ClassificationSummaryResource.java +++ b/rest/taskana-rest-spring/src/main/java/pro/taskana/rest/resource/ClassificationSummaryResource.java @@ -206,26 +206,44 @@ public class ClassificationSummaryResource extends ResourceSupport { @Override public String toString() { return "ClassificationSummaryResource [" - + "classificationId= " + + "classificationId=" + this.classificationId - + "key= " - + this.key - + "parentId= " - + this.parentId - + "parentKey= " - + this.parentKey - + "type= " - + this.type - + "domain= " - + this.domain - + "name= " - + this.name - + "priority= " - + this.priority - + "serviceLevel=" - + this.serviceLevel - + "applicationEntryPoint=" + + ", applicationEntryPoint=" + this.applicationEntryPoint + + ", category=" + + this.category + + ", domain=" + + this.domain + + ", key=" + + this.key + + ", name=" + + this.name + + ", parentId=" + + this.parentId + + ", parentKey=" + + this.parentKey + + ", priority=" + + this.priority + + ", serviceLevel=" + + this.serviceLevel + + ", type=" + + this.type + + ", custom1=" + + this.custom1 + + ", custom2=" + + this.custom2 + + ", custom3=" + + this.custom3 + + ", custom4=" + + this.custom4 + + ", custom5=" + + this.custom5 + + ", custom6=" + + this.custom6 + + ", custom7=" + + this.custom7 + + ", custom8=" + + this.custom8 + "]"; } }