public class UserDescriptor extends AbstractIdentifiable implements Principal
User
,
UserService
,
Serialized FormConstructor and Description |
---|
UserDescriptor(String id,
String userId,
String displayName)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDisplayName()
Returns the display name for a user account.
|
String |
getPrincipalId()
Returns the principal identifier of a user or group.
|
String |
getPrincipalName()
Returns the principal name of a user or group.
|
String |
getUserId()
Returns the user identifier for a user account.
|
int |
hashCode() |
void |
setDisplayName(String displayName)
Sets the display name for a user account.
|
String |
toString() |
getId, getTypeId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getTypeId
public UserDescriptor(String id, String userId, String displayName)
id
- the unique identifier of the user account.userId
- the user identifier of the user account.displayName
- the display name of the user account.public String getUserId()
public String getDisplayName()
public void setDisplayName(String displayName)
displayName
- the display name for a user account.public String getPrincipalId()
Principal
getPrincipalId
in interface Principal
public String getPrincipalName()
Principal
getPrincipalName
in interface Principal
public int hashCode()
hashCode
in interface Principal
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in interface Principal
equals
in class AbstractIdentifiable
public String toString()
toString
in class AbstractIdentifiable
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>