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

org.openestate.io.openimmo.xml.Objekt Maven / Gradle / Ivy


package org.openestate.io.openimmo.xml;

import java.io.Serializable;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
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;


/**
 * Java class for <objekt> element.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "portalUniqueId",
    "portalObjId",
    "anbieterId",
    "oobjId",
    "zusatzRefnr",
    "exposeUrl",
    "vermarktungsart",
    "bezeichnung",
    "etage",
    "whgNr",
    "strasse",
    "ort",
    "land",
    "stadtbezirk",
    "preis",
    "gebot",
    "wae",
    "anzahlZimmer",
    "flaeche",
    "interessent",
    "userDefinedExtend"
})
@XmlRootElement(name = "objekt")
public class Objekt implements Serializable, Cloneable, CopyTo2, Equals2, ToString2
{

    @XmlElement(name = "portal_unique_id")
    protected String portalUniqueId;
    @XmlElement(name = "portal_obj_id")
    protected String portalObjId;
    @XmlElement(name = "anbieter_id")
    protected String anbieterId;
    @XmlElement(name = "oobj_id")
    protected String oobjId;
    @XmlElement(name = "zusatz_refnr")
    protected String zusatzRefnr;
    @XmlElement(name = "expose_url")
    protected String exposeUrl;
    protected List vermarktungsart;
    protected String bezeichnung;
    protected String etage;
    @XmlElement(name = "whg_nr")
    protected String whgNr;
    protected String strasse;
    protected String ort;
    protected String land;
    protected String stadtbezirk;
    protected String preis;
    protected String gebot;
    protected String wae;
    @XmlElement(name = "anzahl_zimmer")
    protected String anzahlZimmer;
    protected String flaeche;
    @XmlElement(required = true)
    protected List interessent;
    @XmlElement(name = "user_defined_extend")
    protected List userDefinedExtend;

    /**
     * Gets the value of the portalUniqueId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPortalUniqueId() {
        return portalUniqueId;
    }

    /**
     * Sets the value of the portalUniqueId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPortalUniqueId(String value) {
        this.portalUniqueId = value;
    }

    /**
     * Gets the value of the portalObjId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPortalObjId() {
        return portalObjId;
    }

    /**
     * Sets the value of the portalObjId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPortalObjId(String value) {
        this.portalObjId = value;
    }

    /**
     * Gets the value of the anbieterId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAnbieterId() {
        return anbieterId;
    }

    /**
     * Sets the value of the anbieterId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAnbieterId(String value) {
        this.anbieterId = value;
    }

    /**
     * Gets the value of the oobjId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOobjId() {
        return oobjId;
    }

    /**
     * Sets the value of the oobjId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOobjId(String value) {
        this.oobjId = value;
    }

    /**
     * Gets the value of the zusatzRefnr property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getZusatzRefnr() {
        return zusatzRefnr;
    }

    /**
     * Sets the value of the zusatzRefnr property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setZusatzRefnr(String value) {
        this.zusatzRefnr = value;
    }

    /**
     * Gets the value of the exposeUrl property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getExposeUrl() {
        return exposeUrl;
    }

    /**
     * Sets the value of the exposeUrl property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setExposeUrl(String value) {
        this.exposeUrl = value;
    }

    /**
     * Gets the value of the vermarktungsart 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 vermarktungsart property. * *

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

     *    getVermarktungsart().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getVermarktungsart() { if (vermarktungsart == null) { vermarktungsart = new ArrayList(); } return this.vermarktungsart; } /** * Gets the value of the bezeichnung property. * * @return * possible object is * {@link String } * */ public String getBezeichnung() { return bezeichnung; } /** * Sets the value of the bezeichnung property. * * @param value * allowed object is * {@link String } * */ public void setBezeichnung(String value) { this.bezeichnung = value; } /** * Gets the value of the etage property. * * @return * possible object is * {@link String } * */ public String getEtage() { return etage; } /** * Sets the value of the etage property. * * @param value * allowed object is * {@link String } * */ public void setEtage(String value) { this.etage = value; } /** * Gets the value of the whgNr property. * * @return * possible object is * {@link String } * */ public String getWhgNr() { return whgNr; } /** * Sets the value of the whgNr property. * * @param value * allowed object is * {@link String } * */ public void setWhgNr(String value) { this.whgNr = value; } /** * Gets the value of the strasse property. * * @return * possible object is * {@link String } * */ public String getStrasse() { return strasse; } /** * Sets the value of the strasse property. * * @param value * allowed object is * {@link String } * */ public void setStrasse(String value) { this.strasse = value; } /** * Gets the value of the ort property. * * @return * possible object is * {@link String } * */ public String getOrt() { return ort; } /** * Sets the value of the ort property. * * @param value * allowed object is * {@link String } * */ public void setOrt(String value) { this.ort = value; } /** * Gets the value of the land property. * * @return * possible object is * {@link String } * */ public String getLand() { return land; } /** * Sets the value of the land property. * * @param value * allowed object is * {@link String } * */ public void setLand(String value) { this.land = value; } /** * Gets the value of the stadtbezirk property. * * @return * possible object is * {@link String } * */ public String getStadtbezirk() { return stadtbezirk; } /** * Sets the value of the stadtbezirk property. * * @param value * allowed object is * {@link String } * */ public void setStadtbezirk(String value) { this.stadtbezirk = value; } /** * Gets the value of the preis property. * * @return * possible object is * {@link String } * */ public String getPreis() { return preis; } /** * Sets the value of the preis property. * * @param value * allowed object is * {@link String } * */ public void setPreis(String value) { this.preis = value; } /** * Gets the value of the gebot property. * * @return * possible object is * {@link String } * */ public String getGebot() { return gebot; } /** * Sets the value of the gebot property. * * @param value * allowed object is * {@link String } * */ public void setGebot(String value) { this.gebot = value; } /** * Gets the value of the wae property. * * @return * possible object is * {@link String } * */ public String getWae() { return wae; } /** * Sets the value of the wae property. * * @param value * allowed object is * {@link String } * */ public void setWae(String value) { this.wae = value; } /** * Gets the value of the anzahlZimmer property. * * @return * possible object is * {@link String } * */ public String getAnzahlZimmer() { return anzahlZimmer; } /** * Sets the value of the anzahlZimmer property. * * @param value * allowed object is * {@link String } * */ public void setAnzahlZimmer(String value) { this.anzahlZimmer = value; } /** * Gets the value of the flaeche property. * * @return * possible object is * {@link String } * */ public String getFlaeche() { return flaeche; } /** * Sets the value of the flaeche property. * * @param value * allowed object is * {@link String } * */ public void setFlaeche(String value) { this.flaeche = value; } /** * Gets the value of the interessent 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 interessent property. * *

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

     *    getInteressent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Interessent } * * */ public List getInteressent() { if (interessent == null) { interessent = new ArrayList(); } return this.interessent; } /** * Gets the value of the userDefinedExtend 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 userDefinedExtend property. * *

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

     *    getUserDefinedExtend().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link UserDefinedExtend } * * */ public List getUserDefinedExtend() { if (userDefinedExtend == null) { userDefinedExtend = new ArrayList(); } return this.userDefinedExtend; } 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) { { String thePortalUniqueId; thePortalUniqueId = this.getPortalUniqueId(); strategy.appendField(locator, this, "portalUniqueId", buffer, thePortalUniqueId, (this.portalUniqueId!= null)); } { String thePortalObjId; thePortalObjId = this.getPortalObjId(); strategy.appendField(locator, this, "portalObjId", buffer, thePortalObjId, (this.portalObjId!= null)); } { String theAnbieterId; theAnbieterId = this.getAnbieterId(); strategy.appendField(locator, this, "anbieterId", buffer, theAnbieterId, (this.anbieterId!= null)); } { String theOobjId; theOobjId = this.getOobjId(); strategy.appendField(locator, this, "oobjId", buffer, theOobjId, (this.oobjId!= null)); } { String theZusatzRefnr; theZusatzRefnr = this.getZusatzRefnr(); strategy.appendField(locator, this, "zusatzRefnr", buffer, theZusatzRefnr, (this.zusatzRefnr!= null)); } { String theExposeUrl; theExposeUrl = this.getExposeUrl(); strategy.appendField(locator, this, "exposeUrl", buffer, theExposeUrl, (this.exposeUrl!= null)); } { List theVermarktungsart; theVermarktungsart = (((this.vermarktungsart!= null)&&(!this.vermarktungsart.isEmpty()))?this.getVermarktungsart():null); strategy.appendField(locator, this, "vermarktungsart", buffer, theVermarktungsart, ((this.vermarktungsart!= null)&&(!this.vermarktungsart.isEmpty()))); } { String theBezeichnung; theBezeichnung = this.getBezeichnung(); strategy.appendField(locator, this, "bezeichnung", buffer, theBezeichnung, (this.bezeichnung!= null)); } { String theEtage; theEtage = this.getEtage(); strategy.appendField(locator, this, "etage", buffer, theEtage, (this.etage!= null)); } { String theWhgNr; theWhgNr = this.getWhgNr(); strategy.appendField(locator, this, "whgNr", buffer, theWhgNr, (this.whgNr!= null)); } { String theStrasse; theStrasse = this.getStrasse(); strategy.appendField(locator, this, "strasse", buffer, theStrasse, (this.strasse!= null)); } { String theOrt; theOrt = this.getOrt(); strategy.appendField(locator, this, "ort", buffer, theOrt, (this.ort!= null)); } { String theLand; theLand = this.getLand(); strategy.appendField(locator, this, "land", buffer, theLand, (this.land!= null)); } { String theStadtbezirk; theStadtbezirk = this.getStadtbezirk(); strategy.appendField(locator, this, "stadtbezirk", buffer, theStadtbezirk, (this.stadtbezirk!= null)); } { String thePreis; thePreis = this.getPreis(); strategy.appendField(locator, this, "preis", buffer, thePreis, (this.preis!= null)); } { String theGebot; theGebot = this.getGebot(); strategy.appendField(locator, this, "gebot", buffer, theGebot, (this.gebot!= null)); } { String theWae; theWae = this.getWae(); strategy.appendField(locator, this, "wae", buffer, theWae, (this.wae!= null)); } { String theAnzahlZimmer; theAnzahlZimmer = this.getAnzahlZimmer(); strategy.appendField(locator, this, "anzahlZimmer", buffer, theAnzahlZimmer, (this.anzahlZimmer!= null)); } { String theFlaeche; theFlaeche = this.getFlaeche(); strategy.appendField(locator, this, "flaeche", buffer, theFlaeche, (this.flaeche!= null)); } { List theInteressent; theInteressent = (((this.interessent!= null)&&(!this.interessent.isEmpty()))?this.getInteressent():null); strategy.appendField(locator, this, "interessent", buffer, theInteressent, ((this.interessent!= null)&&(!this.interessent.isEmpty()))); } { List theUserDefinedExtend; theUserDefinedExtend = (((this.userDefinedExtend!= null)&&(!this.userDefinedExtend.isEmpty()))?this.getUserDefinedExtend():null); strategy.appendField(locator, this, "userDefinedExtend", buffer, theUserDefinedExtend, ((this.userDefinedExtend!= null)&&(!this.userDefinedExtend.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 Objekt) { final Objekt copy = ((Objekt) draftCopy); { Boolean portalUniqueIdShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.portalUniqueId!= null)); if (portalUniqueIdShouldBeCopiedAndSet == Boolean.TRUE) { String sourcePortalUniqueId; sourcePortalUniqueId = this.getPortalUniqueId(); String copyPortalUniqueId = ((String) strategy.copy(LocatorUtils.property(locator, "portalUniqueId", sourcePortalUniqueId), sourcePortalUniqueId, (this.portalUniqueId!= null))); copy.setPortalUniqueId(copyPortalUniqueId); } else { if (portalUniqueIdShouldBeCopiedAndSet == Boolean.FALSE) { copy.portalUniqueId = null; } } } { Boolean portalObjIdShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.portalObjId!= null)); if (portalObjIdShouldBeCopiedAndSet == Boolean.TRUE) { String sourcePortalObjId; sourcePortalObjId = this.getPortalObjId(); String copyPortalObjId = ((String) strategy.copy(LocatorUtils.property(locator, "portalObjId", sourcePortalObjId), sourcePortalObjId, (this.portalObjId!= null))); copy.setPortalObjId(copyPortalObjId); } else { if (portalObjIdShouldBeCopiedAndSet == Boolean.FALSE) { copy.portalObjId = null; } } } { Boolean anbieterIdShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.anbieterId!= null)); if (anbieterIdShouldBeCopiedAndSet == Boolean.TRUE) { String sourceAnbieterId; sourceAnbieterId = this.getAnbieterId(); String copyAnbieterId = ((String) strategy.copy(LocatorUtils.property(locator, "anbieterId", sourceAnbieterId), sourceAnbieterId, (this.anbieterId!= null))); copy.setAnbieterId(copyAnbieterId); } else { if (anbieterIdShouldBeCopiedAndSet == Boolean.FALSE) { copy.anbieterId = null; } } } { Boolean oobjIdShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.oobjId!= null)); if (oobjIdShouldBeCopiedAndSet == Boolean.TRUE) { String sourceOobjId; sourceOobjId = this.getOobjId(); String copyOobjId = ((String) strategy.copy(LocatorUtils.property(locator, "oobjId", sourceOobjId), sourceOobjId, (this.oobjId!= null))); copy.setOobjId(copyOobjId); } else { if (oobjIdShouldBeCopiedAndSet == Boolean.FALSE) { copy.oobjId = null; } } } { Boolean zusatzRefnrShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.zusatzRefnr!= null)); if (zusatzRefnrShouldBeCopiedAndSet == Boolean.TRUE) { String sourceZusatzRefnr; sourceZusatzRefnr = this.getZusatzRefnr(); String copyZusatzRefnr = ((String) strategy.copy(LocatorUtils.property(locator, "zusatzRefnr", sourceZusatzRefnr), sourceZusatzRefnr, (this.zusatzRefnr!= null))); copy.setZusatzRefnr(copyZusatzRefnr); } else { if (zusatzRefnrShouldBeCopiedAndSet == Boolean.FALSE) { copy.zusatzRefnr = null; } } } { Boolean exposeUrlShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.exposeUrl!= null)); if (exposeUrlShouldBeCopiedAndSet == Boolean.TRUE) { String sourceExposeUrl; sourceExposeUrl = this.getExposeUrl(); String copyExposeUrl = ((String) strategy.copy(LocatorUtils.property(locator, "exposeUrl", sourceExposeUrl), sourceExposeUrl, (this.exposeUrl!= null))); copy.setExposeUrl(copyExposeUrl); } else { if (exposeUrlShouldBeCopiedAndSet == Boolean.FALSE) { copy.exposeUrl = null; } } } { Boolean vermarktungsartShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, ((this.vermarktungsart!= null)&&(!this.vermarktungsart.isEmpty()))); if (vermarktungsartShouldBeCopiedAndSet == Boolean.TRUE) { List sourceVermarktungsart; sourceVermarktungsart = (((this.vermarktungsart!= null)&&(!this.vermarktungsart.isEmpty()))?this.getVermarktungsart():null); @SuppressWarnings("unchecked") List copyVermarktungsart = ((List ) strategy.copy(LocatorUtils.property(locator, "vermarktungsart", sourceVermarktungsart), sourceVermarktungsart, ((this.vermarktungsart!= null)&&(!this.vermarktungsart.isEmpty())))); copy.vermarktungsart = null; if (copyVermarktungsart!= null) { List uniqueVermarktungsartl = copy.getVermarktungsart(); uniqueVermarktungsartl.addAll(copyVermarktungsart); } } else { if (vermarktungsartShouldBeCopiedAndSet == Boolean.FALSE) { copy.vermarktungsart = null; } } } { Boolean bezeichnungShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.bezeichnung!= null)); if (bezeichnungShouldBeCopiedAndSet == Boolean.TRUE) { String sourceBezeichnung; sourceBezeichnung = this.getBezeichnung(); String copyBezeichnung = ((String) strategy.copy(LocatorUtils.property(locator, "bezeichnung", sourceBezeichnung), sourceBezeichnung, (this.bezeichnung!= null))); copy.setBezeichnung(copyBezeichnung); } else { if (bezeichnungShouldBeCopiedAndSet == Boolean.FALSE) { copy.bezeichnung = null; } } } { Boolean etageShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.etage!= null)); if (etageShouldBeCopiedAndSet == Boolean.TRUE) { String sourceEtage; sourceEtage = this.getEtage(); String copyEtage = ((String) strategy.copy(LocatorUtils.property(locator, "etage", sourceEtage), sourceEtage, (this.etage!= null))); copy.setEtage(copyEtage); } else { if (etageShouldBeCopiedAndSet == Boolean.FALSE) { copy.etage = null; } } } { Boolean whgNrShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.whgNr!= null)); if (whgNrShouldBeCopiedAndSet == Boolean.TRUE) { String sourceWhgNr; sourceWhgNr = this.getWhgNr(); String copyWhgNr = ((String) strategy.copy(LocatorUtils.property(locator, "whgNr", sourceWhgNr), sourceWhgNr, (this.whgNr!= null))); copy.setWhgNr(copyWhgNr); } else { if (whgNrShouldBeCopiedAndSet == Boolean.FALSE) { copy.whgNr = null; } } } { Boolean strasseShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.strasse!= null)); if (strasseShouldBeCopiedAndSet == Boolean.TRUE) { String sourceStrasse; sourceStrasse = this.getStrasse(); String copyStrasse = ((String) strategy.copy(LocatorUtils.property(locator, "strasse", sourceStrasse), sourceStrasse, (this.strasse!= null))); copy.setStrasse(copyStrasse); } else { if (strasseShouldBeCopiedAndSet == Boolean.FALSE) { copy.strasse = null; } } } { Boolean ortShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.ort!= null)); if (ortShouldBeCopiedAndSet == Boolean.TRUE) { String sourceOrt; sourceOrt = this.getOrt(); String copyOrt = ((String) strategy.copy(LocatorUtils.property(locator, "ort", sourceOrt), sourceOrt, (this.ort!= null))); copy.setOrt(copyOrt); } else { if (ortShouldBeCopiedAndSet == Boolean.FALSE) { copy.ort = null; } } } { Boolean landShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.land!= null)); if (landShouldBeCopiedAndSet == Boolean.TRUE) { String sourceLand; sourceLand = this.getLand(); String copyLand = ((String) strategy.copy(LocatorUtils.property(locator, "land", sourceLand), sourceLand, (this.land!= null))); copy.setLand(copyLand); } else { if (landShouldBeCopiedAndSet == Boolean.FALSE) { copy.land = null; } } } { Boolean stadtbezirkShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.stadtbezirk!= null)); if (stadtbezirkShouldBeCopiedAndSet == Boolean.TRUE) { String sourceStadtbezirk; sourceStadtbezirk = this.getStadtbezirk(); String copyStadtbezirk = ((String) strategy.copy(LocatorUtils.property(locator, "stadtbezirk", sourceStadtbezirk), sourceStadtbezirk, (this.stadtbezirk!= null))); copy.setStadtbezirk(copyStadtbezirk); } else { if (stadtbezirkShouldBeCopiedAndSet == Boolean.FALSE) { copy.stadtbezirk = null; } } } { Boolean preisShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.preis!= null)); if (preisShouldBeCopiedAndSet == Boolean.TRUE) { String sourcePreis; sourcePreis = this.getPreis(); String copyPreis = ((String) strategy.copy(LocatorUtils.property(locator, "preis", sourcePreis), sourcePreis, (this.preis!= null))); copy.setPreis(copyPreis); } else { if (preisShouldBeCopiedAndSet == Boolean.FALSE) { copy.preis = null; } } } { Boolean gebotShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.gebot!= null)); if (gebotShouldBeCopiedAndSet == Boolean.TRUE) { String sourceGebot; sourceGebot = this.getGebot(); String copyGebot = ((String) strategy.copy(LocatorUtils.property(locator, "gebot", sourceGebot), sourceGebot, (this.gebot!= null))); copy.setGebot(copyGebot); } else { if (gebotShouldBeCopiedAndSet == Boolean.FALSE) { copy.gebot = null; } } } { Boolean waeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.wae!= null)); if (waeShouldBeCopiedAndSet == Boolean.TRUE) { String sourceWae; sourceWae = this.getWae(); String copyWae = ((String) strategy.copy(LocatorUtils.property(locator, "wae", sourceWae), sourceWae, (this.wae!= null))); copy.setWae(copyWae); } else { if (waeShouldBeCopiedAndSet == Boolean.FALSE) { copy.wae = null; } } } { Boolean anzahlZimmerShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.anzahlZimmer!= null)); if (anzahlZimmerShouldBeCopiedAndSet == Boolean.TRUE) { String sourceAnzahlZimmer; sourceAnzahlZimmer = this.getAnzahlZimmer(); String copyAnzahlZimmer = ((String) strategy.copy(LocatorUtils.property(locator, "anzahlZimmer", sourceAnzahlZimmer), sourceAnzahlZimmer, (this.anzahlZimmer!= null))); copy.setAnzahlZimmer(copyAnzahlZimmer); } else { if (anzahlZimmerShouldBeCopiedAndSet == Boolean.FALSE) { copy.anzahlZimmer = null; } } } { Boolean flaecheShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.flaeche!= null)); if (flaecheShouldBeCopiedAndSet == Boolean.TRUE) { String sourceFlaeche; sourceFlaeche = this.getFlaeche(); String copyFlaeche = ((String) strategy.copy(LocatorUtils.property(locator, "flaeche", sourceFlaeche), sourceFlaeche, (this.flaeche!= null))); copy.setFlaeche(copyFlaeche); } else { if (flaecheShouldBeCopiedAndSet == Boolean.FALSE) { copy.flaeche = null; } } } { Boolean interessentShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, ((this.interessent!= null)&&(!this.interessent.isEmpty()))); if (interessentShouldBeCopiedAndSet == Boolean.TRUE) { List sourceInteressent; sourceInteressent = (((this.interessent!= null)&&(!this.interessent.isEmpty()))?this.getInteressent():null); @SuppressWarnings("unchecked") List copyInteressent = ((List ) strategy.copy(LocatorUtils.property(locator, "interessent", sourceInteressent), sourceInteressent, ((this.interessent!= null)&&(!this.interessent.isEmpty())))); copy.interessent = null; if (copyInteressent!= null) { List uniqueInteressentl = copy.getInteressent(); uniqueInteressentl.addAll(copyInteressent); } } else { if (interessentShouldBeCopiedAndSet == Boolean.FALSE) { copy.interessent = null; } } } { Boolean userDefinedExtendShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, ((this.userDefinedExtend!= null)&&(!this.userDefinedExtend.isEmpty()))); if (userDefinedExtendShouldBeCopiedAndSet == Boolean.TRUE) { List sourceUserDefinedExtend; sourceUserDefinedExtend = (((this.userDefinedExtend!= null)&&(!this.userDefinedExtend.isEmpty()))?this.getUserDefinedExtend():null); @SuppressWarnings("unchecked") List copyUserDefinedExtend = ((List ) strategy.copy(LocatorUtils.property(locator, "userDefinedExtend", sourceUserDefinedExtend), sourceUserDefinedExtend, ((this.userDefinedExtend!= null)&&(!this.userDefinedExtend.isEmpty())))); copy.userDefinedExtend = null; if (copyUserDefinedExtend!= null) { List uniqueUserDefinedExtendl = copy.getUserDefinedExtend(); uniqueUserDefinedExtendl.addAll(copyUserDefinedExtend); } } else { if (userDefinedExtendShouldBeCopiedAndSet == Boolean.FALSE) { copy.userDefinedExtend = null; } } } } return draftCopy; } public Object createNewInstance() { return new Objekt(); } 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 Objekt that = ((Objekt) object); { String lhsPortalUniqueId; lhsPortalUniqueId = this.getPortalUniqueId(); String rhsPortalUniqueId; rhsPortalUniqueId = that.getPortalUniqueId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "portalUniqueId", lhsPortalUniqueId), LocatorUtils.property(thatLocator, "portalUniqueId", rhsPortalUniqueId), lhsPortalUniqueId, rhsPortalUniqueId, (this.portalUniqueId!= null), (that.portalUniqueId!= null))) { return false; } } { String lhsPortalObjId; lhsPortalObjId = this.getPortalObjId(); String rhsPortalObjId; rhsPortalObjId = that.getPortalObjId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "portalObjId", lhsPortalObjId), LocatorUtils.property(thatLocator, "portalObjId", rhsPortalObjId), lhsPortalObjId, rhsPortalObjId, (this.portalObjId!= null), (that.portalObjId!= null))) { return false; } } { String lhsAnbieterId; lhsAnbieterId = this.getAnbieterId(); String rhsAnbieterId; rhsAnbieterId = that.getAnbieterId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "anbieterId", lhsAnbieterId), LocatorUtils.property(thatLocator, "anbieterId", rhsAnbieterId), lhsAnbieterId, rhsAnbieterId, (this.anbieterId!= null), (that.anbieterId!= null))) { return false; } } { String lhsOobjId; lhsOobjId = this.getOobjId(); String rhsOobjId; rhsOobjId = that.getOobjId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "oobjId", lhsOobjId), LocatorUtils.property(thatLocator, "oobjId", rhsOobjId), lhsOobjId, rhsOobjId, (this.oobjId!= null), (that.oobjId!= null))) { return false; } } { String lhsZusatzRefnr; lhsZusatzRefnr = this.getZusatzRefnr(); String rhsZusatzRefnr; rhsZusatzRefnr = that.getZusatzRefnr(); if (!strategy.equals(LocatorUtils.property(thisLocator, "zusatzRefnr", lhsZusatzRefnr), LocatorUtils.property(thatLocator, "zusatzRefnr", rhsZusatzRefnr), lhsZusatzRefnr, rhsZusatzRefnr, (this.zusatzRefnr!= null), (that.zusatzRefnr!= null))) { return false; } } { String lhsExposeUrl; lhsExposeUrl = this.getExposeUrl(); String rhsExposeUrl; rhsExposeUrl = that.getExposeUrl(); if (!strategy.equals(LocatorUtils.property(thisLocator, "exposeUrl", lhsExposeUrl), LocatorUtils.property(thatLocator, "exposeUrl", rhsExposeUrl), lhsExposeUrl, rhsExposeUrl, (this.exposeUrl!= null), (that.exposeUrl!= null))) { return false; } } { List lhsVermarktungsart; lhsVermarktungsart = (((this.vermarktungsart!= null)&&(!this.vermarktungsart.isEmpty()))?this.getVermarktungsart():null); List rhsVermarktungsart; rhsVermarktungsart = (((that.vermarktungsart!= null)&&(!that.vermarktungsart.isEmpty()))?that.getVermarktungsart():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "vermarktungsart", lhsVermarktungsart), LocatorUtils.property(thatLocator, "vermarktungsart", rhsVermarktungsart), lhsVermarktungsart, rhsVermarktungsart, ((this.vermarktungsart!= null)&&(!this.vermarktungsart.isEmpty())), ((that.vermarktungsart!= null)&&(!that.vermarktungsart.isEmpty())))) { return false; } } { String lhsBezeichnung; lhsBezeichnung = this.getBezeichnung(); String rhsBezeichnung; rhsBezeichnung = that.getBezeichnung(); if (!strategy.equals(LocatorUtils.property(thisLocator, "bezeichnung", lhsBezeichnung), LocatorUtils.property(thatLocator, "bezeichnung", rhsBezeichnung), lhsBezeichnung, rhsBezeichnung, (this.bezeichnung!= null), (that.bezeichnung!= null))) { return false; } } { String lhsEtage; lhsEtage = this.getEtage(); String rhsEtage; rhsEtage = that.getEtage(); if (!strategy.equals(LocatorUtils.property(thisLocator, "etage", lhsEtage), LocatorUtils.property(thatLocator, "etage", rhsEtage), lhsEtage, rhsEtage, (this.etage!= null), (that.etage!= null))) { return false; } } { String lhsWhgNr; lhsWhgNr = this.getWhgNr(); String rhsWhgNr; rhsWhgNr = that.getWhgNr(); if (!strategy.equals(LocatorUtils.property(thisLocator, "whgNr", lhsWhgNr), LocatorUtils.property(thatLocator, "whgNr", rhsWhgNr), lhsWhgNr, rhsWhgNr, (this.whgNr!= null), (that.whgNr!= null))) { return false; } } { String lhsStrasse; lhsStrasse = this.getStrasse(); String rhsStrasse; rhsStrasse = that.getStrasse(); if (!strategy.equals(LocatorUtils.property(thisLocator, "strasse", lhsStrasse), LocatorUtils.property(thatLocator, "strasse", rhsStrasse), lhsStrasse, rhsStrasse, (this.strasse!= null), (that.strasse!= null))) { return false; } } { String lhsOrt; lhsOrt = this.getOrt(); String rhsOrt; rhsOrt = that.getOrt(); if (!strategy.equals(LocatorUtils.property(thisLocator, "ort", lhsOrt), LocatorUtils.property(thatLocator, "ort", rhsOrt), lhsOrt, rhsOrt, (this.ort!= null), (that.ort!= null))) { return false; } } { String lhsLand; lhsLand = this.getLand(); String rhsLand; rhsLand = that.getLand(); if (!strategy.equals(LocatorUtils.property(thisLocator, "land", lhsLand), LocatorUtils.property(thatLocator, "land", rhsLand), lhsLand, rhsLand, (this.land!= null), (that.land!= null))) { return false; } } { String lhsStadtbezirk; lhsStadtbezirk = this.getStadtbezirk(); String rhsStadtbezirk; rhsStadtbezirk = that.getStadtbezirk(); if (!strategy.equals(LocatorUtils.property(thisLocator, "stadtbezirk", lhsStadtbezirk), LocatorUtils.property(thatLocator, "stadtbezirk", rhsStadtbezirk), lhsStadtbezirk, rhsStadtbezirk, (this.stadtbezirk!= null), (that.stadtbezirk!= null))) { return false; } } { String lhsPreis; lhsPreis = this.getPreis(); String rhsPreis; rhsPreis = that.getPreis(); if (!strategy.equals(LocatorUtils.property(thisLocator, "preis", lhsPreis), LocatorUtils.property(thatLocator, "preis", rhsPreis), lhsPreis, rhsPreis, (this.preis!= null), (that.preis!= null))) { return false; } } { String lhsGebot; lhsGebot = this.getGebot(); String rhsGebot; rhsGebot = that.getGebot(); if (!strategy.equals(LocatorUtils.property(thisLocator, "gebot", lhsGebot), LocatorUtils.property(thatLocator, "gebot", rhsGebot), lhsGebot, rhsGebot, (this.gebot!= null), (that.gebot!= null))) { return false; } } { String lhsWae; lhsWae = this.getWae(); String rhsWae; rhsWae = that.getWae(); if (!strategy.equals(LocatorUtils.property(thisLocator, "wae", lhsWae), LocatorUtils.property(thatLocator, "wae", rhsWae), lhsWae, rhsWae, (this.wae!= null), (that.wae!= null))) { return false; } } { String lhsAnzahlZimmer; lhsAnzahlZimmer = this.getAnzahlZimmer(); String rhsAnzahlZimmer; rhsAnzahlZimmer = that.getAnzahlZimmer(); if (!strategy.equals(LocatorUtils.property(thisLocator, "anzahlZimmer", lhsAnzahlZimmer), LocatorUtils.property(thatLocator, "anzahlZimmer", rhsAnzahlZimmer), lhsAnzahlZimmer, rhsAnzahlZimmer, (this.anzahlZimmer!= null), (that.anzahlZimmer!= null))) { return false; } } { String lhsFlaeche; lhsFlaeche = this.getFlaeche(); String rhsFlaeche; rhsFlaeche = that.getFlaeche(); if (!strategy.equals(LocatorUtils.property(thisLocator, "flaeche", lhsFlaeche), LocatorUtils.property(thatLocator, "flaeche", rhsFlaeche), lhsFlaeche, rhsFlaeche, (this.flaeche!= null), (that.flaeche!= null))) { return false; } } { List lhsInteressent; lhsInteressent = (((this.interessent!= null)&&(!this.interessent.isEmpty()))?this.getInteressent():null); List rhsInteressent; rhsInteressent = (((that.interessent!= null)&&(!that.interessent.isEmpty()))?that.getInteressent():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "interessent", lhsInteressent), LocatorUtils.property(thatLocator, "interessent", rhsInteressent), lhsInteressent, rhsInteressent, ((this.interessent!= null)&&(!this.interessent.isEmpty())), ((that.interessent!= null)&&(!that.interessent.isEmpty())))) { return false; } } { List lhsUserDefinedExtend; lhsUserDefinedExtend = (((this.userDefinedExtend!= null)&&(!this.userDefinedExtend.isEmpty()))?this.getUserDefinedExtend():null); List rhsUserDefinedExtend; rhsUserDefinedExtend = (((that.userDefinedExtend!= null)&&(!that.userDefinedExtend.isEmpty()))?that.getUserDefinedExtend():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "userDefinedExtend", lhsUserDefinedExtend), LocatorUtils.property(thatLocator, "userDefinedExtend", rhsUserDefinedExtend), lhsUserDefinedExtend, rhsUserDefinedExtend, ((this.userDefinedExtend!= null)&&(!this.userDefinedExtend.isEmpty())), ((that.userDefinedExtend!= null)&&(!that.userDefinedExtend.isEmpty())))) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy