PSE 2000 Group 4

jobmatch.business.provider.account
Class CandidateAccount

java.lang.Object
  |
  +--jobmatch.data.CandidateAccountBDO
        |
        +--jobmatch.business.provider.account.CandidateAccount

public class CandidateAccount
extends CandidateAccountBDO
implements Account

An Account for Candidates

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

Fields inherited from class jobmatch.data.CandidateAccountBDO
DO
 
Constructor Summary
(package private) CandidateAccount()
           
(package private) CandidateAccount(CandidateAccountDO dataObject)
           
 
Method Summary
 boolean equals(Object other)
           
 Candidate getCandidateBO()
          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.CandidateAccountBDO
afterAnySet, beforeAnyGet, beforeAnySet, commit, commit, createExisting, createVirgin, delete, delete, getBDOarray, getCandidate, getCandidateBDO, getDO, getEmail, getHandle, getLastHost, getLastIP, getLastLogin, getLoginReminder, getPassphrase, getUsername, hasMatchingHandle, modifyDO, okToCommitCandidate, okToDeleteCandidate, setCandidate, setCandidate, 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

CandidateAccount

CandidateAccount()
           throws Exception

CandidateAccount

CandidateAccount(CandidateAccountDO 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

getCandidateBO

public Candidate getCandidateBO()
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 CandidateAccountBDO
See Also:
Object.toString

PSE 2000 Group 4