Class Person

    • Constructor Summary

      Constructors 
      Constructor Description
      Person​(java.lang.String addressLine, java.lang.String zip, java.lang.String country)
      Constructor for Person with specified values.
    • Constructor Detail

      • Person

        public Person​(java.lang.String addressLine,
                      java.lang.String zip,
                      java.lang.String country)
        Constructor for Person with specified values.
        Parameters:
        addressLine - address of the Person.
        zip - zip of the Person.
        country - country of the Person.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class UntypedData
      • formatEmptyString

        protected java.lang.String formatEmptyString​(java.lang.String string)
        Format address strings in person object set empty strings to n/a
        Parameters:
        string - the to format
        Returns:
        formated address string
      • getAddressLine

        public java.lang.String getAddressLine()
        Getter for the field adress_line.
        Returns:
        the address line
      • getCountry

        public java.lang.String getCountry()
        Getter for the field country.
        Returns:
        the country
      • getZip

        public java.lang.String getZip()
        Getter for the field zip.
        Returns:
        the zip