2004.04.29


com.jdc.app.rdb.tbl.ref.tco
Class CountryTCO

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.io.FileReader
              |
              +--com.jdc.app.rdb.tbl.ref.tco.ReferenceTCO
                    |
                    +--com.jdc.app.rdb.tbl.ref.tco.CountryTCO

public class CountryTCO
extends ReferenceTCO

CountryTCO represents a Country database table creation object.

Version:
1.0
Author:
Jay Damon
See Also:
Country, CountryDAO, CountryDTO

Field Summary
 
Fields inherited from class com.jdc.app.rdb.tbl.ref.tco.ReferenceTCO
DELIMITER
 
Fields inherited from class com.jdc.lang.Object
string
 
Constructor Summary
CountryTCO()
          Constructs a new CountryTCO object.
 
Method Summary
static void main(String[] args)
          Executes unit tests for the FileReader class.
 void readData()
          Reads the line data from the Country data File and creates and executes an Insert statement to populate the Country database reference table.
 
Methods inherited from class com.jdc.app.rdb.tbl.ref.tco.ReferenceTCO
getInt, getString, readLine
 
Methods inherited from class com.jdc.io.FileReader
close, finalize, getFile, getLineNumber, open, readFile
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountryTCO

public CountryTCO()
Constructs a new CountryTCO object.

Method Detail

readData

public void readData()
Reads the line data from the Country data File and creates and executes an Insert statement to populate the Country database reference table.

Specified by:
readData in class ReferenceTCO

main

public static void main(String[] args)
Executes unit tests for the FileReader class.


2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.