PSE 2000 Group 4

jobmatch.business.provider.account
Class CompanyAccount

java.lang.Object
  |
  +--jobmatch.data.CompanyAccountBDO
        |
        +--jobmatch.business.provider.account.CompanyAccount

public class CompanyAccount
extends CompanyAccountBDO
implements Account

An Account for Companies

Since:
May 4 2000
Version:
$Revision: 1.4 $
See Also:
Serialized Form

Fields inherited from class jobmatch.data.CompanyAccountBDO
DO
 
Constructor Summary
(package private) CompanyAccount()
           
(package private) CompanyAccount(CompanyAccountDO dataObject)
           
 
Method Summary
 boolean equals(Object other)
           
 Company getCompanyBO()
          Returns the candidate business object for this account
 int getType()
           
 String toString()
           
 void updateLoginData(Timestamp time, String host, String ip)
          Updates the login tracking fields of the account
 
Methods inherited from class jobmatch.data.CompanyAccountBDO
afterAnySet, beforeAnyGet, beforeAnySet, commit, commit, createExisting, createVirgin, delete, delete, getBDOarray, getCompany, getCompanyBDO, getDO, getEmail, getHandle, getLastHost, getLastIP, getLastLogin, getLoginReminder, getPassphrase, getUsername, hasMatchingHandle, modifyDO, okToCommitCompany, okToDeleteCompany, setCompany, setCompany, setEmail, setLastHost, setLastIP, setLastLogin, setLoginReminder, setPassphrase, setUsername
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompanyAccount

CompanyAccount()
         throws Exception

CompanyAccount

CompanyAccount(CompanyAccountDO dataObject)
         throws Exception
Method Detail

getType

public int getType()
Specified by:
getType in interface Account

updateLoginData

public void updateLoginData(Timestamp time,
                            String host,
                            String ip)
Updates the login tracking fields of the account
Specified by:
updateLoginData in interface Account

getCompanyBO

public Company getCompanyBO()
Returns the candidate business object for this account

equals

public boolean equals(Object other)
Overrides:
equals in class Object
See Also:
Object.equals

toString

public String toString()
Overrides:
toString in class CompanyAccountBDO
See Also:
Object.toString

PSE 2000 Group 4