diff options
Diffstat (limited to 'portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java')
-rw-r--r-- | portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java b/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java index 4fe24bd7..12c161f6 100644 --- a/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java +++ b/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpNotification.java @@ -41,8 +41,7 @@ package org.onap.portal.domain.db.ep; import java.time.LocalDateTime; -import java.util.ArrayList; -import java.util.List; +import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; @@ -148,12 +147,12 @@ public class EpNotification { cascade = CascadeType.ALL, fetch = FetchType.LAZY ) - private List<EpRoleNotification> epRoleNotifications = new ArrayList<>(); + private Set<EpRoleNotification> epRoleNotifications; @OneToMany( targetEntity = EpUserNotification.class, mappedBy = "notificationId", cascade = CascadeType.ALL, fetch = FetchType.LAZY ) - private List<EpUserNotification> epUserNotifications = new ArrayList<>(); + private Set<EpUserNotification> epUserNotifications; } |