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