PSE 2000 Group 4

jobmatch.data
Class CandidateBDO

java.lang.Object
  |
  +--jobmatch.data.CandidateBDO
Direct Known Subclasses:
Candidate

public class CandidateBDO
extends Object
implements Serializable

CandidateBDO contains the same set and get methods as the CandidateDO class. Business Object (BO) classes typically need these set and get methods. So by deriving a BO from a BDO, or by implementing a BO that contains a BDO, the developer of the BO is spared some work.

Version:
$Revision: 1.7 $
See Also:
Serialized Form

Field Summary
protected  CandidateDO DO
          The CandidateDO object upon which the set and get methods operate.
 
Constructor Summary
CandidateBDO()
          Constructor required by CandidateBDO.create methods.
CandidateBDO(CandidateDO DO)
          Constructor for use by classes derived from CandidateBDO.
 
Method Summary
 void addCandidateAccountBDO(CandidateAccountBDO rbdo)
          Add (set & commit) a CandidateAccountBDO object whose CandidateAccountDO refers to the DO held by this BDO.
 void addCandidateAccountBDO(CandidateAccountBDO rbdo, jobmatch.data.DBTransaction tran)
          Add (set & commit) a CandidateAccountBDO object whose CandidateAccountDO refers to the DO held by this BDO.
 void addCandidateProfileBDO(CandidateProfileBDO rbdo)
          Add (set & commit) a CandidateProfileBDO object whose CandidateProfileDO refers to the DO held by this BDO.
 void addCandidateProfileBDO(CandidateProfileBDO rbdo, jobmatch.data.DBTransaction tran)
          Add (set & commit) a CandidateProfileBDO object whose CandidateProfileDO refers to the DO held by this BDO.
 void addMatchQueueBDO(MatchQueueBDO rbdo)
          Add (set & commit) a MatchQueueBDO object whose MatchQueueDO refers to the DO held by this BDO.
 void addMatchQueueBDO(MatchQueueBDO rbdo, jobmatch.data.DBTransaction tran)
          Add (set & commit) a MatchQueueBDO object whose MatchQueueDO refers to the DO held by this BDO.
protected  void afterAnySet()
           
protected  void beforeAnyGet()
          The developer of a Business Object that derives from this class can override the methods: beforeAnyGet beforeAnySet afterAnySet to handle any general assertions or cleanup needed for get and set methods.
protected  void beforeAnySet()
           
 void commit()
          Inserts/Updates the DO into its table.
 void commit(jobmatch.data.DBTransaction dbt)
          Inserts/Updates the DO into its table.
static CandidateBDO createExisting(CandidateDO DO)
          The createExisting method is used to create a CandidateBDO from a CandidateDO that was returned by the CandidateQuery class.
static CandidateBDO createVirgin()
          Like the class CandidateDO, this class acts as a factory.
 void delete()
          Deletes the DO from its table.
 void delete(jobmatch.data.DBTransaction dbt)
          Deletes the DO from its table.
 AdressDO getAdress()
          Get Adress of the CandidateDO
 AdressBDO getAdressBDO()
          Get BDO-wrapped Adress of the CandidateDO
 boolean getAIESECMember()
          Get AIESECMember of the CandidateDO
static CandidateBDO[] getBDOarray()
          The getBDOarray method performs a database query to return an array of CandidateBDO objects representing all the rows in the Candidate table.
 Date getBirthdate()
          Get Birthdate of the CandidateDO
 CandidateAccountBDO getCandidateAccountBDO()
          Get the single CandidateAccountBDO object holding a CandidateAccountDO object that refers to the DO held by this BDO.
 CandidateAccountBDO[] getCandidateAccountBDOArray()
          Get array of CandidateAccountBDO objects holding CandidateAccountDO objects that refer to the DO held by this BDO.
 CandidateAccountDO getCandidateAccountDO()
          Get the single CandidateAccountDO object that refers to the DO held by this BDO.
 CandidateAccountDO[] getCandidateAccountDOArray()
          Get array of CandidateAccountDO objects that refer to the DO held by this BDO.
 CandidateProfileBDO getCandidateProfileBDO()
          Get the single CandidateProfileBDO object holding a CandidateProfileDO object that refers to the DO held by this BDO.
 CandidateProfileBDO[] getCandidateProfileBDOArray()
          Get array of CandidateProfileBDO objects holding CandidateProfileDO objects that refer to the DO held by this BDO.
 CandidateProfileDO getCandidateProfileDO()
          Get the single CandidateProfileDO object that refers to the DO held by this BDO.
 CandidateProfileDO[] getCandidateProfileDOArray()
          Get array of CandidateProfileDO objects that refer to the DO held by this BDO.
 String getCompetence()
          Get Competence of the CandidateDO
 CandidateDO getDO()
          Note: This method is intended for use only by other BDO classes.
 String getEmail()
          Get Email of the CandidateDO
 String getFax()
          Get Fax of the CandidateDO
 String getFname()
          Get Fname of the CandidateDO
 String getHandle()
          The methods getHandle hasMatchingHandle are used by Presentation Objects that need to populate HTML select lists with CandidateBDO objects as options.
 String getLname()
          Get Lname of the CandidateDO
 MatchQueueBDO getMatchQueueBDO()
          Get the single MatchQueueBDO object holding a MatchQueueDO object that refers to the DO held by this BDO.
 MatchQueueBDO[] getMatchQueueBDOArray()
          Get array of MatchQueueBDO objects holding MatchQueueDO objects that refer to the DO held by this BDO.
 MatchQueueDO getMatchQueueDO()
          Get the single MatchQueueDO object that refers to the DO held by this BDO.
 MatchQueueDO[] getMatchQueueDOArray()
          Get array of MatchQueueDO objects that refer to the DO held by this BDO.
 String getNatel()
          Get Natel of the CandidateDO
 CountryDO getNationality()
          Get Nationality of the CandidateDO
 CountryBDO getNationalityBDO()
          Get BDO-wrapped Nationality of the CandidateDO
 String getPhone()
          Get Phone of the CandidateDO
 PictureDO getPicture()
          Get Picture of the CandidateDO
 PictureBDO getPictureBDO()
          Get BDO-wrapped Picture of the CandidateDO
 ProfileDO[] getProfileDOArray_via_CandidateProfile()
          From the many-to-many relationship expressed by CandidateProfileDO, get array of ProfileDO objects that indirectly refer to the DO held by this BDO.
 String getResidence()
          Get Residence of the CandidateDO
 String getSex()
          Get Sex of the CandidateDO
 boolean getStatus()
          Get Status of the CandidateDO
 String getURL()
          Get URL of the CandidateDO
 boolean hasMatchingHandle(String handle)
           
 void mapProfile_via_CandidateProfileBDO(ProfileBDO b)
          To the many-to-many relationship expressed by CandidateProfileDO, add a ProfileDO object that indirectly refers to the DO held by this BDO.
 void mapProfile_via_CandidateProfileBDO(ProfileBDO b, jobmatch.data.DBTransaction tran)
          To the many-to-many relationship expressed by CandidateProfileDO, add a ProfileDO object that indirectly refers to the DO held by this BDO.
 void mapProfile_via_CandidateProfileDO(ProfileDO d)
          To the many-to-many relationship expressed by CandidateProfileDO, add a ProfileDO object that indirectly refers to the DO held by this BDO.
 void mapProfile_via_CandidateProfileDO(ProfileDO d, jobmatch.data.DBTransaction tran)
          To the many-to-many relationship expressed by CandidateProfileDO, add a ProfileDO object that indirectly refers to the DO held by this BDO.
protected  void modifyDO(jobmatch.data.DBTransaction dbt, boolean delete)
          Modifies the DO within its table.
protected  void okToCommitAdress(AdressDO member)
          A stub method for implementing pre-commit assertions for the Adress data member.
protected  void okToCommitNationality(CountryDO member)
          A stub method for implementing pre-commit assertions for the Nationality data member.
protected  void okToCommitPicture(PictureDO member)
          A stub method for implementing pre-commit assertions for the Picture data member.
protected  void okToDeleteAdress(AdressDO member)
          A stub method for implementing pre-delete assertions for the Adress data member.
protected  void okToDeleteNationality(CountryDO member)
          A stub method for implementing pre-delete assertions for the Nationality data member.
protected  void okToDeletePicture(PictureDO member)
          A stub method for implementing pre-delete assertions for the Picture data member.
 void removeCandidateAccountBDO(CandidateAccountBDO rbdo)
          Remove (delete) a CandidateAccountBDO object whose CandidateAccountDO refers to the DO held by this BDO.
 void removeCandidateAccountBDO(CandidateAccountBDO rbdo, jobmatch.data.DBTransaction tran)
          Remove (delete) a CandidateAccountBDO object whose CandidateAccountDO refers to the DO held by this BDO.
 void removeCandidateProfileBDO(CandidateProfileBDO rbdo)
          Remove (delete) a CandidateProfileBDO object whose CandidateProfileDO refers to the DO held by this BDO.
 void removeCandidateProfileBDO(CandidateProfileBDO rbdo, jobmatch.data.DBTransaction tran)
          Remove (delete) a CandidateProfileBDO object whose CandidateProfileDO refers to the DO held by this BDO.
 void removeMatchQueueBDO(MatchQueueBDO rbdo)
          Remove (delete) a MatchQueueBDO object whose MatchQueueDO refers to the DO held by this BDO.
 void removeMatchQueueBDO(MatchQueueBDO rbdo, jobmatch.data.DBTransaction tran)
          Remove (delete) a MatchQueueBDO object whose MatchQueueDO refers to the DO held by this BDO.
 void setAdress(AdressBDO Adress)
          Set Adress of the CandidateDO
 void setAdress(AdressDO Adress)
          Set Adress of the CandidateDO
 void setAIESECMember(boolean AIESECMember)
          Set AIESECMember of the CandidateDO
 void setBirthdate(Date Birthdate)
          Set Birthdate of the CandidateDO
 void setCompetence(String Competence)
          Set Competence of the CandidateDO
 void setEmail(String Email)
          Set Email of the CandidateDO
 void setFax(String Fax)
          Set Fax of the CandidateDO
 void setFname(String Fname)
          Set Fname of the CandidateDO
 void setLname(String Lname)
          Set Lname of the CandidateDO
 void setNatel(String Natel)
          Set Natel of the CandidateDO
 void setNationality(CountryBDO Nationality)
          Set Nationality of the CandidateDO
 void setNationality(CountryDO Nationality)
          Set Nationality of the CandidateDO
 void setPhone(String Phone)
          Set Phone of the CandidateDO
 void setPicture(PictureBDO Picture)
          Set Picture of the CandidateDO
 void setPicture(PictureDO Picture)
          Set Picture of the CandidateDO
 void setResidence(String Residence)
          Set Residence of the CandidateDO
 void setSex(String Sex)
          Set Sex of the CandidateDO
 void setStatus(boolean Status)
          Set Status of the CandidateDO
 void setURL(String URL)
          Set URL of the CandidateDO
 String toString()
          for debugging
 void unmapProfile_via_CandidateProfileBDO(ProfileBDO b)
          From the many-to-many relationship expressed by CandidateProfileDO, remove (delete) the ProfileDO object that indirectly refers to the DO held by this BDO.
 void unmapProfile_via_CandidateProfileBDO(ProfileBDO b, jobmatch.data.DBTransaction tran)
          From the many-to-many relationship expressed by CandidateProfileDO, remove (delete) the ProfileDO object that indirectly refers to the DO held by this BDO.
 void unmapProfile_via_CandidateProfileDO(ProfileDO d)
          From the many-to-many relationship expressed by CandidateProfileDO, remove (delete) the ProfileDO object that indirectly refers to the DO held by this BDO.
 void unmapProfile_via_CandidateProfileDO(ProfileDO d, jobmatch.data.DBTransaction tran)
          From the many-to-many relationship expressed by CandidateProfileDO, remove (delete) the ProfileDO object that indirectly refers to the DO held by this BDO.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DO

protected CandidateDO DO
The CandidateDO object upon which the set and get methods operate. This member is protected so that classes derived from CandidateBDO can access the underlying Data Object.
Constructor Detail

CandidateBDO

public CandidateBDO(CandidateDO DO)
Constructor for use by classes derived from CandidateBDO. Example usage: class CustomerBO extends CustomerBDO { // a BDO class is commonly extended in order to implement: public void beforeAnySet() throws Exception { if ( CustomerDO should not be altered ) throw new ApplicationException( "ERROR" ); } public CustomerBO( CustomerDO DO ) { super( DO ); } } class SomePresentationLayerClass { public CustomerBO findCustomer( String name ) { CustomerQuery q = new CustomerQuery(); q.setQueryName( name ); CustomerDO DO = q.getNextDO(); // Here the CustomerBO ctor fires the CustomerBDO ctor. return new CustomerBO( DO ); } }

CandidateBDO

public CandidateBDO()
             throws Exception
Constructor required by CandidateBDO.create methods.
Method Detail

getDO

public CandidateDO getDO()
Note: This method is intended for use only by other BDO classes. Presentation Layer classes should (theoretically) always use the Business Layer (BDO) to create/access Data Layer (DO) objects. The overhead for using BDO objects is small (the BDO classes are fairly lightweight.)
Returns:
The DO object held by this BDO object.

createVirgin

public static CandidateBDO createVirgin()
                                 throws Exception
Like the class CandidateDO, this class acts as a factory. Business Object (BO) classes typically need these set and get methods. So by deriving a BO from a BDO, or by implementing a BO that contains one or more BDOs, the developer of the BO is spared some work.
Throws:
Exception - If an error occurs.

createExisting

public static CandidateBDO createExisting(CandidateDO DO)
The createExisting method is used to create a CandidateBDO from a CandidateDO that was returned by the CandidateQuery class.

getBDOarray

public static CandidateBDO[] getBDOarray()
                                  throws jobmatch.data.DataObjectException
The getBDOarray method performs a database query to return an array of CandidateBDO objects representing all the rows in the Candidate table. This method is a minimal example of using a Query class. To restrict the set of objects returned, you could invoke query.setXxx(), where Xxx is an Attribute of CandidateDO which was marked as "Can be queried" in the DODS Attribute Editor.
Throws:
jobmatch.data.DataObjectException - If an object is not found in the database.

beforeAnyGet

protected void beforeAnyGet()
The developer of a Business Object that derives from this class can override the methods: beforeAnyGet beforeAnySet afterAnySet to handle any general assertions or cleanup needed for get and set methods.

beforeAnySet

protected void beforeAnySet()
                     throws Exception

afterAnySet

protected void afterAnySet()

getHandle

public String getHandle()
                 throws jobmatch.data.DatabaseManagerException
The methods getHandle hasMatchingHandle are used by Presentation Objects that need to populate HTML select lists with CandidateBDO objects as options. The getHandle() method is used to set the value for each option, and the hasMatchingHandle() methods are used to lookup the Data Object when the selection has been made. This CandidateBDO object holds a reference to a CandidateDO object. The id of this CandidateBDO is the id of its CandidateDO.
Returns:
id of this BDO as a string If an object id can't be allocated for this object.
Throws:
jobmatch.data.DatabaseManagerException - If a connection to the database cannot be established, etc.

hasMatchingHandle

public boolean hasMatchingHandle(String handle)
Parameters:
handle - String representation of the id for this BDO
Returns:
boolean True if the string version of the id of this DO matches passed handle
See Also:
getHandle

toString

public String toString()
for debugging
Overrides:
toString in class Object

getPicture

public PictureDO getPicture()
                     throws jobmatch.data.DataObjectException
Get Picture of the CandidateDO
Returns:
Picture of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setPicture

public void setPicture(PictureDO Picture)
                throws jobmatch.data.DataObjectException
Set Picture of the CandidateDO
Parameters:
Picture - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getPictureBDO

public PictureBDO getPictureBDO()
                         throws jobmatch.data.DataObjectException
Get BDO-wrapped Picture of the CandidateDO
Returns:
BDO-wrapped Picture of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setPicture

public void setPicture(PictureBDO Picture)
                throws jobmatch.data.DataObjectException
Set Picture of the CandidateDO
Parameters:
BDO-wrapped - Picture of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getEmail

public String getEmail()
                throws jobmatch.data.DataObjectException
Get Email of the CandidateDO
Returns:
Email of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setEmail

public void setEmail(String Email)
              throws jobmatch.data.DataObjectException
Set Email of the CandidateDO
Parameters:
Email - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getFax

public String getFax()
              throws jobmatch.data.DataObjectException
Get Fax of the CandidateDO
Returns:
Fax of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setFax

public void setFax(String Fax)
            throws jobmatch.data.DataObjectException
Set Fax of the CandidateDO
Parameters:
Fax - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getAdress

public AdressDO getAdress()
                   throws jobmatch.data.DataObjectException
Get Adress of the CandidateDO
Returns:
Adress of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setAdress

public void setAdress(AdressDO Adress)
               throws jobmatch.data.DataObjectException
Set Adress of the CandidateDO
Parameters:
Adress - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getAdressBDO

public AdressBDO getAdressBDO()
                       throws jobmatch.data.DataObjectException
Get BDO-wrapped Adress of the CandidateDO
Returns:
BDO-wrapped Adress of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setAdress

public void setAdress(AdressBDO Adress)
               throws jobmatch.data.DataObjectException
Set Adress of the CandidateDO
Parameters:
BDO-wrapped - Adress of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getFname

public String getFname()
                throws jobmatch.data.DataObjectException
Get Fname of the CandidateDO
Returns:
Fname of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setFname

public void setFname(String Fname)
              throws jobmatch.data.DataObjectException
Set Fname of the CandidateDO
Parameters:
Fname - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getLname

public String getLname()
                throws jobmatch.data.DataObjectException
Get Lname of the CandidateDO
Returns:
Lname of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setLname

public void setLname(String Lname)
              throws jobmatch.data.DataObjectException
Set Lname of the CandidateDO
Parameters:
Lname - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getNatel

public String getNatel()
                throws jobmatch.data.DataObjectException
Get Natel of the CandidateDO
Returns:
Natel of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setNatel

public void setNatel(String Natel)
              throws jobmatch.data.DataObjectException
Set Natel of the CandidateDO
Parameters:
Natel - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getPhone

public String getPhone()
                throws jobmatch.data.DataObjectException
Get Phone of the CandidateDO
Returns:
Phone of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setPhone

public void setPhone(String Phone)
              throws jobmatch.data.DataObjectException
Set Phone of the CandidateDO
Parameters:
Phone - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getResidence

public String getResidence()
                    throws jobmatch.data.DataObjectException
Get Residence of the CandidateDO
Returns:
Residence of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setResidence

public void setResidence(String Residence)
                  throws jobmatch.data.DataObjectException
Set Residence of the CandidateDO
Parameters:
Residence - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getSex

public String getSex()
              throws jobmatch.data.DataObjectException
Get Sex of the CandidateDO
Returns:
Sex of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setSex

public void setSex(String Sex)
            throws jobmatch.data.DataObjectException
Set Sex of the CandidateDO
Parameters:
Sex - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getBirthdate

public Date getBirthdate()
                  throws jobmatch.data.DataObjectException
Get Birthdate of the CandidateDO
Returns:
Birthdate of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setBirthdate

public void setBirthdate(Date Birthdate)
                  throws jobmatch.data.DataObjectException
Set Birthdate of the CandidateDO
Parameters:
Birthdate - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getNationality

public CountryDO getNationality()
                         throws jobmatch.data.DataObjectException
Get Nationality of the CandidateDO
Returns:
Nationality of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setNationality

public void setNationality(CountryDO Nationality)
                    throws jobmatch.data.DataObjectException
Set Nationality of the CandidateDO
Parameters:
Nationality - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getNationalityBDO

public CountryBDO getNationalityBDO()
                             throws jobmatch.data.DataObjectException
Get BDO-wrapped Nationality of the CandidateDO
Returns:
BDO-wrapped Nationality of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setNationality

public void setNationality(CountryBDO Nationality)
                    throws jobmatch.data.DataObjectException
Set Nationality of the CandidateDO
Parameters:
BDO-wrapped - Nationality of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getURL

public String getURL()
              throws jobmatch.data.DataObjectException
Get URL of the CandidateDO
Returns:
URL of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setURL

public void setURL(String URL)
            throws jobmatch.data.DataObjectException
Set URL of the CandidateDO
Parameters:
URL - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getAIESECMember

public boolean getAIESECMember()
                        throws jobmatch.data.DataObjectException
Get AIESECMember of the CandidateDO
Returns:
AIESECMember of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setAIESECMember

public void setAIESECMember(boolean AIESECMember)
                     throws jobmatch.data.DataObjectException
Set AIESECMember of the CandidateDO
Parameters:
AIESECMember - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getCompetence

public String getCompetence()
                     throws jobmatch.data.DataObjectException
Get Competence of the CandidateDO
Returns:
Competence of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setCompetence

public void setCompetence(String Competence)
                   throws jobmatch.data.DataObjectException
Set Competence of the CandidateDO
Parameters:
Competence - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getStatus

public boolean getStatus()
                  throws jobmatch.data.DataObjectException
Get Status of the CandidateDO
Returns:
Status of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

setStatus

public void setStatus(boolean Status)
               throws jobmatch.data.DataObjectException
Set Status of the CandidateDO
Parameters:
Status - of the CandidateDO
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getCandidateAccountDOArray

public CandidateAccountDO[] getCandidateAccountDOArray()
                                                throws jobmatch.data.DataObjectException,
                                                       jobmatch.data.QueryException
Get array of CandidateAccountDO objects that refer to the DO held by this BDO.
Returns:
array of CandidateAccountDO objects.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getCandidateAccountDO

public CandidateAccountDO getCandidateAccountDO()
                                         throws jobmatch.data.DataObjectException,
                                                jobmatch.data.NonUniqueQueryException,
                                                jobmatch.data.QueryException
Get the single CandidateAccountDO object that refers to the DO held by this BDO.
Returns:
CandidateAccountDO object.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.
jobmatch.data.NonUniqueQueryException - If more than one CandidateAccountDO object was found.

getCandidateAccountBDOArray

public CandidateAccountBDO[] getCandidateAccountBDOArray()
                                                  throws jobmatch.data.DataObjectException,
                                                         jobmatch.data.QueryException
Get array of CandidateAccountBDO objects holding CandidateAccountDO objects that refer to the DO held by this BDO.
Returns:
array of CandidateAccountBDO objects.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getCandidateAccountBDO

public CandidateAccountBDO getCandidateAccountBDO()
                                           throws jobmatch.data.DataObjectException,
                                                  jobmatch.data.NonUniqueQueryException,
                                                  jobmatch.data.QueryException
Get the single CandidateAccountBDO object holding a CandidateAccountDO object that refers to the DO held by this BDO.
Returns:
CandidateAccountBDO object.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.
jobmatch.data.NonUniqueQueryException - If more than one CandidateAccountBDO object was found.

addCandidateAccountBDO

public void addCandidateAccountBDO(CandidateAccountBDO rbdo)
                            throws SQLException,
                                   jobmatch.data.DatabaseManagerException,
                                   jobmatch.data.DataObjectException,
                                   jobmatch.data.RefAssertionException,
                                   jobmatch.data.DBRowUpdateException,
                                   jobmatch.data.QueryException
Add (set & commit) a CandidateAccountBDO object whose CandidateAccountDO refers to the DO held by this BDO.
Parameters:
rbdo - CandidateAccountBDO to be set to point to this BDO and committed.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

addCandidateAccountBDO

public void addCandidateAccountBDO(CandidateAccountBDO rbdo,
                                   jobmatch.data.DBTransaction tran)
                            throws SQLException,
                                   jobmatch.data.DatabaseManagerException,
                                   jobmatch.data.DataObjectException,
                                   jobmatch.data.RefAssertionException,
                                   jobmatch.data.DBRowUpdateException,
                                   jobmatch.data.QueryException
Add (set & commit) a CandidateAccountBDO object whose CandidateAccountDO refers to the DO held by this BDO.
Parameters:
rbdo - CandidateAccountBDO to be set to point to this BDO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

removeCandidateAccountBDO

public void removeCandidateAccountBDO(CandidateAccountBDO rbdo)
                               throws SQLException,
                                      jobmatch.data.DatabaseManagerException,
                                      jobmatch.data.DataObjectException,
                                      jobmatch.data.RefAssertionException,
                                      jobmatch.data.DBRowUpdateException,
                                      jobmatch.data.QueryException
Remove (delete) a CandidateAccountBDO object whose CandidateAccountDO refers to the DO held by this BDO.
Parameters:
r - CandidateAccountBDO to be deleted.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

removeCandidateAccountBDO

public void removeCandidateAccountBDO(CandidateAccountBDO rbdo,
                                      jobmatch.data.DBTransaction tran)
                               throws SQLException,
                                      jobmatch.data.DatabaseManagerException,
                                      jobmatch.data.DataObjectException,
                                      jobmatch.data.RefAssertionException,
                                      jobmatch.data.DBRowUpdateException,
                                      jobmatch.data.QueryException
Remove (delete) a CandidateAccountBDO object whose CandidateAccountDO refers to the DO held by this BDO.
Parameters:
r - CandidateAccountBDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

getCandidateProfileDOArray

public CandidateProfileDO[] getCandidateProfileDOArray()
                                                throws jobmatch.data.DataObjectException,
                                                       jobmatch.data.QueryException
Get array of CandidateProfileDO objects that refer to the DO held by this BDO.
Returns:
array of CandidateProfileDO objects.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getCandidateProfileDO

public CandidateProfileDO getCandidateProfileDO()
                                         throws jobmatch.data.DataObjectException,
                                                jobmatch.data.NonUniqueQueryException,
                                                jobmatch.data.QueryException
Get the single CandidateProfileDO object that refers to the DO held by this BDO.
Returns:
CandidateProfileDO object.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.
jobmatch.data.NonUniqueQueryException - If more than one CandidateProfileDO object was found.

getCandidateProfileBDOArray

public CandidateProfileBDO[] getCandidateProfileBDOArray()
                                                  throws jobmatch.data.DataObjectException,
                                                         jobmatch.data.QueryException
Get array of CandidateProfileBDO objects holding CandidateProfileDO objects that refer to the DO held by this BDO.
Returns:
array of CandidateProfileBDO objects.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getCandidateProfileBDO

public CandidateProfileBDO getCandidateProfileBDO()
                                           throws jobmatch.data.DataObjectException,
                                                  jobmatch.data.NonUniqueQueryException,
                                                  jobmatch.data.QueryException
Get the single CandidateProfileBDO object holding a CandidateProfileDO object that refers to the DO held by this BDO.
Returns:
CandidateProfileBDO object.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.
jobmatch.data.NonUniqueQueryException - If more than one CandidateProfileBDO object was found.

addCandidateProfileBDO

public void addCandidateProfileBDO(CandidateProfileBDO rbdo)
                            throws SQLException,
                                   jobmatch.data.DatabaseManagerException,
                                   jobmatch.data.DataObjectException,
                                   jobmatch.data.RefAssertionException,
                                   jobmatch.data.DBRowUpdateException,
                                   jobmatch.data.QueryException
Add (set & commit) a CandidateProfileBDO object whose CandidateProfileDO refers to the DO held by this BDO.
Parameters:
rbdo - CandidateProfileBDO to be set to point to this BDO and committed.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

addCandidateProfileBDO

public void addCandidateProfileBDO(CandidateProfileBDO rbdo,
                                   jobmatch.data.DBTransaction tran)
                            throws SQLException,
                                   jobmatch.data.DatabaseManagerException,
                                   jobmatch.data.DataObjectException,
                                   jobmatch.data.RefAssertionException,
                                   jobmatch.data.DBRowUpdateException,
                                   jobmatch.data.QueryException
Add (set & commit) a CandidateProfileBDO object whose CandidateProfileDO refers to the DO held by this BDO.
Parameters:
rbdo - CandidateProfileBDO to be set to point to this BDO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

removeCandidateProfileBDO

public void removeCandidateProfileBDO(CandidateProfileBDO rbdo)
                               throws SQLException,
                                      jobmatch.data.DatabaseManagerException,
                                      jobmatch.data.DataObjectException,
                                      jobmatch.data.RefAssertionException,
                                      jobmatch.data.DBRowUpdateException,
                                      jobmatch.data.QueryException
Remove (delete) a CandidateProfileBDO object whose CandidateProfileDO refers to the DO held by this BDO.
Parameters:
r - CandidateProfileBDO to be deleted.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

removeCandidateProfileBDO

public void removeCandidateProfileBDO(CandidateProfileBDO rbdo,
                                      jobmatch.data.DBTransaction tran)
                               throws SQLException,
                                      jobmatch.data.DatabaseManagerException,
                                      jobmatch.data.DataObjectException,
                                      jobmatch.data.RefAssertionException,
                                      jobmatch.data.DBRowUpdateException,
                                      jobmatch.data.QueryException
Remove (delete) a CandidateProfileBDO object whose CandidateProfileDO refers to the DO held by this BDO.
Parameters:
r - CandidateProfileBDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

getMatchQueueDOArray

public MatchQueueDO[] getMatchQueueDOArray()
                                    throws jobmatch.data.DataObjectException,
                                           jobmatch.data.QueryException
Get array of MatchQueueDO objects that refer to the DO held by this BDO.
Returns:
array of MatchQueueDO objects.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getMatchQueueDO

public MatchQueueDO getMatchQueueDO()
                             throws jobmatch.data.DataObjectException,
                                    jobmatch.data.NonUniqueQueryException,
                                    jobmatch.data.QueryException
Get the single MatchQueueDO object that refers to the DO held by this BDO.
Returns:
MatchQueueDO object.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.
jobmatch.data.NonUniqueQueryException - If more than one MatchQueueDO object was found.

getMatchQueueBDOArray

public MatchQueueBDO[] getMatchQueueBDOArray()
                                      throws jobmatch.data.DataObjectException,
                                             jobmatch.data.QueryException
Get array of MatchQueueBDO objects holding MatchQueueDO objects that refer to the DO held by this BDO.
Returns:
array of MatchQueueBDO objects.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

getMatchQueueBDO

public MatchQueueBDO getMatchQueueBDO()
                               throws jobmatch.data.DataObjectException,
                                      jobmatch.data.NonUniqueQueryException,
                                      jobmatch.data.QueryException
Get the single MatchQueueBDO object holding a MatchQueueDO object that refers to the DO held by this BDO.
Returns:
MatchQueueBDO object.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.
jobmatch.data.NonUniqueQueryException - If more than one MatchQueueBDO object was found.

addMatchQueueBDO

public void addMatchQueueBDO(MatchQueueBDO rbdo)
                      throws SQLException,
                             jobmatch.data.DatabaseManagerException,
                             jobmatch.data.DataObjectException,
                             jobmatch.data.RefAssertionException,
                             jobmatch.data.DBRowUpdateException,
                             jobmatch.data.QueryException
Add (set & commit) a MatchQueueBDO object whose MatchQueueDO refers to the DO held by this BDO.
Parameters:
rbdo - MatchQueueBDO to be set to point to this BDO and committed.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

addMatchQueueBDO

public void addMatchQueueBDO(MatchQueueBDO rbdo,
                             jobmatch.data.DBTransaction tran)
                      throws SQLException,
                             jobmatch.data.DatabaseManagerException,
                             jobmatch.data.DataObjectException,
                             jobmatch.data.RefAssertionException,
                             jobmatch.data.DBRowUpdateException,
                             jobmatch.data.QueryException
Add (set & commit) a MatchQueueBDO object whose MatchQueueDO refers to the DO held by this BDO.
Parameters:
rbdo - MatchQueueBDO to be set to point to this BDO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

removeMatchQueueBDO

public void removeMatchQueueBDO(MatchQueueBDO rbdo)
                         throws SQLException,
                                jobmatch.data.DatabaseManagerException,
                                jobmatch.data.DataObjectException,
                                jobmatch.data.RefAssertionException,
                                jobmatch.data.DBRowUpdateException,
                                jobmatch.data.QueryException
Remove (delete) a MatchQueueBDO object whose MatchQueueDO refers to the DO held by this BDO.
Parameters:
r - MatchQueueBDO to be deleted.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

removeMatchQueueBDO

public void removeMatchQueueBDO(MatchQueueBDO rbdo,
                                jobmatch.data.DBTransaction tran)
                         throws SQLException,
                                jobmatch.data.DatabaseManagerException,
                                jobmatch.data.DataObjectException,
                                jobmatch.data.RefAssertionException,
                                jobmatch.data.DBRowUpdateException,
                                jobmatch.data.QueryException
Remove (delete) a MatchQueueBDO object whose MatchQueueDO refers to the DO held by this BDO.
Parameters:
r - MatchQueueBDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
jobmatch.data.DatabaseManagerException - if could not create a transaction
SQLException - if any SQL errors occur.
jobmatch.data.DataObjectException - If object is not found in the database.

getProfileDOArray_via_CandidateProfile

public ProfileDO[] getProfileDOArray_via_CandidateProfile()
                                                   throws jobmatch.data.DataObjectException
From the many-to-many relationship expressed by CandidateProfileDO, get array of ProfileDO objects that indirectly refer to the DO held by this BDO.
Returns:
array of ProfileDO objects.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

mapProfile_via_CandidateProfileDO

public void mapProfile_via_CandidateProfileDO(ProfileDO d)
                                       throws jobmatch.data.DataObjectException,
                                              jobmatch.data.DatabaseManagerException,
                                              jobmatch.data.RefAssertionException,
                                              SQLException,
                                              jobmatch.data.DBRowUpdateException,
                                              jobmatch.data.QueryException
To the many-to-many relationship expressed by CandidateProfileDO, add a ProfileDO object that indirectly refers to the DO held by this BDO.
Parameters:
d - The ProfileDO to add to the CandidateProfileDO mapping for this BDO.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

mapProfile_via_CandidateProfileDO

public void mapProfile_via_CandidateProfileDO(ProfileDO d,
                                              jobmatch.data.DBTransaction tran)
                                       throws jobmatch.data.DataObjectException,
                                              jobmatch.data.DatabaseManagerException,
                                              jobmatch.data.RefAssertionException,
                                              SQLException,
                                              jobmatch.data.DBRowUpdateException,
                                              jobmatch.data.QueryException
To the many-to-many relationship expressed by CandidateProfileDO, add a ProfileDO object that indirectly refers to the DO held by this BDO.
Parameters:
d - The ProfileDO to add to the CandidateProfileDO mapping for this BDO.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

mapProfile_via_CandidateProfileBDO

public void mapProfile_via_CandidateProfileBDO(ProfileBDO b)
                                        throws jobmatch.data.DataObjectException,
                                               jobmatch.data.DatabaseManagerException,
                                               jobmatch.data.RefAssertionException,
                                               SQLException,
                                               jobmatch.data.DBRowUpdateException,
                                               jobmatch.data.QueryException
To the many-to-many relationship expressed by CandidateProfileDO, add a ProfileDO object that indirectly refers to the DO held by this BDO.
Parameters:
b - The ProfileBDO to add to the CandidateProfileDO mapping for this BDO.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

mapProfile_via_CandidateProfileBDO

public void mapProfile_via_CandidateProfileBDO(ProfileBDO b,
                                               jobmatch.data.DBTransaction tran)
                                        throws jobmatch.data.DataObjectException,
                                               jobmatch.data.DatabaseManagerException,
                                               jobmatch.data.RefAssertionException,
                                               SQLException,
                                               jobmatch.data.DBRowUpdateException,
                                               jobmatch.data.QueryException
To the many-to-many relationship expressed by CandidateProfileDO, add a ProfileDO object that indirectly refers to the DO held by this BDO.
Parameters:
b - The ProfileBDO to add to the CandidateProfileDO mapping for this BDO.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

unmapProfile_via_CandidateProfileDO

public void unmapProfile_via_CandidateProfileDO(ProfileDO d)
                                         throws jobmatch.data.DataObjectException,
                                                jobmatch.data.DatabaseManagerException,
                                                jobmatch.data.RefAssertionException,
                                                SQLException,
                                                jobmatch.data.DBRowUpdateException,
                                                jobmatch.data.QueryException
From the many-to-many relationship expressed by CandidateProfileDO, remove (delete) the ProfileDO object that indirectly refers to the DO held by this BDO.
Parameters:
d - The ProfileDO to remove from the CandidateProfileDO mapping for this BDO.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

unmapProfile_via_CandidateProfileDO

public void unmapProfile_via_CandidateProfileDO(ProfileDO d,
                                                jobmatch.data.DBTransaction tran)
                                         throws jobmatch.data.DataObjectException,
                                                jobmatch.data.DatabaseManagerException,
                                                jobmatch.data.RefAssertionException,
                                                SQLException,
                                                jobmatch.data.DBRowUpdateException,
                                                jobmatch.data.QueryException
From the many-to-many relationship expressed by CandidateProfileDO, remove (delete) the ProfileDO object that indirectly refers to the DO held by this BDO.
Parameters:
d - The ProfileDO to remove from the CandidateProfileDO mapping for this BDO.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

unmapProfile_via_CandidateProfileBDO

public void unmapProfile_via_CandidateProfileBDO(ProfileBDO b)
                                          throws jobmatch.data.DataObjectException,
                                                 jobmatch.data.DatabaseManagerException,
                                                 jobmatch.data.RefAssertionException,
                                                 SQLException,
                                                 jobmatch.data.DBRowUpdateException,
                                                 jobmatch.data.QueryException
From the many-to-many relationship expressed by CandidateProfileDO, remove (delete) the ProfileDO object that indirectly refers to the DO held by this BDO.
Parameters:
b - The ProfileBDO to remove from the CandidateProfileDO mapping for this BDO.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

unmapProfile_via_CandidateProfileBDO

public void unmapProfile_via_CandidateProfileBDO(ProfileBDO b,
                                                 jobmatch.data.DBTransaction tran)
                                          throws jobmatch.data.DataObjectException,
                                                 jobmatch.data.DatabaseManagerException,
                                                 jobmatch.data.RefAssertionException,
                                                 SQLException,
                                                 jobmatch.data.DBRowUpdateException,
                                                 jobmatch.data.QueryException
From the many-to-many relationship expressed by CandidateProfileDO, remove (delete) the ProfileDO object that indirectly refers to the DO held by this BDO.
Parameters:
b - The ProfileBDO to remove from the CandidateProfileDO mapping for this BDO.
Throws:
jobmatch.data.DataObjectException - If the object is not found in the database.

commit

public void commit()
            throws SQLException,
                   jobmatch.data.DatabaseManagerException,
                   jobmatch.data.DataObjectException,
                   jobmatch.data.RefAssertionException,
                   jobmatch.data.DBRowUpdateException,
                   jobmatch.data.QueryException
Inserts/Updates the DO into its table.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
jobmatch.data.RefAssertionException - thrown by okTo method.
SQLException - if any SQL errors occur.

commit

public void commit(jobmatch.data.DBTransaction dbt)
            throws SQLException,
                   jobmatch.data.DatabaseManagerException,
                   jobmatch.data.DataObjectException,
                   jobmatch.data.RefAssertionException,
                   jobmatch.data.DBRowUpdateException,
                   jobmatch.data.QueryException
Inserts/Updates the DO into its table. The transaction is likely provided by the commit() method of another BDO whose DO references this DO.
Parameters:
dbt - The transaction object to use for this operation.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
jobmatch.data.RefAssertionException - thrown by okTo method.
SQLException - if any SQL errors occur.

delete

public void delete()
            throws SQLException,
                   jobmatch.data.DatabaseManagerException,
                   jobmatch.data.DataObjectException,
                   jobmatch.data.RefAssertionException,
                   jobmatch.data.DBRowUpdateException,
                   jobmatch.data.QueryException
Deletes the DO from its table.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
jobmatch.data.RefAssertionException - thrown by okTo method.
SQLException - if any SQL errors occur.

delete

public void delete(jobmatch.data.DBTransaction dbt)
            throws SQLException,
                   jobmatch.data.DatabaseManagerException,
                   jobmatch.data.DataObjectException,
                   jobmatch.data.RefAssertionException,
                   jobmatch.data.DBRowUpdateException,
                   jobmatch.data.QueryException
Deletes the DO from its table. The transaction is likely provided by the delete() method of another BDO whose DO references this DO.
Parameters:
dbt - The transaction object to use for this operation.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
jobmatch.data.RefAssertionException - thrown by okTo method.
SQLException - if any SQL errors occur.

okToCommitPicture

protected void okToCommitPicture(PictureDO member)
                          throws jobmatch.data.RefAssertionException
A stub method for implementing pre-commit assertions for the Picture data member. Implement this stub to throw an RefAssertionException for cases where Picture is not valid for writing to the database.

okToDeletePicture

protected void okToDeletePicture(PictureDO member)
                          throws jobmatch.data.RefAssertionException
A stub method for implementing pre-delete assertions for the Picture data member. Implement this stub to throw an RefAssertionException for cases where Picture is not valid for deletion from the database.

okToCommitAdress

protected void okToCommitAdress(AdressDO member)
                         throws jobmatch.data.RefAssertionException
A stub method for implementing pre-commit assertions for the Adress data member. Implement this stub to throw an RefAssertionException for cases where Adress is not valid for writing to the database.

okToDeleteAdress

protected void okToDeleteAdress(AdressDO member)
                         throws jobmatch.data.RefAssertionException
A stub method for implementing pre-delete assertions for the Adress data member. Implement this stub to throw an RefAssertionException for cases where Adress is not valid for deletion from the database.

okToCommitNationality

protected void okToCommitNationality(CountryDO member)
                              throws jobmatch.data.RefAssertionException
A stub method for implementing pre-commit assertions for the Nationality data member. Implement this stub to throw an RefAssertionException for cases where Nationality is not valid for writing to the database.

okToDeleteNationality

protected void okToDeleteNationality(CountryDO member)
                              throws jobmatch.data.RefAssertionException
A stub method for implementing pre-delete assertions for the Nationality data member. Implement this stub to throw an RefAssertionException for cases where Nationality is not valid for deletion from the database.

modifyDO

protected void modifyDO(jobmatch.data.DBTransaction dbt,
                        boolean delete)
                 throws SQLException,
                        jobmatch.data.DatabaseManagerException,
                        jobmatch.data.DataObjectException,
                        jobmatch.data.RefAssertionException,
                        jobmatch.data.DBRowUpdateException,
                        jobmatch.data.QueryException
Modifies the DO within its table. Performs recursive commit/delete on referenced DOs; all operations occur within a single transaction to allow rollback in the event of error. Only the creator of the transaction releases it.
Parameters:
dbt - The transaction object to use for this operation.
delete - True if doing a delete, otherwise doing insert/update.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
jobmatch.data.RefAssertionException - thrown by okTo method.
SQLException - if any SQL errors occur.

PSE 2000 Group 4