/** * Full address entity class. * Defines the stucture and contains the full address. */ public class FullAddress extends ShortAddress { /** *The persons housenumber */ public int housenumber = -1; /** *The persons street name */ public String streetName1 = ""; /** *The persons postal code */ public String streetName2 = ""; /** *The name of the city the person lives in. */ public String cityName = ""; /** *Default constructor enables the initiation of the entity Class to be created without attributes. */ public FullAddress() {} /** * Overloaded Constructor using its base class constructor to fill in the inherited data. */ public FullAddress( String firstName, String secondName, String phoneNumber, int houseNumber, String streetName1, String streetName2, String cityName) { super(firstName, secondName, phoneNumber); this.housenumber = houseNumber; this.streetName1 = streetName1; this.streetName2 = streetName2; this.cityName = cityName; } }