PSE 2000 Group 4

jobmatch.data
Class CandidateProfileDataStruct

java.lang.Object
  |
  +--jobmatch.data.CandidateProfileDataStruct

public class CandidateProfileDataStruct
extends Object
implements Cloneable, Serializable

Data structure for DO class. A container for data members of a DO class. A DO class contains a reference to a DataStruct class. This reference can be null (a DO whose data has not yet been retrieved from the database), allowing a DO object to be a lightweight placeholder until its data is needed.

Since:
jobmatch
Version:
$Revision: 1.5 $
See Also:
Serialized Form

Field Summary
 CandidateDO Candidate
           
 Timestamp MatchingTime
           
 ProfileDO Profile
           
 boolean readOnly
          A DO refers to this DataStruct.
 double Score
           
 
Constructor Summary
CandidateProfileDataStruct()
           
 
Method Summary
 CandidateProfileDataStruct duplicate()
          Create a copy of the guts of a DO.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

readOnly

public boolean readOnly
A DO refers to this DataStruct. readOnly is set to true when the DO is stored in its class cache.

Candidate

public CandidateDO Candidate

MatchingTime

public Timestamp MatchingTime

Profile

public ProfileDO Profile

Score

public double Score
Constructor Detail

CandidateProfileDataStruct

public CandidateProfileDataStruct()
Method Detail

duplicate

public CandidateProfileDataStruct duplicate()
                                     throws jobmatch.data.DatabaseManagerException,
                                            jobmatch.data.ObjectIdException
Create a copy of the guts of a DO.
Throws:
jobmatch.data.DatabaseManagerException - if createExisting() fails for a contained DO
jobmatch.data.ObjectIdException - if GenericDO has trouble obtaining a valid id.

PSE 2000 Group 4