You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
2.1 KiB
Java
108 lines
2.1 KiB
Java
package org.gcube.portlets.user.accountingdashboard.shared.session;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
*
|
|
* @author Giancarlo Panichi
|
|
*
|
|
*
|
|
*/
|
|
public class UserInfo implements Serializable {
|
|
|
|
private static final long serialVersionUID = -2826549639677017234L;
|
|
|
|
private String username;
|
|
private String groupId;
|
|
private String groupName;
|
|
private String scope;
|
|
private String userEmailAddress;
|
|
private String userFullName;
|
|
|
|
public UserInfo() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param username
|
|
* user name
|
|
* @param groupId
|
|
* group id
|
|
* @param groupName
|
|
* group name
|
|
* @param scope
|
|
* scope
|
|
* @param userEmailAddress
|
|
* email
|
|
* @param userFullName
|
|
* full name
|
|
*/
|
|
public UserInfo(String username, String groupId, String groupName, String scope, String userEmailAddress,
|
|
String userFullName) {
|
|
super();
|
|
this.username = username;
|
|
this.groupId = groupId;
|
|
this.groupName = groupName;
|
|
this.scope = scope;
|
|
this.userEmailAddress = userEmailAddress;
|
|
this.userFullName = userFullName;
|
|
}
|
|
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
|
|
public String getGroupId() {
|
|
return groupId;
|
|
}
|
|
|
|
public void setGroupId(String groupId) {
|
|
this.groupId = groupId;
|
|
}
|
|
|
|
public String getGroupName() {
|
|
return groupName;
|
|
}
|
|
|
|
public void setGroupName(String groupName) {
|
|
this.groupName = groupName;
|
|
}
|
|
|
|
public String getScope() {
|
|
return scope;
|
|
}
|
|
|
|
public void setScope(String scope) {
|
|
this.scope = scope;
|
|
}
|
|
|
|
public String getUserEmailAddress() {
|
|
return userEmailAddress;
|
|
}
|
|
|
|
public void setUserEmailAddress(String userEmailAddress) {
|
|
this.userEmailAddress = userEmailAddress;
|
|
}
|
|
|
|
public String getUserFullName() {
|
|
return userFullName;
|
|
}
|
|
|
|
public void setUserFullName(String userFullName) {
|
|
this.userFullName = userFullName;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "UserInfo [username=" + username + ", groupId=" + groupId + ", groupName=" + groupName + ", scope="
|
|
+ scope + ", userEmailAddress=" + userEmailAddress + ", userFullName=" + userFullName + "]";
|
|
}
|
|
|
|
}
|