Class PersonAdapter
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.PersonAdapter
-
- All Implemented Interfaces:
IPerson
,java.io.Serializable
public class PersonAdapter extends java.lang.Object implements IPerson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersonAdapter(java.lang.String userId, java.lang.String firstName, java.lang.String lastName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUserId()
java.lang.String
getUserName()
-
-
-
Method Detail
-
getUserId
public java.lang.String getUserId()
-
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interfaceIPerson
- Returns:
- first name and last name of the user if known, otherwise id of the user
-
-