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.waterbody.v_2_0.AbstractWaterBoundarySurfaceType 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.waterbody.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.XmlSeeAlso;
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.SurfacePropertyType;
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 WaterBoundarySurface is a thematic object which classifies surfaces bounding a water body.
*
*
* Java class for AbstractWaterBoundarySurfaceType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AbstractWaterBoundarySurfaceType">
* <complexContent>
* <extension base="{http://www.opengis.net/citygml/2.0}AbstractCityObjectType">
* <sequence>
* <element name="lod2Surface" type="{http://www.opengis.net/gml}SurfacePropertyType" minOccurs="0"/>
* <element name="lod3Surface" type="{http://www.opengis.net/gml}SurfacePropertyType" minOccurs="0"/>
* <element name="lod4Surface" type="{http://www.opengis.net/gml}SurfacePropertyType" minOccurs="0"/>
* <element ref="{http://www.opengis.net/citygml/waterbody/2.0}_GenericApplicationPropertyOfWaterBoundarySurface" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractWaterBoundarySurfaceType", propOrder = {
"lod2Surface",
"lod3Surface",
"lod4Surface",
"genericApplicationPropertyOfWaterBoundarySurface"
})
@XmlSeeAlso({
WaterSurfaceType.class,
WaterGroundSurfaceType.class,
WaterClosureSurfaceType.class
})
public abstract class AbstractWaterBoundarySurfaceType
extends AbstractCityObjectType
implements Cloneable, CopyTo2, Equals2, HashCode2, MergeFrom2, ToString2
{
protected SurfacePropertyType lod2Surface;
protected SurfacePropertyType lod3Surface;
protected SurfacePropertyType lod4Surface;
@XmlElement(name = "_GenericApplicationPropertyOfWaterBoundarySurface")
protected List genericApplicationPropertyOfWaterBoundarySurface;
/**
* Gets the value of the lod2Surface property.
*
* @return
* possible object is
* {@link SurfacePropertyType }
*
*/
public SurfacePropertyType getLod2Surface() {
return lod2Surface;
}
/**
* Sets the value of the lod2Surface property.
*
* @param value
* allowed object is
* {@link SurfacePropertyType }
*
*/
public void setLod2Surface(SurfacePropertyType value) {
this.lod2Surface = value;
}
public boolean isSetLod2Surface() {
return (this.lod2Surface!= null);
}
/**
* Gets the value of the lod3Surface property.
*
* @return
* possible object is
* {@link SurfacePropertyType }
*
*/
public SurfacePropertyType getLod3Surface() {
return lod3Surface;
}
/**
* Sets the value of the lod3Surface property.
*
* @param value
* allowed object is
* {@link SurfacePropertyType }
*
*/
public void setLod3Surface(SurfacePropertyType value) {
this.lod3Surface = value;
}
public boolean isSetLod3Surface() {
return (this.lod3Surface!= null);
}
/**
* Gets the value of the lod4Surface property.
*
* @return
* possible object is
* {@link SurfacePropertyType }
*
*/
public SurfacePropertyType getLod4Surface() {
return lod4Surface;
}
/**
* Sets the value of the lod4Surface property.
*
* @param value
* allowed object is
* {@link SurfacePropertyType }
*
*/
public void setLod4Surface(SurfacePropertyType value) {
this.lod4Surface = value;
}
public boolean isSetLod4Surface() {
return (this.lod4Surface!= null);
}
/**
* Gets the value of the genericApplicationPropertyOfWaterBoundarySurface 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 genericApplicationPropertyOfWaterBoundarySurface property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfWaterBoundarySurface().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfWaterBoundarySurface() {
if (genericApplicationPropertyOfWaterBoundarySurface == null) {
genericApplicationPropertyOfWaterBoundarySurface = new ArrayList();
}
return this.genericApplicationPropertyOfWaterBoundarySurface;
}
public boolean isSetGenericApplicationPropertyOfWaterBoundarySurface() {
return ((this.genericApplicationPropertyOfWaterBoundarySurface!= null)&&(!this.genericApplicationPropertyOfWaterBoundarySurface.isEmpty()));
}
public void unsetGenericApplicationPropertyOfWaterBoundarySurface() {
this.genericApplicationPropertyOfWaterBoundarySurface = 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);
{
SurfacePropertyType theLod2Surface;
theLod2Surface = this.getLod2Surface();
strategy.appendField(locator, this, "lod2Surface", buffer, theLod2Surface, this.isSetLod2Surface());
}
{
SurfacePropertyType theLod3Surface;
theLod3Surface = this.getLod3Surface();
strategy.appendField(locator, this, "lod3Surface", buffer, theLod3Surface, this.isSetLod3Surface());
}
{
SurfacePropertyType theLod4Surface;
theLod4Surface = this.getLod4Surface();
strategy.appendField(locator, this, "lod4Surface", buffer, theLod4Surface, this.isSetLod4Surface());
}
{
List theGenericApplicationPropertyOfWaterBoundarySurface;
theGenericApplicationPropertyOfWaterBoundarySurface = (this.isSetGenericApplicationPropertyOfWaterBoundarySurface()?this.getGenericApplicationPropertyOfWaterBoundarySurface():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfWaterBoundarySurface", buffer, theGenericApplicationPropertyOfWaterBoundarySurface, this.isSetGenericApplicationPropertyOfWaterBoundarySurface());
}
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 AbstractWaterBoundarySurfaceType that = ((AbstractWaterBoundarySurfaceType) object);
{
SurfacePropertyType lhsLod2Surface;
lhsLod2Surface = this.getLod2Surface();
SurfacePropertyType rhsLod2Surface;
rhsLod2Surface = that.getLod2Surface();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod2Surface", lhsLod2Surface), LocatorUtils.property(thatLocator, "lod2Surface", rhsLod2Surface), lhsLod2Surface, rhsLod2Surface, this.isSetLod2Surface(), that.isSetLod2Surface())) {
return false;
}
}
{
SurfacePropertyType lhsLod3Surface;
lhsLod3Surface = this.getLod3Surface();
SurfacePropertyType rhsLod3Surface;
rhsLod3Surface = that.getLod3Surface();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod3Surface", lhsLod3Surface), LocatorUtils.property(thatLocator, "lod3Surface", rhsLod3Surface), lhsLod3Surface, rhsLod3Surface, this.isSetLod3Surface(), that.isSetLod3Surface())) {
return false;
}
}
{
SurfacePropertyType lhsLod4Surface;
lhsLod4Surface = this.getLod4Surface();
SurfacePropertyType rhsLod4Surface;
rhsLod4Surface = that.getLod4Surface();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lod4Surface", lhsLod4Surface), LocatorUtils.property(thatLocator, "lod4Surface", rhsLod4Surface), lhsLod4Surface, rhsLod4Surface, this.isSetLod4Surface(), that.isSetLod4Surface())) {
return false;
}
}
{
List lhsGenericApplicationPropertyOfWaterBoundarySurface;
lhsGenericApplicationPropertyOfWaterBoundarySurface = (this.isSetGenericApplicationPropertyOfWaterBoundarySurface()?this.getGenericApplicationPropertyOfWaterBoundarySurface():null);
List rhsGenericApplicationPropertyOfWaterBoundarySurface;
rhsGenericApplicationPropertyOfWaterBoundarySurface = (that.isSetGenericApplicationPropertyOfWaterBoundarySurface()?that.getGenericApplicationPropertyOfWaterBoundarySurface():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfWaterBoundarySurface", lhsGenericApplicationPropertyOfWaterBoundarySurface), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfWaterBoundarySurface", rhsGenericApplicationPropertyOfWaterBoundarySurface), lhsGenericApplicationPropertyOfWaterBoundarySurface, rhsGenericApplicationPropertyOfWaterBoundarySurface, this.isSetGenericApplicationPropertyOfWaterBoundarySurface(), that.isSetGenericApplicationPropertyOfWaterBoundarySurface())) {
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);
{
SurfacePropertyType theLod2Surface;
theLod2Surface = this.getLod2Surface();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod2Surface", theLod2Surface), currentHashCode, theLod2Surface, this.isSetLod2Surface());
}
{
SurfacePropertyType theLod3Surface;
theLod3Surface = this.getLod3Surface();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod3Surface", theLod3Surface), currentHashCode, theLod3Surface, this.isSetLod3Surface());
}
{
SurfacePropertyType theLod4Surface;
theLod4Surface = this.getLod4Surface();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lod4Surface", theLod4Surface), currentHashCode, theLod4Surface, this.isSetLod4Surface());
}
{
List theGenericApplicationPropertyOfWaterBoundarySurface;
theGenericApplicationPropertyOfWaterBoundarySurface = (this.isSetGenericApplicationPropertyOfWaterBoundarySurface()?this.getGenericApplicationPropertyOfWaterBoundarySurface():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfWaterBoundarySurface", theGenericApplicationPropertyOfWaterBoundarySurface), currentHashCode, theGenericApplicationPropertyOfWaterBoundarySurface, this.isSetGenericApplicationPropertyOfWaterBoundarySurface());
}
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) {
if (null == target) {
throw new IllegalArgumentException("Target argument must not be null for abstract copyable classes.");
}
super.copyTo(locator, target, strategy);
if (target instanceof AbstractWaterBoundarySurfaceType) {
final AbstractWaterBoundarySurfaceType copy = ((AbstractWaterBoundarySurfaceType) target);
{
Boolean lod2SurfaceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod2Surface());
if (lod2SurfaceShouldBeCopiedAndSet == Boolean.TRUE) {
SurfacePropertyType sourceLod2Surface;
sourceLod2Surface = this.getLod2Surface();
SurfacePropertyType copyLod2Surface = ((SurfacePropertyType) strategy.copy(LocatorUtils.property(locator, "lod2Surface", sourceLod2Surface), sourceLod2Surface, this.isSetLod2Surface()));
copy.setLod2Surface(copyLod2Surface);
} else {
if (lod2SurfaceShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod2Surface = null;
}
}
}
{
Boolean lod3SurfaceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod3Surface());
if (lod3SurfaceShouldBeCopiedAndSet == Boolean.TRUE) {
SurfacePropertyType sourceLod3Surface;
sourceLod3Surface = this.getLod3Surface();
SurfacePropertyType copyLod3Surface = ((SurfacePropertyType) strategy.copy(LocatorUtils.property(locator, "lod3Surface", sourceLod3Surface), sourceLod3Surface, this.isSetLod3Surface()));
copy.setLod3Surface(copyLod3Surface);
} else {
if (lod3SurfaceShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod3Surface = null;
}
}
}
{
Boolean lod4SurfaceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLod4Surface());
if (lod4SurfaceShouldBeCopiedAndSet == Boolean.TRUE) {
SurfacePropertyType sourceLod4Surface;
sourceLod4Surface = this.getLod4Surface();
SurfacePropertyType copyLod4Surface = ((SurfacePropertyType) strategy.copy(LocatorUtils.property(locator, "lod4Surface", sourceLod4Surface), sourceLod4Surface, this.isSetLod4Surface()));
copy.setLod4Surface(copyLod4Surface);
} else {
if (lod4SurfaceShouldBeCopiedAndSet == Boolean.FALSE) {
copy.lod4Surface = null;
}
}
}
{
Boolean genericApplicationPropertyOfWaterBoundarySurfaceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfWaterBoundarySurface());
if (genericApplicationPropertyOfWaterBoundarySurfaceShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfWaterBoundarySurface;
sourceGenericApplicationPropertyOfWaterBoundarySurface = (this.isSetGenericApplicationPropertyOfWaterBoundarySurface()?this.getGenericApplicationPropertyOfWaterBoundarySurface():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfWaterBoundarySurface = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfWaterBoundarySurface", sourceGenericApplicationPropertyOfWaterBoundarySurface), sourceGenericApplicationPropertyOfWaterBoundarySurface, this.isSetGenericApplicationPropertyOfWaterBoundarySurface()));
copy.unsetGenericApplicationPropertyOfWaterBoundarySurface();
if (copyGenericApplicationPropertyOfWaterBoundarySurface!= null) {
List uniqueGenericApplicationPropertyOfWaterBoundarySurfacel = copy.getGenericApplicationPropertyOfWaterBoundarySurface();
uniqueGenericApplicationPropertyOfWaterBoundarySurfacel.addAll(copyGenericApplicationPropertyOfWaterBoundarySurface);
}
} else {
if (genericApplicationPropertyOfWaterBoundarySurfaceShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfWaterBoundarySurface();
}
}
}
}
return target;
}
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 AbstractWaterBoundarySurfaceType) {
final AbstractWaterBoundarySurfaceType target = this;
final AbstractWaterBoundarySurfaceType leftObject = ((AbstractWaterBoundarySurfaceType) left);
final AbstractWaterBoundarySurfaceType rightObject = ((AbstractWaterBoundarySurfaceType) right);
{
Boolean lod2SurfaceShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod2Surface(), rightObject.isSetLod2Surface());
if (lod2SurfaceShouldBeMergedAndSet == Boolean.TRUE) {
SurfacePropertyType lhsLod2Surface;
lhsLod2Surface = leftObject.getLod2Surface();
SurfacePropertyType rhsLod2Surface;
rhsLod2Surface = rightObject.getLod2Surface();
SurfacePropertyType mergedLod2Surface = ((SurfacePropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod2Surface", lhsLod2Surface), LocatorUtils.property(rightLocator, "lod2Surface", rhsLod2Surface), lhsLod2Surface, rhsLod2Surface, leftObject.isSetLod2Surface(), rightObject.isSetLod2Surface()));
target.setLod2Surface(mergedLod2Surface);
} else {
if (lod2SurfaceShouldBeMergedAndSet == Boolean.FALSE) {
target.lod2Surface = null;
}
}
}
{
Boolean lod3SurfaceShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod3Surface(), rightObject.isSetLod3Surface());
if (lod3SurfaceShouldBeMergedAndSet == Boolean.TRUE) {
SurfacePropertyType lhsLod3Surface;
lhsLod3Surface = leftObject.getLod3Surface();
SurfacePropertyType rhsLod3Surface;
rhsLod3Surface = rightObject.getLod3Surface();
SurfacePropertyType mergedLod3Surface = ((SurfacePropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod3Surface", lhsLod3Surface), LocatorUtils.property(rightLocator, "lod3Surface", rhsLod3Surface), lhsLod3Surface, rhsLod3Surface, leftObject.isSetLod3Surface(), rightObject.isSetLod3Surface()));
target.setLod3Surface(mergedLod3Surface);
} else {
if (lod3SurfaceShouldBeMergedAndSet == Boolean.FALSE) {
target.lod3Surface = null;
}
}
}
{
Boolean lod4SurfaceShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLod4Surface(), rightObject.isSetLod4Surface());
if (lod4SurfaceShouldBeMergedAndSet == Boolean.TRUE) {
SurfacePropertyType lhsLod4Surface;
lhsLod4Surface = leftObject.getLod4Surface();
SurfacePropertyType rhsLod4Surface;
rhsLod4Surface = rightObject.getLod4Surface();
SurfacePropertyType mergedLod4Surface = ((SurfacePropertyType) strategy.merge(LocatorUtils.property(leftLocator, "lod4Surface", lhsLod4Surface), LocatorUtils.property(rightLocator, "lod4Surface", rhsLod4Surface), lhsLod4Surface, rhsLod4Surface, leftObject.isSetLod4Surface(), rightObject.isSetLod4Surface()));
target.setLod4Surface(mergedLod4Surface);
} else {
if (lod4SurfaceShouldBeMergedAndSet == Boolean.FALSE) {
target.lod4Surface = null;
}
}
}
{
Boolean genericApplicationPropertyOfWaterBoundarySurfaceShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfWaterBoundarySurface(), rightObject.isSetGenericApplicationPropertyOfWaterBoundarySurface());
if (genericApplicationPropertyOfWaterBoundarySurfaceShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfWaterBoundarySurface;
lhsGenericApplicationPropertyOfWaterBoundarySurface = (leftObject.isSetGenericApplicationPropertyOfWaterBoundarySurface()?leftObject.getGenericApplicationPropertyOfWaterBoundarySurface():null);
List rhsGenericApplicationPropertyOfWaterBoundarySurface;
rhsGenericApplicationPropertyOfWaterBoundarySurface = (rightObject.isSetGenericApplicationPropertyOfWaterBoundarySurface()?rightObject.getGenericApplicationPropertyOfWaterBoundarySurface():null);
List mergedGenericApplicationPropertyOfWaterBoundarySurface = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfWaterBoundarySurface", lhsGenericApplicationPropertyOfWaterBoundarySurface), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfWaterBoundarySurface", rhsGenericApplicationPropertyOfWaterBoundarySurface), lhsGenericApplicationPropertyOfWaterBoundarySurface, rhsGenericApplicationPropertyOfWaterBoundarySurface, leftObject.isSetGenericApplicationPropertyOfWaterBoundarySurface(), rightObject.isSetGenericApplicationPropertyOfWaterBoundarySurface()));
target.unsetGenericApplicationPropertyOfWaterBoundarySurface();
if (mergedGenericApplicationPropertyOfWaterBoundarySurface!= null) {
List uniqueGenericApplicationPropertyOfWaterBoundarySurfacel = target.getGenericApplicationPropertyOfWaterBoundarySurface();
uniqueGenericApplicationPropertyOfWaterBoundarySurfacel.addAll(mergedGenericApplicationPropertyOfWaterBoundarySurface);
}
} else {
if (genericApplicationPropertyOfWaterBoundarySurfaceShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfWaterBoundarySurface();
}
}
}
}
}
public void setGenericApplicationPropertyOfWaterBoundarySurface(List value) {
this.genericApplicationPropertyOfWaterBoundarySurface = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfWaterBoundarySurface();
draftl.addAll(value);
}
}
public AbstractWaterBoundarySurfaceType withLod2Surface(SurfacePropertyType value) {
setLod2Surface(value);
return this;
}
public AbstractWaterBoundarySurfaceType withLod3Surface(SurfacePropertyType value) {
setLod3Surface(value);
return this;
}
public AbstractWaterBoundarySurfaceType withLod4Surface(SurfacePropertyType value) {
setLod4Surface(value);
return this;
}
public AbstractWaterBoundarySurfaceType withGenericApplicationPropertyOfWaterBoundarySurface(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfWaterBoundarySurface().add(value);
}
}
return this;
}
public AbstractWaterBoundarySurfaceType withGenericApplicationPropertyOfWaterBoundarySurface(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfWaterBoundarySurface().addAll(values);
}
return this;
}
public AbstractWaterBoundarySurfaceType withGenericApplicationPropertyOfWaterBoundarySurface(List value) {
setGenericApplicationPropertyOfWaterBoundarySurface(value);
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withCreationDate(XMLGregorianCalendar value) {
setCreationDate(value);
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withTerminationDate(XMLGregorianCalendar value) {
setTerminationDate(value);
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withExternalReference(ExternalReferenceType... values) {
if (values!= null) {
for (ExternalReferenceType value: values) {
getExternalReference().add(value);
}
}
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withExternalReference(Collection values) {
if (values!= null) {
getExternalReference().addAll(values);
}
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withGeneralizesTo(GeneralizationRelationType... values) {
if (values!= null) {
for (GeneralizationRelationType value: values) {
getGeneralizesTo().add(value);
}
}
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withGeneralizesTo(Collection values) {
if (values!= null) {
getGeneralizesTo().addAll(values);
}
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withRelativeToTerrain(RelativeToTerrainType value) {
setRelativeToTerrain(value);
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withRelativeToWater(RelativeToWaterType value) {
setRelativeToWater(value);
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) {
if (values!= null) {
for (JAXBElement value: values) {
getGenericApplicationPropertyOfCityObject().add(value);
}
}
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withGenericApplicationPropertyOfCityObject(Collection> values) {
if (values!= null) {
getGenericApplicationPropertyOfCityObject().addAll(values);
}
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withExternalReference(List value) {
setExternalReference(value);
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withGeneralizesTo(List value) {
setGeneralizesTo(value);
return this;
}
@Override
public AbstractWaterBoundarySurfaceType withGenericApplicationPropertyOfCityObject(List> value) {
setGenericApplicationPropertyOfCityObject(value);
return this;
}
}