2 * ================================================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ================================================================================
20 package org.openecomp.portalapp.portal.domain;
22 import java.io.Serializable;
24 import javax.persistence.Column;
25 import javax.persistence.Entity;
26 import javax.persistence.Id;
28 import com.fasterxml.jackson.annotation.JsonInclude;
32 public class GetAccessResult implements Serializable{
35 private static final long serialVersionUID = 5239527705869613411L;
38 @Column(name="row_id")
41 @Column(name="role_id")
44 @Column(name="ecomp_function",nullable=true)
45 private String ecompFunction;
47 @Column(name="app_name")
48 private String appName;
50 @Column(name="app_mots_id",nullable=true)
51 private Integer appMotsId;
53 @Column(name="role_name")
54 private String roleName;
56 @Column(name="role_actv",nullable=true)
57 private String roleActive;
60 @Column(name="request_type",nullable=true)
61 private String reqType;
65 public String getRowId() {
68 public void setRowId(String rowId) {
71 public Long getRoleId() {
74 public void setRoleId(Long roleId) {
77 public String getEcompFunction() {
80 public void setEcompFunction(String ecompFunction) {
81 this.ecompFunction = ecompFunction;
83 public String getAppName() {
86 public void setAppName(String appName) {
87 this.appName = appName;
89 public Integer getAppMotsId() {
92 public void setAppMotsId(Integer appMotsId) {
93 this.appMotsId = appMotsId;
95 public String getRoleName() {
98 public void setRoleName(String roleName) {
99 this.roleName = roleName;
101 public String getRoleActive() {
104 public void setRoleActive(String roleActive) {
105 this.roleActive = roleActive;
107 public String getReqType() {
110 public void setReqType(String reqType) {
111 this.reqType = reqType;