The following schema fragment specifies the expected content contained within this class.
*
*
genericApplicationPropertyOfDoor;
/**
* Gets the value of the genericApplicationPropertyOfDoor 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 genericApplicationPropertyOfDoor property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfDoor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfDoor() {
if (genericApplicationPropertyOfDoor == null) {
genericApplicationPropertyOfDoor = new ArrayList();
}
return this.genericApplicationPropertyOfDoor;
}
public boolean isSetGenericApplicationPropertyOfDoor() {
return ((this.genericApplicationPropertyOfDoor!= null)&&(!this.genericApplicationPropertyOfDoor.isEmpty()));
}
public void unsetGenericApplicationPropertyOfDoor() {
this.genericApplicationPropertyOfDoor = 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 theGenericApplicationPropertyOfDoor;
theGenericApplicationPropertyOfDoor = (this.isSetGenericApplicationPropertyOfDoor()?this.getGenericApplicationPropertyOfDoor():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfDoor", buffer, theGenericApplicationPropertyOfDoor, this.isSetGenericApplicationPropertyOfDoor());
}
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 DoorType that = ((DoorType) object);
{
List lhsGenericApplicationPropertyOfDoor;
lhsGenericApplicationPropertyOfDoor = (this.isSetGenericApplicationPropertyOfDoor()?this.getGenericApplicationPropertyOfDoor():null);
List rhsGenericApplicationPropertyOfDoor;
rhsGenericApplicationPropertyOfDoor = (that.isSetGenericApplicationPropertyOfDoor()?that.getGenericApplicationPropertyOfDoor():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfDoor", lhsGenericApplicationPropertyOfDoor), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfDoor", rhsGenericApplicationPropertyOfDoor), lhsGenericApplicationPropertyOfDoor, rhsGenericApplicationPropertyOfDoor, this.isSetGenericApplicationPropertyOfDoor(), that.isSetGenericApplicationPropertyOfDoor())) {
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 theGenericApplicationPropertyOfDoor;
theGenericApplicationPropertyOfDoor = (this.isSetGenericApplicationPropertyOfDoor()?this.getGenericApplicationPropertyOfDoor():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfDoor", theGenericApplicationPropertyOfDoor), currentHashCode, theGenericApplicationPropertyOfDoor, this.isSetGenericApplicationPropertyOfDoor());
}
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 DoorType) {
final DoorType copy = ((DoorType) draftCopy);
{
Boolean genericApplicationPropertyOfDoorShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfDoor());
if (genericApplicationPropertyOfDoorShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfDoor;
sourceGenericApplicationPropertyOfDoor = (this.isSetGenericApplicationPropertyOfDoor()?this.getGenericApplicationPropertyOfDoor():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfDoor = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfDoor", sourceGenericApplicationPropertyOfDoor), sourceGenericApplicationPropertyOfDoor, this.isSetGenericApplicationPropertyOfDoor()));
copy.unsetGenericApplicationPropertyOfDoor();
if (copyGenericApplicationPropertyOfDoor!= null) {
List uniqueGenericApplicationPropertyOfDoorl = copy.getGenericApplicationPropertyOfDoor();
uniqueGenericApplicationPropertyOfDoorl.addAll(copyGenericApplicationPropertyOfDoor);
}
} else {
if (genericApplicationPropertyOfDoorShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfDoor();
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new DoorType();
}
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 DoorType) {
final DoorType target = this;
final DoorType leftObject = ((DoorType) left);
final DoorType rightObject = ((DoorType) right);
{
Boolean genericApplicationPropertyOfDoorShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfDoor(), rightObject.isSetGenericApplicationPropertyOfDoor());
if (genericApplicationPropertyOfDoorShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfDoor;
lhsGenericApplicationPropertyOfDoor = (leftObject.isSetGenericApplicationPropertyOfDoor()?leftObject.getGenericApplicationPropertyOfDoor():null);
List rhsGenericApplicationPropertyOfDoor;
rhsGenericApplicationPropertyOfDoor = (rightObject.isSetGenericApplicationPropertyOfDoor()?rightObject.getGenericApplicationPropertyOfDoor():null);
List mergedGenericApplicationPropertyOfDoor = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfDoor", lhsGenericApplicationPropertyOfDoor), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfDoor", rhsGenericApplicationPropertyOfDoor), lhsGenericApplicationPropertyOfDoor, rhsGenericApplicationPropertyOfDoor, leftObject.isSetGenericApplicationPropertyOfDoor(), rightObject.isSetGenericApplicationPropertyOfDoor()));
target.unsetGenericApplicationPropertyOfDoor();
if (mergedGenericApplicationPropertyOfDoor!= null) {
List uniqueGenericApplicationPropertyOfDoorl = target.getGenericApplicationPropertyOfDoor();
uniqueGenericApplicationPropertyOfDoorl.addAll(mergedGenericApplicationPropertyOfDoor);
}
} else {
if (genericApplicationPropertyOfDoorShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfDoor();
}
}
}
}
}
public void setGenericApplicationPropertyOfDoor(List value) {
this.genericApplicationPropertyOfDoor = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfDoor();
draftl.addAll(value);
}
}
public DoorType withGenericApplicationPropertyOfDoor(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfDoor().add(value);
}
}
return this;
}
public DoorType withGenericApplicationPropertyOfDoor(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfDoor().addAll(values);
}
return this;
}
public DoorType withGenericApplicationPropertyOfDoor(List value) {
setGenericApplicationPropertyOfDoor(value);
return this;
}
@Override
public DoorType withLod3MultiSurface(MultiSurfacePropertyType value) {
setLod3MultiSurface(value);
return this;
}
@Override
public DoorType withLod4MultiSurface(MultiSurfacePropertyType value) {
setLod4MultiSurface(value);
return this;
}
@Override
public DoorType withLod3ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
setLod3ImplicitRepresentation(value);
return this;
}
@Override
public DoorType withLod4ImplicitRepresentation(ImplicitRepresentationPropertyType value) {
setLod4ImplicitRepresentation(value);
return this;
}
@Override
public DoorType withGenericApplicationPropertyOfOpening(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfOpening().add(value);
}
}
return this;
}
@Override
public DoorType withGenericApplicationPropertyOfOpening(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfOpening().addAll(values);
}
return this;
}
@Override
public DoorType withGenericApplicationPropertyOfOpening(List value) {
setGenericApplicationPropertyOfOpening(value);
return this;
}
@Override
public DoorType withCreationDate(XMLGregorianCalendar value) {
setCreationDate(value);
return this;
}
@Override
public DoorType withTerminationDate(XMLGregorianCalendar value) {
setTerminationDate(value);
return this;
}
@Override
public DoorType withExternalReference(ExternalReferenceType... values) {
if (values!= null) {
for (ExternalReferenceType value: values) {
getExternalReference().add(value);
}
}
return this;
}
@Override
public DoorType withExternalReference(Collection values) {
if (values!= null) {
getExternalReference().addAll(values);
}
return this;
}
@Override
public DoorType withGeneralizesTo(GeneralizationRelationType... values) {
if (values!= null) {
for (GeneralizationRelationType value: values) {
getGeneralizesTo().add(value);
}
}
return this;
}
@Override
public DoorType withGeneralizesTo(Collection values) {
if (values!= null) {
getGeneralizesTo().addAll(values);
}
return this;
}
@Override
public DoorType withRelativeToTerrain(RelativeToTerrainType value) {
setRelativeToTerrain(value);
return this;
}
@Override
public DoorType withRelativeToWater(RelativeToWaterType value) {
setRelativeToWater(value);
return this;
}
@Override
public DoorType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) {
if (values!= null) {
for (JAXBElement value: values) {
getGenericApplicationPropertyOfCityObject().add(value);
}
}
return this;
}
@Override
public DoorType withGenericApplicationPropertyOfCityObject(Collection> values) {
if (values!= null) {
getGenericApplicationPropertyOfCityObject().addAll(values);
}
return this;
}
@Override
public DoorType withExternalReference(List value) {
setExternalReference(value);
return this;
}
@Override
public DoorType withGeneralizesTo(List value) {
setGeneralizesTo(value);
return this;
}
@Override
public DoorType withGenericApplicationPropertyOfCityObject(List> value) {
setGenericApplicationPropertyOfCityObject(value);
return this;
}
}