diff options
Diffstat (limited to 'portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpAppFunction.java')
-rw-r--r-- | portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpAppFunction.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpAppFunction.java b/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpAppFunction.java index cae3b3b1..0f2f9500 100644 --- a/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpAppFunction.java +++ b/portal-BE/src/main/java/org/onap/portal/domain/db/ep/EpAppFunction.java @@ -41,8 +41,7 @@ package org.onap.portal.domain.db.ep; import java.io.Serializable; -import java.util.ArrayList; -import java.util.List; +import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; @@ -78,7 +77,7 @@ CREATE TABLE `ep_app_function` ( */ @Table(name = "ep_app_function", indexes = {@Index(name = "fk_ep_app_function_app_id", columnList = "app_id")}) -@EqualsAndHashCode + @Getter @Setter @Entity @@ -108,7 +107,7 @@ public class EpAppFunction { cascade = CascadeType.ALL, fetch = FetchType.LAZY ) - private List<EpAppRoleFunction> epAppRoleFunctions = new ArrayList<>(); + private Set<EpAppRoleFunction> epAppRoleFunctions; @Getter @Setter |