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