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