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