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 javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.Id;
25 import javax.persistence.IdClass;
28 @IdClass(GetAccessResultId.class)
29 public class GetAccessResult {
32 @Column(name="ecomp_function")
33 private String ecompFunction;
36 @Column(name="app_name")
37 private String appName;
39 @Column(name="app_mots_id",nullable=true)
40 private Integer appMotsId;
43 @Column(name="role_name")
44 private String roleName;
46 public String getEcompFunction() {
49 public void setEcompFunction(String ecompFunction) {
50 this.ecompFunction = ecompFunction;
52 public String getAppName() {
55 public void setAppName(String appName) {
56 this.appName = appName;
58 public Integer getAppMotsId() {
61 public void setAppMotsId(Integer appMotsId) {
62 this.appMotsId = appMotsId;
64 public String getRoleName() {
67 public void setRoleName(String roleName) {
68 this.roleName = roleName;