2 * ============LICENSE_START==========================================
4 * ===================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ===================================================================
8 * Unless otherwise specified, all software contained herein is licensed
9 * under the Apache License, Version 2.0 (the "License");
10 * you may not use this software except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
21 * Unless otherwise specified, all documentation contained herein is licensed
22 * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23 * you may not use this documentation except in compliance with the License.
24 * You may obtain a copy of the License at
26 * https://creativecommons.org/licenses/by/4.0/
28 * Unless required by applicable law or agreed to in writing, documentation
29 * distributed under the License is distributed on an "AS IS" BASIS,
30 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31 * See the License for the specific language governing permissions and
32 * limitations under the License.
34 * ============LICENSE_END============================================
38 package org.onap.portalapp.portal.domain;
40 import java.io.Serializable;
42 import javax.persistence.Column;
43 import javax.persistence.Entity;
44 import javax.persistence.Id;
46 import com.fasterxml.jackson.annotation.JsonInclude;
50 public class GetAccessResult implements Serializable{
53 private static final long serialVersionUID = 5239527705869613411L;
56 @Column(name="row_id")
59 @Column(name="role_id")
62 @Column(name="ecomp_function",nullable=true)
63 private String ecompFunction;
65 @Column(name="app_name")
66 private String appName;
68 @Column(name="app_mots_id",nullable=true)
69 private Integer appMotsId;
71 @Column(name="role_name")
72 private String roleName;
74 @Column(name="role_actv",nullable=true)
75 private String roleActive;
78 @Column(name="request_type",nullable=true)
79 private String reqType;
83 public String getRowId() {
86 public void setRowId(String rowId) {
89 public Long getRoleId() {
92 public void setRoleId(Long roleId) {
95 public String getEcompFunction() {
98 public void setEcompFunction(String ecompFunction) {
99 this.ecompFunction = ecompFunction;
101 public String getAppName() {
104 public void setAppName(String appName) {
105 this.appName = appName;
107 public Integer getAppMotsId() {
110 public void setAppMotsId(Integer appMotsId) {
111 this.appMotsId = appMotsId;
113 public String getRoleName() {
116 public void setRoleName(String roleName) {
117 this.roleName = roleName;
119 public String getRoleActive() {
122 public void setRoleActive(String roleActive) {
123 this.roleActive = roleActive;
125 public String getReqType() {
128 public void setReqType(String reqType) {
129 this.reqType = reqType;