|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.tbl.dao.DataAccessObject
|
+--com.jdc.rdb.tbl.dao.ReferenceTableDAO
|
+--com.jdc.app.rdb.tbl.ref.dao.CountryDAO
The CountryDAO data access object enables access of the
Country reference table.
Country,
CountryDTO| Field Summary |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
CountryDAO()
Constructs a new CountryDAO data access object. |
|
| Method Summary | |
DeleteStatus |
delete(int countryId)
Deletes a row from the Country table and returns the DeleteStatus. |
InsertStatus |
insert(CountryDTO country)
Inserts a row in the Country table and returns the InsertStatus. |
static void |
main(String[] args)
Executes unit tests for the CountryDAO class. |
boolean |
select(int countryId)
Selects a row in the Country table. |
UpdateStatus |
update(CountryDTO country)
Updates a row in the Country table and returns the UpdateStatus. |
| Methods inherited from class com.jdc.rdb.tbl.dao.DataAccessObject |
getTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CountryDAO()
CountryDAO data access object.
| Method Detail |
public DeleteStatus delete(int countryId)
Country table and returns the DeleteStatus.
DeleteStatus object.public InsertStatus insert(CountryDTO country)
Country table and returns the InsertStatus.
InsertStatus object.public boolean select(int countryId)
Country table. Returns true
if the select is successful.
True if the select is successful. False if the select is not successful.public UpdateStatus update(CountryDTO country)
Country table and returns the UpdateStatus.
UpdateStatus object.public static void main(String[] args)
CountryDAO class.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||