java.lang.Object
com.github.jamesross03.pop_parser.utils.Record
com.github.jamesross03.pop_parser.utils.records.BirthRecord

public class BirthRecord extends Record
Object representing a birth record.
  • Constructor Details

    • BirthRecord

      public BirthRecord(String forename, String surname)
      Initialises a new instance of the BirthRecord class for the given attributes.
      Parameters:
      forename - forename of data-subject
      surname - surname of data-subject
  • Method Details

    • getForename

      public String getForename()
      Gets forename of data-subject.
      Returns:
      forename
    • getSurname

      public String getSurname()
      Gets surname of data-subject.
      Returns:
      surname
    • toString

      public String toString()
      Specified by:
      toString in class Record