All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openestate.is24.restapi.xml.realestates.Gastronomy Maven / Gradle / Ivy


package org.openestate.is24.restapi.xml.realestates;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jvnet.jaxb2_commons.lang.CopyStrategy2;
import org.jvnet.jaxb2_commons.lang.CopyTo2;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
import org.openestate.is24.restapi.xml.Adapter1;
import org.openestate.is24.restapi.xml.Adapter5;
import org.openestate.is24.restapi.xml.common.BuildingEnergyRatingType;
import org.openestate.is24.restapi.xml.common.CommercializationType;
import org.openestate.is24.restapi.xml.common.CourtageInfo;
import org.openestate.is24.restapi.xml.common.EnergyPerformanceCertificate;
import org.openestate.is24.restapi.xml.common.EnergySourcesEnev2014;
import org.openestate.is24.restapi.xml.common.FiringTypes;
import org.openestate.is24.restapi.xml.common.GastronomyType;
import org.openestate.is24.restapi.xml.common.HeatingType;
import org.openestate.is24.restapi.xml.common.HeatingTypeEnev2014;
import org.openestate.is24.restapi.xml.common.InteriorQuality;
import org.openestate.is24.restapi.xml.common.Price;
import org.openestate.is24.restapi.xml.common.RealEstateCondition;
import org.openestate.is24.restapi.xml.common.YesNotApplicableType;


/**
 * Eigenschaften f\u00fcr den Immobilientyp "Gastronomie"
 * 
 * 

Java class for Gastronomy complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Gastronomy">
 *   <complexContent>
 *     <extension base="{http://rest.immobilienscout24.de/schema/offer/realestates/1.0}RealEstate">
 *       <sequence>
 *         <group ref="{http://rest.immobilienscout24.de/schema/common/1.0}ExtendedGastronomyGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Gastronomy", propOrder = { "gastronomyType", "listed", "lift", "terrace", "numberSeats", "numberBeds", "cellar", "deposit", "energyCertificate", "commercializationType", "price", "calculatedPrice", "totalFloorSpace", "netFloorSpace", "minDivisible", "courtage", "distanceToMRS", "distanceToFM", "distanceToPT", "distanceToAirport", "condition", "numberOfParkingSpaces", "parkingSpacePrice", "lastRefurbishment", "interiorQuality", "constructionYear", "constructionYearUnknown", "freeFrom", "heatingType", "heatingTypeEnev2014", "firingTypes", "energySourcesEnev2014", "thermalCharacteristic", "energyConsumptionContainsWarmWater", "buildingEnergyRatingType", "additionalArea", "numberOfFloors", "additionalCosts" }) public class Gastronomy extends RealEstate implements Serializable, Cloneable, CopyTo2, Equals2, ToString2 { @XmlElement(required = true) @XmlSchemaType(name = "string") protected GastronomyType gastronomyType; @XmlSchemaType(name = "string") protected YesNotApplicableType listed; @XmlSchemaType(name = "string") protected YesNotApplicableType lift; @XmlSchemaType(name = "string") protected YesNotApplicableType terrace; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long numberSeats; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long numberBeds; @XmlSchemaType(name = "string") protected YesNotApplicableType cellar; protected String deposit; protected EnergyPerformanceCertificate energyCertificate; @XmlElement(required = true) @XmlSchemaType(name = "string") protected CommercializationType commercializationType; @XmlElement(required = true) protected Price price; protected Price calculatedPrice; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal totalFloorSpace; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal netFloorSpace; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal minDivisible; @XmlElement(required = true) protected CourtageInfo courtage; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long distanceToMRS; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long distanceToFM; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long distanceToPT; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long distanceToAirport; @XmlSchemaType(name = "string") protected RealEstateCondition condition; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long numberOfParkingSpaces; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal parkingSpacePrice; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long lastRefurbishment; @XmlSchemaType(name = "string") protected InteriorQuality interiorQuality; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long constructionYear; protected Boolean constructionYearUnknown; protected String freeFrom; @XmlSchemaType(name = "string") @Deprecated protected HeatingType heatingType; @XmlSchemaType(name = "string") protected HeatingTypeEnev2014 heatingTypeEnev2014; @Deprecated protected FiringTypes firingTypes; protected EnergySourcesEnev2014 energySourcesEnev2014; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal thermalCharacteristic; @XmlSchemaType(name = "string") protected YesNotApplicableType energyConsumptionContainsWarmWater; @XmlSchemaType(name = "string") protected BuildingEnergyRatingType buildingEnergyRatingType; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal additionalArea; protected String numberOfFloors; protected Price additionalCosts; /** * Gets the value of the gastronomyType property. * * @return * possible object is * {@link GastronomyType } * */ public GastronomyType getGastronomyType() { return gastronomyType; } /** * Sets the value of the gastronomyType property. * * @param value * allowed object is * {@link GastronomyType } * */ public void setGastronomyType(GastronomyType value) { this.gastronomyType = value; } /** * Gets the value of the listed property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getListed() { return listed; } /** * Sets the value of the listed property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setListed(YesNotApplicableType value) { this.listed = value; } /** * Gets the value of the lift property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getLift() { return lift; } /** * Sets the value of the lift property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setLift(YesNotApplicableType value) { this.lift = value; } /** * Gets the value of the terrace property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getTerrace() { return terrace; } /** * Sets the value of the terrace property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setTerrace(YesNotApplicableType value) { this.terrace = value; } /** * Gets the value of the numberSeats property. * * @return * possible object is * {@link String } * */ public Long getNumberSeats() { return numberSeats; } /** * Sets the value of the numberSeats property. * * @param value * allowed object is * {@link String } * */ public void setNumberSeats(Long value) { this.numberSeats = value; } /** * Gets the value of the numberBeds property. * * @return * possible object is * {@link String } * */ public Long getNumberBeds() { return numberBeds; } /** * Sets the value of the numberBeds property. * * @param value * allowed object is * {@link String } * */ public void setNumberBeds(Long value) { this.numberBeds = value; } /** * Gets the value of the cellar property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getCellar() { return cellar; } /** * Sets the value of the cellar property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setCellar(YesNotApplicableType value) { this.cellar = value; } /** * Gets the value of the deposit property. * * @return * possible object is * {@link String } * */ public String getDeposit() { return deposit; } /** * Sets the value of the deposit property. * * @param value * allowed object is * {@link String } * */ public void setDeposit(String value) { this.deposit = value; } /** * Gets the value of the energyCertificate property. * * @return * possible object is * {@link EnergyPerformanceCertificate } * */ public EnergyPerformanceCertificate getEnergyCertificate() { return energyCertificate; } /** * Sets the value of the energyCertificate property. * * @param value * allowed object is * {@link EnergyPerformanceCertificate } * */ public void setEnergyCertificate(EnergyPerformanceCertificate value) { this.energyCertificate = value; } /** * Gets the value of the commercializationType property. * * @return * possible object is * {@link CommercializationType } * */ public CommercializationType getCommercializationType() { return commercializationType; } /** * Sets the value of the commercializationType property. * * @param value * allowed object is * {@link CommercializationType } * */ public void setCommercializationType(CommercializationType value) { this.commercializationType = value; } /** * Gets the value of the price property. * * @return * possible object is * {@link Price } * */ public Price getPrice() { return price; } /** * Sets the value of the price property. * * @param value * allowed object is * {@link Price } * */ public void setPrice(Price value) { this.price = value; } /** * Gets the value of the calculatedPrice property. * * @return * possible object is * {@link Price } * */ public Price getCalculatedPrice() { return calculatedPrice; } /** * Sets the value of the calculatedPrice property. * * @param value * allowed object is * {@link Price } * */ public void setCalculatedPrice(Price value) { this.calculatedPrice = value; } /** * Gets the value of the totalFloorSpace property. * * @return * possible object is * {@link String } * */ public BigDecimal getTotalFloorSpace() { return totalFloorSpace; } /** * Sets the value of the totalFloorSpace property. * * @param value * allowed object is * {@link String } * */ public void setTotalFloorSpace(BigDecimal value) { this.totalFloorSpace = value; } /** * Gets the value of the netFloorSpace property. * * @return * possible object is * {@link String } * */ public BigDecimal getNetFloorSpace() { return netFloorSpace; } /** * Sets the value of the netFloorSpace property. * * @param value * allowed object is * {@link String } * */ public void setNetFloorSpace(BigDecimal value) { this.netFloorSpace = value; } /** * Gets the value of the minDivisible property. * * @return * possible object is * {@link String } * */ public BigDecimal getMinDivisible() { return minDivisible; } /** * Sets the value of the minDivisible property. * * @param value * allowed object is * {@link String } * */ public void setMinDivisible(BigDecimal value) { this.minDivisible = value; } /** * Gets the value of the courtage property. * * @return * possible object is * {@link CourtageInfo } * */ public CourtageInfo getCourtage() { return courtage; } /** * Sets the value of the courtage property. * * @param value * allowed object is * {@link CourtageInfo } * */ public void setCourtage(CourtageInfo value) { this.courtage = value; } /** * Gets the value of the distanceToMRS property. * * @return * possible object is * {@link String } * */ public Long getDistanceToMRS() { return distanceToMRS; } /** * Sets the value of the distanceToMRS property. * * @param value * allowed object is * {@link String } * */ public void setDistanceToMRS(Long value) { this.distanceToMRS = value; } /** * Gets the value of the distanceToFM property. * * @return * possible object is * {@link String } * */ public Long getDistanceToFM() { return distanceToFM; } /** * Sets the value of the distanceToFM property. * * @param value * allowed object is * {@link String } * */ public void setDistanceToFM(Long value) { this.distanceToFM = value; } /** * Gets the value of the distanceToPT property. * * @return * possible object is * {@link String } * */ public Long getDistanceToPT() { return distanceToPT; } /** * Sets the value of the distanceToPT property. * * @param value * allowed object is * {@link String } * */ public void setDistanceToPT(Long value) { this.distanceToPT = value; } /** * Gets the value of the distanceToAirport property. * * @return * possible object is * {@link String } * */ public Long getDistanceToAirport() { return distanceToAirport; } /** * Sets the value of the distanceToAirport property. * * @param value * allowed object is * {@link String } * */ public void setDistanceToAirport(Long value) { this.distanceToAirport = value; } /** * Gets the value of the condition property. * * @return * possible object is * {@link RealEstateCondition } * */ public RealEstateCondition getCondition() { return condition; } /** * Sets the value of the condition property. * * @param value * allowed object is * {@link RealEstateCondition } * */ public void setCondition(RealEstateCondition value) { this.condition = value; } /** * Gets the value of the numberOfParkingSpaces property. * * @return * possible object is * {@link String } * */ public Long getNumberOfParkingSpaces() { return numberOfParkingSpaces; } /** * Sets the value of the numberOfParkingSpaces property. * * @param value * allowed object is * {@link String } * */ public void setNumberOfParkingSpaces(Long value) { this.numberOfParkingSpaces = value; } /** * Gets the value of the parkingSpacePrice property. * * @return * possible object is * {@link String } * */ public BigDecimal getParkingSpacePrice() { return parkingSpacePrice; } /** * Sets the value of the parkingSpacePrice property. * * @param value * allowed object is * {@link String } * */ public void setParkingSpacePrice(BigDecimal value) { this.parkingSpacePrice = value; } /** * Gets the value of the lastRefurbishment property. * * @return * possible object is * {@link String } * */ public Long getLastRefurbishment() { return lastRefurbishment; } /** * Sets the value of the lastRefurbishment property. * * @param value * allowed object is * {@link String } * */ public void setLastRefurbishment(Long value) { this.lastRefurbishment = value; } /** * Gets the value of the interiorQuality property. * * @return * possible object is * {@link InteriorQuality } * */ public InteriorQuality getInteriorQuality() { return interiorQuality; } /** * Sets the value of the interiorQuality property. * * @param value * allowed object is * {@link InteriorQuality } * */ public void setInteriorQuality(InteriorQuality value) { this.interiorQuality = value; } /** * Gets the value of the constructionYear property. * * @return * possible object is * {@link String } * */ public Long getConstructionYear() { return constructionYear; } /** * Sets the value of the constructionYear property. * * @param value * allowed object is * {@link String } * */ public void setConstructionYear(Long value) { this.constructionYear = value; } /** * Gets the value of the constructionYearUnknown property. * * @return * possible object is * {@link Boolean } * */ public Boolean isConstructionYearUnknown() { return constructionYearUnknown; } /** * Sets the value of the constructionYearUnknown property. * * @param value * allowed object is * {@link Boolean } * */ public void setConstructionYearUnknown(Boolean value) { this.constructionYearUnknown = value; } /** * Gets the value of the freeFrom property. * * @return * possible object is * {@link String } * */ public String getFreeFrom() { return freeFrom; } /** * Sets the value of the freeFrom property. * * @param value * allowed object is * {@link String } * */ public void setFreeFrom(String value) { this.freeFrom = value; } /** * Gets the value of the heatingType property. * * @return * possible object is * {@link HeatingType } * */ @Deprecated public HeatingType getHeatingType() { return heatingType; } /** * Sets the value of the heatingType property. * * @param value * allowed object is * {@link HeatingType } * */ @Deprecated public void setHeatingType(HeatingType value) { this.heatingType = value; } /** * Gets the value of the heatingTypeEnev2014 property. * * @return * possible object is * {@link HeatingTypeEnev2014 } * */ public HeatingTypeEnev2014 getHeatingTypeEnev2014() { return heatingTypeEnev2014; } /** * Sets the value of the heatingTypeEnev2014 property. * * @param value * allowed object is * {@link HeatingTypeEnev2014 } * */ public void setHeatingTypeEnev2014(HeatingTypeEnev2014 value) { this.heatingTypeEnev2014 = value; } /** * Gets the value of the firingTypes property. * * @return * possible object is * {@link FiringTypes } * */ @Deprecated public FiringTypes getFiringTypes() { return firingTypes; } /** * Sets the value of the firingTypes property. * * @param value * allowed object is * {@link FiringTypes } * */ @Deprecated public void setFiringTypes(FiringTypes value) { this.firingTypes = value; } /** * Gets the value of the energySourcesEnev2014 property. * * @return * possible object is * {@link EnergySourcesEnev2014 } * */ public EnergySourcesEnev2014 getEnergySourcesEnev2014() { return energySourcesEnev2014; } /** * Sets the value of the energySourcesEnev2014 property. * * @param value * allowed object is * {@link EnergySourcesEnev2014 } * */ public void setEnergySourcesEnev2014(EnergySourcesEnev2014 value) { this.energySourcesEnev2014 = value; } /** * Gets the value of the thermalCharacteristic property. * * @return * possible object is * {@link String } * */ public BigDecimal getThermalCharacteristic() { return thermalCharacteristic; } /** * Sets the value of the thermalCharacteristic property. * * @param value * allowed object is * {@link String } * */ public void setThermalCharacteristic(BigDecimal value) { this.thermalCharacteristic = value; } /** * Gets the value of the energyConsumptionContainsWarmWater property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getEnergyConsumptionContainsWarmWater() { return energyConsumptionContainsWarmWater; } /** * Sets the value of the energyConsumptionContainsWarmWater property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setEnergyConsumptionContainsWarmWater(YesNotApplicableType value) { this.energyConsumptionContainsWarmWater = value; } /** * Gets the value of the buildingEnergyRatingType property. * * @return * possible object is * {@link BuildingEnergyRatingType } * */ public BuildingEnergyRatingType getBuildingEnergyRatingType() { return buildingEnergyRatingType; } /** * Sets the value of the buildingEnergyRatingType property. * * @param value * allowed object is * {@link BuildingEnergyRatingType } * */ public void setBuildingEnergyRatingType(BuildingEnergyRatingType value) { this.buildingEnergyRatingType = value; } /** * Gets the value of the additionalArea property. * * @return * possible object is * {@link String } * */ public BigDecimal getAdditionalArea() { return additionalArea; } /** * Sets the value of the additionalArea property. * * @param value * allowed object is * {@link String } * */ public void setAdditionalArea(BigDecimal value) { this.additionalArea = value; } /** * Gets the value of the numberOfFloors property. * * @return * possible object is * {@link String } * */ public String getNumberOfFloors() { return numberOfFloors; } /** * Sets the value of the numberOfFloors property. * * @param value * allowed object is * {@link String } * */ public void setNumberOfFloors(String value) { this.numberOfFloors = value; } /** * Gets the value of the additionalCosts property. * * @return * possible object is * {@link Price } * */ public Price getAdditionalCosts() { return additionalCosts; } /** * Sets the value of the additionalCosts property. * * @param value * allowed object is * {@link Price } * */ public void setAdditionalCosts(Price value) { this.additionalCosts = value; } public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { super.appendFields(locator, buffer, strategy); { GastronomyType theGastronomyType; theGastronomyType = this.getGastronomyType(); strategy.appendField(locator, this, "gastronomyType", buffer, theGastronomyType, (this.gastronomyType!= null)); } { YesNotApplicableType theListed; theListed = this.getListed(); strategy.appendField(locator, this, "listed", buffer, theListed, (this.listed!= null)); } { YesNotApplicableType theLift; theLift = this.getLift(); strategy.appendField(locator, this, "lift", buffer, theLift, (this.lift!= null)); } { YesNotApplicableType theTerrace; theTerrace = this.getTerrace(); strategy.appendField(locator, this, "terrace", buffer, theTerrace, (this.terrace!= null)); } { Long theNumberSeats; theNumberSeats = this.getNumberSeats(); strategy.appendField(locator, this, "numberSeats", buffer, theNumberSeats, (this.numberSeats!= null)); } { Long theNumberBeds; theNumberBeds = this.getNumberBeds(); strategy.appendField(locator, this, "numberBeds", buffer, theNumberBeds, (this.numberBeds!= null)); } { YesNotApplicableType theCellar; theCellar = this.getCellar(); strategy.appendField(locator, this, "cellar", buffer, theCellar, (this.cellar!= null)); } { String theDeposit; theDeposit = this.getDeposit(); strategy.appendField(locator, this, "deposit", buffer, theDeposit, (this.deposit!= null)); } { EnergyPerformanceCertificate theEnergyCertificate; theEnergyCertificate = this.getEnergyCertificate(); strategy.appendField(locator, this, "energyCertificate", buffer, theEnergyCertificate, (this.energyCertificate!= null)); } { CommercializationType theCommercializationType; theCommercializationType = this.getCommercializationType(); strategy.appendField(locator, this, "commercializationType", buffer, theCommercializationType, (this.commercializationType!= null)); } { Price thePrice; thePrice = this.getPrice(); strategy.appendField(locator, this, "price", buffer, thePrice, (this.price!= null)); } { Price theCalculatedPrice; theCalculatedPrice = this.getCalculatedPrice(); strategy.appendField(locator, this, "calculatedPrice", buffer, theCalculatedPrice, (this.calculatedPrice!= null)); } { BigDecimal theTotalFloorSpace; theTotalFloorSpace = this.getTotalFloorSpace(); strategy.appendField(locator, this, "totalFloorSpace", buffer, theTotalFloorSpace, (this.totalFloorSpace!= null)); } { BigDecimal theNetFloorSpace; theNetFloorSpace = this.getNetFloorSpace(); strategy.appendField(locator, this, "netFloorSpace", buffer, theNetFloorSpace, (this.netFloorSpace!= null)); } { BigDecimal theMinDivisible; theMinDivisible = this.getMinDivisible(); strategy.appendField(locator, this, "minDivisible", buffer, theMinDivisible, (this.minDivisible!= null)); } { CourtageInfo theCourtage; theCourtage = this.getCourtage(); strategy.appendField(locator, this, "courtage", buffer, theCourtage, (this.courtage!= null)); } { Long theDistanceToMRS; theDistanceToMRS = this.getDistanceToMRS(); strategy.appendField(locator, this, "distanceToMRS", buffer, theDistanceToMRS, (this.distanceToMRS!= null)); } { Long theDistanceToFM; theDistanceToFM = this.getDistanceToFM(); strategy.appendField(locator, this, "distanceToFM", buffer, theDistanceToFM, (this.distanceToFM!= null)); } { Long theDistanceToPT; theDistanceToPT = this.getDistanceToPT(); strategy.appendField(locator, this, "distanceToPT", buffer, theDistanceToPT, (this.distanceToPT!= null)); } { Long theDistanceToAirport; theDistanceToAirport = this.getDistanceToAirport(); strategy.appendField(locator, this, "distanceToAirport", buffer, theDistanceToAirport, (this.distanceToAirport!= null)); } { RealEstateCondition theCondition; theCondition = this.getCondition(); strategy.appendField(locator, this, "condition", buffer, theCondition, (this.condition!= null)); } { Long theNumberOfParkingSpaces; theNumberOfParkingSpaces = this.getNumberOfParkingSpaces(); strategy.appendField(locator, this, "numberOfParkingSpaces", buffer, theNumberOfParkingSpaces, (this.numberOfParkingSpaces!= null)); } { BigDecimal theParkingSpacePrice; theParkingSpacePrice = this.getParkingSpacePrice(); strategy.appendField(locator, this, "parkingSpacePrice", buffer, theParkingSpacePrice, (this.parkingSpacePrice!= null)); } { Long theLastRefurbishment; theLastRefurbishment = this.getLastRefurbishment(); strategy.appendField(locator, this, "lastRefurbishment", buffer, theLastRefurbishment, (this.lastRefurbishment!= null)); } { InteriorQuality theInteriorQuality; theInteriorQuality = this.getInteriorQuality(); strategy.appendField(locator, this, "interiorQuality", buffer, theInteriorQuality, (this.interiorQuality!= null)); } { Long theConstructionYear; theConstructionYear = this.getConstructionYear(); strategy.appendField(locator, this, "constructionYear", buffer, theConstructionYear, (this.constructionYear!= null)); } { Boolean theConstructionYearUnknown; theConstructionYearUnknown = this.isConstructionYearUnknown(); strategy.appendField(locator, this, "constructionYearUnknown", buffer, theConstructionYearUnknown, (this.constructionYearUnknown!= null)); } { String theFreeFrom; theFreeFrom = this.getFreeFrom(); strategy.appendField(locator, this, "freeFrom", buffer, theFreeFrom, (this.freeFrom!= null)); } { HeatingType theHeatingType; theHeatingType = this.getHeatingType(); strategy.appendField(locator, this, "heatingType", buffer, theHeatingType, (this.heatingType!= null)); } { HeatingTypeEnev2014 theHeatingTypeEnev2014; theHeatingTypeEnev2014 = this.getHeatingTypeEnev2014(); strategy.appendField(locator, this, "heatingTypeEnev2014", buffer, theHeatingTypeEnev2014, (this.heatingTypeEnev2014 != null)); } { FiringTypes theFiringTypes; theFiringTypes = this.getFiringTypes(); strategy.appendField(locator, this, "firingTypes", buffer, theFiringTypes, (this.firingTypes!= null)); } { EnergySourcesEnev2014 theEnergySourcesEnev2014; theEnergySourcesEnev2014 = this.getEnergySourcesEnev2014(); strategy.appendField(locator, this, "energySourcesEnev2014", buffer, theEnergySourcesEnev2014, (this.energySourcesEnev2014 != null)); } { BigDecimal theThermalCharacteristic; theThermalCharacteristic = this.getThermalCharacteristic(); strategy.appendField(locator, this, "thermalCharacteristic", buffer, theThermalCharacteristic, (this.thermalCharacteristic!= null)); } { YesNotApplicableType theEnergyConsumptionContainsWarmWater; theEnergyConsumptionContainsWarmWater = this.getEnergyConsumptionContainsWarmWater(); strategy.appendField(locator, this, "energyConsumptionContainsWarmWater", buffer, theEnergyConsumptionContainsWarmWater, (this.energyConsumptionContainsWarmWater!= null)); } { BuildingEnergyRatingType theBuildingEnergyRatingType; theBuildingEnergyRatingType = this.getBuildingEnergyRatingType(); strategy.appendField(locator, this, "buildingEnergyRatingType", buffer, theBuildingEnergyRatingType, (this.buildingEnergyRatingType!= null)); } { BigDecimal theAdditionalArea; theAdditionalArea = this.getAdditionalArea(); strategy.appendField(locator, this, "additionalArea", buffer, theAdditionalArea, (this.additionalArea!= null)); } { String theNumberOfFloors; theNumberOfFloors = this.getNumberOfFloors(); strategy.appendField(locator, this, "numberOfFloors", buffer, theNumberOfFloors, (this.numberOfFloors!= null)); } { Price theAdditionalCosts; theAdditionalCosts = this.getAdditionalCosts(); strategy.appendField(locator, this, "additionalCosts", buffer, theAdditionalCosts, (this.additionalCosts!= null)); } return buffer; } public Object clone() { return copyTo(createNewInstance()); } public Object copyTo(Object target) { final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); } public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); super.copyTo(locator, draftCopy, strategy); if (draftCopy instanceof Gastronomy) { final Gastronomy copy = ((Gastronomy) draftCopy); { Boolean gastronomyTypeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.gastronomyType!= null)); if (gastronomyTypeShouldBeCopiedAndSet == Boolean.TRUE) { GastronomyType sourceGastronomyType; sourceGastronomyType = this.getGastronomyType(); GastronomyType copyGastronomyType = ((GastronomyType) strategy.copy(LocatorUtils.property(locator, "gastronomyType", sourceGastronomyType), sourceGastronomyType, (this.gastronomyType!= null))); copy.setGastronomyType(copyGastronomyType); } else { if (gastronomyTypeShouldBeCopiedAndSet == Boolean.FALSE) { copy.gastronomyType = null; } } } { Boolean listedShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.listed!= null)); if (listedShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceListed; sourceListed = this.getListed(); YesNotApplicableType copyListed = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "listed", sourceListed), sourceListed, (this.listed!= null))); copy.setListed(copyListed); } else { if (listedShouldBeCopiedAndSet == Boolean.FALSE) { copy.listed = null; } } } { Boolean liftShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.lift!= null)); if (liftShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceLift; sourceLift = this.getLift(); YesNotApplicableType copyLift = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "lift", sourceLift), sourceLift, (this.lift!= null))); copy.setLift(copyLift); } else { if (liftShouldBeCopiedAndSet == Boolean.FALSE) { copy.lift = null; } } } { Boolean terraceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.terrace!= null)); if (terraceShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceTerrace; sourceTerrace = this.getTerrace(); YesNotApplicableType copyTerrace = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "terrace", sourceTerrace), sourceTerrace, (this.terrace!= null))); copy.setTerrace(copyTerrace); } else { if (terraceShouldBeCopiedAndSet == Boolean.FALSE) { copy.terrace = null; } } } { Boolean numberSeatsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.numberSeats!= null)); if (numberSeatsShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceNumberSeats; sourceNumberSeats = this.getNumberSeats(); Long copyNumberSeats = ((Long) strategy.copy(LocatorUtils.property(locator, "numberSeats", sourceNumberSeats), sourceNumberSeats, (this.numberSeats!= null))); copy.setNumberSeats(copyNumberSeats); } else { if (numberSeatsShouldBeCopiedAndSet == Boolean.FALSE) { copy.numberSeats = null; } } } { Boolean numberBedsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.numberBeds!= null)); if (numberBedsShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceNumberBeds; sourceNumberBeds = this.getNumberBeds(); Long copyNumberBeds = ((Long) strategy.copy(LocatorUtils.property(locator, "numberBeds", sourceNumberBeds), sourceNumberBeds, (this.numberBeds!= null))); copy.setNumberBeds(copyNumberBeds); } else { if (numberBedsShouldBeCopiedAndSet == Boolean.FALSE) { copy.numberBeds = null; } } } { Boolean cellarShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.cellar!= null)); if (cellarShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceCellar; sourceCellar = this.getCellar(); YesNotApplicableType copyCellar = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "cellar", sourceCellar), sourceCellar, (this.cellar!= null))); copy.setCellar(copyCellar); } else { if (cellarShouldBeCopiedAndSet == Boolean.FALSE) { copy.cellar = null; } } } { Boolean depositShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.deposit!= null)); if (depositShouldBeCopiedAndSet == Boolean.TRUE) { String sourceDeposit; sourceDeposit = this.getDeposit(); String copyDeposit = ((String) strategy.copy(LocatorUtils.property(locator, "deposit", sourceDeposit), sourceDeposit, (this.deposit!= null))); copy.setDeposit(copyDeposit); } else { if (depositShouldBeCopiedAndSet == Boolean.FALSE) { copy.deposit = null; } } } { Boolean energyCertificateShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.energyCertificate!= null)); if (energyCertificateShouldBeCopiedAndSet == Boolean.TRUE) { EnergyPerformanceCertificate sourceEnergyCertificate; sourceEnergyCertificate = this.getEnergyCertificate(); EnergyPerformanceCertificate copyEnergyCertificate = ((EnergyPerformanceCertificate) strategy.copy(LocatorUtils.property(locator, "energyCertificate", sourceEnergyCertificate), sourceEnergyCertificate, (this.energyCertificate!= null))); copy.setEnergyCertificate(copyEnergyCertificate); } else { if (energyCertificateShouldBeCopiedAndSet == Boolean.FALSE) { copy.energyCertificate = null; } } } { Boolean commercializationTypeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.commercializationType!= null)); if (commercializationTypeShouldBeCopiedAndSet == Boolean.TRUE) { CommercializationType sourceCommercializationType; sourceCommercializationType = this.getCommercializationType(); CommercializationType copyCommercializationType = ((CommercializationType) strategy.copy(LocatorUtils.property(locator, "commercializationType", sourceCommercializationType), sourceCommercializationType, (this.commercializationType!= null))); copy.setCommercializationType(copyCommercializationType); } else { if (commercializationTypeShouldBeCopiedAndSet == Boolean.FALSE) { copy.commercializationType = null; } } } { Boolean priceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.price!= null)); if (priceShouldBeCopiedAndSet == Boolean.TRUE) { Price sourcePrice; sourcePrice = this.getPrice(); Price copyPrice = ((Price) strategy.copy(LocatorUtils.property(locator, "price", sourcePrice), sourcePrice, (this.price!= null))); copy.setPrice(copyPrice); } else { if (priceShouldBeCopiedAndSet == Boolean.FALSE) { copy.price = null; } } } { Boolean calculatedPriceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.calculatedPrice!= null)); if (calculatedPriceShouldBeCopiedAndSet == Boolean.TRUE) { Price sourceCalculatedPrice; sourceCalculatedPrice = this.getCalculatedPrice(); Price copyCalculatedPrice = ((Price) strategy.copy(LocatorUtils.property(locator, "calculatedPrice", sourceCalculatedPrice), sourceCalculatedPrice, (this.calculatedPrice!= null))); copy.setCalculatedPrice(copyCalculatedPrice); } else { if (calculatedPriceShouldBeCopiedAndSet == Boolean.FALSE) { copy.calculatedPrice = null; } } } { Boolean totalFloorSpaceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.totalFloorSpace!= null)); if (totalFloorSpaceShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceTotalFloorSpace; sourceTotalFloorSpace = this.getTotalFloorSpace(); BigDecimal copyTotalFloorSpace = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "totalFloorSpace", sourceTotalFloorSpace), sourceTotalFloorSpace, (this.totalFloorSpace!= null))); copy.setTotalFloorSpace(copyTotalFloorSpace); } else { if (totalFloorSpaceShouldBeCopiedAndSet == Boolean.FALSE) { copy.totalFloorSpace = null; } } } { Boolean netFloorSpaceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.netFloorSpace!= null)); if (netFloorSpaceShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceNetFloorSpace; sourceNetFloorSpace = this.getNetFloorSpace(); BigDecimal copyNetFloorSpace = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "netFloorSpace", sourceNetFloorSpace), sourceNetFloorSpace, (this.netFloorSpace!= null))); copy.setNetFloorSpace(copyNetFloorSpace); } else { if (netFloorSpaceShouldBeCopiedAndSet == Boolean.FALSE) { copy.netFloorSpace = null; } } } { Boolean minDivisibleShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.minDivisible!= null)); if (minDivisibleShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceMinDivisible; sourceMinDivisible = this.getMinDivisible(); BigDecimal copyMinDivisible = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "minDivisible", sourceMinDivisible), sourceMinDivisible, (this.minDivisible!= null))); copy.setMinDivisible(copyMinDivisible); } else { if (minDivisibleShouldBeCopiedAndSet == Boolean.FALSE) { copy.minDivisible = null; } } } { Boolean courtageShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.courtage!= null)); if (courtageShouldBeCopiedAndSet == Boolean.TRUE) { CourtageInfo sourceCourtage; sourceCourtage = this.getCourtage(); CourtageInfo copyCourtage = ((CourtageInfo) strategy.copy(LocatorUtils.property(locator, "courtage", sourceCourtage), sourceCourtage, (this.courtage!= null))); copy.setCourtage(copyCourtage); } else { if (courtageShouldBeCopiedAndSet == Boolean.FALSE) { copy.courtage = null; } } } { Boolean distanceToMRSShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.distanceToMRS!= null)); if (distanceToMRSShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceDistanceToMRS; sourceDistanceToMRS = this.getDistanceToMRS(); Long copyDistanceToMRS = ((Long) strategy.copy(LocatorUtils.property(locator, "distanceToMRS", sourceDistanceToMRS), sourceDistanceToMRS, (this.distanceToMRS!= null))); copy.setDistanceToMRS(copyDistanceToMRS); } else { if (distanceToMRSShouldBeCopiedAndSet == Boolean.FALSE) { copy.distanceToMRS = null; } } } { Boolean distanceToFMShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.distanceToFM!= null)); if (distanceToFMShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceDistanceToFM; sourceDistanceToFM = this.getDistanceToFM(); Long copyDistanceToFM = ((Long) strategy.copy(LocatorUtils.property(locator, "distanceToFM", sourceDistanceToFM), sourceDistanceToFM, (this.distanceToFM!= null))); copy.setDistanceToFM(copyDistanceToFM); } else { if (distanceToFMShouldBeCopiedAndSet == Boolean.FALSE) { copy.distanceToFM = null; } } } { Boolean distanceToPTShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.distanceToPT!= null)); if (distanceToPTShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceDistanceToPT; sourceDistanceToPT = this.getDistanceToPT(); Long copyDistanceToPT = ((Long) strategy.copy(LocatorUtils.property(locator, "distanceToPT", sourceDistanceToPT), sourceDistanceToPT, (this.distanceToPT!= null))); copy.setDistanceToPT(copyDistanceToPT); } else { if (distanceToPTShouldBeCopiedAndSet == Boolean.FALSE) { copy.distanceToPT = null; } } } { Boolean distanceToAirportShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.distanceToAirport!= null)); if (distanceToAirportShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceDistanceToAirport; sourceDistanceToAirport = this.getDistanceToAirport(); Long copyDistanceToAirport = ((Long) strategy.copy(LocatorUtils.property(locator, "distanceToAirport", sourceDistanceToAirport), sourceDistanceToAirport, (this.distanceToAirport!= null))); copy.setDistanceToAirport(copyDistanceToAirport); } else { if (distanceToAirportShouldBeCopiedAndSet == Boolean.FALSE) { copy.distanceToAirport = null; } } } { Boolean conditionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.condition!= null)); if (conditionShouldBeCopiedAndSet == Boolean.TRUE) { RealEstateCondition sourceCondition; sourceCondition = this.getCondition(); RealEstateCondition copyCondition = ((RealEstateCondition) strategy.copy(LocatorUtils.property(locator, "condition", sourceCondition), sourceCondition, (this.condition!= null))); copy.setCondition(copyCondition); } else { if (conditionShouldBeCopiedAndSet == Boolean.FALSE) { copy.condition = null; } } } { Boolean numberOfParkingSpacesShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.numberOfParkingSpaces!= null)); if (numberOfParkingSpacesShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceNumberOfParkingSpaces; sourceNumberOfParkingSpaces = this.getNumberOfParkingSpaces(); Long copyNumberOfParkingSpaces = ((Long) strategy.copy(LocatorUtils.property(locator, "numberOfParkingSpaces", sourceNumberOfParkingSpaces), sourceNumberOfParkingSpaces, (this.numberOfParkingSpaces!= null))); copy.setNumberOfParkingSpaces(copyNumberOfParkingSpaces); } else { if (numberOfParkingSpacesShouldBeCopiedAndSet == Boolean.FALSE) { copy.numberOfParkingSpaces = null; } } } { Boolean parkingSpacePriceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.parkingSpacePrice!= null)); if (parkingSpacePriceShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceParkingSpacePrice; sourceParkingSpacePrice = this.getParkingSpacePrice(); BigDecimal copyParkingSpacePrice = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "parkingSpacePrice", sourceParkingSpacePrice), sourceParkingSpacePrice, (this.parkingSpacePrice!= null))); copy.setParkingSpacePrice(copyParkingSpacePrice); } else { if (parkingSpacePriceShouldBeCopiedAndSet == Boolean.FALSE) { copy.parkingSpacePrice = null; } } } { Boolean lastRefurbishmentShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.lastRefurbishment!= null)); if (lastRefurbishmentShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceLastRefurbishment; sourceLastRefurbishment = this.getLastRefurbishment(); Long copyLastRefurbishment = ((Long) strategy.copy(LocatorUtils.property(locator, "lastRefurbishment", sourceLastRefurbishment), sourceLastRefurbishment, (this.lastRefurbishment!= null))); copy.setLastRefurbishment(copyLastRefurbishment); } else { if (lastRefurbishmentShouldBeCopiedAndSet == Boolean.FALSE) { copy.lastRefurbishment = null; } } } { Boolean interiorQualityShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.interiorQuality!= null)); if (interiorQualityShouldBeCopiedAndSet == Boolean.TRUE) { InteriorQuality sourceInteriorQuality; sourceInteriorQuality = this.getInteriorQuality(); InteriorQuality copyInteriorQuality = ((InteriorQuality) strategy.copy(LocatorUtils.property(locator, "interiorQuality", sourceInteriorQuality), sourceInteriorQuality, (this.interiorQuality!= null))); copy.setInteriorQuality(copyInteriorQuality); } else { if (interiorQualityShouldBeCopiedAndSet == Boolean.FALSE) { copy.interiorQuality = null; } } } { Boolean constructionYearShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.constructionYear!= null)); if (constructionYearShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceConstructionYear; sourceConstructionYear = this.getConstructionYear(); Long copyConstructionYear = ((Long) strategy.copy(LocatorUtils.property(locator, "constructionYear", sourceConstructionYear), sourceConstructionYear, (this.constructionYear!= null))); copy.setConstructionYear(copyConstructionYear); } else { if (constructionYearShouldBeCopiedAndSet == Boolean.FALSE) { copy.constructionYear = null; } } } { Boolean constructionYearUnknownShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.constructionYearUnknown!= null)); if (constructionYearUnknownShouldBeCopiedAndSet == Boolean.TRUE) { Boolean sourceConstructionYearUnknown; sourceConstructionYearUnknown = this.isConstructionYearUnknown(); Boolean copyConstructionYearUnknown = ((Boolean) strategy.copy(LocatorUtils.property(locator, "constructionYearUnknown", sourceConstructionYearUnknown), sourceConstructionYearUnknown, (this.constructionYearUnknown!= null))); copy.setConstructionYearUnknown(copyConstructionYearUnknown); } else { if (constructionYearUnknownShouldBeCopiedAndSet == Boolean.FALSE) { copy.constructionYearUnknown = null; } } } { Boolean freeFromShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.freeFrom!= null)); if (freeFromShouldBeCopiedAndSet == Boolean.TRUE) { String sourceFreeFrom; sourceFreeFrom = this.getFreeFrom(); String copyFreeFrom = ((String) strategy.copy(LocatorUtils.property(locator, "freeFrom", sourceFreeFrom), sourceFreeFrom, (this.freeFrom!= null))); copy.setFreeFrom(copyFreeFrom); } else { if (freeFromShouldBeCopiedAndSet == Boolean.FALSE) { copy.freeFrom = null; } } } { Boolean heatingTypeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.heatingType!= null)); if (heatingTypeShouldBeCopiedAndSet == Boolean.TRUE) { HeatingType sourceHeatingType; sourceHeatingType = this.getHeatingType(); HeatingType copyHeatingType = ((HeatingType) strategy.copy(LocatorUtils.property(locator, "heatingType", sourceHeatingType), sourceHeatingType, (this.heatingType!= null))); copy.setHeatingType(copyHeatingType); } else { if (heatingTypeShouldBeCopiedAndSet == Boolean.FALSE) { copy.heatingType = null; } } } { Boolean heatingTypeEnev2014ShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.heatingTypeEnev2014 != null)); if (heatingTypeEnev2014ShouldBeCopiedAndSet == Boolean.TRUE) { HeatingTypeEnev2014 sourceHeatingTypeEnev2014; sourceHeatingTypeEnev2014 = this.getHeatingTypeEnev2014(); HeatingTypeEnev2014 copyHeatingTypeEnev2014 = ((HeatingTypeEnev2014) strategy.copy(LocatorUtils.property(locator, "heatingTypeEnev2014", sourceHeatingTypeEnev2014), sourceHeatingTypeEnev2014, (this.heatingTypeEnev2014 != null))); copy.setHeatingTypeEnev2014(copyHeatingTypeEnev2014); } else { if (heatingTypeEnev2014ShouldBeCopiedAndSet == Boolean.FALSE) { copy.heatingTypeEnev2014 = null; } } } { Boolean firingTypesShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.firingTypes!= null)); if (firingTypesShouldBeCopiedAndSet == Boolean.TRUE) { FiringTypes sourceFiringTypes; sourceFiringTypes = this.getFiringTypes(); FiringTypes copyFiringTypes = ((FiringTypes) strategy.copy(LocatorUtils.property(locator, "firingTypes", sourceFiringTypes), sourceFiringTypes, (this.firingTypes!= null))); copy.setFiringTypes(copyFiringTypes); } else { if (firingTypesShouldBeCopiedAndSet == Boolean.FALSE) { copy.firingTypes = null; } } } { Boolean energySourcesEnev2014ShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.energySourcesEnev2014 != null)); if (energySourcesEnev2014ShouldBeCopiedAndSet == Boolean.TRUE) { EnergySourcesEnev2014 sourceEnergySourcesEnev2014; sourceEnergySourcesEnev2014 = this.getEnergySourcesEnev2014(); EnergySourcesEnev2014 copyEnergySourcesEnev2014 = ((EnergySourcesEnev2014) strategy.copy(LocatorUtils.property(locator, "energySourcesEnev2014", sourceEnergySourcesEnev2014), sourceEnergySourcesEnev2014, (this.energySourcesEnev2014 != null))); copy.setEnergySourcesEnev2014(copyEnergySourcesEnev2014); } else { if (energySourcesEnev2014ShouldBeCopiedAndSet == Boolean.FALSE) { copy.energySourcesEnev2014 = null; } } } { Boolean thermalCharacteristicShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.thermalCharacteristic!= null)); if (thermalCharacteristicShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceThermalCharacteristic; sourceThermalCharacteristic = this.getThermalCharacteristic(); BigDecimal copyThermalCharacteristic = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "thermalCharacteristic", sourceThermalCharacteristic), sourceThermalCharacteristic, (this.thermalCharacteristic!= null))); copy.setThermalCharacteristic(copyThermalCharacteristic); } else { if (thermalCharacteristicShouldBeCopiedAndSet == Boolean.FALSE) { copy.thermalCharacteristic = null; } } } { Boolean energyConsumptionContainsWarmWaterShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.energyConsumptionContainsWarmWater!= null)); if (energyConsumptionContainsWarmWaterShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceEnergyConsumptionContainsWarmWater; sourceEnergyConsumptionContainsWarmWater = this.getEnergyConsumptionContainsWarmWater(); YesNotApplicableType copyEnergyConsumptionContainsWarmWater = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "energyConsumptionContainsWarmWater", sourceEnergyConsumptionContainsWarmWater), sourceEnergyConsumptionContainsWarmWater, (this.energyConsumptionContainsWarmWater!= null))); copy.setEnergyConsumptionContainsWarmWater(copyEnergyConsumptionContainsWarmWater); } else { if (energyConsumptionContainsWarmWaterShouldBeCopiedAndSet == Boolean.FALSE) { copy.energyConsumptionContainsWarmWater = null; } } } { Boolean buildingEnergyRatingTypeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.buildingEnergyRatingType!= null)); if (buildingEnergyRatingTypeShouldBeCopiedAndSet == Boolean.TRUE) { BuildingEnergyRatingType sourceBuildingEnergyRatingType; sourceBuildingEnergyRatingType = this.getBuildingEnergyRatingType(); BuildingEnergyRatingType copyBuildingEnergyRatingType = ((BuildingEnergyRatingType) strategy.copy(LocatorUtils.property(locator, "buildingEnergyRatingType", sourceBuildingEnergyRatingType), sourceBuildingEnergyRatingType, (this.buildingEnergyRatingType!= null))); copy.setBuildingEnergyRatingType(copyBuildingEnergyRatingType); } else { if (buildingEnergyRatingTypeShouldBeCopiedAndSet == Boolean.FALSE) { copy.buildingEnergyRatingType = null; } } } { Boolean additionalAreaShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.additionalArea!= null)); if (additionalAreaShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceAdditionalArea; sourceAdditionalArea = this.getAdditionalArea(); BigDecimal copyAdditionalArea = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "additionalArea", sourceAdditionalArea), sourceAdditionalArea, (this.additionalArea!= null))); copy.setAdditionalArea(copyAdditionalArea); } else { if (additionalAreaShouldBeCopiedAndSet == Boolean.FALSE) { copy.additionalArea = null; } } } { Boolean numberOfFloorsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.numberOfFloors!= null)); if (numberOfFloorsShouldBeCopiedAndSet == Boolean.TRUE) { String sourceNumberOfFloors; sourceNumberOfFloors = this.getNumberOfFloors(); String copyNumberOfFloors = ((String) strategy.copy(LocatorUtils.property(locator, "numberOfFloors", sourceNumberOfFloors), sourceNumberOfFloors, (this.numberOfFloors!= null))); copy.setNumberOfFloors(copyNumberOfFloors); } else { if (numberOfFloorsShouldBeCopiedAndSet == Boolean.FALSE) { copy.numberOfFloors = null; } } } { Boolean additionalCostsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.additionalCosts!= null)); if (additionalCostsShouldBeCopiedAndSet == Boolean.TRUE) { Price sourceAdditionalCosts; sourceAdditionalCosts = this.getAdditionalCosts(); Price copyAdditionalCosts = ((Price) strategy.copy(LocatorUtils.property(locator, "additionalCosts", sourceAdditionalCosts), sourceAdditionalCosts, (this.additionalCosts!= null))); copy.setAdditionalCosts(copyAdditionalCosts); } else { if (additionalCostsShouldBeCopiedAndSet == Boolean.FALSE) { copy.additionalCosts = null; } } } } return draftCopy; } public Object createNewInstance() { return new Gastronomy(); } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } final Gastronomy that = ((Gastronomy) object); { GastronomyType lhsGastronomyType; lhsGastronomyType = this.getGastronomyType(); GastronomyType rhsGastronomyType; rhsGastronomyType = that.getGastronomyType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "gastronomyType", lhsGastronomyType), LocatorUtils.property(thatLocator, "gastronomyType", rhsGastronomyType), lhsGastronomyType, rhsGastronomyType, (this.gastronomyType!= null), (that.gastronomyType!= null))) { return false; } } { YesNotApplicableType lhsListed; lhsListed = this.getListed(); YesNotApplicableType rhsListed; rhsListed = that.getListed(); if (!strategy.equals(LocatorUtils.property(thisLocator, "listed", lhsListed), LocatorUtils.property(thatLocator, "listed", rhsListed), lhsListed, rhsListed, (this.listed!= null), (that.listed!= null))) { return false; } } { YesNotApplicableType lhsLift; lhsLift = this.getLift(); YesNotApplicableType rhsLift; rhsLift = that.getLift(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lift", lhsLift), LocatorUtils.property(thatLocator, "lift", rhsLift), lhsLift, rhsLift, (this.lift!= null), (that.lift!= null))) { return false; } } { YesNotApplicableType lhsTerrace; lhsTerrace = this.getTerrace(); YesNotApplicableType rhsTerrace; rhsTerrace = that.getTerrace(); if (!strategy.equals(LocatorUtils.property(thisLocator, "terrace", lhsTerrace), LocatorUtils.property(thatLocator, "terrace", rhsTerrace), lhsTerrace, rhsTerrace, (this.terrace!= null), (that.terrace!= null))) { return false; } } { Long lhsNumberSeats; lhsNumberSeats = this.getNumberSeats(); Long rhsNumberSeats; rhsNumberSeats = that.getNumberSeats(); if (!strategy.equals(LocatorUtils.property(thisLocator, "numberSeats", lhsNumberSeats), LocatorUtils.property(thatLocator, "numberSeats", rhsNumberSeats), lhsNumberSeats, rhsNumberSeats, (this.numberSeats!= null), (that.numberSeats!= null))) { return false; } } { Long lhsNumberBeds; lhsNumberBeds = this.getNumberBeds(); Long rhsNumberBeds; rhsNumberBeds = that.getNumberBeds(); if (!strategy.equals(LocatorUtils.property(thisLocator, "numberBeds", lhsNumberBeds), LocatorUtils.property(thatLocator, "numberBeds", rhsNumberBeds), lhsNumberBeds, rhsNumberBeds, (this.numberBeds!= null), (that.numberBeds!= null))) { return false; } } { YesNotApplicableType lhsCellar; lhsCellar = this.getCellar(); YesNotApplicableType rhsCellar; rhsCellar = that.getCellar(); if (!strategy.equals(LocatorUtils.property(thisLocator, "cellar", lhsCellar), LocatorUtils.property(thatLocator, "cellar", rhsCellar), lhsCellar, rhsCellar, (this.cellar!= null), (that.cellar!= null))) { return false; } } { String lhsDeposit; lhsDeposit = this.getDeposit(); String rhsDeposit; rhsDeposit = that.getDeposit(); if (!strategy.equals(LocatorUtils.property(thisLocator, "deposit", lhsDeposit), LocatorUtils.property(thatLocator, "deposit", rhsDeposit), lhsDeposit, rhsDeposit, (this.deposit!= null), (that.deposit!= null))) { return false; } } { EnergyPerformanceCertificate lhsEnergyCertificate; lhsEnergyCertificate = this.getEnergyCertificate(); EnergyPerformanceCertificate rhsEnergyCertificate; rhsEnergyCertificate = that.getEnergyCertificate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "energyCertificate", lhsEnergyCertificate), LocatorUtils.property(thatLocator, "energyCertificate", rhsEnergyCertificate), lhsEnergyCertificate, rhsEnergyCertificate, (this.energyCertificate!= null), (that.energyCertificate!= null))) { return false; } } { CommercializationType lhsCommercializationType; lhsCommercializationType = this.getCommercializationType(); CommercializationType rhsCommercializationType; rhsCommercializationType = that.getCommercializationType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "commercializationType", lhsCommercializationType), LocatorUtils.property(thatLocator, "commercializationType", rhsCommercializationType), lhsCommercializationType, rhsCommercializationType, (this.commercializationType!= null), (that.commercializationType!= null))) { return false; } } { Price lhsPrice; lhsPrice = this.getPrice(); Price rhsPrice; rhsPrice = that.getPrice(); if (!strategy.equals(LocatorUtils.property(thisLocator, "price", lhsPrice), LocatorUtils.property(thatLocator, "price", rhsPrice), lhsPrice, rhsPrice, (this.price!= null), (that.price!= null))) { return false; } } { Price lhsCalculatedPrice; lhsCalculatedPrice = this.getCalculatedPrice(); Price rhsCalculatedPrice; rhsCalculatedPrice = that.getCalculatedPrice(); if (!strategy.equals(LocatorUtils.property(thisLocator, "calculatedPrice", lhsCalculatedPrice), LocatorUtils.property(thatLocator, "calculatedPrice", rhsCalculatedPrice), lhsCalculatedPrice, rhsCalculatedPrice, (this.calculatedPrice!= null), (that.calculatedPrice!= null))) { return false; } } { BigDecimal lhsTotalFloorSpace; lhsTotalFloorSpace = this.getTotalFloorSpace(); BigDecimal rhsTotalFloorSpace; rhsTotalFloorSpace = that.getTotalFloorSpace(); if (!strategy.equals(LocatorUtils.property(thisLocator, "totalFloorSpace", lhsTotalFloorSpace), LocatorUtils.property(thatLocator, "totalFloorSpace", rhsTotalFloorSpace), lhsTotalFloorSpace, rhsTotalFloorSpace, (this.totalFloorSpace!= null), (that.totalFloorSpace!= null))) { return false; } } { BigDecimal lhsNetFloorSpace; lhsNetFloorSpace = this.getNetFloorSpace(); BigDecimal rhsNetFloorSpace; rhsNetFloorSpace = that.getNetFloorSpace(); if (!strategy.equals(LocatorUtils.property(thisLocator, "netFloorSpace", lhsNetFloorSpace), LocatorUtils.property(thatLocator, "netFloorSpace", rhsNetFloorSpace), lhsNetFloorSpace, rhsNetFloorSpace, (this.netFloorSpace!= null), (that.netFloorSpace!= null))) { return false; } } { BigDecimal lhsMinDivisible; lhsMinDivisible = this.getMinDivisible(); BigDecimal rhsMinDivisible; rhsMinDivisible = that.getMinDivisible(); if (!strategy.equals(LocatorUtils.property(thisLocator, "minDivisible", lhsMinDivisible), LocatorUtils.property(thatLocator, "minDivisible", rhsMinDivisible), lhsMinDivisible, rhsMinDivisible, (this.minDivisible!= null), (that.minDivisible!= null))) { return false; } } { CourtageInfo lhsCourtage; lhsCourtage = this.getCourtage(); CourtageInfo rhsCourtage; rhsCourtage = that.getCourtage(); if (!strategy.equals(LocatorUtils.property(thisLocator, "courtage", lhsCourtage), LocatorUtils.property(thatLocator, "courtage", rhsCourtage), lhsCourtage, rhsCourtage, (this.courtage!= null), (that.courtage!= null))) { return false; } } { Long lhsDistanceToMRS; lhsDistanceToMRS = this.getDistanceToMRS(); Long rhsDistanceToMRS; rhsDistanceToMRS = that.getDistanceToMRS(); if (!strategy.equals(LocatorUtils.property(thisLocator, "distanceToMRS", lhsDistanceToMRS), LocatorUtils.property(thatLocator, "distanceToMRS", rhsDistanceToMRS), lhsDistanceToMRS, rhsDistanceToMRS, (this.distanceToMRS!= null), (that.distanceToMRS!= null))) { return false; } } { Long lhsDistanceToFM; lhsDistanceToFM = this.getDistanceToFM(); Long rhsDistanceToFM; rhsDistanceToFM = that.getDistanceToFM(); if (!strategy.equals(LocatorUtils.property(thisLocator, "distanceToFM", lhsDistanceToFM), LocatorUtils.property(thatLocator, "distanceToFM", rhsDistanceToFM), lhsDistanceToFM, rhsDistanceToFM, (this.distanceToFM!= null), (that.distanceToFM!= null))) { return false; } } { Long lhsDistanceToPT; lhsDistanceToPT = this.getDistanceToPT(); Long rhsDistanceToPT; rhsDistanceToPT = that.getDistanceToPT(); if (!strategy.equals(LocatorUtils.property(thisLocator, "distanceToPT", lhsDistanceToPT), LocatorUtils.property(thatLocator, "distanceToPT", rhsDistanceToPT), lhsDistanceToPT, rhsDistanceToPT, (this.distanceToPT!= null), (that.distanceToPT!= null))) { return false; } } { Long lhsDistanceToAirport; lhsDistanceToAirport = this.getDistanceToAirport(); Long rhsDistanceToAirport; rhsDistanceToAirport = that.getDistanceToAirport(); if (!strategy.equals(LocatorUtils.property(thisLocator, "distanceToAirport", lhsDistanceToAirport), LocatorUtils.property(thatLocator, "distanceToAirport", rhsDistanceToAirport), lhsDistanceToAirport, rhsDistanceToAirport, (this.distanceToAirport!= null), (that.distanceToAirport!= null))) { return false; } } { RealEstateCondition lhsCondition; lhsCondition = this.getCondition(); RealEstateCondition rhsCondition; rhsCondition = that.getCondition(); if (!strategy.equals(LocatorUtils.property(thisLocator, "condition", lhsCondition), LocatorUtils.property(thatLocator, "condition", rhsCondition), lhsCondition, rhsCondition, (this.condition!= null), (that.condition!= null))) { return false; } } { Long lhsNumberOfParkingSpaces; lhsNumberOfParkingSpaces = this.getNumberOfParkingSpaces(); Long rhsNumberOfParkingSpaces; rhsNumberOfParkingSpaces = that.getNumberOfParkingSpaces(); if (!strategy.equals(LocatorUtils.property(thisLocator, "numberOfParkingSpaces", lhsNumberOfParkingSpaces), LocatorUtils.property(thatLocator, "numberOfParkingSpaces", rhsNumberOfParkingSpaces), lhsNumberOfParkingSpaces, rhsNumberOfParkingSpaces, (this.numberOfParkingSpaces!= null), (that.numberOfParkingSpaces!= null))) { return false; } } { BigDecimal lhsParkingSpacePrice; lhsParkingSpacePrice = this.getParkingSpacePrice(); BigDecimal rhsParkingSpacePrice; rhsParkingSpacePrice = that.getParkingSpacePrice(); if (!strategy.equals(LocatorUtils.property(thisLocator, "parkingSpacePrice", lhsParkingSpacePrice), LocatorUtils.property(thatLocator, "parkingSpacePrice", rhsParkingSpacePrice), lhsParkingSpacePrice, rhsParkingSpacePrice, (this.parkingSpacePrice!= null), (that.parkingSpacePrice!= null))) { return false; } } { Long lhsLastRefurbishment; lhsLastRefurbishment = this.getLastRefurbishment(); Long rhsLastRefurbishment; rhsLastRefurbishment = that.getLastRefurbishment(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lastRefurbishment", lhsLastRefurbishment), LocatorUtils.property(thatLocator, "lastRefurbishment", rhsLastRefurbishment), lhsLastRefurbishment, rhsLastRefurbishment, (this.lastRefurbishment!= null), (that.lastRefurbishment!= null))) { return false; } } { InteriorQuality lhsInteriorQuality; lhsInteriorQuality = this.getInteriorQuality(); InteriorQuality rhsInteriorQuality; rhsInteriorQuality = that.getInteriorQuality(); if (!strategy.equals(LocatorUtils.property(thisLocator, "interiorQuality", lhsInteriorQuality), LocatorUtils.property(thatLocator, "interiorQuality", rhsInteriorQuality), lhsInteriorQuality, rhsInteriorQuality, (this.interiorQuality!= null), (that.interiorQuality!= null))) { return false; } } { Long lhsConstructionYear; lhsConstructionYear = this.getConstructionYear(); Long rhsConstructionYear; rhsConstructionYear = that.getConstructionYear(); if (!strategy.equals(LocatorUtils.property(thisLocator, "constructionYear", lhsConstructionYear), LocatorUtils.property(thatLocator, "constructionYear", rhsConstructionYear), lhsConstructionYear, rhsConstructionYear, (this.constructionYear!= null), (that.constructionYear!= null))) { return false; } } { Boolean lhsConstructionYearUnknown; lhsConstructionYearUnknown = this.isConstructionYearUnknown(); Boolean rhsConstructionYearUnknown; rhsConstructionYearUnknown = that.isConstructionYearUnknown(); if (!strategy.equals(LocatorUtils.property(thisLocator, "constructionYearUnknown", lhsConstructionYearUnknown), LocatorUtils.property(thatLocator, "constructionYearUnknown", rhsConstructionYearUnknown), lhsConstructionYearUnknown, rhsConstructionYearUnknown, (this.constructionYearUnknown!= null), (that.constructionYearUnknown!= null))) { return false; } } { String lhsFreeFrom; lhsFreeFrom = this.getFreeFrom(); String rhsFreeFrom; rhsFreeFrom = that.getFreeFrom(); if (!strategy.equals(LocatorUtils.property(thisLocator, "freeFrom", lhsFreeFrom), LocatorUtils.property(thatLocator, "freeFrom", rhsFreeFrom), lhsFreeFrom, rhsFreeFrom, (this.freeFrom!= null), (that.freeFrom!= null))) { return false; } } { HeatingType lhsHeatingType; lhsHeatingType = this.getHeatingType(); HeatingType rhsHeatingType; rhsHeatingType = that.getHeatingType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "heatingType", lhsHeatingType), LocatorUtils.property(thatLocator, "heatingType", rhsHeatingType), lhsHeatingType, rhsHeatingType, (this.heatingType!= null), (that.heatingType!= null))) { return false; } } { HeatingTypeEnev2014 lhsHeatingTypeEnev2014; lhsHeatingTypeEnev2014 = this.getHeatingTypeEnev2014(); HeatingTypeEnev2014 rhsHeatingTypeEnev2014; rhsHeatingTypeEnev2014 = that.getHeatingTypeEnev2014(); if (!strategy.equals(LocatorUtils.property(thisLocator, "heatingTypeEnev2014", lhsHeatingTypeEnev2014), LocatorUtils.property(thatLocator, "heatingTypeEnev2014", rhsHeatingTypeEnev2014), lhsHeatingTypeEnev2014, rhsHeatingTypeEnev2014, (this.heatingTypeEnev2014 != null), (that.heatingTypeEnev2014 != null))) { return false; } } { FiringTypes lhsFiringTypes; lhsFiringTypes = this.getFiringTypes(); FiringTypes rhsFiringTypes; rhsFiringTypes = that.getFiringTypes(); if (!strategy.equals(LocatorUtils.property(thisLocator, "firingTypes", lhsFiringTypes), LocatorUtils.property(thatLocator, "firingTypes", rhsFiringTypes), lhsFiringTypes, rhsFiringTypes, (this.firingTypes!= null), (that.firingTypes!= null))) { return false; } } { EnergySourcesEnev2014 lhsEnergySourcesEnev2014; lhsEnergySourcesEnev2014 = this.getEnergySourcesEnev2014(); EnergySourcesEnev2014 rhsEnergySourcesEnev2014; rhsEnergySourcesEnev2014 = that.getEnergySourcesEnev2014(); if (!strategy.equals(LocatorUtils.property(thisLocator, "energySourcesEnev2014", lhsEnergySourcesEnev2014), LocatorUtils.property(thatLocator, "energySourcesEnev2014", rhsEnergySourcesEnev2014), lhsEnergySourcesEnev2014, rhsEnergySourcesEnev2014, (this.energySourcesEnev2014 != null), (that.energySourcesEnev2014 != null))) { return false; } } { BigDecimal lhsThermalCharacteristic; lhsThermalCharacteristic = this.getThermalCharacteristic(); BigDecimal rhsThermalCharacteristic; rhsThermalCharacteristic = that.getThermalCharacteristic(); if (!strategy.equals(LocatorUtils.property(thisLocator, "thermalCharacteristic", lhsThermalCharacteristic), LocatorUtils.property(thatLocator, "thermalCharacteristic", rhsThermalCharacteristic), lhsThermalCharacteristic, rhsThermalCharacteristic, (this.thermalCharacteristic!= null), (that.thermalCharacteristic!= null))) { return false; } } { YesNotApplicableType lhsEnergyConsumptionContainsWarmWater; lhsEnergyConsumptionContainsWarmWater = this.getEnergyConsumptionContainsWarmWater(); YesNotApplicableType rhsEnergyConsumptionContainsWarmWater; rhsEnergyConsumptionContainsWarmWater = that.getEnergyConsumptionContainsWarmWater(); if (!strategy.equals(LocatorUtils.property(thisLocator, "energyConsumptionContainsWarmWater", lhsEnergyConsumptionContainsWarmWater), LocatorUtils.property(thatLocator, "energyConsumptionContainsWarmWater", rhsEnergyConsumptionContainsWarmWater), lhsEnergyConsumptionContainsWarmWater, rhsEnergyConsumptionContainsWarmWater, (this.energyConsumptionContainsWarmWater!= null), (that.energyConsumptionContainsWarmWater!= null))) { return false; } } { BuildingEnergyRatingType lhsBuildingEnergyRatingType; lhsBuildingEnergyRatingType = this.getBuildingEnergyRatingType(); BuildingEnergyRatingType rhsBuildingEnergyRatingType; rhsBuildingEnergyRatingType = that.getBuildingEnergyRatingType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "buildingEnergyRatingType", lhsBuildingEnergyRatingType), LocatorUtils.property(thatLocator, "buildingEnergyRatingType", rhsBuildingEnergyRatingType), lhsBuildingEnergyRatingType, rhsBuildingEnergyRatingType, (this.buildingEnergyRatingType!= null), (that.buildingEnergyRatingType!= null))) { return false; } } { BigDecimal lhsAdditionalArea; lhsAdditionalArea = this.getAdditionalArea(); BigDecimal rhsAdditionalArea; rhsAdditionalArea = that.getAdditionalArea(); if (!strategy.equals(LocatorUtils.property(thisLocator, "additionalArea", lhsAdditionalArea), LocatorUtils.property(thatLocator, "additionalArea", rhsAdditionalArea), lhsAdditionalArea, rhsAdditionalArea, (this.additionalArea!= null), (that.additionalArea!= null))) { return false; } } { String lhsNumberOfFloors; lhsNumberOfFloors = this.getNumberOfFloors(); String rhsNumberOfFloors; rhsNumberOfFloors = that.getNumberOfFloors(); if (!strategy.equals(LocatorUtils.property(thisLocator, "numberOfFloors", lhsNumberOfFloors), LocatorUtils.property(thatLocator, "numberOfFloors", rhsNumberOfFloors), lhsNumberOfFloors, rhsNumberOfFloors, (this.numberOfFloors!= null), (that.numberOfFloors!= null))) { return false; } } { Price lhsAdditionalCosts; lhsAdditionalCosts = this.getAdditionalCosts(); Price rhsAdditionalCosts; rhsAdditionalCosts = that.getAdditionalCosts(); if (!strategy.equals(LocatorUtils.property(thisLocator, "additionalCosts", lhsAdditionalCosts), LocatorUtils.property(thatLocator, "additionalCosts", rhsAdditionalCosts), lhsAdditionalCosts, rhsAdditionalCosts, (this.additionalCosts!= null), (that.additionalCosts!= null))) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy