|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.bc.gov.webade.user.AbstractWebADEUserInfo
ca.bc.gov.webade.user.DefaultGovernmentUserInfo
| Field Summary |
| Fields inherited from class ca.bc.gov.webade.user.AbstractWebADEUserInfo |
MAX_DATE |
| Fields inherited from interface ca.bc.gov.webade.user.GovernmentUserInfo |
ACCOUNT_TYPE, CITY, EMPLOYEE_ID |
| Fields inherited from interface ca.bc.gov.webade.user.WebADEUserInfo |
DISPLAY_NAME, EMAIL_ADDRESS, EXPIRY_DATE, FIRST_NAME, IS_VISIBLE, LAST_NAME, MIDDLE_INITIAL, PHONE_NUMBER, USER_CREDENTIALS |
| Constructor Summary | |
|
DefaultGovernmentUserInfo()
Default Constructor. |
|
DefaultGovernmentUserInfo(DefaultGovernmentUserInfo user)
Copy constructor. |
protected |
DefaultGovernmentUserInfo(UserCredentials credentials)
Basic constructor. |
| Method Summary | |
java.lang.Object |
clone()
Clones the WebADEUserInfo object. |
java.lang.String |
getAccountType()
|
java.lang.String[] |
getAttributeNames()
Returns the set of attribute names for user attributes supported by this object instance. |
java.lang.Object |
getAttributeValue(java.lang.String attributeName)
Returns the value for the attribute with the given name. |
java.lang.String |
getCity()
|
java.lang.String |
getEmployeeId()
|
boolean |
hasAttribute(java.lang.String attributeName)
Returns whether this object instance supports the attribute with the given name. |
boolean |
isEmployee()
|
void |
setAccountType(java.lang.String accountType)
Sets this user's accountType attribute to the given value. |
void |
setCity(java.lang.String city)
Sets this user's city attribute to the given value. |
void |
setEmployeeId(java.lang.String employeeId)
Sets this user's employeeId attribute to the given value. |
java.lang.String |
toString()
|
| Methods inherited from class ca.bc.gov.webade.user.AbstractWebADEUserInfo |
equals, getDisplayName, getEmailAddress, getExpiryDate, getFirstName, getLastName, getMiddleInitial, getPhoneNumber, getUserCredentials, hashCode, isReadOnly, isVisible, setDisplayName, setEmailAddress, setExpiryDate, setFirstName, setLastName, setMiddleInitial, setPhoneNumber, setReadOnly, setUserCredentials, setVisible |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ca.bc.gov.webade.user.WebADEUserInfo |
getDisplayName, getEmailAddress, getExpiryDate, getFirstName, getLastName, getMiddleInitial, getPhoneNumber, getUserCredentials, isReadOnly, isVisible, setReadOnly |
| Constructor Detail |
public DefaultGovernmentUserInfo()
public DefaultGovernmentUserInfo(DefaultGovernmentUserInfo user)
user - The user object to copy.protected DefaultGovernmentUserInfo(UserCredentials credentials)
credentials - The appropriate user credentials class.| Method Detail |
public final java.lang.String getAccountType()
getAccountType in interface GovernmentUserInfoGovernmentUserInfo.getAccountType()public final java.lang.String getEmployeeId()
getEmployeeId in interface GovernmentUserInfoGovernmentUserInfo.getEmployeeId()public boolean isEmployee()
isEmployee in interface GovernmentUserInfoGovernmentUserInfo.isEmployee()public java.lang.String getCity()
getCity in interface GovernmentUserInfoGovernmentUserInfo.getCity()public java.lang.String[] getAttributeNames()
WebADEUserInfo
getAttributeNames in interface WebADEUserInfogetAttributeNames in class AbstractWebADEUserInfoAbstractWebADEUserInfo.getAttributeNames()public java.lang.Object getAttributeValue(java.lang.String attributeName)
WebADEUserInfo
getAttributeValue in interface WebADEUserInfogetAttributeValue in class AbstractWebADEUserInfoAbstractWebADEUserInfo.getAttributeValue(java.lang.String)public boolean hasAttribute(java.lang.String attributeName)
WebADEUserInfo
hasAttribute in interface WebADEUserInfohasAttribute in class AbstractWebADEUserInfoAbstractWebADEUserInfo.hasAttribute(java.lang.String)public final void setAccountType(java.lang.String accountType)
accountType - The accountType to set.public final void setEmployeeId(java.lang.String employeeId)
employeeId - The employeeId to set.public void setCity(java.lang.String city)
city - The city to set.public java.lang.Object clone()
clone in interface WebADEUserInfoclone in class AbstractWebADEUserInfopublic java.lang.String toString()
toString in class AbstractWebADEUserInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||