|
PSE 2000 Group 4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
jobmatch.data.TreeLeafDO | +--jobmatch.data.ComputerRequestDO
Data core class, used to set, retrieve the ComputerRequestDO information.
| Field Summary | |
protected static boolean |
isView
|
static jobmatch.data.RDBColumn |
MinCapability
|
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.TreeLeafDO |
isView,
LeafNumber,
Mandatory,
PrimaryKey,
Profile,
table |
| Constructor Summary | |
protected |
ComputerRequestDO()
Protected constructor. |
protected |
ComputerRequestDO(boolean is_view)
Protected constructor. |
protected |
ComputerRequestDO(jobmatch.data.ObjectId id)
Protected constructor used by createExisting(ObjectId) above. |
protected |
ComputerRequestDO(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. |
CompcapabilityDO |
getMinCapability()
Get MinCapability of the NewDBTable |
protected String |
getTableName()
Return NewDBTable as the name of the table in the database which contains ComputerRequestDO 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(ComputerRequestDO 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 ComputerRequestDO. |
protected void |
okToCommitMinCapability(CompcapabilityDO member)
A stub method for implementing pre-commit assertions for the MinCapability data member. |
protected void |
okToCommitProfile(ProfileDO member)
A stub method for implementing pre-commit assertions for the Profile data member. |
protected void |
okToDelete()
A stub method for implementing pre-delete assertions for this ComputerRequestDO. |
protected void |
okToDeleteMinCapability(CompcapabilityDO member)
A stub method for implementing pre-delete assertions for the MinCapability data member. |
protected void |
okToDeleteProfile(ProfileDO member)
A stub method for implementing pre-delete assertions for the Profile data member. |
void |
setMinCapability(CompcapabilityDO MinCapability)
Set MinCapability of the NewDBTable |
String |
toString()
|
String |
toString(int indentCount)
|
| Methods inherited from class jobmatch.data.TreeLeafDO |
getLeafNumber,
getMandatory,
getProfile,
makeIdentical,
setLeafNumber,
setMandatory,
setProfile |
| 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 MinCapability
| Constructor Detail |
protected ComputerRequestDO(boolean is_view)
throws jobmatch.data.ObjectIdException,
jobmatch.data.DatabaseManagerException
protected ComputerRequestDO()
throws jobmatch.data.ObjectIdException,
jobmatch.data.DatabaseManagerException
protected ComputerRequestDO(jobmatch.data.ObjectId id)
throws SQLException,
jobmatch.data.ObjectIdException,
jobmatch.data.DataObjectException,
jobmatch.data.DatabaseManagerException
id - The ObjectId for the object.
protected ComputerRequestDO(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(ComputerRequestDO orig)
orig - The original DO.
public CompcapabilityDO getMinCapability()
throws jobmatch.data.DataObjectException
public void setMinCapability(CompcapabilityDO MinCapability)
throws jobmatch.data.DataObjectException
MinCapability - 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 okToCommitProfile(ProfileDO member)
throws jobmatch.data.RefAssertionException
protected void okToDeleteProfile(ProfileDO member)
throws jobmatch.data.RefAssertionException
protected void okToCommitMinCapability(CompcapabilityDO member)
throws jobmatch.data.RefAssertionException
protected void okToDeleteMinCapability(CompcapabilityDO 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 | |||||||||