The following schema fragment specifies the expected content contained within this class.
*
*
genericApplicationPropertyOfGroundSurface;
/**
* Gets the value of the genericApplicationPropertyOfGroundSurface 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 genericApplicationPropertyOfGroundSurface property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfGroundSurface().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfGroundSurface() {
if (genericApplicationPropertyOfGroundSurface == null) {
genericApplicationPropertyOfGroundSurface = new ArrayList();
}
return this.genericApplicationPropertyOfGroundSurface;
}
public boolean isSetGenericApplicationPropertyOfGroundSurface() {
return ((this.genericApplicationPropertyOfGroundSurface!= null)&&(!this.genericApplicationPropertyOfGroundSurface.isEmpty()));
}
public void unsetGenericApplicationPropertyOfGroundSurface() {
this.genericApplicationPropertyOfGroundSurface = 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 theGenericApplicationPropertyOfGroundSurface;
theGenericApplicationPropertyOfGroundSurface = (this.isSetGenericApplicationPropertyOfGroundSurface()?this.getGenericApplicationPropertyOfGroundSurface():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfGroundSurface", buffer, theGenericApplicationPropertyOfGroundSurface, this.isSetGenericApplicationPropertyOfGroundSurface());
}
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 GroundSurfaceType that = ((GroundSurfaceType) object);
{
List lhsGenericApplicationPropertyOfGroundSurface;
lhsGenericApplicationPropertyOfGroundSurface = (this.isSetGenericApplicationPropertyOfGroundSurface()?this.getGenericApplicationPropertyOfGroundSurface():null);
List rhsGenericApplicationPropertyOfGroundSurface;
rhsGenericApplicationPropertyOfGroundSurface = (that.isSetGenericApplicationPropertyOfGroundSurface()?that.getGenericApplicationPropertyOfGroundSurface():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfGroundSurface", lhsGenericApplicationPropertyOfGroundSurface), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfGroundSurface", rhsGenericApplicationPropertyOfGroundSurface), lhsGenericApplicationPropertyOfGroundSurface, rhsGenericApplicationPropertyOfGroundSurface, this.isSetGenericApplicationPropertyOfGroundSurface(), that.isSetGenericApplicationPropertyOfGroundSurface())) {
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 theGenericApplicationPropertyOfGroundSurface;
theGenericApplicationPropertyOfGroundSurface = (this.isSetGenericApplicationPropertyOfGroundSurface()?this.getGenericApplicationPropertyOfGroundSurface():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfGroundSurface", theGenericApplicationPropertyOfGroundSurface), currentHashCode, theGenericApplicationPropertyOfGroundSurface, this.isSetGenericApplicationPropertyOfGroundSurface());
}
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 GroundSurfaceType) {
final GroundSurfaceType copy = ((GroundSurfaceType) draftCopy);
{
Boolean genericApplicationPropertyOfGroundSurfaceShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfGroundSurface());
if (genericApplicationPropertyOfGroundSurfaceShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfGroundSurface;
sourceGenericApplicationPropertyOfGroundSurface = (this.isSetGenericApplicationPropertyOfGroundSurface()?this.getGenericApplicationPropertyOfGroundSurface():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfGroundSurface = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfGroundSurface", sourceGenericApplicationPropertyOfGroundSurface), sourceGenericApplicationPropertyOfGroundSurface, this.isSetGenericApplicationPropertyOfGroundSurface()));
copy.unsetGenericApplicationPropertyOfGroundSurface();
if (copyGenericApplicationPropertyOfGroundSurface!= null) {
List uniqueGenericApplicationPropertyOfGroundSurfacel = copy.getGenericApplicationPropertyOfGroundSurface();
uniqueGenericApplicationPropertyOfGroundSurfacel.addAll(copyGenericApplicationPropertyOfGroundSurface);
}
} else {
if (genericApplicationPropertyOfGroundSurfaceShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfGroundSurface();
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new GroundSurfaceType();
}
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 GroundSurfaceType) {
final GroundSurfaceType target = this;
final GroundSurfaceType leftObject = ((GroundSurfaceType) left);
final GroundSurfaceType rightObject = ((GroundSurfaceType) right);
{
Boolean genericApplicationPropertyOfGroundSurfaceShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfGroundSurface(), rightObject.isSetGenericApplicationPropertyOfGroundSurface());
if (genericApplicationPropertyOfGroundSurfaceShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfGroundSurface;
lhsGenericApplicationPropertyOfGroundSurface = (leftObject.isSetGenericApplicationPropertyOfGroundSurface()?leftObject.getGenericApplicationPropertyOfGroundSurface():null);
List rhsGenericApplicationPropertyOfGroundSurface;
rhsGenericApplicationPropertyOfGroundSurface = (rightObject.isSetGenericApplicationPropertyOfGroundSurface()?rightObject.getGenericApplicationPropertyOfGroundSurface():null);
List mergedGenericApplicationPropertyOfGroundSurface = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfGroundSurface", lhsGenericApplicationPropertyOfGroundSurface), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfGroundSurface", rhsGenericApplicationPropertyOfGroundSurface), lhsGenericApplicationPropertyOfGroundSurface, rhsGenericApplicationPropertyOfGroundSurface, leftObject.isSetGenericApplicationPropertyOfGroundSurface(), rightObject.isSetGenericApplicationPropertyOfGroundSurface()));
target.unsetGenericApplicationPropertyOfGroundSurface();
if (mergedGenericApplicationPropertyOfGroundSurface!= null) {
List uniqueGenericApplicationPropertyOfGroundSurfacel = target.getGenericApplicationPropertyOfGroundSurface();
uniqueGenericApplicationPropertyOfGroundSurfacel.addAll(mergedGenericApplicationPropertyOfGroundSurface);
}
} else {
if (genericApplicationPropertyOfGroundSurfaceShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfGroundSurface();
}
}
}
}
}
public void setGenericApplicationPropertyOfGroundSurface(List value) {
this.genericApplicationPropertyOfGroundSurface = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfGroundSurface();
draftl.addAll(value);
}
}
public GroundSurfaceType withGenericApplicationPropertyOfGroundSurface(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfGroundSurface().add(value);
}
}
return this;
}
public GroundSurfaceType withGenericApplicationPropertyOfGroundSurface(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfGroundSurface().addAll(values);
}
return this;
}
public GroundSurfaceType withGenericApplicationPropertyOfGroundSurface(List value) {
setGenericApplicationPropertyOfGroundSurface(value);
return this;
}
@Override
public GroundSurfaceType withLod2MultiSurface(MultiSurfacePropertyType value) {
setLod2MultiSurface(value);
return this;
}
@Override
public GroundSurfaceType withLod3MultiSurface(MultiSurfacePropertyType value) {
setLod3MultiSurface(value);
return this;
}
@Override
public GroundSurfaceType withLod4MultiSurface(MultiSurfacePropertyType value) {
setLod4MultiSurface(value);
return this;
}
@Override
public GroundSurfaceType withOpening(OpeningPropertyType... values) {
if (values!= null) {
for (OpeningPropertyType value: values) {
getOpening().add(value);
}
}
return this;
}
@Override
public GroundSurfaceType withOpening(Collection values) {
if (values!= null) {
getOpening().addAll(values);
}
return this;
}
@Override
public GroundSurfaceType withGenericApplicationPropertyOfBoundarySurface(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfBoundarySurface().add(value);
}
}
return this;
}
@Override
public GroundSurfaceType withGenericApplicationPropertyOfBoundarySurface(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfBoundarySurface().addAll(values);
}
return this;
}
@Override
public GroundSurfaceType withOpening(List value) {
setOpening(value);
return this;
}
@Override
public GroundSurfaceType withGenericApplicationPropertyOfBoundarySurface(List value) {
setGenericApplicationPropertyOfBoundarySurface(value);
return this;
}
@Override
public GroundSurfaceType withCreationDate(XMLGregorianCalendar value) {
setCreationDate(value);
return this;
}
@Override
public GroundSurfaceType withTerminationDate(XMLGregorianCalendar value) {
setTerminationDate(value);
return this;
}
@Override
public GroundSurfaceType withExternalReference(ExternalReferenceType... values) {
if (values!= null) {
for (ExternalReferenceType value: values) {
getExternalReference().add(value);
}
}
return this;
}
@Override
public GroundSurfaceType withExternalReference(Collection values) {
if (values!= null) {
getExternalReference().addAll(values);
}
return this;
}
@Override
public GroundSurfaceType withGeneralizesTo(GeneralizationRelationType... values) {
if (values!= null) {
for (GeneralizationRelationType value: values) {
getGeneralizesTo().add(value);
}
}
return this;
}
@Override
public GroundSurfaceType withGeneralizesTo(Collection values) {
if (values!= null) {
getGeneralizesTo().addAll(values);
}
return this;
}
@Override
public GroundSurfaceType withRelativeToTerrain(RelativeToTerrainType value) {
setRelativeToTerrain(value);
return this;
}
@Override
public GroundSurfaceType withRelativeToWater(RelativeToWaterType value) {
setRelativeToWater(value);
return this;
}
@Override
public GroundSurfaceType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) {
if (values!= null) {
for (JAXBElement value: values) {
getGenericApplicationPropertyOfCityObject().add(value);
}
}
return this;
}
@Override
public GroundSurfaceType withGenericApplicationPropertyOfCityObject(Collection> values) {
if (values!= null) {
getGenericApplicationPropertyOfCityObject().addAll(values);
}
return this;
}
@Override
public GroundSurfaceType withExternalReference(List value) {
setExternalReference(value);
return this;
}
@Override
public GroundSurfaceType withGeneralizesTo(List value) {
setGeneralizesTo(value);
return this;
}
@Override
public GroundSurfaceType withGenericApplicationPropertyOfCityObject(List> value) {
setGenericApplicationPropertyOfCityObject(value);
return this;
}
}