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

org.openestate.is24.restapi.xml.realestates.Office 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 java.util.ArrayList;
import java.util.List;
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.Adapter2;
import org.openestate.is24.restapi.xml.common.AirConditioningType;
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.InteriorQuality;
import org.openestate.is24.restapi.xml.common.ItInfrastructureType;
import org.openestate.is24.restapi.xml.common.OfficeRentDuration;
import org.openestate.is24.restapi.xml.common.OfficeType;
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 "Buero"
 * 
 * 

Java class for Office complex type. * *

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

 * <complexType name="Office">
 *   <complexContent>
 *     <extension base="{http://rest.immobilienscout24.de/schema/offer/realestates/1.0}RealEstate">
 *       <sequence>
 *         <group ref="{http://rest.immobilienscout24.de/schema/common/1.0}ExtendedOfficeGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Office", propOrder = { "officeType", "lift", "cellar", "handicappedAccessible", "flooringType", "deposit", "hasCanteen", "lanCables", "highVoltage", "kitchenComplete", "listed", "airConditioning", "officeRentDurations", "energyCertificate", "distanceToMRS", "distanceToFM", "distanceToPT", "distanceToAirport", "condition", "numberOfParkingSpaces", "parkingSpacePrice", "lastRefurbishment", "interiorQuality", "constructionYear", "constructionYearUnknown", "freeFrom", "heatingType", "heatingTypeEnev2014", "firingTypes", "energySourcesEnev2014", "thermalCharacteristic", "energyConsumptionContainsWarmWater", "buildingEnergyRatingType", "additionalArea", "numberOfFloors", "additionalCosts", "commercializationType", "price", "calculatedPrice", "totalFloorSpace", "netFloorSpace", "minDivisible", "courtage" }) public class Office extends RealEstate implements Serializable, Cloneable, CopyTo2, Equals2, ToString2 { @XmlElement(required = true) @XmlSchemaType(name = "string") protected OfficeType officeType; @XmlElement(defaultValue = "NOT_APPLICABLE") @XmlSchemaType(name = "string") protected YesNotApplicableType lift; @XmlSchemaType(name = "string") protected YesNotApplicableType cellar; @XmlSchemaType(name = "string") protected YesNotApplicableType handicappedAccessible; @XmlSchemaType(name = "string") protected FlooringType flooringType; @XmlJavaTypeAdapter(Adapter2 .class) protected String deposit; @XmlSchemaType(name = "string") protected YesNotApplicableType hasCanteen; @XmlSchemaType(name = "string") protected ItInfrastructureType lanCables; @XmlSchemaType(name = "string") protected YesNotApplicableType highVoltage; @XmlSchemaType(name = "string") protected YesNotApplicableType kitchenComplete; @XmlSchemaType(name = "string") protected YesNotApplicableType listed; @XmlSchemaType(name = "string") protected AirConditioningType airConditioning; protected Office.OfficeRentDurations officeRentDurations; protected EnergyPerformanceCertificate energyCertificate; @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; @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; /** * Gets the value of the officeType property. * * @return * possible object is * {@link OfficeType } * */ public OfficeType getOfficeType() { return officeType; } /** * Sets the value of the officeType property. * * @param value * allowed object is * {@link OfficeType } * */ public void setOfficeType(OfficeType value) { this.officeType = 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 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 handicappedAccessible property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getHandicappedAccessible() { return handicappedAccessible; } /** * Sets the value of the handicappedAccessible property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setHandicappedAccessible(YesNotApplicableType value) { this.handicappedAccessible = 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 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 hasCanteen property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getHasCanteen() { return hasCanteen; } /** * Sets the value of the hasCanteen property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setHasCanteen(YesNotApplicableType value) { this.hasCanteen = value; } /** * Gets the value of the lanCables property. * * @return * possible object is * {@link ItInfrastructureType } * */ public ItInfrastructureType getLanCables() { return lanCables; } /** * Sets the value of the lanCables property. * * @param value * allowed object is * {@link ItInfrastructureType } * */ public void setLanCables(ItInfrastructureType value) { this.lanCables = value; } /** * Gets the value of the highVoltage property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getHighVoltage() { return highVoltage; } /** * Sets the value of the highVoltage property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setHighVoltage(YesNotApplicableType value) { this.highVoltage = value; } /** * Gets the value of the kitchenComplete property. * * @return * possible object is * {@link YesNotApplicableType } * */ public YesNotApplicableType getKitchenComplete() { return kitchenComplete; } /** * Sets the value of the kitchenComplete property. * * @param value * allowed object is * {@link YesNotApplicableType } * */ public void setKitchenComplete(YesNotApplicableType value) { this.kitchenComplete = 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 airConditioning property. * * @return * possible object is * {@link AirConditioningType } * */ public AirConditioningType getAirConditioning() { return airConditioning; } /** * Sets the value of the airConditioning property. * * @param value * allowed object is * {@link AirConditioningType } * */ public void setAirConditioning(AirConditioningType value) { this.airConditioning = value; } /** * Gets the value of the officeRentDurations property. * * @return * possible object is * {@link Office.OfficeRentDurations } * */ public Office.OfficeRentDurations getOfficeRentDurations() { return officeRentDurations; } /** * Sets the value of the officeRentDurations property. * * @param value * allowed object is * {@link Office.OfficeRentDurations } * */ public void setOfficeRentDurations(Office.OfficeRentDurations value) { this.officeRentDurations = 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 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; } /** * 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; } 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); { OfficeType theOfficeType; theOfficeType = this.getOfficeType(); strategy.appendField(locator, this, "officeType", buffer, theOfficeType, (this.officeType!= null)); } { YesNotApplicableType theLift; theLift = this.getLift(); strategy.appendField(locator, this, "lift", buffer, theLift, (this.lift!= null)); } { YesNotApplicableType theCellar; theCellar = this.getCellar(); strategy.appendField(locator, this, "cellar", buffer, theCellar, (this.cellar!= null)); } { YesNotApplicableType theHandicappedAccessible; theHandicappedAccessible = this.getHandicappedAccessible(); strategy.appendField(locator, this, "handicappedAccessible", buffer, theHandicappedAccessible, (this.handicappedAccessible!= null)); } { FlooringType theFlooringType; theFlooringType = this.getFlooringType(); strategy.appendField(locator, this, "flooringType", buffer, theFlooringType, (this.flooringType!= null)); } { String theDeposit; theDeposit = this.getDeposit(); strategy.appendField(locator, this, "deposit", buffer, theDeposit, (this.deposit!= null)); } { YesNotApplicableType theHasCanteen; theHasCanteen = this.getHasCanteen(); strategy.appendField(locator, this, "hasCanteen", buffer, theHasCanteen, (this.hasCanteen!= null)); } { ItInfrastructureType theLanCables; theLanCables = this.getLanCables(); strategy.appendField(locator, this, "lanCables", buffer, theLanCables, (this.lanCables!= null)); } { YesNotApplicableType theHighVoltage; theHighVoltage = this.getHighVoltage(); strategy.appendField(locator, this, "highVoltage", buffer, theHighVoltage, (this.highVoltage!= null)); } { YesNotApplicableType theKitchenComplete; theKitchenComplete = this.getKitchenComplete(); strategy.appendField(locator, this, "kitchenComplete", buffer, theKitchenComplete, (this.kitchenComplete!= null)); } { YesNotApplicableType theListed; theListed = this.getListed(); strategy.appendField(locator, this, "listed", buffer, theListed, (this.listed!= null)); } { AirConditioningType theAirConditioning; theAirConditioning = this.getAirConditioning(); strategy.appendField(locator, this, "airConditioning", buffer, theAirConditioning, (this.airConditioning!= null)); } { Office.OfficeRentDurations theOfficeRentDurations; theOfficeRentDurations = this.getOfficeRentDurations(); strategy.appendField(locator, this, "officeRentDurations", buffer, theOfficeRentDurations, (this.officeRentDurations!= null)); } { EnergyPerformanceCertificate theEnergyCertificate; theEnergyCertificate = this.getEnergyCertificate(); strategy.appendField(locator, this, "energyCertificate", buffer, theEnergyCertificate, (this.energyCertificate!= 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)); } { 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)); } 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 Office) { final Office copy = ((Office) draftCopy); { Boolean officeTypeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.officeType!= null)); if (officeTypeShouldBeCopiedAndSet == Boolean.TRUE) { OfficeType sourceOfficeType; sourceOfficeType = this.getOfficeType(); OfficeType copyOfficeType = ((OfficeType) strategy.copy(LocatorUtils.property(locator, "officeType", sourceOfficeType), sourceOfficeType, (this.officeType!= null))); copy.setOfficeType(copyOfficeType); } else { if (officeTypeShouldBeCopiedAndSet == Boolean.FALSE) { copy.officeType = 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 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 handicappedAccessibleShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.handicappedAccessible!= null)); if (handicappedAccessibleShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceHandicappedAccessible; sourceHandicappedAccessible = this.getHandicappedAccessible(); YesNotApplicableType copyHandicappedAccessible = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "handicappedAccessible", sourceHandicappedAccessible), sourceHandicappedAccessible, (this.handicappedAccessible!= null))); copy.setHandicappedAccessible(copyHandicappedAccessible); } else { if (handicappedAccessibleShouldBeCopiedAndSet == Boolean.FALSE) { copy.handicappedAccessible = 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 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 hasCanteenShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.hasCanteen!= null)); if (hasCanteenShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceHasCanteen; sourceHasCanteen = this.getHasCanteen(); YesNotApplicableType copyHasCanteen = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "hasCanteen", sourceHasCanteen), sourceHasCanteen, (this.hasCanteen!= null))); copy.setHasCanteen(copyHasCanteen); } else { if (hasCanteenShouldBeCopiedAndSet == Boolean.FALSE) { copy.hasCanteen = null; } } } { Boolean lanCablesShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.lanCables!= null)); if (lanCablesShouldBeCopiedAndSet == Boolean.TRUE) { ItInfrastructureType sourceLanCables; sourceLanCables = this.getLanCables(); ItInfrastructureType copyLanCables = ((ItInfrastructureType) strategy.copy(LocatorUtils.property(locator, "lanCables", sourceLanCables), sourceLanCables, (this.lanCables!= null))); copy.setLanCables(copyLanCables); } else { if (lanCablesShouldBeCopiedAndSet == Boolean.FALSE) { copy.lanCables = null; } } } { Boolean highVoltageShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.highVoltage!= null)); if (highVoltageShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceHighVoltage; sourceHighVoltage = this.getHighVoltage(); YesNotApplicableType copyHighVoltage = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "highVoltage", sourceHighVoltage), sourceHighVoltage, (this.highVoltage!= null))); copy.setHighVoltage(copyHighVoltage); } else { if (highVoltageShouldBeCopiedAndSet == Boolean.FALSE) { copy.highVoltage = null; } } } { Boolean kitchenCompleteShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.kitchenComplete!= null)); if (kitchenCompleteShouldBeCopiedAndSet == Boolean.TRUE) { YesNotApplicableType sourceKitchenComplete; sourceKitchenComplete = this.getKitchenComplete(); YesNotApplicableType copyKitchenComplete = ((YesNotApplicableType) strategy.copy(LocatorUtils.property(locator, "kitchenComplete", sourceKitchenComplete), sourceKitchenComplete, (this.kitchenComplete!= null))); copy.setKitchenComplete(copyKitchenComplete); } else { if (kitchenCompleteShouldBeCopiedAndSet == Boolean.FALSE) { copy.kitchenComplete = 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 airConditioningShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.airConditioning!= null)); if (airConditioningShouldBeCopiedAndSet == Boolean.TRUE) { AirConditioningType sourceAirConditioning; sourceAirConditioning = this.getAirConditioning(); AirConditioningType copyAirConditioning = ((AirConditioningType) strategy.copy(LocatorUtils.property(locator, "airConditioning", sourceAirConditioning), sourceAirConditioning, (this.airConditioning!= null))); copy.setAirConditioning(copyAirConditioning); } else { if (airConditioningShouldBeCopiedAndSet == Boolean.FALSE) { copy.airConditioning = null; } } } { Boolean officeRentDurationsShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.officeRentDurations!= null)); if (officeRentDurationsShouldBeCopiedAndSet == Boolean.TRUE) { Office.OfficeRentDurations sourceOfficeRentDurations; sourceOfficeRentDurations = this.getOfficeRentDurations(); Office.OfficeRentDurations copyOfficeRentDurations = ((Office.OfficeRentDurations) strategy.copy(LocatorUtils.property(locator, "officeRentDurations", sourceOfficeRentDurations), sourceOfficeRentDurations, (this.officeRentDurations!= null))); copy.setOfficeRentDurations(copyOfficeRentDurations); } else { if (officeRentDurationsShouldBeCopiedAndSet == Boolean.FALSE) { copy.officeRentDurations = 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 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; } } } { 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; } } } } return draftCopy; } public Object createNewInstance() { return new Office(); } 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 Office that = ((Office) object); { OfficeType lhsOfficeType; lhsOfficeType = this.getOfficeType(); OfficeType rhsOfficeType; rhsOfficeType = that.getOfficeType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "officeType", lhsOfficeType), LocatorUtils.property(thatLocator, "officeType", rhsOfficeType), lhsOfficeType, rhsOfficeType, (this.officeType!= null), (that.officeType!= 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 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; } } { YesNotApplicableType lhsHandicappedAccessible; lhsHandicappedAccessible = this.getHandicappedAccessible(); YesNotApplicableType rhsHandicappedAccessible; rhsHandicappedAccessible = that.getHandicappedAccessible(); if (!strategy.equals(LocatorUtils.property(thisLocator, "handicappedAccessible", lhsHandicappedAccessible), LocatorUtils.property(thatLocator, "handicappedAccessible", rhsHandicappedAccessible), lhsHandicappedAccessible, rhsHandicappedAccessible, (this.handicappedAccessible!= null), (that.handicappedAccessible!= 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; } } { 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; } } { YesNotApplicableType lhsHasCanteen; lhsHasCanteen = this.getHasCanteen(); YesNotApplicableType rhsHasCanteen; rhsHasCanteen = that.getHasCanteen(); if (!strategy.equals(LocatorUtils.property(thisLocator, "hasCanteen", lhsHasCanteen), LocatorUtils.property(thatLocator, "hasCanteen", rhsHasCanteen), lhsHasCanteen, rhsHasCanteen, (this.hasCanteen!= null), (that.hasCanteen!= null))) { return false; } } { ItInfrastructureType lhsLanCables; lhsLanCables = this.getLanCables(); ItInfrastructureType rhsLanCables; rhsLanCables = that.getLanCables(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lanCables", lhsLanCables), LocatorUtils.property(thatLocator, "lanCables", rhsLanCables), lhsLanCables, rhsLanCables, (this.lanCables!= null), (that.lanCables!= null))) { return false; } } { YesNotApplicableType lhsHighVoltage; lhsHighVoltage = this.getHighVoltage(); YesNotApplicableType rhsHighVoltage; rhsHighVoltage = that.getHighVoltage(); if (!strategy.equals(LocatorUtils.property(thisLocator, "highVoltage", lhsHighVoltage), LocatorUtils.property(thatLocator, "highVoltage", rhsHighVoltage), lhsHighVoltage, rhsHighVoltage, (this.highVoltage!= null), (that.highVoltage!= null))) { return false; } } { YesNotApplicableType lhsKitchenComplete; lhsKitchenComplete = this.getKitchenComplete(); YesNotApplicableType rhsKitchenComplete; rhsKitchenComplete = that.getKitchenComplete(); if (!strategy.equals(LocatorUtils.property(thisLocator, "kitchenComplete", lhsKitchenComplete), LocatorUtils.property(thatLocator, "kitchenComplete", rhsKitchenComplete), lhsKitchenComplete, rhsKitchenComplete, (this.kitchenComplete!= null), (that.kitchenComplete!= 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; } } { AirConditioningType lhsAirConditioning; lhsAirConditioning = this.getAirConditioning(); AirConditioningType rhsAirConditioning; rhsAirConditioning = that.getAirConditioning(); if (!strategy.equals(LocatorUtils.property(thisLocator, "airConditioning", lhsAirConditioning), LocatorUtils.property(thatLocator, "airConditioning", rhsAirConditioning), lhsAirConditioning, rhsAirConditioning, (this.airConditioning!= null), (that.airConditioning!= null))) { return false; } } { Office.OfficeRentDurations lhsOfficeRentDurations; lhsOfficeRentDurations = this.getOfficeRentDurations(); Office.OfficeRentDurations rhsOfficeRentDurations; rhsOfficeRentDurations = that.getOfficeRentDurations(); if (!strategy.equals(LocatorUtils.property(thisLocator, "officeRentDurations", lhsOfficeRentDurations), LocatorUtils.property(thatLocator, "officeRentDurations", rhsOfficeRentDurations), lhsOfficeRentDurations, rhsOfficeRentDurations, (this.officeRentDurations!= null), (that.officeRentDurations!= 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; } } { 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; } } { 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; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="officeRentDuration" type="{http://rest.immobilienscout24.de/schema/common/1.0}OfficeRentDuration" maxOccurs="4" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "officeRentDuration" }) public static class OfficeRentDurations implements Serializable, Cloneable, CopyTo2, Equals2, ToString2 { @XmlSchemaType(name = "string") protected List officeRentDuration; /** * Gets the value of the officeRentDuration property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the officeRentDuration property. * *

* For example, to add a new item, do as follows: *

         *    getOfficeRentDuration().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link OfficeRentDuration } * * */ public List getOfficeRentDuration() { if (officeRentDuration == null) { officeRentDuration = new ArrayList(); } return this.officeRentDuration; } 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) { { List theOfficeRentDuration; theOfficeRentDuration = (((this.officeRentDuration!= null)&&(!this.officeRentDuration.isEmpty()))?this.getOfficeRentDuration():null); strategy.appendField(locator, this, "officeRentDuration", buffer, theOfficeRentDuration, ((this.officeRentDuration!= null)&&(!this.officeRentDuration.isEmpty()))); } 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); if (draftCopy instanceof Office.OfficeRentDurations) { final Office.OfficeRentDurations copy = ((Office.OfficeRentDurations) draftCopy); { Boolean officeRentDurationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, ((this.officeRentDuration!= null)&&(!this.officeRentDuration.isEmpty()))); if (officeRentDurationShouldBeCopiedAndSet == Boolean.TRUE) { List sourceOfficeRentDuration; sourceOfficeRentDuration = (((this.officeRentDuration!= null)&&(!this.officeRentDuration.isEmpty()))?this.getOfficeRentDuration():null); @SuppressWarnings("unchecked") List copyOfficeRentDuration = ((List ) strategy.copy(LocatorUtils.property(locator, "officeRentDuration", sourceOfficeRentDuration), sourceOfficeRentDuration, ((this.officeRentDuration!= null)&&(!this.officeRentDuration.isEmpty())))); copy.officeRentDuration = null; if (copyOfficeRentDuration!= null) { List uniqueOfficeRentDurationl = copy.getOfficeRentDuration(); uniqueOfficeRentDurationl.addAll(copyOfficeRentDuration); } } else { if (officeRentDurationShouldBeCopiedAndSet == Boolean.FALSE) { copy.officeRentDuration = null; } } } } return draftCopy; } public Object createNewInstance() { return new Office.OfficeRentDurations(); } 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; } final Office.OfficeRentDurations that = ((Office.OfficeRentDurations) object); { List lhsOfficeRentDuration; lhsOfficeRentDuration = (((this.officeRentDuration!= null)&&(!this.officeRentDuration.isEmpty()))?this.getOfficeRentDuration():null); List rhsOfficeRentDuration; rhsOfficeRentDuration = (((that.officeRentDuration!= null)&&(!that.officeRentDuration.isEmpty()))?that.getOfficeRentDuration():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "officeRentDuration", lhsOfficeRentDuration), LocatorUtils.property(thatLocator, "officeRentDuration", rhsOfficeRentDuration), lhsOfficeRentDuration, rhsOfficeRentDuration, ((this.officeRentDuration!= null)&&(!this.officeRentDuration.isEmpty())), ((that.officeRentDuration!= null)&&(!that.officeRentDuration.isEmpty())))) { 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