diff options
Diffstat (limited to 'portal-BE/src/main/java/org/onap/portal/domain/dto/transport/FieldsValidator.java')
-rw-r--r-- | portal-BE/src/main/java/org/onap/portal/domain/dto/transport/FieldsValidator.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/portal-BE/src/main/java/org/onap/portal/domain/dto/transport/FieldsValidator.java b/portal-BE/src/main/java/org/onap/portal/domain/dto/transport/FieldsValidator.java index d2bdd944..1999d236 100644 --- a/portal-BE/src/main/java/org/onap/portal/domain/dto/transport/FieldsValidator.java +++ b/portal-BE/src/main/java/org/onap/portal/domain/dto/transport/FieldsValidator.java @@ -60,6 +60,10 @@ public class FieldsValidator { private Long errorCode; private List<FieldName> fields = new ArrayList<>(); + public void addProblematicFieldName(String fieldName){ + fields.add(new FieldName(fieldName)); + } + @Getter @Setter @ToString @@ -68,5 +72,4 @@ public class FieldsValidator { public class FieldName { public String name; } - } |