public Fasteign getFasteignAdalstraeti13() { Fasteign adalstr = new Fasteign(); adalstr.setFastaNumer("7654321"); adalstr.setNafn("Adalstraeti 13"); adalstr.setGata(getGataAusturstraeti()); return adalstr; }
public Fasteign getFasteignEngjavegur6() { Fasteign engjavegur = new Fasteign(); engjavegur.setFastaNumer("1234123"); engjavegur.setNafn("Engjavegur 6"); engjavegur.setGata(getGataEngjavegur()); return engjavegur; }
public Fasteign getFasteignAusturstraeti1() { Fasteign austurstraeti = new Fasteign(); austurstraeti.setFastaNumer("1234567"); austurstraeti.setNafn("Austurstraeti 11"); austurstraeti.setGata(getGataAusturstraeti()); return austurstraeti; }
public Fasteign(RealEstate realEstate) { setFastaNumer(realEstate.getRealEstateNumber()); setMatseiningNumer(realEstate.getRealEstateUnit()); setMerking(realEstate.getRealEstateCode()); setNafn(realEstate.getName()); setNotkun(realEstate.getUse()); setSkyring(realEstate.getComment()); setLandnumer(realEstate.getLandRegisterMapNumber()); setGotuNumer(realEstate.getStreetNumber()); Street street = realEstate.getStreet(); if (street != null) { Gata gataTemp = new Gata(street); setGata(gataTemp); } }