|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.are.platform.UserInfo
public class UserInfo
The UserInfo
class provides an abstract, platform neutral way
to retrieve information about the user that is running ARE.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright for class bytecode |
Constructor Summary | |
---|---|
protected |
UserInfo()
Constructs a new UserInfo object with an empty user name |
|
UserInfo(java.lang.String name)
Constructs a new UserInfo object for the specified user name |
|
UserInfo(UserInfo objToCopy)
Constructs a new UserInfo object by copying all of the
information from the provided UserInfo object. |
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String name)
Retrieves the value for the specified user attribute |
java.lang.String |
getName()
Retrieves the user name |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Sets the specified user attribute |
protected void |
setName(java.lang.String newName)
Sets the user name to the specified value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public UserInfo(java.lang.String name)
UserInfo
object for the specified user name
name
- The user namepublic UserInfo(UserInfo objToCopy)
UserInfo
object by copying all of the
information from the provided UserInfo
object.
objToCopy
- The UserInfo
object to copyprotected UserInfo()
UserInfo
object with an empty user name
Method Detail |
---|
public java.lang.String getName()
protected void setName(java.lang.String newName)
newName
- The value to set the user name topublic java.lang.String getAttribute(java.lang.String name)
name
- The name of the user attribute to retrieve
null
if no such attribute existspublic void setAttribute(java.lang.String name, java.lang.String value)
name
- The attribute namevalue
- The attribute value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |