Previous step | Up | Next step |
Tutorial overview | Step 2 |
Records in the CDC test set are composed of 14 fields: last name, first name, and so on. These records can be modeled in an obvious way by an interface that follows the Java Bean conventions. Just as simply, the bean interface can be implemented by a class that also overrides the equals(Object) and hashCode() methods inherited from the Object class.
The CDC test data consists of 550 vaccination records. Each record is composed of 14 fields:
Next, we'll define a Java interface for this record layout and then extend the interface to add fields that we need just for record generation.
Previous step | Up | Next step |
Tutorial overview | Step 2 |