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.portalsdk.analytics.model.base;
26 import javax.persistence.Entity;
27 import javax.persistence.GeneratedValue;
28 import javax.persistence.GenerationType;
29 import javax.persistence.Id;
30 import javax.servlet.http.HttpServletRequest;
31 import javax.servlet.http.HttpSession;
33 import org.openecomp.portalsdk.analytics.controller.ActionHandler;
34 import org.openecomp.portalsdk.analytics.error.*;
35 import org.openecomp.portalsdk.analytics.model.base.*;
36 import org.openecomp.portalsdk.analytics.model.definition.*;
37 import org.openecomp.portalsdk.analytics.system.*;
38 import org.openecomp.portalsdk.analytics.util.*;
39 import org.openecomp.portalsdk.core.logging.logic.EELFLoggerDelegate;
42 public class ReportUserRole extends org.openecomp.portalsdk.analytics.RaptorObject implements Serializable {
47 private static final long serialVersionUID = 1L;
50 private Long repId = null;
53 @GeneratedValue(strategy=GenerationType.AUTO)
54 private Long orderNo = null;
56 private Long roleId = null;
58 private Long userId = null;
60 private String readOnlyYn = null;
62 public ReportUserRole() {
66 public ReportUserRole(Long repId, Long orderNo, Long roleId, Long userId, String readOnlyYn) {
69 this.orderNo = orderNo;
72 this.readOnlyYn = readOnlyYn;
75 public Long getRepId() {
79 public void setRepId(Long repId) {
83 public Long getOrderNo() {
87 public void setOrderNo(Long orderNo) {
88 this.orderNo = orderNo;
91 public Long getRoleId() {
95 public void setRoleId(Long roleId) {
99 public Long getUserId() {
103 public void setUserId(Long userId) {
104 this.userId = userId;
107 public String getReadOnlyYn() {
111 public void setReadOnlyYn(String readOnlyYn) {
112 this.readOnlyYn = readOnlyYn;