|
PSE 2000 Group 4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
jobmatch.data.CVSectionDO | +--jobmatch.data.CVTimespanDO
Data core class, used to set, retrieve the CVTimespanDO information.
| Field Summary | |
static jobmatch.data.RDBColumn |
BeginDate
|
static jobmatch.data.RDBColumn |
EndDate
|
protected static boolean |
isView
|
static jobmatch.data.RDBColumn |
PrimaryKey
|
static jobmatch.data.RDBTable |
table
static final data members name the table and columns for this DO. |
| Fields inherited from class jobmatch.data.CVSectionDO |
Candidate,
isView,
PrimaryKey,
table |
| Constructor Summary | |
protected |
CVTimespanDO()
Protected constructor. |
protected |
CVTimespanDO(boolean is_view)
Protected constructor. |
protected |
CVTimespanDO(jobmatch.data.ObjectId id)
Protected constructor used by createExisting(ObjectId) above. |
protected |
CVTimespanDO(ResultSet rs)
Protected constructor. |
| Method Summary | |
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. |
void |
delete()
Deletes the DO from its table. |
void |
delete(jobmatch.data.DBTransaction dbt)
Deletes the DO from its table. |
Date |
getBeginDate()
Get BeginDate of the NewDBTable |
Date |
getEndDate()
Get EndDate of the NewDBTable |
protected String |
getTableName()
Return NewDBTable as the name of the table in the database which contains CVTimespanDO objects. |
boolean |
isLoaded()
isLoaded() Returns true if the data for this objects has been retrieved from the database. |
boolean |
isReadOnly()
isReadOnly() Returns true if the data for this object has been marked read-only. |
void |
loadData()
loadData() Load the fields for the DO from the database. |
protected void |
makeIdentical(CVTimespanDO orig)
makeIdentical() Assigns the DataStruct of an existing DO to this DO. |
protected void |
modifyDO(jobmatch.data.DBTransaction dbt,
boolean delete)
Modifies the DO within its table. |
protected void |
okToCommit()
A stub method for implementing pre-commit assertions for this CVTimespanDO. |
protected void |
okToCommitCandidate(CandidateDO member)
A stub method for implementing pre-commit assertions for the Candidate data member. |
protected void |
okToDelete()
A stub method for implementing pre-delete assertions for this CVTimespanDO. |
protected void |
okToDeleteCandidate(CandidateDO member)
A stub method for implementing pre-delete assertions for the Candidate data member. |
void |
setBeginDate(Date BeginDate)
Set BeginDate of the NewDBTable |
void |
setEndDate(Date EndDate)
Set EndDate of the NewDBTable |
String |
toString()
|
String |
toString(int indentCount)
|
| Methods inherited from class jobmatch.data.CVSectionDO |
getCandidate,
makeIdentical,
setCandidate |
| Field Detail |
public static final jobmatch.data.RDBTable table
public static final jobmatch.data.RDBColumn PrimaryKey
protected static final boolean isView
public static final jobmatch.data.RDBColumn BeginDate
public static final jobmatch.data.RDBColumn EndDate
| Constructor Detail |
protected CVTimespanDO(boolean is_view)
throws jobmatch.data.ObjectIdException,
jobmatch.data.DatabaseManagerException
protected CVTimespanDO()
throws jobmatch.data.ObjectIdException,
jobmatch.data.DatabaseManagerException
protected CVTimespanDO(jobmatch.data.ObjectId id)
throws SQLException,
jobmatch.data.ObjectIdException,
jobmatch.data.DataObjectException,
jobmatch.data.DatabaseManagerException
id - The ObjectId for the object.
protected CVTimespanDO(ResultSet rs)
throws SQLException,
jobmatch.data.ObjectIdException,
jobmatch.data.DataObjectException,
jobmatch.data.DatabaseManagerException
rs - Result set from which to obtain product data.| Method Detail |
protected String getTableName()
CoreDOpublic boolean isReadOnly()
public boolean isLoaded()
public void loadData()
throws SQLException,
jobmatch.data.ObjectIdException,
jobmatch.data.DataObjectException
protected void beforeAnyGet()
beforeAnyGet
beforeAnySet
afterAnySet
to handle any general assertions or cleanup needed
for get and set methods.
protected void beforeAnySet()
throws Exception
protected void afterAnySet()
protected void makeIdentical(CVTimespanDO orig)
orig - The original DO.
public Date getBeginDate()
throws jobmatch.data.DataObjectException
public void setBeginDate(Date BeginDate)
throws jobmatch.data.DataObjectException
BeginDate - of the NewDBTable
public Date getEndDate()
throws jobmatch.data.DataObjectException
public void setEndDate(Date EndDate)
throws jobmatch.data.DataObjectException
EndDate - of the NewDBTablepublic String toString()
public String toString(int indentCount)
protected void okToCommit()
throws jobmatch.data.RefAssertionException
protected void okToDelete()
throws jobmatch.data.RefAssertionException
public void commit()
throws SQLException,
jobmatch.data.DatabaseManagerException,
jobmatch.data.DataObjectException,
jobmatch.data.RefAssertionException,
jobmatch.data.DBRowUpdateException,
jobmatch.data.QueryException
public void commit(jobmatch.data.DBTransaction dbt)
throws SQLException,
jobmatch.data.DatabaseManagerException,
jobmatch.data.DataObjectException,
jobmatch.data.RefAssertionException,
jobmatch.data.DBRowUpdateException,
jobmatch.data.QueryException
dbt - The transaction object to use for this operation.
public void delete()
throws SQLException,
jobmatch.data.DatabaseManagerException,
jobmatch.data.DataObjectException,
jobmatch.data.RefAssertionException,
jobmatch.data.DBRowUpdateException,
jobmatch.data.QueryException
public void delete(jobmatch.data.DBTransaction dbt)
throws SQLException,
jobmatch.data.DatabaseManagerException,
jobmatch.data.DataObjectException,
jobmatch.data.RefAssertionException,
jobmatch.data.DBRowUpdateException,
jobmatch.data.QueryException
dbt - The transaction object to use for this operation.
protected void okToCommitCandidate(CandidateDO member)
throws jobmatch.data.RefAssertionException
protected void okToDeleteCandidate(CandidateDO member)
throws jobmatch.data.RefAssertionException
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
dbt - The transaction object to use for this operation.delete - True if doing a delete, otherwise doing insert/update.
|
PSE 2000 Group 4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||