The following schema fragment specifies the expected content contained within this class.
*
*
genericApplicationPropertyOfTunnel;
/**
* Gets the value of the genericApplicationPropertyOfTunnel 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 genericApplicationPropertyOfTunnel property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfTunnel().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfTunnel() {
if (genericApplicationPropertyOfTunnel == null) {
genericApplicationPropertyOfTunnel = new ArrayList();
}
return this.genericApplicationPropertyOfTunnel;
}
public boolean isSetGenericApplicationPropertyOfTunnel() {
return ((this.genericApplicationPropertyOfTunnel!= null)&&(!this.genericApplicationPropertyOfTunnel.isEmpty()));
}
public void unsetGenericApplicationPropertyOfTunnel() {
this.genericApplicationPropertyOfTunnel = 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);
{
List theGenericApplicationPropertyOfTunnel;
theGenericApplicationPropertyOfTunnel = (this.isSetGenericApplicationPropertyOfTunnel()?this.getGenericApplicationPropertyOfTunnel():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfTunnel", buffer, theGenericApplicationPropertyOfTunnel, this.isSetGenericApplicationPropertyOfTunnel());
}
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 TunnelType that = ((TunnelType) object);
{
List lhsGenericApplicationPropertyOfTunnel;
lhsGenericApplicationPropertyOfTunnel = (this.isSetGenericApplicationPropertyOfTunnel()?this.getGenericApplicationPropertyOfTunnel():null);
List rhsGenericApplicationPropertyOfTunnel;
rhsGenericApplicationPropertyOfTunnel = (that.isSetGenericApplicationPropertyOfTunnel()?that.getGenericApplicationPropertyOfTunnel():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfTunnel", lhsGenericApplicationPropertyOfTunnel), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfTunnel", rhsGenericApplicationPropertyOfTunnel), lhsGenericApplicationPropertyOfTunnel, rhsGenericApplicationPropertyOfTunnel, this.isSetGenericApplicationPropertyOfTunnel(), that.isSetGenericApplicationPropertyOfTunnel())) {
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);
{
List theGenericApplicationPropertyOfTunnel;
theGenericApplicationPropertyOfTunnel = (this.isSetGenericApplicationPropertyOfTunnel()?this.getGenericApplicationPropertyOfTunnel():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfTunnel", theGenericApplicationPropertyOfTunnel), currentHashCode, theGenericApplicationPropertyOfTunnel, this.isSetGenericApplicationPropertyOfTunnel());
}
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 TunnelType) {
final TunnelType copy = ((TunnelType) draftCopy);
{
Boolean genericApplicationPropertyOfTunnelShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfTunnel());
if (genericApplicationPropertyOfTunnelShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfTunnel;
sourceGenericApplicationPropertyOfTunnel = (this.isSetGenericApplicationPropertyOfTunnel()?this.getGenericApplicationPropertyOfTunnel():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfTunnel = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfTunnel", sourceGenericApplicationPropertyOfTunnel), sourceGenericApplicationPropertyOfTunnel, this.isSetGenericApplicationPropertyOfTunnel()));
copy.unsetGenericApplicationPropertyOfTunnel();
if (copyGenericApplicationPropertyOfTunnel!= null) {
List uniqueGenericApplicationPropertyOfTunnell = copy.getGenericApplicationPropertyOfTunnel();
uniqueGenericApplicationPropertyOfTunnell.addAll(copyGenericApplicationPropertyOfTunnel);
}
} else {
if (genericApplicationPropertyOfTunnelShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfTunnel();
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new TunnelType();
}
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 TunnelType) {
final TunnelType target = this;
final TunnelType leftObject = ((TunnelType) left);
final TunnelType rightObject = ((TunnelType) right);
{
Boolean genericApplicationPropertyOfTunnelShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfTunnel(), rightObject.isSetGenericApplicationPropertyOfTunnel());
if (genericApplicationPropertyOfTunnelShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfTunnel;
lhsGenericApplicationPropertyOfTunnel = (leftObject.isSetGenericApplicationPropertyOfTunnel()?leftObject.getGenericApplicationPropertyOfTunnel():null);
List rhsGenericApplicationPropertyOfTunnel;
rhsGenericApplicationPropertyOfTunnel = (rightObject.isSetGenericApplicationPropertyOfTunnel()?rightObject.getGenericApplicationPropertyOfTunnel():null);
List mergedGenericApplicationPropertyOfTunnel = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfTunnel", lhsGenericApplicationPropertyOfTunnel), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfTunnel", rhsGenericApplicationPropertyOfTunnel), lhsGenericApplicationPropertyOfTunnel, rhsGenericApplicationPropertyOfTunnel, leftObject.isSetGenericApplicationPropertyOfTunnel(), rightObject.isSetGenericApplicationPropertyOfTunnel()));
target.unsetGenericApplicationPropertyOfTunnel();
if (mergedGenericApplicationPropertyOfTunnel!= null) {
List uniqueGenericApplicationPropertyOfTunnell = target.getGenericApplicationPropertyOfTunnel();
uniqueGenericApplicationPropertyOfTunnell.addAll(mergedGenericApplicationPropertyOfTunnel);
}
} else {
if (genericApplicationPropertyOfTunnelShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfTunnel();
}
}
}
}
}
public void setGenericApplicationPropertyOfTunnel(List value) {
this.genericApplicationPropertyOfTunnel = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfTunnel();
draftl.addAll(value);
}
}
public TunnelType withGenericApplicationPropertyOfTunnel(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfTunnel().add(value);
}
}
return this;
}
public TunnelType withGenericApplicationPropertyOfTunnel(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfTunnel().addAll(values);
}
return this;
}
public TunnelType withGenericApplicationPropertyOfTunnel(List value) {
setGenericApplicationPropertyOfTunnel(value);
return this;
}
@Override
public TunnelType withClazz(CodeType value) {
setClazz(value);
return this;
}
@Override
public TunnelType withFunction(CodeType... values) {
if (values!= null) {
for (CodeType value: values) {
getFunction().add(value);
}
}
return this;
}
@Override
public TunnelType withFunction(Collection values) {
if (values!= null) {
getFunction().addAll(values);
}
return this;
}
@Override
public TunnelType withUsage(CodeType... values) {
if (values!= null) {
for (CodeType value: values) {
getUsage().add(value);
}
}
return this;
}
@Override
public TunnelType withUsage(Collection values) {
if (values!= null) {
getUsage().addAll(values);
}
return this;
}
@Override
public TunnelType withYearOfConstruction(XMLGregorianCalendar value) {
setYearOfConstruction(value);
return this;
}
@Override
public TunnelType withYearOfDemolition(XMLGregorianCalendar value) {
setYearOfDemolition(value);
return this;
}
@Override
public TunnelType withLod1Solid(SolidPropertyType value) {
setLod1Solid(value);
return this;
}
@Override
public TunnelType withLod1MultiSurface(MultiSurfacePropertyType value) {
setLod1MultiSurface(value);
return this;
}
@Override
public TunnelType withLod1TerrainIntersection(MultiCurvePropertyType value) {
setLod1TerrainIntersection(value);
return this;
}
@Override
public TunnelType withLod2Solid(SolidPropertyType value) {
setLod2Solid(value);
return this;
}
@Override
public TunnelType withLod2MultiSurface(MultiSurfacePropertyType value) {
setLod2MultiSurface(value);
return this;
}
@Override
public TunnelType withLod2MultiCurve(MultiCurvePropertyType value) {
setLod2MultiCurve(value);
return this;
}
@Override
public TunnelType withLod2TerrainIntersection(MultiCurvePropertyType value) {
setLod2TerrainIntersection(value);
return this;
}
@Override
public TunnelType withOuterTunnelInstallation(TunnelInstallationPropertyType... values) {
if (values!= null) {
for (TunnelInstallationPropertyType value: values) {
getOuterTunnelInstallation().add(value);
}
}
return this;
}
@Override
public TunnelType withOuterTunnelInstallation(Collection values) {
if (values!= null) {
getOuterTunnelInstallation().addAll(values);
}
return this;
}
@Override
public TunnelType withInteriorTunnelInstallation(IntTunnelInstallationPropertyType... values) {
if (values!= null) {
for (IntTunnelInstallationPropertyType value: values) {
getInteriorTunnelInstallation().add(value);
}
}
return this;
}
@Override
public TunnelType withInteriorTunnelInstallation(Collection values) {
if (values!= null) {
getInteriorTunnelInstallation().addAll(values);
}
return this;
}
@Override
public TunnelType withCityObjectBoundedBy(BoundarySurfacePropertyType... values) {
if (values!= null) {
for (BoundarySurfacePropertyType value: values) {
getCityObjectBoundedBy().add(value);
}
}
return this;
}
@Override
public TunnelType withCityObjectBoundedBy(Collection values) {
if (values!= null) {
getCityObjectBoundedBy().addAll(values);
}
return this;
}
@Override
public TunnelType withLod3Solid(SolidPropertyType value) {
setLod3Solid(value);
return this;
}
@Override
public TunnelType withLod3MultiSurface(MultiSurfacePropertyType value) {
setLod3MultiSurface(value);
return this;
}
@Override
public TunnelType withLod3MultiCurve(MultiCurvePropertyType value) {
setLod3MultiCurve(value);
return this;
}
@Override
public TunnelType withLod3TerrainIntersection(MultiCurvePropertyType value) {
setLod3TerrainIntersection(value);
return this;
}
@Override
public TunnelType withLod4Solid(SolidPropertyType value) {
setLod4Solid(value);
return this;
}
@Override
public TunnelType withLod4MultiSurface(MultiSurfacePropertyType value) {
setLod4MultiSurface(value);
return this;
}
@Override
public TunnelType withLod4MultiCurve(MultiCurvePropertyType value) {
setLod4MultiCurve(value);
return this;
}
@Override
public TunnelType withLod4TerrainIntersection(MultiCurvePropertyType value) {
setLod4TerrainIntersection(value);
return this;
}
@Override
public TunnelType withInteriorHollowSpace(InteriorHollowSpacePropertyType... values) {
if (values!= null) {
for (InteriorHollowSpacePropertyType value: values) {
getInteriorHollowSpace().add(value);
}
}
return this;
}
@Override
public TunnelType withInteriorHollowSpace(Collection values) {
if (values!= null) {
getInteriorHollowSpace().addAll(values);
}
return this;
}
@Override
public TunnelType withConsistsOfTunnelPart(TunnelPartPropertyType... values) {
if (values!= null) {
for (TunnelPartPropertyType value: values) {
getConsistsOfTunnelPart().add(value);
}
}
return this;
}
@Override
public TunnelType withConsistsOfTunnelPart(Collection values) {
if (values!= null) {
getConsistsOfTunnelPart().addAll(values);
}
return this;
}
@Override
public TunnelType withGenericApplicationPropertyOfAbstractTunnel(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfAbstractTunnel().add(value);
}
}
return this;
}
@Override
public TunnelType withGenericApplicationPropertyOfAbstractTunnel(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfAbstractTunnel().addAll(values);
}
return this;
}
@Override
public TunnelType withFunction(List value) {
setFunction(value);
return this;
}
@Override
public TunnelType withUsage(List value) {
setUsage(value);
return this;
}
@Override
public TunnelType withOuterTunnelInstallation(List value) {
setOuterTunnelInstallation(value);
return this;
}
@Override
public TunnelType withInteriorTunnelInstallation(List value) {
setInteriorTunnelInstallation(value);
return this;
}
@Override
public TunnelType withCityObjectBoundedBy(List value) {
setCityObjectBoundedBy(value);
return this;
}
@Override
public TunnelType withInteriorHollowSpace(List value) {
setInteriorHollowSpace(value);
return this;
}
@Override
public TunnelType withConsistsOfTunnelPart(List value) {
setConsistsOfTunnelPart(value);
return this;
}
@Override
public TunnelType withGenericApplicationPropertyOfAbstractTunnel(List value) {
setGenericApplicationPropertyOfAbstractTunnel(value);
return this;
}
@Override
public TunnelType withGenericApplicationPropertyOfSite(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfSite().add(value);
}
}
return this;
}
@Override
public TunnelType withGenericApplicationPropertyOfSite(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfSite().addAll(values);
}
return this;
}
@Override
public TunnelType withGenericApplicationPropertyOfSite(List value) {
setGenericApplicationPropertyOfSite(value);
return this;
}
@Override
public TunnelType withCreationDate(XMLGregorianCalendar value) {
setCreationDate(value);
return this;
}
@Override
public TunnelType withTerminationDate(XMLGregorianCalendar value) {
setTerminationDate(value);
return this;
}
@Override
public TunnelType withExternalReference(ExternalReferenceType... values) {
if (values!= null) {
for (ExternalReferenceType value: values) {
getExternalReference().add(value);
}
}
return this;
}
@Override
public TunnelType withExternalReference(Collection values) {
if (values!= null) {
getExternalReference().addAll(values);
}
return this;
}
@Override
public TunnelType withGeneralizesTo(GeneralizationRelationType... values) {
if (values!= null) {
for (GeneralizationRelationType value: values) {
getGeneralizesTo().add(value);
}
}
return this;
}
@Override
public TunnelType withGeneralizesTo(Collection values) {
if (values!= null) {
getGeneralizesTo().addAll(values);
}
return this;
}
@Override
public TunnelType withRelativeToTerrain(RelativeToTerrainType value) {
setRelativeToTerrain(value);
return this;
}
@Override
public TunnelType withRelativeToWater(RelativeToWaterType value) {
setRelativeToWater(value);
return this;
}
@Override
public TunnelType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) {
if (values!= null) {
for (JAXBElement value: values) {
getGenericApplicationPropertyOfCityObject().add(value);
}
}
return this;
}
@Override
public TunnelType withGenericApplicationPropertyOfCityObject(Collection> values) {
if (values!= null) {
getGenericApplicationPropertyOfCityObject().addAll(values);
}
return this;
}
@Override
public TunnelType withExternalReference(List value) {
setExternalReference(value);
return this;
}
@Override
public TunnelType withGeneralizesTo(List value) {
setGeneralizesTo(value);
return this;
}
@Override
public TunnelType withGenericApplicationPropertyOfCityObject(List> value) {
setGenericApplicationPropertyOfCityObject(value);
return this;
}
}