The following schema fragment specifies the expected content contained within this class.
*
*
genericApplicationPropertyOfBuilding;
/**
* Gets the value of the genericApplicationPropertyOfBuilding 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 genericApplicationPropertyOfBuilding property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfBuilding().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfBuilding() {
if (genericApplicationPropertyOfBuilding == null) {
genericApplicationPropertyOfBuilding = new ArrayList();
}
return this.genericApplicationPropertyOfBuilding;
}
public boolean isSetGenericApplicationPropertyOfBuilding() {
return ((this.genericApplicationPropertyOfBuilding!= null)&&(!this.genericApplicationPropertyOfBuilding.isEmpty()));
}
public void unsetGenericApplicationPropertyOfBuilding() {
this.genericApplicationPropertyOfBuilding = 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 theGenericApplicationPropertyOfBuilding;
theGenericApplicationPropertyOfBuilding = (this.isSetGenericApplicationPropertyOfBuilding()?this.getGenericApplicationPropertyOfBuilding():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfBuilding", buffer, theGenericApplicationPropertyOfBuilding, this.isSetGenericApplicationPropertyOfBuilding());
}
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 BuildingType that = ((BuildingType) object);
{
List lhsGenericApplicationPropertyOfBuilding;
lhsGenericApplicationPropertyOfBuilding = (this.isSetGenericApplicationPropertyOfBuilding()?this.getGenericApplicationPropertyOfBuilding():null);
List rhsGenericApplicationPropertyOfBuilding;
rhsGenericApplicationPropertyOfBuilding = (that.isSetGenericApplicationPropertyOfBuilding()?that.getGenericApplicationPropertyOfBuilding():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfBuilding", lhsGenericApplicationPropertyOfBuilding), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfBuilding", rhsGenericApplicationPropertyOfBuilding), lhsGenericApplicationPropertyOfBuilding, rhsGenericApplicationPropertyOfBuilding, this.isSetGenericApplicationPropertyOfBuilding(), that.isSetGenericApplicationPropertyOfBuilding())) {
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 theGenericApplicationPropertyOfBuilding;
theGenericApplicationPropertyOfBuilding = (this.isSetGenericApplicationPropertyOfBuilding()?this.getGenericApplicationPropertyOfBuilding():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfBuilding", theGenericApplicationPropertyOfBuilding), currentHashCode, theGenericApplicationPropertyOfBuilding, this.isSetGenericApplicationPropertyOfBuilding());
}
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 BuildingType) {
final BuildingType copy = ((BuildingType) draftCopy);
{
Boolean genericApplicationPropertyOfBuildingShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfBuilding());
if (genericApplicationPropertyOfBuildingShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfBuilding;
sourceGenericApplicationPropertyOfBuilding = (this.isSetGenericApplicationPropertyOfBuilding()?this.getGenericApplicationPropertyOfBuilding():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfBuilding = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfBuilding", sourceGenericApplicationPropertyOfBuilding), sourceGenericApplicationPropertyOfBuilding, this.isSetGenericApplicationPropertyOfBuilding()));
copy.unsetGenericApplicationPropertyOfBuilding();
if (copyGenericApplicationPropertyOfBuilding!= null) {
List uniqueGenericApplicationPropertyOfBuildingl = copy.getGenericApplicationPropertyOfBuilding();
uniqueGenericApplicationPropertyOfBuildingl.addAll(copyGenericApplicationPropertyOfBuilding);
}
} else {
if (genericApplicationPropertyOfBuildingShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfBuilding();
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new BuildingType();
}
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 BuildingType) {
final BuildingType target = this;
final BuildingType leftObject = ((BuildingType) left);
final BuildingType rightObject = ((BuildingType) right);
{
Boolean genericApplicationPropertyOfBuildingShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfBuilding(), rightObject.isSetGenericApplicationPropertyOfBuilding());
if (genericApplicationPropertyOfBuildingShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfBuilding;
lhsGenericApplicationPropertyOfBuilding = (leftObject.isSetGenericApplicationPropertyOfBuilding()?leftObject.getGenericApplicationPropertyOfBuilding():null);
List rhsGenericApplicationPropertyOfBuilding;
rhsGenericApplicationPropertyOfBuilding = (rightObject.isSetGenericApplicationPropertyOfBuilding()?rightObject.getGenericApplicationPropertyOfBuilding():null);
List mergedGenericApplicationPropertyOfBuilding = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfBuilding", lhsGenericApplicationPropertyOfBuilding), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfBuilding", rhsGenericApplicationPropertyOfBuilding), lhsGenericApplicationPropertyOfBuilding, rhsGenericApplicationPropertyOfBuilding, leftObject.isSetGenericApplicationPropertyOfBuilding(), rightObject.isSetGenericApplicationPropertyOfBuilding()));
target.unsetGenericApplicationPropertyOfBuilding();
if (mergedGenericApplicationPropertyOfBuilding!= null) {
List uniqueGenericApplicationPropertyOfBuildingl = target.getGenericApplicationPropertyOfBuilding();
uniqueGenericApplicationPropertyOfBuildingl.addAll(mergedGenericApplicationPropertyOfBuilding);
}
} else {
if (genericApplicationPropertyOfBuildingShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfBuilding();
}
}
}
}
}
public void setGenericApplicationPropertyOfBuilding(List value) {
this.genericApplicationPropertyOfBuilding = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfBuilding();
draftl.addAll(value);
}
}
public BuildingType withGenericApplicationPropertyOfBuilding(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfBuilding().add(value);
}
}
return this;
}
public BuildingType withGenericApplicationPropertyOfBuilding(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfBuilding().addAll(values);
}
return this;
}
public BuildingType withGenericApplicationPropertyOfBuilding(List value) {
setGenericApplicationPropertyOfBuilding(value);
return this;
}
@Override
public BuildingType withClazz(CodeType value) {
setClazz(value);
return this;
}
@Override
public BuildingType withFunction(CodeType... values) {
if (values!= null) {
for (CodeType value: values) {
getFunction().add(value);
}
}
return this;
}
@Override
public BuildingType withFunction(Collection values) {
if (values!= null) {
getFunction().addAll(values);
}
return this;
}
@Override
public BuildingType withUsage(CodeType... values) {
if (values!= null) {
for (CodeType value: values) {
getUsage().add(value);
}
}
return this;
}
@Override
public BuildingType withUsage(Collection values) {
if (values!= null) {
getUsage().addAll(values);
}
return this;
}
@Override
public BuildingType withYearOfConstruction(XMLGregorianCalendar value) {
setYearOfConstruction(value);
return this;
}
@Override
public BuildingType withYearOfDemolition(XMLGregorianCalendar value) {
setYearOfDemolition(value);
return this;
}
@Override
public BuildingType withRoofType(CodeType value) {
setRoofType(value);
return this;
}
@Override
public BuildingType withMeasuredHeight(LengthType value) {
setMeasuredHeight(value);
return this;
}
@Override
public BuildingType withStoreysAboveGround(BigInteger value) {
setStoreysAboveGround(value);
return this;
}
@Override
public BuildingType withStoreysBelowGround(BigInteger value) {
setStoreysBelowGround(value);
return this;
}
@Override
public BuildingType withStoreyHeightsAboveGround(MeasureOrNullListType value) {
setStoreyHeightsAboveGround(value);
return this;
}
@Override
public BuildingType withStoreyHeightsBelowGround(MeasureOrNullListType value) {
setStoreyHeightsBelowGround(value);
return this;
}
@Override
public BuildingType withLod0FootPrint(MultiSurfacePropertyType value) {
setLod0FootPrint(value);
return this;
}
@Override
public BuildingType withLod0RoofEdge(MultiSurfacePropertyType value) {
setLod0RoofEdge(value);
return this;
}
@Override
public BuildingType withLod1Solid(SolidPropertyType value) {
setLod1Solid(value);
return this;
}
@Override
public BuildingType withLod1MultiSurface(MultiSurfacePropertyType value) {
setLod1MultiSurface(value);
return this;
}
@Override
public BuildingType withLod1TerrainIntersection(MultiCurvePropertyType value) {
setLod1TerrainIntersection(value);
return this;
}
@Override
public BuildingType withLod2Solid(SolidPropertyType value) {
setLod2Solid(value);
return this;
}
@Override
public BuildingType withLod2MultiSurface(MultiSurfacePropertyType value) {
setLod2MultiSurface(value);
return this;
}
@Override
public BuildingType withLod2MultiCurve(MultiCurvePropertyType value) {
setLod2MultiCurve(value);
return this;
}
@Override
public BuildingType withLod2TerrainIntersection(MultiCurvePropertyType value) {
setLod2TerrainIntersection(value);
return this;
}
@Override
public BuildingType withOuterBuildingInstallation(BuildingInstallationPropertyType... values) {
if (values!= null) {
for (BuildingInstallationPropertyType value: values) {
getOuterBuildingInstallation().add(value);
}
}
return this;
}
@Override
public BuildingType withOuterBuildingInstallation(Collection values) {
if (values!= null) {
getOuterBuildingInstallation().addAll(values);
}
return this;
}
@Override
public BuildingType withInteriorBuildingInstallation(IntBuildingInstallationPropertyType... values) {
if (values!= null) {
for (IntBuildingInstallationPropertyType value: values) {
getInteriorBuildingInstallation().add(value);
}
}
return this;
}
@Override
public BuildingType withInteriorBuildingInstallation(Collection values) {
if (values!= null) {
getInteriorBuildingInstallation().addAll(values);
}
return this;
}
@Override
public BuildingType withCityObjectBoundedBy(BoundarySurfacePropertyType... values) {
if (values!= null) {
for (BoundarySurfacePropertyType value: values) {
getCityObjectBoundedBy().add(value);
}
}
return this;
}
@Override
public BuildingType withCityObjectBoundedBy(Collection values) {
if (values!= null) {
getCityObjectBoundedBy().addAll(values);
}
return this;
}
@Override
public BuildingType withLod3Solid(SolidPropertyType value) {
setLod3Solid(value);
return this;
}
@Override
public BuildingType withLod3MultiSurface(MultiSurfacePropertyType value) {
setLod3MultiSurface(value);
return this;
}
@Override
public BuildingType withLod3MultiCurve(MultiCurvePropertyType value) {
setLod3MultiCurve(value);
return this;
}
@Override
public BuildingType withLod3TerrainIntersection(MultiCurvePropertyType value) {
setLod3TerrainIntersection(value);
return this;
}
@Override
public BuildingType withLod4Solid(SolidPropertyType value) {
setLod4Solid(value);
return this;
}
@Override
public BuildingType withLod4MultiSurface(MultiSurfacePropertyType value) {
setLod4MultiSurface(value);
return this;
}
@Override
public BuildingType withLod4MultiCurve(MultiCurvePropertyType value) {
setLod4MultiCurve(value);
return this;
}
@Override
public BuildingType withLod4TerrainIntersection(MultiCurvePropertyType value) {
setLod4TerrainIntersection(value);
return this;
}
@Override
public BuildingType withInteriorRoom(InteriorRoomPropertyType... values) {
if (values!= null) {
for (InteriorRoomPropertyType value: values) {
getInteriorRoom().add(value);
}
}
return this;
}
@Override
public BuildingType withInteriorRoom(Collection values) {
if (values!= null) {
getInteriorRoom().addAll(values);
}
return this;
}
@Override
public BuildingType withConsistsOfBuildingPart(BuildingPartPropertyType... values) {
if (values!= null) {
for (BuildingPartPropertyType value: values) {
getConsistsOfBuildingPart().add(value);
}
}
return this;
}
@Override
public BuildingType withConsistsOfBuildingPart(Collection values) {
if (values!= null) {
getConsistsOfBuildingPart().addAll(values);
}
return this;
}
@Override
public BuildingType withAddress(AddressPropertyType... values) {
if (values!= null) {
for (AddressPropertyType value: values) {
getAddress().add(value);
}
}
return this;
}
@Override
public BuildingType withAddress(Collection values) {
if (values!= null) {
getAddress().addAll(values);
}
return this;
}
@Override
public BuildingType withGenericApplicationPropertyOfAbstractBuilding(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfAbstractBuilding().add(value);
}
}
return this;
}
@Override
public BuildingType withGenericApplicationPropertyOfAbstractBuilding(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfAbstractBuilding().addAll(values);
}
return this;
}
@Override
public BuildingType withFunction(List value) {
setFunction(value);
return this;
}
@Override
public BuildingType withUsage(List value) {
setUsage(value);
return this;
}
@Override
public BuildingType withOuterBuildingInstallation(List value) {
setOuterBuildingInstallation(value);
return this;
}
@Override
public BuildingType withInteriorBuildingInstallation(List value) {
setInteriorBuildingInstallation(value);
return this;
}
@Override
public BuildingType withCityObjectBoundedBy(List value) {
setCityObjectBoundedBy(value);
return this;
}
@Override
public BuildingType withInteriorRoom(List value) {
setInteriorRoom(value);
return this;
}
@Override
public BuildingType withConsistsOfBuildingPart(List value) {
setConsistsOfBuildingPart(value);
return this;
}
@Override
public BuildingType withAddress(List value) {
setAddress(value);
return this;
}
@Override
public BuildingType withGenericApplicationPropertyOfAbstractBuilding(List value) {
setGenericApplicationPropertyOfAbstractBuilding(value);
return this;
}
@Override
public BuildingType withGenericApplicationPropertyOfSite(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfSite().add(value);
}
}
return this;
}
@Override
public BuildingType withGenericApplicationPropertyOfSite(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfSite().addAll(values);
}
return this;
}
@Override
public BuildingType withGenericApplicationPropertyOfSite(List value) {
setGenericApplicationPropertyOfSite(value);
return this;
}
@Override
public BuildingType withCreationDate(XMLGregorianCalendar value) {
setCreationDate(value);
return this;
}
@Override
public BuildingType withTerminationDate(XMLGregorianCalendar value) {
setTerminationDate(value);
return this;
}
@Override
public BuildingType withExternalReference(ExternalReferenceType... values) {
if (values!= null) {
for (ExternalReferenceType value: values) {
getExternalReference().add(value);
}
}
return this;
}
@Override
public BuildingType withExternalReference(Collection values) {
if (values!= null) {
getExternalReference().addAll(values);
}
return this;
}
@Override
public BuildingType withGeneralizesTo(GeneralizationRelationType... values) {
if (values!= null) {
for (GeneralizationRelationType value: values) {
getGeneralizesTo().add(value);
}
}
return this;
}
@Override
public BuildingType withGeneralizesTo(Collection values) {
if (values!= null) {
getGeneralizesTo().addAll(values);
}
return this;
}
@Override
public BuildingType withRelativeToTerrain(RelativeToTerrainType value) {
setRelativeToTerrain(value);
return this;
}
@Override
public BuildingType withRelativeToWater(RelativeToWaterType value) {
setRelativeToWater(value);
return this;
}
@Override
public BuildingType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) {
if (values!= null) {
for (JAXBElement value: values) {
getGenericApplicationPropertyOfCityObject().add(value);
}
}
return this;
}
@Override
public BuildingType withGenericApplicationPropertyOfCityObject(Collection> values) {
if (values!= null) {
getGenericApplicationPropertyOfCityObject().addAll(values);
}
return this;
}
@Override
public BuildingType withExternalReference(List value) {
setExternalReference(value);
return this;
}
@Override
public BuildingType withGeneralizesTo(List value) {
setGeneralizesTo(value);
return this;
}
@Override
public BuildingType withGenericApplicationPropertyOfCityObject(List> value) {
setGenericApplicationPropertyOfCityObject(value);
return this;
}
}