summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/restful/domain/EcompRole.java
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2018-02-13 12:20:54 -0500
committerst782s <statta@research.att.com>2018-02-13 12:20:54 -0500
commit20602aa99841048e65a36dc26d8bfc4d6a11fcc9 (patch)
treef59ff24477490bb4d40d0e87495b3c0113f7ee8f /ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/restful/domain/EcompRole.java
parent558eb8fc1392428dbabc4d6016713bff99d6425f (diff)
FW Mode Changes
Issue-ID: PORTAL-188 Change-Id: Id65bb665a37c889837fa31864e1384258fe6930b Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/restful/domain/EcompRole.java')
-rw-r--r--ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/restful/domain/EcompRole.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/restful/domain/EcompRole.java b/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/restful/domain/EcompRole.java
index 5def2d43..f0447142 100644
--- a/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/restful/domain/EcompRole.java
+++ b/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/restful/domain/EcompRole.java
@@ -37,7 +37,10 @@
*/
package org.onap.portalsdk.core.restful.domain;
+import java.util.Set;
+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonInclude;
/**
* This bean holds the information for a role in the role and user management
@@ -48,6 +51,16 @@ public class EcompRole implements Comparable<EcompRole> {
protected Long id;
private String name;
+ @JsonInclude(JsonInclude.Include.NON_NULL)
+ private Set roleFunctions;
+
+ public Set getRoleFunctions() {
+ return roleFunctions;
+ }
+
+ public void setRoleFunctions(Set roleFunctions) {
+ this.roleFunctions = roleFunctions;
+ }
public Long getId() {
return id;