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