PSE 2000 Group 4

jobmatch.data
Class PersonDataStruct

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

public class PersonDataStruct
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.3 $
See Also:
Serialized Form

Field Summary
 AdressDO Adress
           
 Date Birthdate
           
 String Email
           
 String Fax
           
 String Fname
           
 String Lname
           
 String Natel
           
 CountryDO Nationality
           
 String Phone
           
 PictureDO Picture
           
 boolean readOnly
          A DO refers to this DataStruct.
 String Residence
           
 String Sex
           
 String URL
           
 
Constructor Summary
PersonDataStruct()
           
 
Method Summary
 PersonDataStruct 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.

Picture

public PictureDO Picture

Email

public String Email

Fax

public String Fax

Adress

public AdressDO Adress

Fname

public String Fname

Lname

public String Lname

Natel

public String Natel

Phone

public String Phone

Residence

public String Residence

Sex

public String Sex

Birthdate

public Date Birthdate

Nationality

public CountryDO Nationality

URL

public String URL
Constructor Detail

PersonDataStruct

public PersonDataStruct()
Method Detail

duplicate

public PersonDataStruct 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