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.transport;
22 import java.util.ArrayList;
23 import java.util.List;
26 * A specific application user and his application specific roles.
29 public class UserApplicationRoles {
33 private String orgUserId;
35 private String firstName;
37 private String lastName;
39 private List<RemoteRole> roles = new ArrayList<RemoteRole>();
41 public Long getAppId() {
45 public void setAppId(Long appId) {
49 public String getOrgUserId() {
53 public void setOrgUserId(String orgUserId) {
54 this.orgUserId = orgUserId;
57 public String getFirstName() {
61 public void setFirstName(String firstName) {
62 this.firstName = firstName;
65 public String getLastName() {
69 public void setLastName(String lastName) {
70 this.lastName = lastName;
73 public List<RemoteRole> getRoles() {
77 public void setRoles(List<RemoteRole> roles) {
82 public String toString() {
83 return "UserApplicationRoles [appId=" + appId + ", orgUserId=" + orgUserId + ", firstName=" + firstName
84 + ", lastName=" + lastName + ", roles=" + roles + "]";