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

net.opengis.citygml.tunnel.v_2_0.HollowSpaceType Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.02.26 at 04:41:00 PM AST 
//


package net.opengis.citygml.tunnel.v_2_0;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import net.opengis.citygml.v_2_0.AbstractCityObjectType;
import net.opengis.citygml.v_2_0.ExternalReferenceType;
import net.opengis.citygml.v_2_0.GeneralizationRelationType;
import net.opengis.citygml.v_2_0.RelativeToTerrainType;
import net.opengis.citygml.v_2_0.RelativeToWaterType;
import net.opengis.gml.v_3_1_1.CodeType;
import net.opengis.gml.v_3_1_1.MultiSurfacePropertyType;
import net.opengis.gml.v_3_1_1.SolidPropertyType;
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.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBMergeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.MergeFrom2;
import org.jvnet.jaxb2_commons.lang.MergeStrategy2;
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;


/**
 * Area or volume within a Tunnel bounded actually or theoretically 
 * 
 * 

Java class for HollowSpaceType complex type. * *

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

 * <complexType name="HollowSpaceType">
 *   <complexContent>
 *     <extension base="{http://www.opengis.net/citygml/2.0}AbstractCityObjectType">
 *       <sequence>
 *         <element name="class" type="{http://www.opengis.net/gml}CodeType" minOccurs="0"/>
 *         <element name="function" type="{http://www.opengis.net/gml}CodeType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="usage" type="{http://www.opengis.net/gml}CodeType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="lod4Solid" type="{http://www.opengis.net/gml}SolidPropertyType" minOccurs="0"/>
 *         <element name="lod4MultiSurface" type="{http://www.opengis.net/gml}MultiSurfacePropertyType" minOccurs="0"/>
 *         <element name="boundedBy" type="{http://www.opengis.net/citygml/tunnel/2.0}BoundarySurfacePropertyType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="interiorFurniture" type="{http://www.opengis.net/citygml/tunnel/2.0}InteriorFurniturePropertyType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="hollowSpaceInstallation" type="{http://www.opengis.net/citygml/tunnel/2.0}IntTunnelInstallationPropertyType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.opengis.net/citygml/tunnel/2.0}_GenericApplicationPropertyOfHollowSpace" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HollowSpaceType", propOrder = { "clazz", "function", "usage", "lod4Solid", "lod4MultiSurface", "cityObjectBoundedBy", "interiorFurniture", "hollowSpaceInstallation", "genericApplicationPropertyOfHollowSpace" }) public class HollowSpaceType extends AbstractCityObjectType implements Cloneable, CopyTo2, Equals2, HashCode2, MergeFrom2, ToString2 { @XmlElement(name = "class") protected CodeType clazz; protected List function; protected List usage; protected SolidPropertyType lod4Solid; protected MultiSurfacePropertyType lod4MultiSurface; @XmlElement(name = "boundedBy") protected List cityObjectBoundedBy; protected List interiorFurniture; protected List hollowSpaceInstallation; @XmlElement(name = "_GenericApplicationPropertyOfHollowSpace") protected List genericApplicationPropertyOfHollowSpace; /** * Gets the value of the clazz property. * * @return * possible object is * {@link CodeType } * */ public CodeType getClazz() { return clazz; } /** * Sets the value of the clazz property. * * @param value * allowed object is * {@link CodeType } * */ public void setClazz(CodeType value) { this.clazz = value; } public boolean isSetClazz() { return (this.clazz!= null); } /** * Gets the value of the function 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 function property. * *

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

     *    getFunction().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CodeType } * * */ public List getFunction() { if (function == null) { function = new ArrayList(); } return this.function; } public boolean isSetFunction() { return ((this.function!= null)&&(!this.function.isEmpty())); } public void unsetFunction() { this.function = null; } /** * Gets the value of the usage 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 usage property. * *

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

     *    getUsage().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CodeType } * * */ public List getUsage() { if (usage == null) { usage = new ArrayList(); } return this.usage; } public boolean isSetUsage() { return ((this.usage!= null)&&(!this.usage.isEmpty())); } public void unsetUsage() { this.usage = null; } /** * Gets the value of the lod4Solid property. * * @return * possible object is * {@link SolidPropertyType } * */ public SolidPropertyType getLod4Solid() { return lod4Solid; } /** * Sets the value of the lod4Solid property. * * @param value * allowed object is * {@link SolidPropertyType } * */ public void setLod4Solid(SolidPropertyType value) { this.lod4Solid = value; } public boolean isSetLod4Solid() { return (this.lod4Solid!= null); } /** * Gets the value of the lod4MultiSurface property. * * @return * possible object is * {@link MultiSurfacePropertyType } * */ public MultiSurfacePropertyType getLod4MultiSurface() { return lod4MultiSurface; } /** * Sets the value of the lod4MultiSurface property. * * @param value * allowed object is * {@link MultiSurfacePropertyType } * */ public void setLod4MultiSurface(MultiSurfacePropertyType value) { this.lod4MultiSurface = value; } public boolean isSetLod4MultiSurface() { return (this.lod4MultiSurface!= null); } /** * Gets the value of the cityObjectBoundedBy 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 cityObjectBoundedBy property. * *

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

     *    getCityObjectBoundedBy().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link BoundarySurfacePropertyType } * * */ public List getCityObjectBoundedBy() { if (cityObjectBoundedBy == null) { cityObjectBoundedBy = new ArrayList(); } return this.cityObjectBoundedBy; } public boolean isSetCityObjectBoundedBy() { return ((this.cityObjectBoundedBy!= null)&&(!this.cityObjectBoundedBy.isEmpty())); } public void unsetCityObjectBoundedBy() { this.cityObjectBoundedBy = null; } /** * Gets the value of the interiorFurniture 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 interiorFurniture property. * *

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

     *    getInteriorFurniture().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link InteriorFurniturePropertyType } * * */ public List getInteriorFurniture() { if (interiorFurniture == null) { interiorFurniture = new ArrayList(); } return this.interiorFurniture; } public boolean isSetInteriorFurniture() { return ((this.interiorFurniture!= null)&&(!this.interiorFurniture.isEmpty())); } public void unsetInteriorFurniture() { this.interiorFurniture = null; } /** * Gets the value of the hollowSpaceInstallation 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 hollowSpaceInstallation property. * *

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

     *    getHollowSpaceInstallation().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link IntTunnelInstallationPropertyType } * * */ public List getHollowSpaceInstallation() { if (hollowSpaceInstallation == null) { hollowSpaceInstallation = new ArrayList(); } return this.hollowSpaceInstallation; } public boolean isSetHollowSpaceInstallation() { return ((this.hollowSpaceInstallation!= null)&&(!this.hollowSpaceInstallation.isEmpty())); } public void unsetHollowSpaceInstallation() { this.hollowSpaceInstallation = null; } /** * Gets the value of the genericApplicationPropertyOfHollowSpace 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 genericApplicationPropertyOfHollowSpace property. * *

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

     *    getGenericApplicationPropertyOfHollowSpace().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List getGenericApplicationPropertyOfHollowSpace() { if (genericApplicationPropertyOfHollowSpace == null) { genericApplicationPropertyOfHollowSpace = new ArrayList(); } return this.genericApplicationPropertyOfHollowSpace; } public boolean isSetGenericApplicationPropertyOfHollowSpace() { return ((this.genericApplicationPropertyOfHollowSpace!= null)&&(!this.genericApplicationPropertyOfHollowSpace.isEmpty())); } public void unsetGenericApplicationPropertyOfHollowSpace() { this.genericApplicationPropertyOfHollowSpace = null; } 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); { CodeType theClazz; theClazz = this.getClazz(); strategy.appendField(locator, this, "clazz", buffer, theClazz, this.isSetClazz()); } { List theFunction; theFunction = (this.isSetFunction()?this.getFunction():null); strategy.appendField(locator, this, "function", buffer, theFunction, this.isSetFunction()); } { List theUsage; theUsage = (this.isSetUsage()?this.getUsage():null); strategy.appendField(locator, this, "usage", buffer, theUsage, this.isSetUsage()); } { SolidPropertyType theLod4Solid; theLod4Solid = this.getLod4Solid(); strategy.appendField(locator, this, "lod4Solid", buffer, theLod4Solid, this.isSetLod4Solid()); } { MultiSurfacePropertyType theLod4MultiSurface; theLod4MultiSurface = this.getLod4MultiSurface(); strategy.appendField(locator, this, "lod4MultiSurface", buffer, theLod4MultiSurface, this.isSetLod4MultiSurface()); } { List theCityObjectBoundedBy; theCityObjectBoundedBy = (this.isSetCityObjectBoundedBy()?this.getCityObjectBoundedBy():null); strategy.appendField(locator, this, "cityObjectBoundedBy", buffer, theCityObjectBoundedBy, this.isSetCityObjectBoundedBy()); } { List theInteriorFurniture; theInteriorFurniture = (this.isSetInteriorFurniture()?this.getInteriorFurniture():null); strategy.appendField(locator, this, "interiorFurniture", buffer, theInteriorFurniture, this.isSetInteriorFurniture()); } { List theHollowSpaceInstallation; theHollowSpaceInstallation = (this.isSetHollowSpaceInstallation()?this.getHollowSpaceInstallation():null); strategy.appendField(locator, this, "hollowSpaceInstallation", buffer, theHollowSpaceInstallation, this.isSetHollowSpaceInstallation()); } { List theGenericApplicationPropertyOfHollowSpace; theGenericApplicationPropertyOfHollowSpace = (this.isSetGenericApplicationPropertyOfHollowSpace()?this.getGenericApplicationPropertyOfHollowSpace():null); strategy.appendField(locator, this, "genericApplicationPropertyOfHollowSpace", buffer, theGenericApplicationPropertyOfHollowSpace, this.isSetGenericApplicationPropertyOfHollowSpace()); } return buffer; } 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 HollowSpaceType that = ((HollowSpaceType) object); { CodeType lhsClazz; lhsClazz = this.getClazz(); CodeType rhsClazz; rhsClazz = that.getClazz(); if (!strategy.equals(LocatorUtils.property(thisLocator, "clazz", lhsClazz), LocatorUtils.property(thatLocator, "clazz", rhsClazz), lhsClazz, rhsClazz, this.isSetClazz(), that.isSetClazz())) { return false; } } { List lhsFunction; lhsFunction = (this.isSetFunction()?this.getFunction():null); List rhsFunction; rhsFunction = (that.isSetFunction()?that.getFunction():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "function", lhsFunction), LocatorUtils.property(thatLocator, "function", rhsFunction), lhsFunction, rhsFunction, this.isSetFunction(), that.isSetFunction())) { return false; } } { List lhsUsage; lhsUsage = (this.isSetUsage()?this.getUsage():null); List rhsUsage; rhsUsage = (that.isSetUsage()?that.getUsage():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "usage", lhsUsage), LocatorUtils.property(thatLocator, "usage", rhsUsage), lhsUsage, rhsUsage, this.isSetUsage(), that.isSetUsage())) { return false; } } { SolidPropertyType lhsLod4Solid; lhsLod4Solid = this.getLod4Solid(); SolidPropertyType rhsLod4Solid; rhsLod4Solid = that.getLod4Solid(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lod4Solid", lhsLod4Solid), LocatorUtils.property(thatLocator, "lod4Solid", rhsLod4Solid), lhsLod4Solid, rhsLod4Solid, this.isSetLod4Solid(), that.isSetLod4Solid())) { return false; } } { MultiSurfacePropertyType lhsLod4MultiSurface; lhsLod4MultiSurface = this.getLod4MultiSurface(); MultiSurfacePropertyType rhsLod4MultiSurface; rhsLod4MultiSurface = that.getLod4MultiSurface(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lod4MultiSurface", lhsLod4MultiSurface), LocatorUtils.property(thatLocator, "lod4MultiSurface", rhsLod4MultiSurface), lhsLod4MultiSurface, rhsLod4MultiSurface, this.isSetLod4MultiSurface(), that.isSetLod4MultiSurface())) { return false; } } { List lhsCityObjectBoundedBy; lhsCityObjectBoundedBy = (this.isSetCityObjectBoundedBy()?this.getCityObjectBoundedBy():null); List rhsCityObjectBoundedBy; rhsCityObjectBoundedBy = (that.isSetCityObjectBoundedBy()?that.getCityObjectBoundedBy():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "cityObjectBoundedBy", lhsCityObjectBoundedBy), LocatorUtils.property(thatLocator, "cityObjectBoundedBy", rhsCityObjectBoundedBy), lhsCityObjectBoundedBy, rhsCityObjectBoundedBy, this.isSetCityObjectBoundedBy(), that.isSetCityObjectBoundedBy())) { return false; } } { List lhsInteriorFurniture; lhsInteriorFurniture = (this.isSetInteriorFurniture()?this.getInteriorFurniture():null); List rhsInteriorFurniture; rhsInteriorFurniture = (that.isSetInteriorFurniture()?that.getInteriorFurniture():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "interiorFurniture", lhsInteriorFurniture), LocatorUtils.property(thatLocator, "interiorFurniture", rhsInteriorFurniture), lhsInteriorFurniture, rhsInteriorFurniture, this.isSetInteriorFurniture(), that.isSetInteriorFurniture())) { return false; } } { List lhsHollowSpaceInstallation; lhsHollowSpaceInstallation = (this.isSetHollowSpaceInstallation()?this.getHollowSpaceInstallation():null); List rhsHollowSpaceInstallation; rhsHollowSpaceInstallation = (that.isSetHollowSpaceInstallation()?that.getHollowSpaceInstallation():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "hollowSpaceInstallation", lhsHollowSpaceInstallation), LocatorUtils.property(thatLocator, "hollowSpaceInstallation", rhsHollowSpaceInstallation), lhsHollowSpaceInstallation, rhsHollowSpaceInstallation, this.isSetHollowSpaceInstallation(), that.isSetHollowSpaceInstallation())) { return false; } } { List lhsGenericApplicationPropertyOfHollowSpace; lhsGenericApplicationPropertyOfHollowSpace = (this.isSetGenericApplicationPropertyOfHollowSpace()?this.getGenericApplicationPropertyOfHollowSpace():null); List rhsGenericApplicationPropertyOfHollowSpace; rhsGenericApplicationPropertyOfHollowSpace = (that.isSetGenericApplicationPropertyOfHollowSpace()?that.getGenericApplicationPropertyOfHollowSpace():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfHollowSpace", lhsGenericApplicationPropertyOfHollowSpace), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfHollowSpace", rhsGenericApplicationPropertyOfHollowSpace), lhsGenericApplicationPropertyOfHollowSpace, rhsGenericApplicationPropertyOfHollowSpace, this.isSetGenericApplicationPropertyOfHollowSpace(), that.isSetGenericApplicationPropertyOfHollowSpace())) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = super.hashCode(locator, strategy); { CodeType theClazz; theClazz = this.getClazz(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "clazz", theClazz), currentHashCode, theClazz, this.isSetClazz()); } { List theFunction; theFunction = (this.isSetFunction()?this.getFunction():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "function", theFunction), currentHashCode, theFunction, this.isSetFunction()); } { List theUsage; theUsage = (this.isSetUsage()?this.getUsage():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "usage", theUsage), currentHashCode, theUsage, this.isSetUsage()); } { SolidPropertyType theLod4Solid; theLod4Solid = this.getLod4Solid(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod4Solid", theLod4Solid), currentHashCode, theLod4Solid, this.isSetLod4Solid()); } { MultiSurfacePropertyType theLod4MultiSurface; theLod4MultiSurface = this.getLod4MultiSurface(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod4MultiSurface", theLod4MultiSurface), currentHashCode, theLod4MultiSurface, this.isSetLod4MultiSurface()); } { List theCityObjectBoundedBy; theCityObjectBoundedBy = (this.isSetCityObjectBoundedBy()?this.getCityObjectBoundedBy():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "cityObjectBoundedBy", theCityObjectBoundedBy), currentHashCode, theCityObjectBoundedBy, this.isSetCityObjectBoundedBy()); } { List theInteriorFurniture; theInteriorFurniture = (this.isSetInteriorFurniture()?this.getInteriorFurniture():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "interiorFurniture", theInteriorFurniture), currentHashCode, theInteriorFurniture, this.isSetInteriorFurniture()); } { List theHollowSpaceInstallation; theHollowSpaceInstallation = (this.isSetHollowSpaceInstallation()?this.getHollowSpaceInstallation():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hollowSpaceInstallation", theHollowSpaceInstallation), currentHashCode, theHollowSpaceInstallation, this.isSetHollowSpaceInstallation()); } { List theGenericApplicationPropertyOfHollowSpace; theGenericApplicationPropertyOfHollowSpace = (this.isSetGenericApplicationPropertyOfHollowSpace()?this.getGenericApplicationPropertyOfHollowSpace():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfHollowSpace", theGenericApplicationPropertyOfHollowSpace), currentHashCode, theGenericApplicationPropertyOfHollowSpace, this.isSetGenericApplicationPropertyOfHollowSpace()); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } 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 HollowSpaceType) { final HollowSpaceType copy = ((HollowSpaceType) draftCopy); { Boolean clazzShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetClazz()); if (clazzShouldBeCopiedAndSet == Boolean.TRUE) { CodeType sourceClazz; sourceClazz = this.getClazz(); CodeType copyClazz = ((CodeType) strategy.copy(LocatorUtils.property(locator, "clazz", sourceClazz), sourceClazz, this.isSetClazz())); copy.setClazz(copyClazz); } else { if (clazzShouldBeCopiedAndSet == Boolean.FALSE) { copy.clazz = null; } } } { Boolean functionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetFunction()); if (functionShouldBeCopiedAndSet == Boolean.TRUE) { List sourceFunction; sourceFunction = (this.isSetFunction()?this.getFunction():null); @SuppressWarnings("unchecked") List copyFunction = ((List ) strategy.copy(LocatorUtils.property(locator, "function", sourceFunction), sourceFunction, this.isSetFunction())); copy.unsetFunction(); if (copyFunction!= null) { List uniqueFunctionl = copy.getFunction(); uniqueFunctionl.addAll(copyFunction); } } else { if (functionShouldBeCopiedAndSet == Boolean.FALSE) { copy.unsetFunction(); } } } { Boolean usageShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetUsage()); if (usageShouldBeCopiedAndSet == Boolean.TRUE) { List sourceUsage; sourceUsage = (this.isSetUsage()?this.getUsage():null); @SuppressWarnings("unchecked") List copyUsage = ((List ) strategy.copy(LocatorUtils.property(locator, "usage", sourceUsage), sourceUsage, this.isSetUsage())); copy.unsetUsage(); if (copyUsage!= null) { List uniqueUsagel = copy.getUsage(); uniqueUsagel.addAll(copyUsage); } } else { if (usageShouldBeCopiedAndSet == Boolean.FALSE) { copy.unsetUsage(); } } } { Boolean lod4SolidShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod4Solid()); if (lod4SolidShouldBeCopiedAndSet == Boolean.TRUE) { SolidPropertyType sourceLod4Solid; sourceLod4Solid = this.getLod4Solid(); SolidPropertyType copyLod4Solid = ((SolidPropertyType) strategy.copy(LocatorUtils.property(locator, "lod4Solid", sourceLod4Solid), sourceLod4Solid, this.isSetLod4Solid())); copy.setLod4Solid(copyLod4Solid); } else { if (lod4SolidShouldBeCopiedAndSet == Boolean.FALSE) { copy.lod4Solid = null; } } } { Boolean lod4MultiSurfaceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod4MultiSurface()); if (lod4MultiSurfaceShouldBeCopiedAndSet == Boolean.TRUE) { MultiSurfacePropertyType sourceLod4MultiSurface; sourceLod4MultiSurface = this.getLod4MultiSurface(); MultiSurfacePropertyType copyLod4MultiSurface = ((MultiSurfacePropertyType) strategy.copy(LocatorUtils.property(locator, "lod4MultiSurface", sourceLod4MultiSurface), sourceLod4MultiSurface, this.isSetLod4MultiSurface())); copy.setLod4MultiSurface(copyLod4MultiSurface); } else { if (lod4MultiSurfaceShouldBeCopiedAndSet == Boolean.FALSE) { copy.lod4MultiSurface = null; } } } { Boolean cityObjectBoundedByShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetCityObjectBoundedBy()); if (cityObjectBoundedByShouldBeCopiedAndSet == Boolean.TRUE) { List sourceCityObjectBoundedBy; sourceCityObjectBoundedBy = (this.isSetCityObjectBoundedBy()?this.getCityObjectBoundedBy():null); @SuppressWarnings("unchecked") List copyCityObjectBoundedBy = ((List ) strategy.copy(LocatorUtils.property(locator, "cityObjectBoundedBy", sourceCityObjectBoundedBy), sourceCityObjectBoundedBy, this.isSetCityObjectBoundedBy())); copy.unsetCityObjectBoundedBy(); if (copyCityObjectBoundedBy!= null) { List uniqueCityObjectBoundedByl = copy.getCityObjectBoundedBy(); uniqueCityObjectBoundedByl.addAll(copyCityObjectBoundedBy); } } else { if (cityObjectBoundedByShouldBeCopiedAndSet == Boolean.FALSE) { copy.unsetCityObjectBoundedBy(); } } } { Boolean interiorFurnitureShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetInteriorFurniture()); if (interiorFurnitureShouldBeCopiedAndSet == Boolean.TRUE) { List sourceInteriorFurniture; sourceInteriorFurniture = (this.isSetInteriorFurniture()?this.getInteriorFurniture():null); @SuppressWarnings("unchecked") List copyInteriorFurniture = ((List ) strategy.copy(LocatorUtils.property(locator, "interiorFurniture", sourceInteriorFurniture), sourceInteriorFurniture, this.isSetInteriorFurniture())); copy.unsetInteriorFurniture(); if (copyInteriorFurniture!= null) { List uniqueInteriorFurniturel = copy.getInteriorFurniture(); uniqueInteriorFurniturel.addAll(copyInteriorFurniture); } } else { if (interiorFurnitureShouldBeCopiedAndSet == Boolean.FALSE) { copy.unsetInteriorFurniture(); } } } { Boolean hollowSpaceInstallationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetHollowSpaceInstallation()); if (hollowSpaceInstallationShouldBeCopiedAndSet == Boolean.TRUE) { List sourceHollowSpaceInstallation; sourceHollowSpaceInstallation = (this.isSetHollowSpaceInstallation()?this.getHollowSpaceInstallation():null); @SuppressWarnings("unchecked") List copyHollowSpaceInstallation = ((List ) strategy.copy(LocatorUtils.property(locator, "hollowSpaceInstallation", sourceHollowSpaceInstallation), sourceHollowSpaceInstallation, this.isSetHollowSpaceInstallation())); copy.unsetHollowSpaceInstallation(); if (copyHollowSpaceInstallation!= null) { List uniqueHollowSpaceInstallationl = copy.getHollowSpaceInstallation(); uniqueHollowSpaceInstallationl.addAll(copyHollowSpaceInstallation); } } else { if (hollowSpaceInstallationShouldBeCopiedAndSet == Boolean.FALSE) { copy.unsetHollowSpaceInstallation(); } } } { Boolean genericApplicationPropertyOfHollowSpaceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfHollowSpace()); if (genericApplicationPropertyOfHollowSpaceShouldBeCopiedAndSet == Boolean.TRUE) { List sourceGenericApplicationPropertyOfHollowSpace; sourceGenericApplicationPropertyOfHollowSpace = (this.isSetGenericApplicationPropertyOfHollowSpace()?this.getGenericApplicationPropertyOfHollowSpace():null); @SuppressWarnings("unchecked") List copyGenericApplicationPropertyOfHollowSpace = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfHollowSpace", sourceGenericApplicationPropertyOfHollowSpace), sourceGenericApplicationPropertyOfHollowSpace, this.isSetGenericApplicationPropertyOfHollowSpace())); copy.unsetGenericApplicationPropertyOfHollowSpace(); if (copyGenericApplicationPropertyOfHollowSpace!= null) { List uniqueGenericApplicationPropertyOfHollowSpacel = copy.getGenericApplicationPropertyOfHollowSpace(); uniqueGenericApplicationPropertyOfHollowSpacel.addAll(copyGenericApplicationPropertyOfHollowSpace); } } else { if (genericApplicationPropertyOfHollowSpaceShouldBeCopiedAndSet == Boolean.FALSE) { copy.unsetGenericApplicationPropertyOfHollowSpace(); } } } } return draftCopy; } public Object createNewInstance() { return new HollowSpaceType(); } public void mergeFrom(Object left, Object right) { final MergeStrategy2 strategy = JAXBMergeStrategy.INSTANCE; mergeFrom(null, null, left, right, strategy); } public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy2 strategy) { super.mergeFrom(leftLocator, rightLocator, left, right, strategy); if (right instanceof HollowSpaceType) { final HollowSpaceType target = this; final HollowSpaceType leftObject = ((HollowSpaceType) left); final HollowSpaceType rightObject = ((HollowSpaceType) right); { Boolean clazzShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetClazz(), rightObject.isSetClazz()); if (clazzShouldBeMergedAndSet == Boolean.TRUE) { CodeType lhsClazz; lhsClazz = leftObject.getClazz(); CodeType rhsClazz; rhsClazz = rightObject.getClazz(); CodeType mergedClazz = ((CodeType) strategy.merge(LocatorUtils.property(leftLocator, "clazz", lhsClazz), LocatorUtils.property(rightLocator, "clazz", rhsClazz), lhsClazz, rhsClazz, leftObject.isSetClazz(), rightObject.isSetClazz())); target.setClazz(mergedClazz); } else { if (clazzShouldBeMergedAndSet == Boolean.FALSE) { target.clazz = null; } } } { Boolean functionShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetFunction(), rightObject.isSetFunction()); if (functionShouldBeMergedAndSet == Boolean.TRUE) { List lhsFunction; lhsFunction = (leftObject.isSetFunction()?leftObject.getFunction():null); List rhsFunction; rhsFunction = (rightObject.isSetFunction()?rightObject.getFunction():null); List mergedFunction = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "function", lhsFunction), LocatorUtils.property(rightLocator, "function", rhsFunction), lhsFunction, rhsFunction, leftObject.isSetFunction(), rightObject.isSetFunction())); target.unsetFunction(); if (mergedFunction!= null) { List uniqueFunctionl = target.getFunction(); uniqueFunctionl.addAll(mergedFunction); } } else { if (functionShouldBeMergedAndSet == Boolean.FALSE) { target.unsetFunction(); } } } { Boolean usageShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetUsage(), rightObject.isSetUsage()); if (usageShouldBeMergedAndSet == Boolean.TRUE) { List lhsUsage; lhsUsage = (leftObject.isSetUsage()?leftObject.getUsage():null); List rhsUsage; rhsUsage = (rightObject.isSetUsage()?rightObject.getUsage():null); List mergedUsage = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "usage", lhsUsage), LocatorUtils.property(rightLocator, "usage", rhsUsage), lhsUsage, rhsUsage, leftObject.isSetUsage(), rightObject.isSetUsage())); target.unsetUsage(); if (mergedUsage!= null) { List uniqueUsagel = target.getUsage(); uniqueUsagel.addAll(mergedUsage); } } else { if (usageShouldBeMergedAndSet == Boolean.FALSE) { target.unsetUsage(); } } } { Boolean lod4SolidShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod4Solid(), rightObject.isSetLod4Solid()); if (lod4SolidShouldBeMergedAndSet == Boolean.TRUE) { SolidPropertyType lhsLod4Solid; lhsLod4Solid = leftObject.getLod4Solid(); SolidPropertyType rhsLod4Solid; rhsLod4Solid = rightObject.getLod4Solid(); SolidPropertyType mergedLod4Solid = ((SolidPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod4Solid", lhsLod4Solid), LocatorUtils.property(rightLocator, "lod4Solid", rhsLod4Solid), lhsLod4Solid, rhsLod4Solid, leftObject.isSetLod4Solid(), rightObject.isSetLod4Solid())); target.setLod4Solid(mergedLod4Solid); } else { if (lod4SolidShouldBeMergedAndSet == Boolean.FALSE) { target.lod4Solid = null; } } } { Boolean lod4MultiSurfaceShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod4MultiSurface(), rightObject.isSetLod4MultiSurface()); if (lod4MultiSurfaceShouldBeMergedAndSet == Boolean.TRUE) { MultiSurfacePropertyType lhsLod4MultiSurface; lhsLod4MultiSurface = leftObject.getLod4MultiSurface(); MultiSurfacePropertyType rhsLod4MultiSurface; rhsLod4MultiSurface = rightObject.getLod4MultiSurface(); MultiSurfacePropertyType mergedLod4MultiSurface = ((MultiSurfacePropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod4MultiSurface", lhsLod4MultiSurface), LocatorUtils.property(rightLocator, "lod4MultiSurface", rhsLod4MultiSurface), lhsLod4MultiSurface, rhsLod4MultiSurface, leftObject.isSetLod4MultiSurface(), rightObject.isSetLod4MultiSurface())); target.setLod4MultiSurface(mergedLod4MultiSurface); } else { if (lod4MultiSurfaceShouldBeMergedAndSet == Boolean.FALSE) { target.lod4MultiSurface = null; } } } { Boolean cityObjectBoundedByShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetCityObjectBoundedBy(), rightObject.isSetCityObjectBoundedBy()); if (cityObjectBoundedByShouldBeMergedAndSet == Boolean.TRUE) { List lhsCityObjectBoundedBy; lhsCityObjectBoundedBy = (leftObject.isSetCityObjectBoundedBy()?leftObject.getCityObjectBoundedBy():null); List rhsCityObjectBoundedBy; rhsCityObjectBoundedBy = (rightObject.isSetCityObjectBoundedBy()?rightObject.getCityObjectBoundedBy():null); List mergedCityObjectBoundedBy = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "cityObjectBoundedBy", lhsCityObjectBoundedBy), LocatorUtils.property(rightLocator, "cityObjectBoundedBy", rhsCityObjectBoundedBy), lhsCityObjectBoundedBy, rhsCityObjectBoundedBy, leftObject.isSetCityObjectBoundedBy(), rightObject.isSetCityObjectBoundedBy())); target.unsetCityObjectBoundedBy(); if (mergedCityObjectBoundedBy!= null) { List uniqueCityObjectBoundedByl = target.getCityObjectBoundedBy(); uniqueCityObjectBoundedByl.addAll(mergedCityObjectBoundedBy); } } else { if (cityObjectBoundedByShouldBeMergedAndSet == Boolean.FALSE) { target.unsetCityObjectBoundedBy(); } } } { Boolean interiorFurnitureShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetInteriorFurniture(), rightObject.isSetInteriorFurniture()); if (interiorFurnitureShouldBeMergedAndSet == Boolean.TRUE) { List lhsInteriorFurniture; lhsInteriorFurniture = (leftObject.isSetInteriorFurniture()?leftObject.getInteriorFurniture():null); List rhsInteriorFurniture; rhsInteriorFurniture = (rightObject.isSetInteriorFurniture()?rightObject.getInteriorFurniture():null); List mergedInteriorFurniture = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "interiorFurniture", lhsInteriorFurniture), LocatorUtils.property(rightLocator, "interiorFurniture", rhsInteriorFurniture), lhsInteriorFurniture, rhsInteriorFurniture, leftObject.isSetInteriorFurniture(), rightObject.isSetInteriorFurniture())); target.unsetInteriorFurniture(); if (mergedInteriorFurniture!= null) { List uniqueInteriorFurniturel = target.getInteriorFurniture(); uniqueInteriorFurniturel.addAll(mergedInteriorFurniture); } } else { if (interiorFurnitureShouldBeMergedAndSet == Boolean.FALSE) { target.unsetInteriorFurniture(); } } } { Boolean hollowSpaceInstallationShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetHollowSpaceInstallation(), rightObject.isSetHollowSpaceInstallation()); if (hollowSpaceInstallationShouldBeMergedAndSet == Boolean.TRUE) { List lhsHollowSpaceInstallation; lhsHollowSpaceInstallation = (leftObject.isSetHollowSpaceInstallation()?leftObject.getHollowSpaceInstallation():null); List rhsHollowSpaceInstallation; rhsHollowSpaceInstallation = (rightObject.isSetHollowSpaceInstallation()?rightObject.getHollowSpaceInstallation():null); List mergedHollowSpaceInstallation = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "hollowSpaceInstallation", lhsHollowSpaceInstallation), LocatorUtils.property(rightLocator, "hollowSpaceInstallation", rhsHollowSpaceInstallation), lhsHollowSpaceInstallation, rhsHollowSpaceInstallation, leftObject.isSetHollowSpaceInstallation(), rightObject.isSetHollowSpaceInstallation())); target.unsetHollowSpaceInstallation(); if (mergedHollowSpaceInstallation!= null) { List uniqueHollowSpaceInstallationl = target.getHollowSpaceInstallation(); uniqueHollowSpaceInstallationl.addAll(mergedHollowSpaceInstallation); } } else { if (hollowSpaceInstallationShouldBeMergedAndSet == Boolean.FALSE) { target.unsetHollowSpaceInstallation(); } } } { Boolean genericApplicationPropertyOfHollowSpaceShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfHollowSpace(), rightObject.isSetGenericApplicationPropertyOfHollowSpace()); if (genericApplicationPropertyOfHollowSpaceShouldBeMergedAndSet == Boolean.TRUE) { List lhsGenericApplicationPropertyOfHollowSpace; lhsGenericApplicationPropertyOfHollowSpace = (leftObject.isSetGenericApplicationPropertyOfHollowSpace()?leftObject.getGenericApplicationPropertyOfHollowSpace():null); List rhsGenericApplicationPropertyOfHollowSpace; rhsGenericApplicationPropertyOfHollowSpace = (rightObject.isSetGenericApplicationPropertyOfHollowSpace()?rightObject.getGenericApplicationPropertyOfHollowSpace():null); List mergedGenericApplicationPropertyOfHollowSpace = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfHollowSpace", lhsGenericApplicationPropertyOfHollowSpace), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfHollowSpace", rhsGenericApplicationPropertyOfHollowSpace), lhsGenericApplicationPropertyOfHollowSpace, rhsGenericApplicationPropertyOfHollowSpace, leftObject.isSetGenericApplicationPropertyOfHollowSpace(), rightObject.isSetGenericApplicationPropertyOfHollowSpace())); target.unsetGenericApplicationPropertyOfHollowSpace(); if (mergedGenericApplicationPropertyOfHollowSpace!= null) { List uniqueGenericApplicationPropertyOfHollowSpacel = target.getGenericApplicationPropertyOfHollowSpace(); uniqueGenericApplicationPropertyOfHollowSpacel.addAll(mergedGenericApplicationPropertyOfHollowSpace); } } else { if (genericApplicationPropertyOfHollowSpaceShouldBeMergedAndSet == Boolean.FALSE) { target.unsetGenericApplicationPropertyOfHollowSpace(); } } } } } public void setFunction(List value) { this.function = null; if (value!= null) { List draftl = this.getFunction(); draftl.addAll(value); } } public void setUsage(List value) { this.usage = null; if (value!= null) { List draftl = this.getUsage(); draftl.addAll(value); } } public void setCityObjectBoundedBy(List value) { this.cityObjectBoundedBy = null; if (value!= null) { List draftl = this.getCityObjectBoundedBy(); draftl.addAll(value); } } public void setInteriorFurniture(List value) { this.interiorFurniture = null; if (value!= null) { List draftl = this.getInteriorFurniture(); draftl.addAll(value); } } public void setHollowSpaceInstallation(List value) { this.hollowSpaceInstallation = null; if (value!= null) { List draftl = this.getHollowSpaceInstallation(); draftl.addAll(value); } } public void setGenericApplicationPropertyOfHollowSpace(List value) { this.genericApplicationPropertyOfHollowSpace = null; if (value!= null) { List draftl = this.getGenericApplicationPropertyOfHollowSpace(); draftl.addAll(value); } } public HollowSpaceType withClazz(CodeType value) { setClazz(value); return this; } public HollowSpaceType withFunction(CodeType... values) { if (values!= null) { for (CodeType value: values) { getFunction().add(value); } } return this; } public HollowSpaceType withFunction(Collection values) { if (values!= null) { getFunction().addAll(values); } return this; } public HollowSpaceType withUsage(CodeType... values) { if (values!= null) { for (CodeType value: values) { getUsage().add(value); } } return this; } public HollowSpaceType withUsage(Collection values) { if (values!= null) { getUsage().addAll(values); } return this; } public HollowSpaceType withLod4Solid(SolidPropertyType value) { setLod4Solid(value); return this; } public HollowSpaceType withLod4MultiSurface(MultiSurfacePropertyType value) { setLod4MultiSurface(value); return this; } public HollowSpaceType withCityObjectBoundedBy(BoundarySurfacePropertyType... values) { if (values!= null) { for (BoundarySurfacePropertyType value: values) { getCityObjectBoundedBy().add(value); } } return this; } public HollowSpaceType withCityObjectBoundedBy(Collection values) { if (values!= null) { getCityObjectBoundedBy().addAll(values); } return this; } public HollowSpaceType withInteriorFurniture(InteriorFurniturePropertyType... values) { if (values!= null) { for (InteriorFurniturePropertyType value: values) { getInteriorFurniture().add(value); } } return this; } public HollowSpaceType withInteriorFurniture(Collection values) { if (values!= null) { getInteriorFurniture().addAll(values); } return this; } public HollowSpaceType withHollowSpaceInstallation(IntTunnelInstallationPropertyType... values) { if (values!= null) { for (IntTunnelInstallationPropertyType value: values) { getHollowSpaceInstallation().add(value); } } return this; } public HollowSpaceType withHollowSpaceInstallation(Collection values) { if (values!= null) { getHollowSpaceInstallation().addAll(values); } return this; } public HollowSpaceType withGenericApplicationPropertyOfHollowSpace(Object... values) { if (values!= null) { for (Object value: values) { getGenericApplicationPropertyOfHollowSpace().add(value); } } return this; } public HollowSpaceType withGenericApplicationPropertyOfHollowSpace(Collection values) { if (values!= null) { getGenericApplicationPropertyOfHollowSpace().addAll(values); } return this; } public HollowSpaceType withFunction(List value) { setFunction(value); return this; } public HollowSpaceType withUsage(List value) { setUsage(value); return this; } public HollowSpaceType withCityObjectBoundedBy(List value) { setCityObjectBoundedBy(value); return this; } public HollowSpaceType withInteriorFurniture(List value) { setInteriorFurniture(value); return this; } public HollowSpaceType withHollowSpaceInstallation(List value) { setHollowSpaceInstallation(value); return this; } public HollowSpaceType withGenericApplicationPropertyOfHollowSpace(List value) { setGenericApplicationPropertyOfHollowSpace(value); return this; } @Override public HollowSpaceType withCreationDate(XMLGregorianCalendar value) { setCreationDate(value); return this; } @Override public HollowSpaceType withTerminationDate(XMLGregorianCalendar value) { setTerminationDate(value); return this; } @Override public HollowSpaceType withExternalReference(ExternalReferenceType... values) { if (values!= null) { for (ExternalReferenceType value: values) { getExternalReference().add(value); } } return this; } @Override public HollowSpaceType withExternalReference(Collection values) { if (values!= null) { getExternalReference().addAll(values); } return this; } @Override public HollowSpaceType withGeneralizesTo(GeneralizationRelationType... values) { if (values!= null) { for (GeneralizationRelationType value: values) { getGeneralizesTo().add(value); } } return this; } @Override public HollowSpaceType withGeneralizesTo(Collection values) { if (values!= null) { getGeneralizesTo().addAll(values); } return this; } @Override public HollowSpaceType withRelativeToTerrain(RelativeToTerrainType value) { setRelativeToTerrain(value); return this; } @Override public HollowSpaceType withRelativeToWater(RelativeToWaterType value) { setRelativeToWater(value); return this; } @Override public HollowSpaceType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) { if (values!= null) { for (JAXBElement value: values) { getGenericApplicationPropertyOfCityObject().add(value); } } return this; } @Override public HollowSpaceType withGenericApplicationPropertyOfCityObject(Collection> values) { if (values!= null) { getGenericApplicationPropertyOfCityObject().addAll(values); } return this; } @Override public HollowSpaceType withExternalReference(List value) { setExternalReference(value); return this; } @Override public HollowSpaceType withGeneralizesTo(List value) { setGeneralizesTo(value); return this; } @Override public HollowSpaceType withGenericApplicationPropertyOfCityObject(List> value) { setGenericApplicationPropertyOfCityObject(value); return this; } }