[PORTAL-7] Rebase
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / GetAccessResult.java
1 /*-\r
2  * ================================================================================\r
3  * ECOMP Portal\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ================================================================================\r
19  */\r
20 package org.openecomp.portalapp.portal.domain;\r
21 \r
22 import java.io.Serializable;\r
23 \r
24 import javax.persistence.Column;\r
25 import javax.persistence.Entity;\r
26 import javax.persistence.Id;\r
27 \r
28 import com.fasterxml.jackson.annotation.JsonInclude;\r
29 \r
30 @Entity\r
31 @JsonInclude\r
32 public class GetAccessResult implements Serializable{\r
33 \r
34 \r
35         private static final long serialVersionUID = 5239527705869613411L;\r
36 \r
37         @Id\r
38         @Column(name="row_id")\r
39         private String rowId;\r
40         \r
41         @Column(name="role_id")\r
42         private Long roleId;\r
43         \r
44         @Column(name="ecomp_function",nullable=true)\r
45         private String ecompFunction;\r
46         \r
47         @Column(name="app_name")\r
48         private String appName; \r
49         \r
50         @Column(name="app_mots_id",nullable=true)\r
51         private Integer appMotsId;\r
52         \r
53         @Column(name="role_name")\r
54         private String roleName;\r
55         \r
56         @Column(name="role_actv",nullable=true)\r
57         private String roleActive;\r
58         \r
59         \r
60         @Column(name="request_type",nullable=true)\r
61         private String reqType;\r
62         \r
63         \r
64         \r
65         public final String getRowId() {\r
66                 return rowId;\r
67         }\r
68         public final void setRowId(String rowId) {\r
69                 this.rowId = rowId;\r
70         }\r
71         public final Long getRoleId() {\r
72                 return roleId;\r
73         }\r
74         public final void setRoleId(Long roleId) {\r
75                 this.roleId = roleId;\r
76         } \r
77         public String getEcompFunction() {\r
78                 return ecompFunction;\r
79         }\r
80         public void setEcompFunction(String ecompFunction) {\r
81                 this.ecompFunction = ecompFunction;\r
82         }\r
83         public String getAppName() {\r
84                 return appName;\r
85         }\r
86         public void setAppName(String appName) {\r
87                 this.appName = appName;\r
88         }\r
89         public Integer getAppMotsId() {\r
90                 return appMotsId;\r
91         }\r
92         public void setAppMotsId(Integer appMotsId) {\r
93                 this.appMotsId = appMotsId;\r
94         }\r
95         public String getRoleName() {\r
96                 return roleName;\r
97         }\r
98         public void setRoleName(String roleName) {\r
99                 this.roleName = roleName;\r
100         }\r
101         public final String getRoleActive() {\r
102                 return roleActive;\r
103         }\r
104         public final void setRoleActive(String roleActive) {\r
105                 this.roleActive = roleActive;\r
106         }\r
107         public final String getReqType() {\r
108                 return reqType;\r
109         }\r
110         public final void setReqType(String reqType) {\r
111                 this.reqType = reqType;\r
112         }\r
113         \r
114 }\r