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

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

Go to download

OpenEstate-IS24-REST is a client library for the REST-Webservice of ImmobilienScout24.de written in Java.

There is a newer version: 0.5
Show newest version

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.FlooringType;
import org.openestate.is24.restapi.xml.common.HeatingType;
import org.openestate.is24.restapi.xml.common.HeatingTypeEnev2014;
import org.openestate.is24.restapi.xml.common.IndustryType;
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 Industrie (Hallen/Produktion)
 * 
 * 

Java class for Industry complex type. * *

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

 * <complexType name="Industry">
 *   <complexContent>
 *     <extension base="{http://rest.immobilienscout24.de/schema/offer/realestates/1.0}RealEstate">
 *       <sequence>
 *         <group ref="{http://rest.immobilienscout24.de/schema/common/1.0}ExtendedIndustryGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Industry", propOrder = { "industryType", "areaDivisibleFrom", "plotArea", "hallHeight", "flooringType", "ramp", "lift", "autoLift", "goodsLift", "goodsLiftLoad", "craneRunway", "craneRunwayLoad", "floorLoad", "connectedLoad", "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 Industry extends RealEstate implements Serializable, Cloneable, CopyTo2, Equals2, ToString2 { @XmlElement(required = true) @XmlSchemaType(name = "string") protected IndustryType industryType; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") @Deprecated protected BigDecimal areaDivisibleFrom; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal plotArea; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal hallHeight; @XmlSchemaType(name = "string") protected FlooringType flooringType; @XmlSchemaType(name = "string") protected YesNotApplicableType ramp; @XmlSchemaType(name = "string") protected YesNotApplicableType lift; @XmlSchemaType(name = "string") protected YesNotApplicableType autoLift; @XmlSchemaType(name = "string") protected YesNotApplicableType goodsLift; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal goodsLiftLoad; @XmlSchemaType(name = "string") protected YesNotApplicableType craneRunway; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal craneRunwayLoad; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "double") protected BigDecimal floorLoad; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter5 .class) @XmlSchemaType(name = "int") protected Long connectedLoad; 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 industryType property. * * @return * possible object is * {@link IndustryType } * */ public IndustryType getIndustryType() { return industryType; } /** * Sets the value of the industryType property. * * @param value * allowed object is * {@link IndustryType } * */ public void setIndustryType(IndustryType value) { this.industryType = value; } /** * Gets the value of the areaDivisibleFrom property. * * @return * possible object is * {@link String } * */ @Deprecated public BigDecimal getAreaDivisibleFrom() { return areaDivisibleFrom; } /** * Sets the value of the areaDivisibleFrom property. * * @param value * allowed object is * {@link String } * */ @Deprecated public void setAreaDivisibleFrom(BigDecimal value) { this.areaDivisibleFrom = value; } /** * Gets the value of the plotArea property. * * @return * possible object is * {@link String } * */ public BigDecimal getPlotArea() { return plotArea; } /** * Sets the value of the plotArea property. * * @param value * allowed object is * {@link String } * */ public void setPlotArea(BigDecimal value) { this.plotArea = value; } /** * Gets the value of the hallHeight property. * * @return * possible object is * {@link String } * */ public BigDecimal getHallHeight() { return hallHeight; } /** * Sets the value of the hallHeight property. * * @param value * allowed object is * {@link String } * */ public void setHallHeight(BigDecimal value) { this.hallHeight = value; } /** * Gets the value of the flooringType property. * * @return * possible object is * {@link FlooringType } * */ public FlooringType getFlooringType() { return flooringType; } /** * Sets the value of the flooringType property. * * @param value * allowed object is * {@link FlooringType } * */ public void setFlooringType(FlooringType value) { this.flooringType = value; } /** * Gets the value of the ramp property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getRamp() { return ramp; } /** * Sets the value of the ramp property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setRamp(YesNotApplicableType value) { this.ramp = 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 autoLift property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getAutoLift() { return autoLift; } /** * Sets the value of the autoLift property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setAutoLift(YesNotApplicableType value) { this.autoLift = value; } /** * Gets the value of the goodsLift property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getGoodsLift() { return goodsLift; } /** * Sets the value of the goodsLift property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setGoodsLift(YesNotApplicableType value) { this.goodsLift = value; } /** * Gets the value of the goodsLiftLoad property. * * @return * possible object is * {@link String } * */ public BigDecimal getGoodsLiftLoad() { return goodsLiftLoad; } /** * Sets the value of the goodsLiftLoad property. * * @param value * allowed object is * {@link String } * */ public void setGoodsLiftLoad(BigDecimal value) { this.goodsLiftLoad = value; } /** * Gets the value of the craneRunway property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getCraneRunway() { return craneRunway; } /** * Sets the value of the craneRunway property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setCraneRunway(YesNotApplicableType value) { this.craneRunway = value; } /** * Gets the value of the craneRunwayLoad property. * * @return * possible object is * {@link String } * */ public BigDecimal getCraneRunwayLoad() { return craneRunwayLoad; } /** * Sets the value of the craneRunwayLoad property. * * @param value * allowed object is * {@link String } * */ public void setCraneRunwayLoad(BigDecimal value) { this.craneRunwayLoad = value; } /** * Gets the value of the floorLoad property. * * @return * possible object is * {@link String } * */ public BigDecimal getFloorLoad() { return floorLoad; } /** * Sets the value of the floorLoad property. * * @param value * allowed object is * {@link String } * */ public void setFloorLoad(BigDecimal value) { this.floorLoad = value; } /** * Gets the value of the connectedLoad property. * * @return * possible object is * {@link String } * */ public Long getConnectedLoad() { return connectedLoad; } /** * Sets the value of the connectedLoad property. * * @param value * allowed object is * {@link String } * */ public void setConnectedLoad(Long value) { this.connectedLoad = 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); { IndustryType theIndustryType; theIndustryType = this.getIndustryType(); strategy.appendField(locator, this, "industryType", buffer, theIndustryType, (this.industryType!= null)); } { BigDecimal theAreaDivisibleFrom; theAreaDivisibleFrom = this.getAreaDivisibleFrom(); strategy.appendField(locator, this, "areaDivisibleFrom", buffer, theAreaDivisibleFrom, (this.areaDivisibleFrom!= null)); } { BigDecimal thePlotArea; thePlotArea = this.getPlotArea(); strategy.appendField(locator, this, "plotArea", buffer, thePlotArea, (this.plotArea!= null)); } { BigDecimal theHallHeight; theHallHeight = this.getHallHeight(); strategy.appendField(locator, this, "hallHeight", buffer, theHallHeight, (this.hallHeight!= null)); } { FlooringType theFlooringType; theFlooringType = this.getFlooringType(); strategy.appendField(locator, this, "flooringType", buffer, theFlooringType, (this.flooringType!= null)); } { YesNotApplicableType theRamp; theRamp = this.getRamp(); strategy.appendField(locator, this, "ramp", buffer, theRamp, (this.ramp!= null)); } { YesNotApplicableType theLift; theLift = this.getLift(); strategy.appendField(locator, this, "lift", buffer, theLift, (this.lift!= null)); } { YesNotApplicableType theAutoLift; theAutoLift = this.getAutoLift(); strategy.appendField(locator, this, "autoLift", buffer, theAutoLift, (this.autoLift!= null)); } { YesNotApplicableType theGoodsLift; theGoodsLift = this.getGoodsLift(); strategy.appendField(locator, this, "goodsLift", buffer, theGoodsLift, (this.goodsLift!= null)); } { BigDecimal theGoodsLiftLoad; theGoodsLiftLoad = this.getGoodsLiftLoad(); strategy.appendField(locator, this, "goodsLiftLoad", buffer, theGoodsLiftLoad, (this.goodsLiftLoad!= null)); } { YesNotApplicableType theCraneRunway; theCraneRunway = this.getCraneRunway(); strategy.appendField(locator, this, "craneRunway", buffer, theCraneRunway, (this.craneRunway!= null)); } { BigDecimal theCraneRunwayLoad; theCraneRunwayLoad = this.getCraneRunwayLoad(); strategy.appendField(locator, this, "craneRunwayLoad", buffer, theCraneRunwayLoad, (this.craneRunwayLoad!= null)); } { BigDecimal theFloorLoad; theFloorLoad = this.getFloorLoad(); strategy.appendField(locator, this, "floorLoad", buffer, theFloorLoad, (this.floorLoad!= null)); } { Long theConnectedLoad; theConnectedLoad = this.getConnectedLoad(); strategy.appendField(locator, this, "connectedLoad", buffer, theConnectedLoad, (this.connectedLoad!= 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 Industry) { final Industry copy = ((Industry) draftCopy); { Boolean industryTypeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.industryType!= null)); if (industryTypeShouldBeCopiedAndSet == Boolean.TRUE) { IndustryType sourceIndustryType; sourceIndustryType = this.getIndustryType(); IndustryType copyIndustryType = ((IndustryType) strategy.copy(LocatorUtils.property(locator, "industryType", sourceIndustryType), sourceIndustryType, (this.industryType!= null))); copy.setIndustryType(copyIndustryType); } else { if (industryTypeShouldBeCopiedAndSet == Boolean.FALSE) { copy.industryType = null; } } } { Boolean areaDivisibleFromShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.areaDivisibleFrom!= null)); if (areaDivisibleFromShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceAreaDivisibleFrom; sourceAreaDivisibleFrom = this.getAreaDivisibleFrom(); BigDecimal copyAreaDivisibleFrom = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "areaDivisibleFrom", sourceAreaDivisibleFrom), sourceAreaDivisibleFrom, (this.areaDivisibleFrom!= null))); copy.setAreaDivisibleFrom(copyAreaDivisibleFrom); } else { if (areaDivisibleFromShouldBeCopiedAndSet == Boolean.FALSE) { copy.areaDivisibleFrom = null; } } } { Boolean plotAreaShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.plotArea!= null)); if (plotAreaShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourcePlotArea; sourcePlotArea = this.getPlotArea(); BigDecimal copyPlotArea = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "plotArea", sourcePlotArea), sourcePlotArea, (this.plotArea!= null))); copy.setPlotArea(copyPlotArea); } else { if (plotAreaShouldBeCopiedAndSet == Boolean.FALSE) { copy.plotArea = null; } } } { Boolean hallHeightShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.hallHeight!= null)); if (hallHeightShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceHallHeight; sourceHallHeight = this.getHallHeight(); BigDecimal copyHallHeight = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "hallHeight", sourceHallHeight), sourceHallHeight, (this.hallHeight!= null))); copy.setHallHeight(copyHallHeight); } else { if (hallHeightShouldBeCopiedAndSet == Boolean.FALSE) { copy.hallHeight = null; } } } { Boolean flooringTypeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.flooringType!= null)); if (flooringTypeShouldBeCopiedAndSet == Boolean.TRUE) { FlooringType sourceFlooringType; sourceFlooringType = this.getFlooringType(); FlooringType copyFlooringType = ((FlooringType) strategy.copy(LocatorUtils.property(locator, "flooringType", sourceFlooringType), sourceFlooringType, (this.flooringType!= null))); copy.setFlooringType(copyFlooringType); } else { if (flooringTypeShouldBeCopiedAndSet == Boolean.FALSE) { copy.flooringType = null; } } } { Boolean rampShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.ramp!= null)); if (rampShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceRamp; sourceRamp = this.getRamp(); YesNotApplicableType copyRamp = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "ramp", sourceRamp), sourceRamp, (this.ramp!= null))); copy.setRamp(copyRamp); } else { if (rampShouldBeCopiedAndSet == Boolean.FALSE) { copy.ramp = 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 autoLiftShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.autoLift!= null)); if (autoLiftShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceAutoLift; sourceAutoLift = this.getAutoLift(); YesNotApplicableType copyAutoLift = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "autoLift", sourceAutoLift), sourceAutoLift, (this.autoLift!= null))); copy.setAutoLift(copyAutoLift); } else { if (autoLiftShouldBeCopiedAndSet == Boolean.FALSE) { copy.autoLift = null; } } } { Boolean goodsLiftShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.goodsLift!= null)); if (goodsLiftShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceGoodsLift; sourceGoodsLift = this.getGoodsLift(); YesNotApplicableType copyGoodsLift = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "goodsLift", sourceGoodsLift), sourceGoodsLift, (this.goodsLift!= null))); copy.setGoodsLift(copyGoodsLift); } else { if (goodsLiftShouldBeCopiedAndSet == Boolean.FALSE) { copy.goodsLift = null; } } } { Boolean goodsLiftLoadShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.goodsLiftLoad!= null)); if (goodsLiftLoadShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceGoodsLiftLoad; sourceGoodsLiftLoad = this.getGoodsLiftLoad(); BigDecimal copyGoodsLiftLoad = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "goodsLiftLoad", sourceGoodsLiftLoad), sourceGoodsLiftLoad, (this.goodsLiftLoad!= null))); copy.setGoodsLiftLoad(copyGoodsLiftLoad); } else { if (goodsLiftLoadShouldBeCopiedAndSet == Boolean.FALSE) { copy.goodsLiftLoad = null; } } } { Boolean craneRunwayShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.craneRunway!= null)); if (craneRunwayShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceCraneRunway; sourceCraneRunway = this.getCraneRunway(); YesNotApplicableType copyCraneRunway = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "craneRunway", sourceCraneRunway), sourceCraneRunway, (this.craneRunway!= null))); copy.setCraneRunway(copyCraneRunway); } else { if (craneRunwayShouldBeCopiedAndSet == Boolean.FALSE) { copy.craneRunway = null; } } } { Boolean craneRunwayLoadShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.craneRunwayLoad!= null)); if (craneRunwayLoadShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceCraneRunwayLoad; sourceCraneRunwayLoad = this.getCraneRunwayLoad(); BigDecimal copyCraneRunwayLoad = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "craneRunwayLoad", sourceCraneRunwayLoad), sourceCraneRunwayLoad, (this.craneRunwayLoad!= null))); copy.setCraneRunwayLoad(copyCraneRunwayLoad); } else { if (craneRunwayLoadShouldBeCopiedAndSet == Boolean.FALSE) { copy.craneRunwayLoad = null; } } } { Boolean floorLoadShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.floorLoad!= null)); if (floorLoadShouldBeCopiedAndSet == Boolean.TRUE) { BigDecimal sourceFloorLoad; sourceFloorLoad = this.getFloorLoad(); BigDecimal copyFloorLoad = ((BigDecimal) strategy.copy(LocatorUtils.property(locator, "floorLoad", sourceFloorLoad), sourceFloorLoad, (this.floorLoad!= null))); copy.setFloorLoad(copyFloorLoad); } else { if (floorLoadShouldBeCopiedAndSet == Boolean.FALSE) { copy.floorLoad = null; } } } { Boolean connectedLoadShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.connectedLoad!= null)); if (connectedLoadShouldBeCopiedAndSet == Boolean.TRUE) { Long sourceConnectedLoad; sourceConnectedLoad = this.getConnectedLoad(); Long copyConnectedLoad = ((Long) strategy.copy(LocatorUtils.property(locator, "connectedLoad", sourceConnectedLoad), sourceConnectedLoad, (this.connectedLoad!= null))); copy.setConnectedLoad(copyConnectedLoad); } else { if (connectedLoadShouldBeCopiedAndSet == Boolean.FALSE) { copy.connectedLoad = 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 Industry(); } 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 Industry that = ((Industry) object); { IndustryType lhsIndustryType; lhsIndustryType = this.getIndustryType(); IndustryType rhsIndustryType; rhsIndustryType = that.getIndustryType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "industryType", lhsIndustryType), LocatorUtils.property(thatLocator, "industryType", rhsIndustryType), lhsIndustryType, rhsIndustryType, (this.industryType!= null), (that.industryType!= null))) { return false; } } { BigDecimal lhsAreaDivisibleFrom; lhsAreaDivisibleFrom = this.getAreaDivisibleFrom(); BigDecimal rhsAreaDivisibleFrom; rhsAreaDivisibleFrom = that.getAreaDivisibleFrom(); if (!strategy.equals(LocatorUtils.property(thisLocator, "areaDivisibleFrom", lhsAreaDivisibleFrom), LocatorUtils.property(thatLocator, "areaDivisibleFrom", rhsAreaDivisibleFrom), lhsAreaDivisibleFrom, rhsAreaDivisibleFrom, (this.areaDivisibleFrom!= null), (that.areaDivisibleFrom!= null))) { return false; } } { BigDecimal lhsPlotArea; lhsPlotArea = this.getPlotArea(); BigDecimal rhsPlotArea; rhsPlotArea = that.getPlotArea(); if (!strategy.equals(LocatorUtils.property(thisLocator, "plotArea", lhsPlotArea), LocatorUtils.property(thatLocator, "plotArea", rhsPlotArea), lhsPlotArea, rhsPlotArea, (this.plotArea!= null), (that.plotArea!= null))) { return false; } } { BigDecimal lhsHallHeight; lhsHallHeight = this.getHallHeight(); BigDecimal rhsHallHeight; rhsHallHeight = that.getHallHeight(); if (!strategy.equals(LocatorUtils.property(thisLocator, "hallHeight", lhsHallHeight), LocatorUtils.property(thatLocator, "hallHeight", rhsHallHeight), lhsHallHeight, rhsHallHeight, (this.hallHeight!= null), (that.hallHeight!= null))) { return false; } } { FlooringType lhsFlooringType; lhsFlooringType = this.getFlooringType(); FlooringType rhsFlooringType; rhsFlooringType = that.getFlooringType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "flooringType", lhsFlooringType), LocatorUtils.property(thatLocator, "flooringType", rhsFlooringType), lhsFlooringType, rhsFlooringType, (this.flooringType!= null), (that.flooringType!= null))) { return false; } } { YesNotApplicableType lhsRamp; lhsRamp = this.getRamp(); YesNotApplicableType rhsRamp; rhsRamp = that.getRamp(); if (!strategy.equals(LocatorUtils.property(thisLocator, "ramp", lhsRamp), LocatorUtils.property(thatLocator, "ramp", rhsRamp), lhsRamp, rhsRamp, (this.ramp!= null), (that.ramp!= 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 lhsAutoLift; lhsAutoLift = this.getAutoLift(); YesNotApplicableType rhsAutoLift; rhsAutoLift = that.getAutoLift(); if (!strategy.equals(LocatorUtils.property(thisLocator, "autoLift", lhsAutoLift), LocatorUtils.property(thatLocator, "autoLift", rhsAutoLift), lhsAutoLift, rhsAutoLift, (this.autoLift!= null), (that.autoLift!= null))) { return false; } } { YesNotApplicableType lhsGoodsLift; lhsGoodsLift = this.getGoodsLift(); YesNotApplicableType rhsGoodsLift; rhsGoodsLift = that.getGoodsLift(); if (!strategy.equals(LocatorUtils.property(thisLocator, "goodsLift", lhsGoodsLift), LocatorUtils.property(thatLocator, "goodsLift", rhsGoodsLift), lhsGoodsLift, rhsGoodsLift, (this.goodsLift!= null), (that.goodsLift!= null))) { return false; } } { BigDecimal lhsGoodsLiftLoad; lhsGoodsLiftLoad = this.getGoodsLiftLoad(); BigDecimal rhsGoodsLiftLoad; rhsGoodsLiftLoad = that.getGoodsLiftLoad(); if (!strategy.equals(LocatorUtils.property(thisLocator, "goodsLiftLoad", lhsGoodsLiftLoad), LocatorUtils.property(thatLocator, "goodsLiftLoad", rhsGoodsLiftLoad), lhsGoodsLiftLoad, rhsGoodsLiftLoad, (this.goodsLiftLoad!= null), (that.goodsLiftLoad!= null))) { return false; } } { YesNotApplicableType lhsCraneRunway; lhsCraneRunway = this.getCraneRunway(); YesNotApplicableType rhsCraneRunway; rhsCraneRunway = that.getCraneRunway(); if (!strategy.equals(LocatorUtils.property(thisLocator, "craneRunway", lhsCraneRunway), LocatorUtils.property(thatLocator, "craneRunway", rhsCraneRunway), lhsCraneRunway, rhsCraneRunway, (this.craneRunway!= null), (that.craneRunway!= null))) { return false; } } { BigDecimal lhsCraneRunwayLoad; lhsCraneRunwayLoad = this.getCraneRunwayLoad(); BigDecimal rhsCraneRunwayLoad; rhsCraneRunwayLoad = that.getCraneRunwayLoad(); if (!strategy.equals(LocatorUtils.property(thisLocator, "craneRunwayLoad", lhsCraneRunwayLoad), LocatorUtils.property(thatLocator, "craneRunwayLoad", rhsCraneRunwayLoad), lhsCraneRunwayLoad, rhsCraneRunwayLoad, (this.craneRunwayLoad!= null), (that.craneRunwayLoad!= null))) { return false; } } { BigDecimal lhsFloorLoad; lhsFloorLoad = this.getFloorLoad(); BigDecimal rhsFloorLoad; rhsFloorLoad = that.getFloorLoad(); if (!strategy.equals(LocatorUtils.property(thisLocator, "floorLoad", lhsFloorLoad), LocatorUtils.property(thatLocator, "floorLoad", rhsFloorLoad), lhsFloorLoad, rhsFloorLoad, (this.floorLoad!= null), (that.floorLoad!= null))) { return false; } } { Long lhsConnectedLoad; lhsConnectedLoad = this.getConnectedLoad(); Long rhsConnectedLoad; rhsConnectedLoad = that.getConnectedLoad(); if (!strategy.equals(LocatorUtils.property(thisLocator, "connectedLoad", lhsConnectedLoad), LocatorUtils.property(thatLocator, "connectedLoad", rhsConnectedLoad), lhsConnectedLoad, rhsConnectedLoad, (this.connectedLoad!= null), (that.connectedLoad!= 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