diff options
Diffstat (limited to 'portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpMicroserviceParameter.java')
-rw-r--r-- | portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpMicroserviceParameter.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpMicroserviceParameter.java b/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpMicroserviceParameter.java index 51ca6f2b..c66ca723 100644 --- a/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpMicroserviceParameter.java +++ b/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpMicroserviceParameter.java @@ -40,8 +40,7 @@ package org.onap.portal.domain.db.ep; -import java.util.ArrayList; -import java.util.List; +import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; @@ -88,7 +87,7 @@ CREATE TABLE `ep_microservice_parameter` ( }) @NoArgsConstructor @AllArgsConstructor -@ToString + @Getter @Setter @Entity @@ -116,6 +115,6 @@ public class EpMicroserviceParameter { cascade = CascadeType.ALL, fetch = FetchType.LAZY ) - private List<EpWidgetCatalogParameter> epWidgetCatalogParameters = new ArrayList<>(); + private Set<EpWidgetCatalogParameter> epWidgetCatalogParameter; } |