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 org.openecomp.portalsdk.core.domain.support.DomainVo;
24 public class EPUserAppRolesRequestDetail extends DomainVo {
26 private static final long serialVersionUID = -4908856671135348157L;
28 private Long reqRoleId;
29 private String reqType;
30 private EPUserAppRolesRequest epRequestIdData;
32 public EPUserAppRolesRequest getEpRequestIdData() {
33 return epRequestIdData;
36 public void setEpRequestIdData(EPUserAppRolesRequest epRequestIdData) {
37 this.epRequestIdData = epRequestIdData;
40 public Long getReqRoleId() {
44 public void setReqRoleId(Long reqRoleId) {
45 this.reqRoleId = reqRoleId;
48 public String getReqType() {
52 public void setReqType(String reqType) {
53 this.reqType = reqType;
57 public int hashCode() {
60 result = prime * result + ((epRequestIdData == null) ? 0 : epRequestIdData.hashCode());
61 result = prime * result + ((reqRoleId == null) ? 0 : reqRoleId.hashCode());
62 result = prime * result + ((reqType == null) ? 0 : reqType.hashCode());
67 public boolean equals(Object obj) {
72 if (getClass() != obj.getClass())
74 EPUserAppRolesRequestDetail other = (EPUserAppRolesRequestDetail) obj;
75 if (epRequestIdData == null) {
76 if (other.epRequestIdData != null)
78 } else if (!epRequestIdData.equals(other.epRequestIdData))
80 if (reqRoleId == null) {
81 if (other.reqRoleId != null)
83 } else if (!reqRoleId.equals(other.reqRoleId))
85 if (reqType == null) {
86 if (other.reqType != null)
88 } else if (!reqType.equals(other.reqType))