Previous detail | Up | Next detail |
| Step 1 overview | Step 1.2 |
Step 1.1: A Java interface for a CDC record
A straightforward interface for CDC records is shown below. In addition to this interface, we'll need to define a public class, Cdc1RecordBean, that implements it; see the adg-cdc1-example for details.
package net.sf.adatagenerator.ex.cdc1.api;
public interface Record {
String getLastName();
void setLastName(String lastName);
String getFirstName();
void setFirstName(String firstName);
String getMiddleName();
void setMiddleName(String middleName);
String getSuffix();
void setSuffix(String suffix);
String getDOB();
void setDOB(String DOB);
String getSex();
void setSex(String sex);
String getMomMaiden();
void setMomMaiden(String momMaiden);
String getMomLast();
void setMomLast(String momLast);
String getMomFirst();
void setMomFirst(String momFirst);
String getMomMiddle();
void setMomMiddle(String momMiddle);
String getVacName();
void setVacName(String vacName);
String getVacCode();
void setVacCode(String vacCode);
String getVacMfr();
void setVacMfr(String vacMfr);
String getVacDate();
void setVacDate(String vacDate);
}
Previous detail | Up | Next detail |
| Step 1 overview | Step 1.2 |