|
DJDoc v.1.0.0b-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.djdoc.bo.UserVO
public class UserVO
The class UserVO is a concrete implementation of the
User interface. It implements the Value Object design
pattern.
| Constructor Summary | |
|---|---|
protected |
UserVO()
Protected no-argument constructor; overridden by the UserEntity
class. |
|
UserVO(User that)
Public copy constructor. |
| Method Summary | |
|---|---|
java.lang.String |
getName()
Getter method for this UserVO's name. |
byte |
getViewPref()
Getter method for this UserVO's view preferences. |
void |
setName(java.lang.String name)
Setter method for this UserVO's name. |
void |
setViewPref(byte viewPref)
Setter method for this UserVO's view preferences. |
void |
toggleViewPref(byte mask)
This method toggles an aspect of the user's view preferences (between "collapsed" and "expanded"). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserVO(User that)
that - The User instance whose attribute values are to be
copied to this UserVO object.protected UserVO()
UserEntity
class.
| Method Detail |
|---|
public java.lang.String getName()
UserVO's name.
getName in interface Userpublic void setName(java.lang.String name)
UserVO's name.
setName in interface Username - The name of the userpublic byte getViewPref()
UserVO's view preferences.
getViewPref in interface UserUserVOpublic void setViewPref(byte viewPref)
UserVO's view preferences.
setViewPref in interface UserviewPref - The new view preferences of the UserVOpublic void toggleViewPref(byte mask)
toggleViewPref in interface Usermask - A bit mask specifying which aspect of the user's view
preference settings to modify
|
DJDoc v.1.0.0b-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||