Class BirthRecordFactory
java.lang.Object
com.github.jamesross03.pop_parser.utils.RecordFactory<BirthRecord>
com.github.jamesross03.pop_parser.utils.factories.BirthRecordFactory
RecordFactory
subclass for making BirthRecord
objects from a
line of CSV input.-
Field Summary
Fields inherited from class com.github.jamesross03.pop_parser.utils.RecordFactory
format
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmakeRecord
(Map<String, String> entry) Takes a map of attribute names and their corresponding values, representing a line read in from a record file, and uses them to create a newRecord
object of subclassT
.
-
Constructor Details
-
BirthRecordFactory
-
-
Method Details
-
makeRecord
Description copied from class:RecordFactory
Takes a map of attribute names and their corresponding values, representing a line read in from a record file, and uses them to create a newRecord
object of subclassT
.- Specified by:
makeRecord
in classRecordFactory<BirthRecord>
- Parameters:
entry
- Map of <key, value> pairs from a line of input- Returns:
- generated
T
instance
-