public class User extends java.lang.Object implements ADFIdentity
Constructor and Description |
---|
User()
Creates a new User
|
User(java.lang.String name)
Creates a new User with the specified name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Checks two User objects for equality.
|
java.lang.String |
getName()
Returns the name of this User.
|
ADFIdentityType |
getType()
Internal: Applications should not use this method.
|
java.lang.String |
getUsername()
Returns the username of this User.
|
void |
setUsername(java.lang.String name)
Sets the username of this User.
|
public User()
public User(java.lang.String name)
name
- the name of the user.public java.lang.String getUsername()
public void setUsername(java.lang.String name)
name
- the user name.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the user object to be compared.public java.lang.String getName()
getName
in interface ADFIdentity
public ADFIdentityType getType()
getType
in interface ADFIdentity