Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.opengis.citygml.bridge.v_2_0.BridgeConstructionElementType 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.bridge.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.ImplicitRepresentationPropertyType;
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.GeometryPropertyType;
import net.opengis.gml.v_3_1_1.MultiCurvePropertyType;
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;
/**
* A BridgeConstructionElement is a part of a Bridge which has not the significance of a BridgePart. In
* contrast to BridgeInstallation, a BridgeConstructionElement is essential from a structural point of view. Examples are
* pylons, anchorages, etc. As subclass of _CityObject, a BridgeInstallation inherits all attributes and relations, in
* particular an id, names, external references, generic attributes and generalization relations.
*
* Java class for BridgeConstructionElementType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="BridgeConstructionElementType">
* <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="lod1Geometry" type="{http://www.opengis.net/gml}GeometryPropertyType" minOccurs="0"/>
* <element name="lod2Geometry" type="{http://www.opengis.net/gml}GeometryPropertyType" minOccurs="0"/>
* <element name="lod3Geometry" type="{http://www.opengis.net/gml}GeometryPropertyType" minOccurs="0"/>
* <element name="lod4Geometry" type="{http://www.opengis.net/gml}GeometryPropertyType" minOccurs="0"/>
* <element name="lod1TerrainIntersection" type="{http://www.opengis.net/gml}MultiCurvePropertyType" minOccurs="0"/>
* <element name="lod2TerrainIntersection" type="{http://www.opengis.net/gml}MultiCurvePropertyType" minOccurs="0"/>
* <element name="lod3TerrainIntersection" type="{http://www.opengis.net/gml}MultiCurvePropertyType" minOccurs="0"/>
* <element name="lod4TerrainIntersection" type="{http://www.opengis.net/gml}MultiCurvePropertyType" minOccurs="0"/>
* <element name="lod1ImplicitRepresentation" type="{http://www.opengis.net/citygml/2.0}ImplicitRepresentationPropertyType" minOccurs="0"/>
* <element name="lod2ImplicitRepresentation" type="{http://www.opengis.net/citygml/2.0}ImplicitRepresentationPropertyType" minOccurs="0"/>
* <element name="lod3ImplicitRepresentation" type="{http://www.opengis.net/citygml/2.0}ImplicitRepresentationPropertyType" minOccurs="0"/>
* <element name="lod4ImplicitRepresentation" type="{http://www.opengis.net/citygml/2.0}ImplicitRepresentationPropertyType" minOccurs="0"/>
* <element name="boundedBy" type="{http://www.opengis.net/citygml/bridge/2.0}BoundarySurfacePropertyType" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.opengis.net/citygml/bridge/2.0}_GenericApplicationPropertyOfBridgeConstructionElement" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BridgeConstructionElementType", propOrder = {
"clazz",
"function",
"usage",
"lod1Geometry",
"lod2Geometry",
"lod3Geometry",
"lod4Geometry",
"lod1TerrainIntersection",
"lod2TerrainIntersection",
"lod3TerrainIntersection",
"lod4TerrainIntersection",
"lod1ImplicitRepresentation",
"lod2ImplicitRepresentation",
"lod3ImplicitRepresentation",
"lod4ImplicitRepresentation",
"cityObjectBoundedBy",
"genericApplicationPropertyOfBridgeConstructionElement"
})
public class BridgeConstructionElementType
extends AbstractCityObjectType
implements Cloneable, CopyTo2, Equals2, HashCode2, MergeFrom2, ToString2
{
@XmlElement(name = "class")
protected CodeType clazz;
protected List function;
protected List usage;
protected GeometryPropertyType lod1Geometry;
protected GeometryPropertyType lod2Geometry;
protected GeometryPropertyType lod3Geometry;
protected GeometryPropertyType lod4Geometry;
protected MultiCurvePropertyType lod1TerrainIntersection;
protected MultiCurvePropertyType lod2TerrainIntersection;
protected MultiCurvePropertyType lod3TerrainIntersection;
protected MultiCurvePropertyType lod4TerrainIntersection;
protected ImplicitRepresentationPropertyType lod1ImplicitRepresentation;
protected ImplicitRepresentationPropertyType lod2ImplicitRepresentation;
protected ImplicitRepresentationPropertyType lod3ImplicitRepresentation;
protected ImplicitRepresentationPropertyType lod4ImplicitRepresentation;
@XmlElement(name = "boundedBy")
protected List cityObjectBoundedBy;
@XmlElement(name = "_GenericApplicationPropertyOfBridgeConstructionElement")
protected List genericApplicationPropertyOfBridgeConstructionElement;
/**
* 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 lod1Geometry property.
*
* @return
* possible object is
* {@link GeometryPropertyType }
*
*/
public GeometryPropertyType getLod1Geometry() {
return lod1Geometry;
}
/**
* Sets the value of the lod1Geometry property.
*
* @param value
* allowed object is
* {@link GeometryPropertyType }
*
*/
public void setLod1Geometry(GeometryPropertyType value) {
this.lod1Geometry = value;
}
public boolean isSetLod1Geometry() {
return (this.lod1Geometry!= null);
}
/**
* Gets the value of the lod2Geometry property.
*
* @return
* possible object is
* {@link GeometryPropertyType }
*
*/
public GeometryPropertyType getLod2Geometry() {
return lod2Geometry;
}
/**
* Sets the value of the lod2Geometry property.
*
* @param value
* allowed object is
* {@link GeometryPropertyType }
*
*/
public void setLod2Geometry(GeometryPropertyType value) {
this.lod2Geometry = value;
}
public boolean isSetLod2Geometry() {
return (this.lod2Geometry!= null);
}
/**
* Gets the value of the lod3Geometry property.
*
* @return
* possible object is
* {@link GeometryPropertyType }
*
*/
public GeometryPropertyType getLod3Geometry() {
return lod3Geometry;
}
/**
* Sets the value of the lod3Geometry property.
*
* @param value
* allowed object is
* {@link GeometryPropertyType }
*
*/
public void setLod3Geometry(GeometryPropertyType value) {
this.lod3Geometry = value;
}
public boolean isSetLod3Geometry() {
return (this.lod3Geometry!= null);
}
/**
* Gets the value of the lod4Geometry property.
*
* @return
* possible object is
* {@link GeometryPropertyType }
*
*/
public GeometryPropertyType getLod4Geometry() {
return lod4Geometry;
}
/**
* Sets the value of the lod4Geometry property.
*
* @param value
* allowed object is
* {@link GeometryPropertyType }
*
*/
public void setLod4Geometry(GeometryPropertyType value) {
this.lod4Geometry = value;
}
public boolean isSetLod4Geometry() {
return (this.lod4Geometry!= null);
}
/**
* Gets the value of the lod1TerrainIntersection property.
*
* @return
* possible object is
* {@link MultiCurvePropertyType }
*
*/
public MultiCurvePropertyType getLod1TerrainIntersection() {
return lod1TerrainIntersection;
}
/**
* Sets the value of the lod1TerrainIntersection property.
*
* @param value
* allowed object is
* {@link MultiCurvePropertyType }
*
*/
public void setLod1TerrainIntersection(MultiCurvePropertyType value) {
this.lod1TerrainIntersection = value;
}
public boolean isSetLod1TerrainIntersection() {
return (this.lod1TerrainIntersection!= null);
}
/**
* Gets the value of the lod2TerrainIntersection property.
*
* @return
* possible object is
* {@link MultiCurvePropertyType }
*
*/
public MultiCurvePropertyType getLod2TerrainIntersection() {
return lod2TerrainIntersection;
}
/**
* Sets the value of the lod2TerrainIntersection property.
*
* @param value
* allowed object is
* {@link MultiCurvePropertyType }
*
*/
public void setLod2TerrainIntersection(MultiCurvePropertyType value) {
this.lod2TerrainIntersection = value;
}
public boolean isSetLod2TerrainIntersection() {
return (this.lod2TerrainIntersection!= null);
}
/**
* Gets the value of the lod3TerrainIntersection property.
*
* @return
* possible object is
* {@link MultiCurvePropertyType }
*
*/
public MultiCurvePropertyType getLod3TerrainIntersection() {
return lod3TerrainIntersection;
}
/**
* Sets the value of the lod3TerrainIntersection property.
*
* @param value
* allowed object is
* {@link MultiCurvePropertyType }
*
*/
public void setLod3TerrainIntersection(MultiCurvePropertyType value) {
this.lod3TerrainIntersection = value;
}
public boolean isSetLod3TerrainIntersection() {
return (this.lod3TerrainIntersection!= null);
}
/**
* Gets the value of the lod4TerrainIntersection property.
*
* @return
* possible object is
* {@link MultiCurvePropertyType }
*
*/
public MultiCurvePropertyType getLod4TerrainIntersection() {
return lod4TerrainIntersection;
}
/**
* Sets the value of the lod4TerrainIntersection property.
*
* @param value
* allowed object is
* {@link MultiCurvePropertyType }
*
*/
public void setLod4TerrainIntersection(MultiCurvePropertyType value) {
this.lod4TerrainIntersection = value;
}
public boolean isSetLod4TerrainIntersection() {
return (this.lod4TerrainIntersection!= null);
}
/**
* Gets the value of the lod1ImplicitRepresentation property.
*
* @return
* possible object is
* {@link ImplicitRepresentationPropertyType }
*
*/
public ImplicitRepresentationPropertyType getLod1ImplicitRepresentation() {
return lod1ImplicitRepresentation;
}
/**
* Sets the value of the lod1ImplicitRepresentation property.
*
* @param value
* allowed object is
* {@link ImplicitRepresentationPropertyType }
*
*/
public void setLod1ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
this.lod1ImplicitRepresentation = value;
}
public boolean isSetLod1ImplicitRepresentation() {
return (this.lod1ImplicitRepresentation!= null);
}
/**
* Gets the value of the lod2ImplicitRepresentation property.
*
* @return
* possible object is
* {@link ImplicitRepresentationPropertyType }
*
*/
public ImplicitRepresentationPropertyType getLod2ImplicitRepresentation() {
return lod2ImplicitRepresentation;
}
/**
* Sets the value of the lod2ImplicitRepresentation property.
*
* @param value
* allowed object is
* {@link ImplicitRepresentationPropertyType }
*
*/
public void setLod2ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
this.lod2ImplicitRepresentation = value;
}
public boolean isSetLod2ImplicitRepresentation() {
return (this.lod2ImplicitRepresentation!= null);
}
/**
* Gets the value of the lod3ImplicitRepresentation property.
*
* @return
* possible object is
* {@link ImplicitRepresentationPropertyType }
*
*/
public ImplicitRepresentationPropertyType getLod3ImplicitRepresentation() {
return lod3ImplicitRepresentation;
}
/**
* Sets the value of the lod3ImplicitRepresentation property.
*
* @param value
* allowed object is
* {@link ImplicitRepresentationPropertyType }
*
*/
public void setLod3ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
this.lod3ImplicitRepresentation = value;
}
public boolean isSetLod3ImplicitRepresentation() {
return (this.lod3ImplicitRepresentation!= null);
}
/**
* Gets the value of the lod4ImplicitRepresentation property.
*
* @return
* possible object is
* {@link ImplicitRepresentationPropertyType }
*
*/
public ImplicitRepresentationPropertyType getLod4ImplicitRepresentation() {
return lod4ImplicitRepresentation;
}
/**
* Sets the value of the lod4ImplicitRepresentation property.
*
* @param value
* allowed object is
* {@link ImplicitRepresentationPropertyType }
*
*/
public void setLod4ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
this.lod4ImplicitRepresentation = value;
}
public boolean isSetLod4ImplicitRepresentation() {
return (this.lod4ImplicitRepresentation!= 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 genericApplicationPropertyOfBridgeConstructionElement 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 genericApplicationPropertyOfBridgeConstructionElement property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfBridgeConstructionElement().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfBridgeConstructionElement() {
if (genericApplicationPropertyOfBridgeConstructionElement == null) {
genericApplicationPropertyOfBridgeConstructionElement = new ArrayList();
}
return this.genericApplicationPropertyOfBridgeConstructionElement;
}
public boolean isSetGenericApplicationPropertyOfBridgeConstructionElement() {
return ((this.genericApplicationPropertyOfBridgeConstructionElement!= null)&&(!this.genericApplicationPropertyOfBridgeConstructionElement.isEmpty()));
}
public void unsetGenericApplicationPropertyOfBridgeConstructionElement() {
this.genericApplicationPropertyOfBridgeConstructionElement = 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());
}
{
GeometryPropertyType theLod1Geometry;
theLod1Geometry = this.getLod1Geometry();
strategy.appendField(locator, this, "lod1Geometry", buffer, theLod1Geometry, this.isSetLod1Geometry());
}
{
GeometryPropertyType theLod2Geometry;
theLod2Geometry = this.getLod2Geometry();
strategy.appendField(locator, this, "lod2Geometry", buffer, theLod2Geometry, this.isSetLod2Geometry());
}
{
GeometryPropertyType theLod3Geometry;
theLod3Geometry = this.getLod3Geometry();
strategy.appendField(locator, this, "lod3Geometry", buffer, theLod3Geometry, this.isSetLod3Geometry());
}
{
GeometryPropertyType theLod4Geometry;
theLod4Geometry = this.getLod4Geometry();
strategy.appendField(locator, this, "lod4Geometry", buffer, theLod4Geometry, this.isSetLod4Geometry());
}
{
MultiCurvePropertyType theLod1TerrainIntersection;
theLod1TerrainIntersection = this.getLod1TerrainIntersection();
strategy.appendField(locator, this, "lod1TerrainIntersection", buffer, theLod1TerrainIntersection, this.isSetLod1TerrainIntersection());
}
{
MultiCurvePropertyType theLod2TerrainIntersection;
theLod2TerrainIntersection = this.getLod2TerrainIntersection();
strategy.appendField(locator, this, "lod2TerrainIntersection", buffer, theLod2TerrainIntersection, this.isSetLod2TerrainIntersection());
}
{
MultiCurvePropertyType theLod3TerrainIntersection;
theLod3TerrainIntersection = this.getLod3TerrainIntersection();
strategy.appendField(locator, this, "lod3TerrainIntersection", buffer, theLod3TerrainIntersection, this.isSetLod3TerrainIntersection());
}
{
MultiCurvePropertyType theLod4TerrainIntersection;
theLod4TerrainIntersection = this.getLod4TerrainIntersection();
strategy.appendField(locator, this, "lod4TerrainIntersection", buffer, theLod4TerrainIntersection, this.isSetLod4TerrainIntersection());
}
{
ImplicitRepresentationPropertyType theLod1ImplicitRepresentation;
theLod1ImplicitRepresentation = this.getLod1ImplicitRepresentation();
strategy.appendField(locator, this, "lod1ImplicitRepresentation", buffer, theLod1ImplicitRepresentation, this.isSetLod1ImplicitRepresentation());
}
{
ImplicitRepresentationPropertyType theLod2ImplicitRepresentation;
theLod2ImplicitRepresentation = this.getLod2ImplicitRepresentation();
strategy.appendField(locator, this, "lod2ImplicitRepresentation", buffer, theLod2ImplicitRepresentation, this.isSetLod2ImplicitRepresentation());
}
{
ImplicitRepresentationPropertyType theLod3ImplicitRepresentation;
theLod3ImplicitRepresentation = this.getLod3ImplicitRepresentation();
strategy.appendField(locator, this, "lod3ImplicitRepresentation", buffer, theLod3ImplicitRepresentation, this.isSetLod3ImplicitRepresentation());
}
{
ImplicitRepresentationPropertyType theLod4ImplicitRepresentation;
theLod4ImplicitRepresentation = this.getLod4ImplicitRepresentation();
strategy.appendField(locator, this, "lod4ImplicitRepresentation", buffer, theLod4ImplicitRepresentation, this.isSetLod4ImplicitRepresentation());
}
{
List theCityObjectBoundedBy;
theCityObjectBoundedBy = (this.isSetCityObjectBoundedBy()?this.getCityObjectBoundedBy():null);
strategy.appendField(locator, this, "cityObjectBoundedBy", buffer, theCityObjectBoundedBy, this.isSetCityObjectBoundedBy());
}
{
List theGenericApplicationPropertyOfBridgeConstructionElement;
theGenericApplicationPropertyOfBridgeConstructionElement = (this.isSetGenericApplicationPropertyOfBridgeConstructionElement()?this.getGenericApplicationPropertyOfBridgeConstructionElement():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfBridgeConstructionElement", buffer, theGenericApplicationPropertyOfBridgeConstructionElement, this.isSetGenericApplicationPropertyOfBridgeConstructionElement());
}
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 BridgeConstructionElementType that = ((BridgeConstructionElementType) 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;
}
}
{
GeometryPropertyType lhsLod1Geometry;
lhsLod1Geometry = this.getLod1Geometry();
GeometryPropertyType rhsLod1Geometry;
rhsLod1Geometry = that.getLod1Geometry();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod1Geometry", lhsLod1Geometry), LocatorUtils.property(thatLocator, "lod1Geometry", rhsLod1Geometry), lhsLod1Geometry, rhsLod1Geometry, this.isSetLod1Geometry(), that.isSetLod1Geometry())) {
return false;
}
}
{
GeometryPropertyType lhsLod2Geometry;
lhsLod2Geometry = this.getLod2Geometry();
GeometryPropertyType rhsLod2Geometry;
rhsLod2Geometry = that.getLod2Geometry();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod2Geometry", lhsLod2Geometry), LocatorUtils.property(thatLocator, "lod2Geometry", rhsLod2Geometry), lhsLod2Geometry, rhsLod2Geometry, this.isSetLod2Geometry(), that.isSetLod2Geometry())) {
return false;
}
}
{
GeometryPropertyType lhsLod3Geometry;
lhsLod3Geometry = this.getLod3Geometry();
GeometryPropertyType rhsLod3Geometry;
rhsLod3Geometry = that.getLod3Geometry();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod3Geometry", lhsLod3Geometry), LocatorUtils.property(thatLocator, "lod3Geometry", rhsLod3Geometry), lhsLod3Geometry, rhsLod3Geometry, this.isSetLod3Geometry(), that.isSetLod3Geometry())) {
return false;
}
}
{
GeometryPropertyType lhsLod4Geometry;
lhsLod4Geometry = this.getLod4Geometry();
GeometryPropertyType rhsLod4Geometry;
rhsLod4Geometry = that.getLod4Geometry();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod4Geometry", lhsLod4Geometry), LocatorUtils.property(thatLocator, "lod4Geometry", rhsLod4Geometry), lhsLod4Geometry, rhsLod4Geometry, this.isSetLod4Geometry(), that.isSetLod4Geometry())) {
return false;
}
}
{
MultiCurvePropertyType lhsLod1TerrainIntersection;
lhsLod1TerrainIntersection = this.getLod1TerrainIntersection();
MultiCurvePropertyType rhsLod1TerrainIntersection;
rhsLod1TerrainIntersection = that.getLod1TerrainIntersection();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod1TerrainIntersection", lhsLod1TerrainIntersection), LocatorUtils.property(thatLocator, "lod1TerrainIntersection", rhsLod1TerrainIntersection), lhsLod1TerrainIntersection, rhsLod1TerrainIntersection, this.isSetLod1TerrainIntersection(), that.isSetLod1TerrainIntersection())) {
return false;
}
}
{
MultiCurvePropertyType lhsLod2TerrainIntersection;
lhsLod2TerrainIntersection = this.getLod2TerrainIntersection();
MultiCurvePropertyType rhsLod2TerrainIntersection;
rhsLod2TerrainIntersection = that.getLod2TerrainIntersection();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod2TerrainIntersection", lhsLod2TerrainIntersection), LocatorUtils.property(thatLocator, "lod2TerrainIntersection", rhsLod2TerrainIntersection), lhsLod2TerrainIntersection, rhsLod2TerrainIntersection, this.isSetLod2TerrainIntersection(), that.isSetLod2TerrainIntersection())) {
return false;
}
}
{
MultiCurvePropertyType lhsLod3TerrainIntersection;
lhsLod3TerrainIntersection = this.getLod3TerrainIntersection();
MultiCurvePropertyType rhsLod3TerrainIntersection;
rhsLod3TerrainIntersection = that.getLod3TerrainIntersection();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod3TerrainIntersection", lhsLod3TerrainIntersection), LocatorUtils.property(thatLocator, "lod3TerrainIntersection", rhsLod3TerrainIntersection), lhsLod3TerrainIntersection, rhsLod3TerrainIntersection, this.isSetLod3TerrainIntersection(), that.isSetLod3TerrainIntersection())) {
return false;
}
}
{
MultiCurvePropertyType lhsLod4TerrainIntersection;
lhsLod4TerrainIntersection = this.getLod4TerrainIntersection();
MultiCurvePropertyType rhsLod4TerrainIntersection;
rhsLod4TerrainIntersection = that.getLod4TerrainIntersection();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod4TerrainIntersection", lhsLod4TerrainIntersection), LocatorUtils.property(thatLocator, "lod4TerrainIntersection", rhsLod4TerrainIntersection), lhsLod4TerrainIntersection, rhsLod4TerrainIntersection, this.isSetLod4TerrainIntersection(), that.isSetLod4TerrainIntersection())) {
return false;
}
}
{
ImplicitRepresentationPropertyType lhsLod1ImplicitRepresentation;
lhsLod1ImplicitRepresentation = this.getLod1ImplicitRepresentation();
ImplicitRepresentationPropertyType rhsLod1ImplicitRepresentation;
rhsLod1ImplicitRepresentation = that.getLod1ImplicitRepresentation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod1ImplicitRepresentation", lhsLod1ImplicitRepresentation), LocatorUtils.property(thatLocator, "lod1ImplicitRepresentation", rhsLod1ImplicitRepresentation), lhsLod1ImplicitRepresentation, rhsLod1ImplicitRepresentation, this.isSetLod1ImplicitRepresentation(), that.isSetLod1ImplicitRepresentation())) {
return false;
}
}
{
ImplicitRepresentationPropertyType lhsLod2ImplicitRepresentation;
lhsLod2ImplicitRepresentation = this.getLod2ImplicitRepresentation();
ImplicitRepresentationPropertyType rhsLod2ImplicitRepresentation;
rhsLod2ImplicitRepresentation = that.getLod2ImplicitRepresentation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod2ImplicitRepresentation", lhsLod2ImplicitRepresentation), LocatorUtils.property(thatLocator, "lod2ImplicitRepresentation", rhsLod2ImplicitRepresentation), lhsLod2ImplicitRepresentation, rhsLod2ImplicitRepresentation, this.isSetLod2ImplicitRepresentation(), that.isSetLod2ImplicitRepresentation())) {
return false;
}
}
{
ImplicitRepresentationPropertyType lhsLod3ImplicitRepresentation;
lhsLod3ImplicitRepresentation = this.getLod3ImplicitRepresentation();
ImplicitRepresentationPropertyType rhsLod3ImplicitRepresentation;
rhsLod3ImplicitRepresentation = that.getLod3ImplicitRepresentation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod3ImplicitRepresentation", lhsLod3ImplicitRepresentation), LocatorUtils.property(thatLocator, "lod3ImplicitRepresentation", rhsLod3ImplicitRepresentation), lhsLod3ImplicitRepresentation, rhsLod3ImplicitRepresentation, this.isSetLod3ImplicitRepresentation(), that.isSetLod3ImplicitRepresentation())) {
return false;
}
}
{
ImplicitRepresentationPropertyType lhsLod4ImplicitRepresentation;
lhsLod4ImplicitRepresentation = this.getLod4ImplicitRepresentation();
ImplicitRepresentationPropertyType rhsLod4ImplicitRepresentation;
rhsLod4ImplicitRepresentation = that.getLod4ImplicitRepresentation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod4ImplicitRepresentation", lhsLod4ImplicitRepresentation), LocatorUtils.property(thatLocator, "lod4ImplicitRepresentation", rhsLod4ImplicitRepresentation), lhsLod4ImplicitRepresentation, rhsLod4ImplicitRepresentation, this.isSetLod4ImplicitRepresentation(), that.isSetLod4ImplicitRepresentation())) {
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 lhsGenericApplicationPropertyOfBridgeConstructionElement;
lhsGenericApplicationPropertyOfBridgeConstructionElement = (this.isSetGenericApplicationPropertyOfBridgeConstructionElement()?this.getGenericApplicationPropertyOfBridgeConstructionElement():null);
List rhsGenericApplicationPropertyOfBridgeConstructionElement;
rhsGenericApplicationPropertyOfBridgeConstructionElement = (that.isSetGenericApplicationPropertyOfBridgeConstructionElement()?that.getGenericApplicationPropertyOfBridgeConstructionElement():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfBridgeConstructionElement", lhsGenericApplicationPropertyOfBridgeConstructionElement), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfBridgeConstructionElement", rhsGenericApplicationPropertyOfBridgeConstructionElement), lhsGenericApplicationPropertyOfBridgeConstructionElement, rhsGenericApplicationPropertyOfBridgeConstructionElement, this.isSetGenericApplicationPropertyOfBridgeConstructionElement(), that.isSetGenericApplicationPropertyOfBridgeConstructionElement())) {
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());
}
{
GeometryPropertyType theLod1Geometry;
theLod1Geometry = this.getLod1Geometry();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod1Geometry", theLod1Geometry), currentHashCode, theLod1Geometry, this.isSetLod1Geometry());
}
{
GeometryPropertyType theLod2Geometry;
theLod2Geometry = this.getLod2Geometry();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod2Geometry", theLod2Geometry), currentHashCode, theLod2Geometry, this.isSetLod2Geometry());
}
{
GeometryPropertyType theLod3Geometry;
theLod3Geometry = this.getLod3Geometry();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod3Geometry", theLod3Geometry), currentHashCode, theLod3Geometry, this.isSetLod3Geometry());
}
{
GeometryPropertyType theLod4Geometry;
theLod4Geometry = this.getLod4Geometry();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod4Geometry", theLod4Geometry), currentHashCode, theLod4Geometry, this.isSetLod4Geometry());
}
{
MultiCurvePropertyType theLod1TerrainIntersection;
theLod1TerrainIntersection = this.getLod1TerrainIntersection();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod1TerrainIntersection", theLod1TerrainIntersection), currentHashCode, theLod1TerrainIntersection, this.isSetLod1TerrainIntersection());
}
{
MultiCurvePropertyType theLod2TerrainIntersection;
theLod2TerrainIntersection = this.getLod2TerrainIntersection();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod2TerrainIntersection", theLod2TerrainIntersection), currentHashCode, theLod2TerrainIntersection, this.isSetLod2TerrainIntersection());
}
{
MultiCurvePropertyType theLod3TerrainIntersection;
theLod3TerrainIntersection = this.getLod3TerrainIntersection();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod3TerrainIntersection", theLod3TerrainIntersection), currentHashCode, theLod3TerrainIntersection, this.isSetLod3TerrainIntersection());
}
{
MultiCurvePropertyType theLod4TerrainIntersection;
theLod4TerrainIntersection = this.getLod4TerrainIntersection();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod4TerrainIntersection", theLod4TerrainIntersection), currentHashCode, theLod4TerrainIntersection, this.isSetLod4TerrainIntersection());
}
{
ImplicitRepresentationPropertyType theLod1ImplicitRepresentation;
theLod1ImplicitRepresentation = this.getLod1ImplicitRepresentation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod1ImplicitRepresentation", theLod1ImplicitRepresentation), currentHashCode, theLod1ImplicitRepresentation, this.isSetLod1ImplicitRepresentation());
}
{
ImplicitRepresentationPropertyType theLod2ImplicitRepresentation;
theLod2ImplicitRepresentation = this.getLod2ImplicitRepresentation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod2ImplicitRepresentation", theLod2ImplicitRepresentation), currentHashCode, theLod2ImplicitRepresentation, this.isSetLod2ImplicitRepresentation());
}
{
ImplicitRepresentationPropertyType theLod3ImplicitRepresentation;
theLod3ImplicitRepresentation = this.getLod3ImplicitRepresentation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod3ImplicitRepresentation", theLod3ImplicitRepresentation), currentHashCode, theLod3ImplicitRepresentation, this.isSetLod3ImplicitRepresentation());
}
{
ImplicitRepresentationPropertyType theLod4ImplicitRepresentation;
theLod4ImplicitRepresentation = this.getLod4ImplicitRepresentation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod4ImplicitRepresentation", theLod4ImplicitRepresentation), currentHashCode, theLod4ImplicitRepresentation, this.isSetLod4ImplicitRepresentation());
}
{
List theCityObjectBoundedBy;
theCityObjectBoundedBy = (this.isSetCityObjectBoundedBy()?this.getCityObjectBoundedBy():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "cityObjectBoundedBy", theCityObjectBoundedBy), currentHashCode, theCityObjectBoundedBy, this.isSetCityObjectBoundedBy());
}
{
List theGenericApplicationPropertyOfBridgeConstructionElement;
theGenericApplicationPropertyOfBridgeConstructionElement = (this.isSetGenericApplicationPropertyOfBridgeConstructionElement()?this.getGenericApplicationPropertyOfBridgeConstructionElement():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfBridgeConstructionElement", theGenericApplicationPropertyOfBridgeConstructionElement), currentHashCode, theGenericApplicationPropertyOfBridgeConstructionElement, this.isSetGenericApplicationPropertyOfBridgeConstructionElement());
}
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 BridgeConstructionElementType) {
final BridgeConstructionElementType copy = ((BridgeConstructionElementType) 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 lod1GeometryShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod1Geometry());
if (lod1GeometryShouldBeCopiedAndSet == Boolean.TRUE) {
GeometryPropertyType sourceLod1Geometry;
sourceLod1Geometry = this.getLod1Geometry();
GeometryPropertyType copyLod1Geometry = ((GeometryPropertyType) strategy.copy(LocatorUtils.property(locator, "lod1Geometry", sourceLod1Geometry), sourceLod1Geometry, this.isSetLod1Geometry()));
copy.setLod1Geometry(copyLod1Geometry);
} else {
if (lod1GeometryShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod1Geometry = null;
}
}
}
{
Boolean lod2GeometryShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod2Geometry());
if (lod2GeometryShouldBeCopiedAndSet == Boolean.TRUE) {
GeometryPropertyType sourceLod2Geometry;
sourceLod2Geometry = this.getLod2Geometry();
GeometryPropertyType copyLod2Geometry = ((GeometryPropertyType) strategy.copy(LocatorUtils.property(locator, "lod2Geometry", sourceLod2Geometry), sourceLod2Geometry, this.isSetLod2Geometry()));
copy.setLod2Geometry(copyLod2Geometry);
} else {
if (lod2GeometryShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod2Geometry = null;
}
}
}
{
Boolean lod3GeometryShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod3Geometry());
if (lod3GeometryShouldBeCopiedAndSet == Boolean.TRUE) {
GeometryPropertyType sourceLod3Geometry;
sourceLod3Geometry = this.getLod3Geometry();
GeometryPropertyType copyLod3Geometry = ((GeometryPropertyType) strategy.copy(LocatorUtils.property(locator, "lod3Geometry", sourceLod3Geometry), sourceLod3Geometry, this.isSetLod3Geometry()));
copy.setLod3Geometry(copyLod3Geometry);
} else {
if (lod3GeometryShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod3Geometry = null;
}
}
}
{
Boolean lod4GeometryShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod4Geometry());
if (lod4GeometryShouldBeCopiedAndSet == Boolean.TRUE) {
GeometryPropertyType sourceLod4Geometry;
sourceLod4Geometry = this.getLod4Geometry();
GeometryPropertyType copyLod4Geometry = ((GeometryPropertyType) strategy.copy(LocatorUtils.property(locator, "lod4Geometry", sourceLod4Geometry), sourceLod4Geometry, this.isSetLod4Geometry()));
copy.setLod4Geometry(copyLod4Geometry);
} else {
if (lod4GeometryShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod4Geometry = null;
}
}
}
{
Boolean lod1TerrainIntersectionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod1TerrainIntersection());
if (lod1TerrainIntersectionShouldBeCopiedAndSet == Boolean.TRUE) {
MultiCurvePropertyType sourceLod1TerrainIntersection;
sourceLod1TerrainIntersection = this.getLod1TerrainIntersection();
MultiCurvePropertyType copyLod1TerrainIntersection = ((MultiCurvePropertyType) strategy.copy(LocatorUtils.property(locator, "lod1TerrainIntersection", sourceLod1TerrainIntersection), sourceLod1TerrainIntersection, this.isSetLod1TerrainIntersection()));
copy.setLod1TerrainIntersection(copyLod1TerrainIntersection);
} else {
if (lod1TerrainIntersectionShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod1TerrainIntersection = null;
}
}
}
{
Boolean lod2TerrainIntersectionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod2TerrainIntersection());
if (lod2TerrainIntersectionShouldBeCopiedAndSet == Boolean.TRUE) {
MultiCurvePropertyType sourceLod2TerrainIntersection;
sourceLod2TerrainIntersection = this.getLod2TerrainIntersection();
MultiCurvePropertyType copyLod2TerrainIntersection = ((MultiCurvePropertyType) strategy.copy(LocatorUtils.property(locator, "lod2TerrainIntersection", sourceLod2TerrainIntersection), sourceLod2TerrainIntersection, this.isSetLod2TerrainIntersection()));
copy.setLod2TerrainIntersection(copyLod2TerrainIntersection);
} else {
if (lod2TerrainIntersectionShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod2TerrainIntersection = null;
}
}
}
{
Boolean lod3TerrainIntersectionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod3TerrainIntersection());
if (lod3TerrainIntersectionShouldBeCopiedAndSet == Boolean.TRUE) {
MultiCurvePropertyType sourceLod3TerrainIntersection;
sourceLod3TerrainIntersection = this.getLod3TerrainIntersection();
MultiCurvePropertyType copyLod3TerrainIntersection = ((MultiCurvePropertyType) strategy.copy(LocatorUtils.property(locator, "lod3TerrainIntersection", sourceLod3TerrainIntersection), sourceLod3TerrainIntersection, this.isSetLod3TerrainIntersection()));
copy.setLod3TerrainIntersection(copyLod3TerrainIntersection);
} else {
if (lod3TerrainIntersectionShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod3TerrainIntersection = null;
}
}
}
{
Boolean lod4TerrainIntersectionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod4TerrainIntersection());
if (lod4TerrainIntersectionShouldBeCopiedAndSet == Boolean.TRUE) {
MultiCurvePropertyType sourceLod4TerrainIntersection;
sourceLod4TerrainIntersection = this.getLod4TerrainIntersection();
MultiCurvePropertyType copyLod4TerrainIntersection = ((MultiCurvePropertyType) strategy.copy(LocatorUtils.property(locator, "lod4TerrainIntersection", sourceLod4TerrainIntersection), sourceLod4TerrainIntersection, this.isSetLod4TerrainIntersection()));
copy.setLod4TerrainIntersection(copyLod4TerrainIntersection);
} else {
if (lod4TerrainIntersectionShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod4TerrainIntersection = null;
}
}
}
{
Boolean lod1ImplicitRepresentationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod1ImplicitRepresentation());
if (lod1ImplicitRepresentationShouldBeCopiedAndSet == Boolean.TRUE) {
ImplicitRepresentationPropertyType sourceLod1ImplicitRepresentation;
sourceLod1ImplicitRepresentation = this.getLod1ImplicitRepresentation();
ImplicitRepresentationPropertyType copyLod1ImplicitRepresentation = ((ImplicitRepresentationPropertyType) strategy.copy(LocatorUtils.property(locator, "lod1ImplicitRepresentation", sourceLod1ImplicitRepresentation), sourceLod1ImplicitRepresentation, this.isSetLod1ImplicitRepresentation()));
copy.setLod1ImplicitRepresentation(copyLod1ImplicitRepresentation);
} else {
if (lod1ImplicitRepresentationShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod1ImplicitRepresentation = null;
}
}
}
{
Boolean lod2ImplicitRepresentationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod2ImplicitRepresentation());
if (lod2ImplicitRepresentationShouldBeCopiedAndSet == Boolean.TRUE) {
ImplicitRepresentationPropertyType sourceLod2ImplicitRepresentation;
sourceLod2ImplicitRepresentation = this.getLod2ImplicitRepresentation();
ImplicitRepresentationPropertyType copyLod2ImplicitRepresentation = ((ImplicitRepresentationPropertyType) strategy.copy(LocatorUtils.property(locator, "lod2ImplicitRepresentation", sourceLod2ImplicitRepresentation), sourceLod2ImplicitRepresentation, this.isSetLod2ImplicitRepresentation()));
copy.setLod2ImplicitRepresentation(copyLod2ImplicitRepresentation);
} else {
if (lod2ImplicitRepresentationShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod2ImplicitRepresentation = null;
}
}
}
{
Boolean lod3ImplicitRepresentationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod3ImplicitRepresentation());
if (lod3ImplicitRepresentationShouldBeCopiedAndSet == Boolean.TRUE) {
ImplicitRepresentationPropertyType sourceLod3ImplicitRepresentation;
sourceLod3ImplicitRepresentation = this.getLod3ImplicitRepresentation();
ImplicitRepresentationPropertyType copyLod3ImplicitRepresentation = ((ImplicitRepresentationPropertyType) strategy.copy(LocatorUtils.property(locator, "lod3ImplicitRepresentation", sourceLod3ImplicitRepresentation), sourceLod3ImplicitRepresentation, this.isSetLod3ImplicitRepresentation()));
copy.setLod3ImplicitRepresentation(copyLod3ImplicitRepresentation);
} else {
if (lod3ImplicitRepresentationShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod3ImplicitRepresentation = null;
}
}
}
{
Boolean lod4ImplicitRepresentationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod4ImplicitRepresentation());
if (lod4ImplicitRepresentationShouldBeCopiedAndSet == Boolean.TRUE) {
ImplicitRepresentationPropertyType sourceLod4ImplicitRepresentation;
sourceLod4ImplicitRepresentation = this.getLod4ImplicitRepresentation();
ImplicitRepresentationPropertyType copyLod4ImplicitRepresentation = ((ImplicitRepresentationPropertyType) strategy.copy(LocatorUtils.property(locator, "lod4ImplicitRepresentation", sourceLod4ImplicitRepresentation), sourceLod4ImplicitRepresentation, this.isSetLod4ImplicitRepresentation()));
copy.setLod4ImplicitRepresentation(copyLod4ImplicitRepresentation);
} else {
if (lod4ImplicitRepresentationShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod4ImplicitRepresentation = 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 genericApplicationPropertyOfBridgeConstructionElementShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfBridgeConstructionElement());
if (genericApplicationPropertyOfBridgeConstructionElementShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfBridgeConstructionElement;
sourceGenericApplicationPropertyOfBridgeConstructionElement = (this.isSetGenericApplicationPropertyOfBridgeConstructionElement()?this.getGenericApplicationPropertyOfBridgeConstructionElement():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfBridgeConstructionElement = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfBridgeConstructionElement", sourceGenericApplicationPropertyOfBridgeConstructionElement), sourceGenericApplicationPropertyOfBridgeConstructionElement, this.isSetGenericApplicationPropertyOfBridgeConstructionElement()));
copy.unsetGenericApplicationPropertyOfBridgeConstructionElement();
if (copyGenericApplicationPropertyOfBridgeConstructionElement!= null) {
List uniqueGenericApplicationPropertyOfBridgeConstructionElementl = copy.getGenericApplicationPropertyOfBridgeConstructionElement();
uniqueGenericApplicationPropertyOfBridgeConstructionElementl.addAll(copyGenericApplicationPropertyOfBridgeConstructionElement);
}
} else {
if (genericApplicationPropertyOfBridgeConstructionElementShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfBridgeConstructionElement();
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new BridgeConstructionElementType();
}
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 BridgeConstructionElementType) {
final BridgeConstructionElementType target = this;
final BridgeConstructionElementType leftObject = ((BridgeConstructionElementType) left);
final BridgeConstructionElementType rightObject = ((BridgeConstructionElementType) 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 lod1GeometryShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod1Geometry(), rightObject.isSetLod1Geometry());
if (lod1GeometryShouldBeMergedAndSet == Boolean.TRUE) {
GeometryPropertyType lhsLod1Geometry;
lhsLod1Geometry = leftObject.getLod1Geometry();
GeometryPropertyType rhsLod1Geometry;
rhsLod1Geometry = rightObject.getLod1Geometry();
GeometryPropertyType mergedLod1Geometry = ((GeometryPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod1Geometry", lhsLod1Geometry), LocatorUtils.property(rightLocator, "lod1Geometry", rhsLod1Geometry), lhsLod1Geometry, rhsLod1Geometry, leftObject.isSetLod1Geometry(), rightObject.isSetLod1Geometry()));
target.setLod1Geometry(mergedLod1Geometry);
} else {
if (lod1GeometryShouldBeMergedAndSet == Boolean.FALSE) {
target.lod1Geometry = null;
}
}
}
{
Boolean lod2GeometryShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod2Geometry(), rightObject.isSetLod2Geometry());
if (lod2GeometryShouldBeMergedAndSet == Boolean.TRUE) {
GeometryPropertyType lhsLod2Geometry;
lhsLod2Geometry = leftObject.getLod2Geometry();
GeometryPropertyType rhsLod2Geometry;
rhsLod2Geometry = rightObject.getLod2Geometry();
GeometryPropertyType mergedLod2Geometry = ((GeometryPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod2Geometry", lhsLod2Geometry), LocatorUtils.property(rightLocator, "lod2Geometry", rhsLod2Geometry), lhsLod2Geometry, rhsLod2Geometry, leftObject.isSetLod2Geometry(), rightObject.isSetLod2Geometry()));
target.setLod2Geometry(mergedLod2Geometry);
} else {
if (lod2GeometryShouldBeMergedAndSet == Boolean.FALSE) {
target.lod2Geometry = null;
}
}
}
{
Boolean lod3GeometryShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod3Geometry(), rightObject.isSetLod3Geometry());
if (lod3GeometryShouldBeMergedAndSet == Boolean.TRUE) {
GeometryPropertyType lhsLod3Geometry;
lhsLod3Geometry = leftObject.getLod3Geometry();
GeometryPropertyType rhsLod3Geometry;
rhsLod3Geometry = rightObject.getLod3Geometry();
GeometryPropertyType mergedLod3Geometry = ((GeometryPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod3Geometry", lhsLod3Geometry), LocatorUtils.property(rightLocator, "lod3Geometry", rhsLod3Geometry), lhsLod3Geometry, rhsLod3Geometry, leftObject.isSetLod3Geometry(), rightObject.isSetLod3Geometry()));
target.setLod3Geometry(mergedLod3Geometry);
} else {
if (lod3GeometryShouldBeMergedAndSet == Boolean.FALSE) {
target.lod3Geometry = null;
}
}
}
{
Boolean lod4GeometryShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod4Geometry(), rightObject.isSetLod4Geometry());
if (lod4GeometryShouldBeMergedAndSet == Boolean.TRUE) {
GeometryPropertyType lhsLod4Geometry;
lhsLod4Geometry = leftObject.getLod4Geometry();
GeometryPropertyType rhsLod4Geometry;
rhsLod4Geometry = rightObject.getLod4Geometry();
GeometryPropertyType mergedLod4Geometry = ((GeometryPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod4Geometry", lhsLod4Geometry), LocatorUtils.property(rightLocator, "lod4Geometry", rhsLod4Geometry), lhsLod4Geometry, rhsLod4Geometry, leftObject.isSetLod4Geometry(), rightObject.isSetLod4Geometry()));
target.setLod4Geometry(mergedLod4Geometry);
} else {
if (lod4GeometryShouldBeMergedAndSet == Boolean.FALSE) {
target.lod4Geometry = null;
}
}
}
{
Boolean lod1TerrainIntersectionShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod1TerrainIntersection(), rightObject.isSetLod1TerrainIntersection());
if (lod1TerrainIntersectionShouldBeMergedAndSet == Boolean.TRUE) {
MultiCurvePropertyType lhsLod1TerrainIntersection;
lhsLod1TerrainIntersection = leftObject.getLod1TerrainIntersection();
MultiCurvePropertyType rhsLod1TerrainIntersection;
rhsLod1TerrainIntersection = rightObject.getLod1TerrainIntersection();
MultiCurvePropertyType mergedLod1TerrainIntersection = ((MultiCurvePropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod1TerrainIntersection", lhsLod1TerrainIntersection), LocatorUtils.property(rightLocator, "lod1TerrainIntersection", rhsLod1TerrainIntersection), lhsLod1TerrainIntersection, rhsLod1TerrainIntersection, leftObject.isSetLod1TerrainIntersection(), rightObject.isSetLod1TerrainIntersection()));
target.setLod1TerrainIntersection(mergedLod1TerrainIntersection);
} else {
if (lod1TerrainIntersectionShouldBeMergedAndSet == Boolean.FALSE) {
target.lod1TerrainIntersection = null;
}
}
}
{
Boolean lod2TerrainIntersectionShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod2TerrainIntersection(), rightObject.isSetLod2TerrainIntersection());
if (lod2TerrainIntersectionShouldBeMergedAndSet == Boolean.TRUE) {
MultiCurvePropertyType lhsLod2TerrainIntersection;
lhsLod2TerrainIntersection = leftObject.getLod2TerrainIntersection();
MultiCurvePropertyType rhsLod2TerrainIntersection;
rhsLod2TerrainIntersection = rightObject.getLod2TerrainIntersection();
MultiCurvePropertyType mergedLod2TerrainIntersection = ((MultiCurvePropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod2TerrainIntersection", lhsLod2TerrainIntersection), LocatorUtils.property(rightLocator, "lod2TerrainIntersection", rhsLod2TerrainIntersection), lhsLod2TerrainIntersection, rhsLod2TerrainIntersection, leftObject.isSetLod2TerrainIntersection(), rightObject.isSetLod2TerrainIntersection()));
target.setLod2TerrainIntersection(mergedLod2TerrainIntersection);
} else {
if (lod2TerrainIntersectionShouldBeMergedAndSet == Boolean.FALSE) {
target.lod2TerrainIntersection = null;
}
}
}
{
Boolean lod3TerrainIntersectionShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod3TerrainIntersection(), rightObject.isSetLod3TerrainIntersection());
if (lod3TerrainIntersectionShouldBeMergedAndSet == Boolean.TRUE) {
MultiCurvePropertyType lhsLod3TerrainIntersection;
lhsLod3TerrainIntersection = leftObject.getLod3TerrainIntersection();
MultiCurvePropertyType rhsLod3TerrainIntersection;
rhsLod3TerrainIntersection = rightObject.getLod3TerrainIntersection();
MultiCurvePropertyType mergedLod3TerrainIntersection = ((MultiCurvePropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod3TerrainIntersection", lhsLod3TerrainIntersection), LocatorUtils.property(rightLocator, "lod3TerrainIntersection", rhsLod3TerrainIntersection), lhsLod3TerrainIntersection, rhsLod3TerrainIntersection, leftObject.isSetLod3TerrainIntersection(), rightObject.isSetLod3TerrainIntersection()));
target.setLod3TerrainIntersection(mergedLod3TerrainIntersection);
} else {
if (lod3TerrainIntersectionShouldBeMergedAndSet == Boolean.FALSE) {
target.lod3TerrainIntersection = null;
}
}
}
{
Boolean lod4TerrainIntersectionShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod4TerrainIntersection(), rightObject.isSetLod4TerrainIntersection());
if (lod4TerrainIntersectionShouldBeMergedAndSet == Boolean.TRUE) {
MultiCurvePropertyType lhsLod4TerrainIntersection;
lhsLod4TerrainIntersection = leftObject.getLod4TerrainIntersection();
MultiCurvePropertyType rhsLod4TerrainIntersection;
rhsLod4TerrainIntersection = rightObject.getLod4TerrainIntersection();
MultiCurvePropertyType mergedLod4TerrainIntersection = ((MultiCurvePropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod4TerrainIntersection", lhsLod4TerrainIntersection), LocatorUtils.property(rightLocator, "lod4TerrainIntersection", rhsLod4TerrainIntersection), lhsLod4TerrainIntersection, rhsLod4TerrainIntersection, leftObject.isSetLod4TerrainIntersection(), rightObject.isSetLod4TerrainIntersection()));
target.setLod4TerrainIntersection(mergedLod4TerrainIntersection);
} else {
if (lod4TerrainIntersectionShouldBeMergedAndSet == Boolean.FALSE) {
target.lod4TerrainIntersection = null;
}
}
}
{
Boolean lod1ImplicitRepresentationShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod1ImplicitRepresentation(), rightObject.isSetLod1ImplicitRepresentation());
if (lod1ImplicitRepresentationShouldBeMergedAndSet == Boolean.TRUE) {
ImplicitRepresentationPropertyType lhsLod1ImplicitRepresentation;
lhsLod1ImplicitRepresentation = leftObject.getLod1ImplicitRepresentation();
ImplicitRepresentationPropertyType rhsLod1ImplicitRepresentation;
rhsLod1ImplicitRepresentation = rightObject.getLod1ImplicitRepresentation();
ImplicitRepresentationPropertyType mergedLod1ImplicitRepresentation = ((ImplicitRepresentationPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod1ImplicitRepresentation", lhsLod1ImplicitRepresentation), LocatorUtils.property(rightLocator, "lod1ImplicitRepresentation", rhsLod1ImplicitRepresentation), lhsLod1ImplicitRepresentation, rhsLod1ImplicitRepresentation, leftObject.isSetLod1ImplicitRepresentation(), rightObject.isSetLod1ImplicitRepresentation()));
target.setLod1ImplicitRepresentation(mergedLod1ImplicitRepresentation);
} else {
if (lod1ImplicitRepresentationShouldBeMergedAndSet == Boolean.FALSE) {
target.lod1ImplicitRepresentation = null;
}
}
}
{
Boolean lod2ImplicitRepresentationShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod2ImplicitRepresentation(), rightObject.isSetLod2ImplicitRepresentation());
if (lod2ImplicitRepresentationShouldBeMergedAndSet == Boolean.TRUE) {
ImplicitRepresentationPropertyType lhsLod2ImplicitRepresentation;
lhsLod2ImplicitRepresentation = leftObject.getLod2ImplicitRepresentation();
ImplicitRepresentationPropertyType rhsLod2ImplicitRepresentation;
rhsLod2ImplicitRepresentation = rightObject.getLod2ImplicitRepresentation();
ImplicitRepresentationPropertyType mergedLod2ImplicitRepresentation = ((ImplicitRepresentationPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod2ImplicitRepresentation", lhsLod2ImplicitRepresentation), LocatorUtils.property(rightLocator, "lod2ImplicitRepresentation", rhsLod2ImplicitRepresentation), lhsLod2ImplicitRepresentation, rhsLod2ImplicitRepresentation, leftObject.isSetLod2ImplicitRepresentation(), rightObject.isSetLod2ImplicitRepresentation()));
target.setLod2ImplicitRepresentation(mergedLod2ImplicitRepresentation);
} else {
if (lod2ImplicitRepresentationShouldBeMergedAndSet == Boolean.FALSE) {
target.lod2ImplicitRepresentation = null;
}
}
}
{
Boolean lod3ImplicitRepresentationShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod3ImplicitRepresentation(), rightObject.isSetLod3ImplicitRepresentation());
if (lod3ImplicitRepresentationShouldBeMergedAndSet == Boolean.TRUE) {
ImplicitRepresentationPropertyType lhsLod3ImplicitRepresentation;
lhsLod3ImplicitRepresentation = leftObject.getLod3ImplicitRepresentation();
ImplicitRepresentationPropertyType rhsLod3ImplicitRepresentation;
rhsLod3ImplicitRepresentation = rightObject.getLod3ImplicitRepresentation();
ImplicitRepresentationPropertyType mergedLod3ImplicitRepresentation = ((ImplicitRepresentationPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod3ImplicitRepresentation", lhsLod3ImplicitRepresentation), LocatorUtils.property(rightLocator, "lod3ImplicitRepresentation", rhsLod3ImplicitRepresentation), lhsLod3ImplicitRepresentation, rhsLod3ImplicitRepresentation, leftObject.isSetLod3ImplicitRepresentation(), rightObject.isSetLod3ImplicitRepresentation()));
target.setLod3ImplicitRepresentation(mergedLod3ImplicitRepresentation);
} else {
if (lod3ImplicitRepresentationShouldBeMergedAndSet == Boolean.FALSE) {
target.lod3ImplicitRepresentation = null;
}
}
}
{
Boolean lod4ImplicitRepresentationShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod4ImplicitRepresentation(), rightObject.isSetLod4ImplicitRepresentation());
if (lod4ImplicitRepresentationShouldBeMergedAndSet == Boolean.TRUE) {
ImplicitRepresentationPropertyType lhsLod4ImplicitRepresentation;
lhsLod4ImplicitRepresentation = leftObject.getLod4ImplicitRepresentation();
ImplicitRepresentationPropertyType rhsLod4ImplicitRepresentation;
rhsLod4ImplicitRepresentation = rightObject.getLod4ImplicitRepresentation();
ImplicitRepresentationPropertyType mergedLod4ImplicitRepresentation = ((ImplicitRepresentationPropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod4ImplicitRepresentation", lhsLod4ImplicitRepresentation), LocatorUtils.property(rightLocator, "lod4ImplicitRepresentation", rhsLod4ImplicitRepresentation), lhsLod4ImplicitRepresentation, rhsLod4ImplicitRepresentation, leftObject.isSetLod4ImplicitRepresentation(), rightObject.isSetLod4ImplicitRepresentation()));
target.setLod4ImplicitRepresentation(mergedLod4ImplicitRepresentation);
} else {
if (lod4ImplicitRepresentationShouldBeMergedAndSet == Boolean.FALSE) {
target.lod4ImplicitRepresentation = 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 genericApplicationPropertyOfBridgeConstructionElementShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfBridgeConstructionElement(), rightObject.isSetGenericApplicationPropertyOfBridgeConstructionElement());
if (genericApplicationPropertyOfBridgeConstructionElementShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfBridgeConstructionElement;
lhsGenericApplicationPropertyOfBridgeConstructionElement = (leftObject.isSetGenericApplicationPropertyOfBridgeConstructionElement()?leftObject.getGenericApplicationPropertyOfBridgeConstructionElement():null);
List rhsGenericApplicationPropertyOfBridgeConstructionElement;
rhsGenericApplicationPropertyOfBridgeConstructionElement = (rightObject.isSetGenericApplicationPropertyOfBridgeConstructionElement()?rightObject.getGenericApplicationPropertyOfBridgeConstructionElement():null);
List mergedGenericApplicationPropertyOfBridgeConstructionElement = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfBridgeConstructionElement", lhsGenericApplicationPropertyOfBridgeConstructionElement), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfBridgeConstructionElement", rhsGenericApplicationPropertyOfBridgeConstructionElement), lhsGenericApplicationPropertyOfBridgeConstructionElement, rhsGenericApplicationPropertyOfBridgeConstructionElement, leftObject.isSetGenericApplicationPropertyOfBridgeConstructionElement(), rightObject.isSetGenericApplicationPropertyOfBridgeConstructionElement()));
target.unsetGenericApplicationPropertyOfBridgeConstructionElement();
if (mergedGenericApplicationPropertyOfBridgeConstructionElement!= null) {
List uniqueGenericApplicationPropertyOfBridgeConstructionElementl = target.getGenericApplicationPropertyOfBridgeConstructionElement();
uniqueGenericApplicationPropertyOfBridgeConstructionElementl.addAll(mergedGenericApplicationPropertyOfBridgeConstructionElement);
}
} else {
if (genericApplicationPropertyOfBridgeConstructionElementShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfBridgeConstructionElement();
}
}
}
}
}
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 setGenericApplicationPropertyOfBridgeConstructionElement(List value) {
this.genericApplicationPropertyOfBridgeConstructionElement = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfBridgeConstructionElement();
draftl.addAll(value);
}
}
public BridgeConstructionElementType withClazz(CodeType value) {
setClazz(value);
return this;
}
public BridgeConstructionElementType withFunction(CodeType... values) {
if (values!= null) {
for (CodeType value: values) {
getFunction().add(value);
}
}
return this;
}
public BridgeConstructionElementType withFunction(Collection values) {
if (values!= null) {
getFunction().addAll(values);
}
return this;
}
public BridgeConstructionElementType withUsage(CodeType... values) {
if (values!= null) {
for (CodeType value: values) {
getUsage().add(value);
}
}
return this;
}
public BridgeConstructionElementType withUsage(Collection values) {
if (values!= null) {
getUsage().addAll(values);
}
return this;
}
public BridgeConstructionElementType withLod1Geometry(GeometryPropertyType value) {
setLod1Geometry(value);
return this;
}
public BridgeConstructionElementType withLod2Geometry(GeometryPropertyType value) {
setLod2Geometry(value);
return this;
}
public BridgeConstructionElementType withLod3Geometry(GeometryPropertyType value) {
setLod3Geometry(value);
return this;
}
public BridgeConstructionElementType withLod4Geometry(GeometryPropertyType value) {
setLod4Geometry(value);
return this;
}
public BridgeConstructionElementType withLod1TerrainIntersection(MultiCurvePropertyType value) {
setLod1TerrainIntersection(value);
return this;
}
public BridgeConstructionElementType withLod2TerrainIntersection(MultiCurvePropertyType value) {
setLod2TerrainIntersection(value);
return this;
}
public BridgeConstructionElementType withLod3TerrainIntersection(MultiCurvePropertyType value) {
setLod3TerrainIntersection(value);
return this;
}
public BridgeConstructionElementType withLod4TerrainIntersection(MultiCurvePropertyType value) {
setLod4TerrainIntersection(value);
return this;
}
public BridgeConstructionElementType withLod1ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
setLod1ImplicitRepresentation(value);
return this;
}
public BridgeConstructionElementType withLod2ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
setLod2ImplicitRepresentation(value);
return this;
}
public BridgeConstructionElementType withLod3ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
setLod3ImplicitRepresentation(value);
return this;
}
public BridgeConstructionElementType withLod4ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
setLod4ImplicitRepresentation(value);
return this;
}
public BridgeConstructionElementType withCityObjectBoundedBy(BoundarySurfacePropertyType... values) {
if (values!= null) {
for (BoundarySurfacePropertyType value: values) {
getCityObjectBoundedBy().add(value);
}
}
return this;
}
public BridgeConstructionElementType withCityObjectBoundedBy(Collection values) {
if (values!= null) {
getCityObjectBoundedBy().addAll(values);
}
return this;
}
public BridgeConstructionElementType withGenericApplicationPropertyOfBridgeConstructionElement(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfBridgeConstructionElement().add(value);
}
}
return this;
}
public BridgeConstructionElementType withGenericApplicationPropertyOfBridgeConstructionElement(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfBridgeConstructionElement().addAll(values);
}
return this;
}
public BridgeConstructionElementType withFunction(List value) {
setFunction(value);
return this;
}
public BridgeConstructionElementType withUsage(List value) {
setUsage(value);
return this;
}
public BridgeConstructionElementType withCityObjectBoundedBy(List value) {
setCityObjectBoundedBy(value);
return this;
}
public BridgeConstructionElementType withGenericApplicationPropertyOfBridgeConstructionElement(List value) {
setGenericApplicationPropertyOfBridgeConstructionElement(value);
return this;
}
@Override
public BridgeConstructionElementType withCreationDate(XMLGregorianCalendar value) {
setCreationDate(value);
return this;
}
@Override
public BridgeConstructionElementType withTerminationDate(XMLGregorianCalendar value) {
setTerminationDate(value);
return this;
}
@Override
public BridgeConstructionElementType withExternalReference(ExternalReferenceType... values) {
if (values!= null) {
for (ExternalReferenceType value: values) {
getExternalReference().add(value);
}
}
return this;
}
@Override
public BridgeConstructionElementType withExternalReference(Collection values) {
if (values!= null) {
getExternalReference().addAll(values);
}
return this;
}
@Override
public BridgeConstructionElementType withGeneralizesTo(GeneralizationRelationType... values) {
if (values!= null) {
for (GeneralizationRelationType value: values) {
getGeneralizesTo().add(value);
}
}
return this;
}
@Override
public BridgeConstructionElementType withGeneralizesTo(Collection values) {
if (values!= null) {
getGeneralizesTo().addAll(values);
}
return this;
}
@Override
public BridgeConstructionElementType withRelativeToTerrain(RelativeToTerrainType value) {
setRelativeToTerrain(value);
return this;
}
@Override
public BridgeConstructionElementType withRelativeToWater(RelativeToWaterType value) {
setRelativeToWater(value);
return this;
}
@Override
public BridgeConstructionElementType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) {
if (values!= null) {
for (JAXBElement value: values) {
getGenericApplicationPropertyOfCityObject().add(value);
}
}
return this;
}
@Override
public BridgeConstructionElementType withGenericApplicationPropertyOfCityObject(Collection> values) {
if (values!= null) {
getGenericApplicationPropertyOfCityObject().addAll(values);
}
return this;
}
@Override
public BridgeConstructionElementType withExternalReference(List value) {
setExternalReference(value);
return this;
}
@Override
public BridgeConstructionElementType withGeneralizesTo(List value) {
setGeneralizesTo(value);
return this;
}
@Override
public BridgeConstructionElementType withGenericApplicationPropertyOfCityObject(List> value) {
setGenericApplicationPropertyOfCityObject(value);
return this;
}
}