com.vbs.views
Class UserView
java.lang.Object
|
+--com.vbs.views.UserView
- All Implemented Interfaces:
- java.io.Serializable
- public class UserView
- extends java.lang.Object
- implements java.io.Serializable
UserRegistrationVO wrapper for use in UIs
- Author:
- Mike Whitfield
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
KEY
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY
public static final java.lang.String KEY
UserView
public UserView()
UserView
public UserView(com.vbs.vos.UserRegistrationVO vo)
getFullName
public java.lang.String getFullName()
- Returns:
- Concatenation of first name and last name, separated by a space.
getEmail
public java.lang.String getEmail()
getIsCustomer
public boolean getIsCustomer()
- Returns:
- True if the underlying registration has a CUSTOMER role
getIsSupplier
public boolean getIsSupplier()
- Returns:
- True if the underlying registration has a SUPPLIER role
getValueObject
public com.vbs.vos.UserRegistrationVO getValueObject()
- Returns:
- The underlying com.vbs.vos.UserRegistrationVO