/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.harvard.iq.dataverse.authorization;
/**
*
* @author gdurand
*/
public class AuthenticatedUserDisplayInfo extends RoleAssigneeDisplayInfo {
private String lastName;
private String firstName;
private String position;
/**
* @todo Shouldn't we persist the displayName too? It still exists on the
* authenticateduser table.
*/
public AuthenticatedUserDisplayInfo(String firstName, String lastName, String emailAddress, String affiliation, String position) {
super(firstName + " " + lastName,emailAddress,affiliation);
this.firstName = firstName;
this.lastName = lastName;
this.position = position;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position;
}
}