The following schema fragment specifies the expected content contained within this class.
*
*
genericApplicationPropertyOfBridge;
/**
* Gets the value of the genericApplicationPropertyOfBridge 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 genericApplicationPropertyOfBridge property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfBridge().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfBridge() {
if (genericApplicationPropertyOfBridge == null) {
genericApplicationPropertyOfBridge = new ArrayList();
}
return this.genericApplicationPropertyOfBridge;
}
public boolean isSetGenericApplicationPropertyOfBridge() {
return ((this.genericApplicationPropertyOfBridge!= null)&&(!this.genericApplicationPropertyOfBridge.isEmpty()));
}
public void unsetGenericApplicationPropertyOfBridge() {
this.genericApplicationPropertyOfBridge = 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 theGenericApplicationPropertyOfBridge;
theGenericApplicationPropertyOfBridge = (this.isSetGenericApplicationPropertyOfBridge()?this.getGenericApplicationPropertyOfBridge():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfBridge", buffer, theGenericApplicationPropertyOfBridge, this.isSetGenericApplicationPropertyOfBridge());
}
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 BridgeType that = ((BridgeType) object);
{
List lhsGenericApplicationPropertyOfBridge;
lhsGenericApplicationPropertyOfBridge = (this.isSetGenericApplicationPropertyOfBridge()?this.getGenericApplicationPropertyOfBridge():null);
List rhsGenericApplicationPropertyOfBridge;
rhsGenericApplicationPropertyOfBridge = (that.isSetGenericApplicationPropertyOfBridge()?that.getGenericApplicationPropertyOfBridge():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfBridge", lhsGenericApplicationPropertyOfBridge), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfBridge", rhsGenericApplicationPropertyOfBridge), lhsGenericApplicationPropertyOfBridge, rhsGenericApplicationPropertyOfBridge, this.isSetGenericApplicationPropertyOfBridge(), that.isSetGenericApplicationPropertyOfBridge())) {
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 theGenericApplicationPropertyOfBridge;
theGenericApplicationPropertyOfBridge = (this.isSetGenericApplicationPropertyOfBridge()?this.getGenericApplicationPropertyOfBridge():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfBridge", theGenericApplicationPropertyOfBridge), currentHashCode, theGenericApplicationPropertyOfBridge, this.isSetGenericApplicationPropertyOfBridge());
}
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 BridgeType) {
final BridgeType copy = ((BridgeType) draftCopy);
{
Boolean genericApplicationPropertyOfBridgeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfBridge());
if (genericApplicationPropertyOfBridgeShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfBridge;
sourceGenericApplicationPropertyOfBridge = (this.isSetGenericApplicationPropertyOfBridge()?this.getGenericApplicationPropertyOfBridge():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfBridge = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfBridge", sourceGenericApplicationPropertyOfBridge), sourceGenericApplicationPropertyOfBridge, this.isSetGenericApplicationPropertyOfBridge()));
copy.unsetGenericApplicationPropertyOfBridge();
if (copyGenericApplicationPropertyOfBridge!= null) {
List uniqueGenericApplicationPropertyOfBridgel = copy.getGenericApplicationPropertyOfBridge();
uniqueGenericApplicationPropertyOfBridgel.addAll(copyGenericApplicationPropertyOfBridge);
}
} else {
if (genericApplicationPropertyOfBridgeShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfBridge();
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new BridgeType();
}
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 BridgeType) {
final BridgeType target = this;
final BridgeType leftObject = ((BridgeType) left);
final BridgeType rightObject = ((BridgeType) right);
{
Boolean genericApplicationPropertyOfBridgeShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfBridge(), rightObject.isSetGenericApplicationPropertyOfBridge());
if (genericApplicationPropertyOfBridgeShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfBridge;
lhsGenericApplicationPropertyOfBridge = (leftObject.isSetGenericApplicationPropertyOfBridge()?leftObject.getGenericApplicationPropertyOfBridge():null);
List rhsGenericApplicationPropertyOfBridge;
rhsGenericApplicationPropertyOfBridge = (rightObject.isSetGenericApplicationPropertyOfBridge()?rightObject.getGenericApplicationPropertyOfBridge():null);
List mergedGenericApplicationPropertyOfBridge = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfBridge", lhsGenericApplicationPropertyOfBridge), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfBridge", rhsGenericApplicationPropertyOfBridge), lhsGenericApplicationPropertyOfBridge, rhsGenericApplicationPropertyOfBridge, leftObject.isSetGenericApplicationPropertyOfBridge(), rightObject.isSetGenericApplicationPropertyOfBridge()));
target.unsetGenericApplicationPropertyOfBridge();
if (mergedGenericApplicationPropertyOfBridge!= null) {
List uniqueGenericApplicationPropertyOfBridgel = target.getGenericApplicationPropertyOfBridge();
uniqueGenericApplicationPropertyOfBridgel.addAll(mergedGenericApplicationPropertyOfBridge);
}
} else {
if (genericApplicationPropertyOfBridgeShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfBridge();
}
}
}
}
}
public void setGenericApplicationPropertyOfBridge(List value) {
this.genericApplicationPropertyOfBridge = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfBridge();
draftl.addAll(value);
}
}
public BridgeType withGenericApplicationPropertyOfBridge(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfBridge().add(value);
}
}
return this;
}
public BridgeType withGenericApplicationPropertyOfBridge(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfBridge().addAll(values);
}
return this;
}
public BridgeType withGenericApplicationPropertyOfBridge(List value) {
setGenericApplicationPropertyOfBridge(value);
return this;
}
@Override
public BridgeType withClazz(CodeType value) {
setClazz(value);
return this;
}
@Override
public BridgeType withFunction(CodeType... values) {
if (values!= null) {
for (CodeType value: values) {
getFunction().add(value);
}
}
return this;
}
@Override
public BridgeType withFunction(Collection values) {
if (values!= null) {
getFunction().addAll(values);
}
return this;
}
@Override
public BridgeType withUsage(CodeType... values) {
if (values!= null) {
for (CodeType value: values) {
getUsage().add(value);
}
}
return this;
}
@Override
public BridgeType withUsage(Collection values) {
if (values!= null) {
getUsage().addAll(values);
}
return this;
}
@Override
public BridgeType withYearOfConstruction(XMLGregorianCalendar value) {
setYearOfConstruction(value);
return this;
}
@Override
public BridgeType withYearOfDemolition(XMLGregorianCalendar value) {
setYearOfDemolition(value);
return this;
}
@Override
public BridgeType withIsMovable(Boolean value) {
setIsMovable(value);
return this;
}
@Override
public BridgeType withLod1Solid(SolidPropertyType value) {
setLod1Solid(value);
return this;
}
@Override
public BridgeType withLod1MultiSurface(MultiSurfacePropertyType value) {
setLod1MultiSurface(value);
return this;
}
@Override
public BridgeType withLod1TerrainIntersection(MultiCurvePropertyType value) {
setLod1TerrainIntersection(value);
return this;
}
@Override
public BridgeType withLod2Solid(SolidPropertyType value) {
setLod2Solid(value);
return this;
}
@Override
public BridgeType withLod2MultiSurface(MultiSurfacePropertyType value) {
setLod2MultiSurface(value);
return this;
}
@Override
public BridgeType withLod2MultiCurve(MultiCurvePropertyType value) {
setLod2MultiCurve(value);
return this;
}
@Override
public BridgeType withLod2TerrainIntersection(MultiCurvePropertyType value) {
setLod2TerrainIntersection(value);
return this;
}
@Override
public BridgeType withOuterBridgeConstruction(BridgeConstructionElementPropertyType... values) {
if (values!= null) {
for (BridgeConstructionElementPropertyType value: values) {
getOuterBridgeConstruction().add(value);
}
}
return this;
}
@Override
public BridgeType withOuterBridgeConstruction(Collection values) {
if (values!= null) {
getOuterBridgeConstruction().addAll(values);
}
return this;
}
@Override
public BridgeType withOuterBridgeInstallation(BridgeInstallationPropertyType... values) {
if (values!= null) {
for (BridgeInstallationPropertyType value: values) {
getOuterBridgeInstallation().add(value);
}
}
return this;
}
@Override
public BridgeType withOuterBridgeInstallation(Collection values) {
if (values!= null) {
getOuterBridgeInstallation().addAll(values);
}
return this;
}
@Override
public BridgeType withInteriorBridgeInstallation(IntBridgeInstallationPropertyType... values) {
if (values!= null) {
for (IntBridgeInstallationPropertyType value: values) {
getInteriorBridgeInstallation().add(value);
}
}
return this;
}
@Override
public BridgeType withInteriorBridgeInstallation(Collection values) {
if (values!= null) {
getInteriorBridgeInstallation().addAll(values);
}
return this;
}
@Override
public BridgeType withCityObjectBoundedBy(BoundarySurfacePropertyType... values) {
if (values!= null) {
for (BoundarySurfacePropertyType value: values) {
getCityObjectBoundedBy().add(value);
}
}
return this;
}
@Override
public BridgeType withCityObjectBoundedBy(Collection values) {
if (values!= null) {
getCityObjectBoundedBy().addAll(values);
}
return this;
}
@Override
public BridgeType withLod3Solid(SolidPropertyType value) {
setLod3Solid(value);
return this;
}
@Override
public BridgeType withLod3MultiSurface(MultiSurfacePropertyType value) {
setLod3MultiSurface(value);
return this;
}
@Override
public BridgeType withLod3MultiCurve(MultiCurvePropertyType value) {
setLod3MultiCurve(value);
return this;
}
@Override
public BridgeType withLod3TerrainIntersection(MultiCurvePropertyType value) {
setLod3TerrainIntersection(value);
return this;
}
@Override
public BridgeType withLod4Solid(SolidPropertyType value) {
setLod4Solid(value);
return this;
}
@Override
public BridgeType withLod4MultiSurface(MultiSurfacePropertyType value) {
setLod4MultiSurface(value);
return this;
}
@Override
public BridgeType withLod4MultiCurve(MultiCurvePropertyType value) {
setLod4MultiCurve(value);
return this;
}
@Override
public BridgeType withLod4TerrainIntersection(MultiCurvePropertyType value) {
setLod4TerrainIntersection(value);
return this;
}
@Override
public BridgeType withInteriorBridgeRoom(InteriorBridgeRoomPropertyType... values) {
if (values!= null) {
for (InteriorBridgeRoomPropertyType value: values) {
getInteriorBridgeRoom().add(value);
}
}
return this;
}
@Override
public BridgeType withInteriorBridgeRoom(Collection values) {
if (values!= null) {
getInteriorBridgeRoom().addAll(values);
}
return this;
}
@Override
public BridgeType withConsistsOfBridgePart(BridgePartPropertyType... values) {
if (values!= null) {
for (BridgePartPropertyType value: values) {
getConsistsOfBridgePart().add(value);
}
}
return this;
}
@Override
public BridgeType withConsistsOfBridgePart(Collection values) {
if (values!= null) {
getConsistsOfBridgePart().addAll(values);
}
return this;
}
@Override
public BridgeType withAddress(AddressPropertyType... values) {
if (values!= null) {
for (AddressPropertyType value: values) {
getAddress().add(value);
}
}
return this;
}
@Override
public BridgeType withAddress(Collection values) {
if (values!= null) {
getAddress().addAll(values);
}
return this;
}
@Override
public BridgeType withGenericApplicationPropertyOfAbstractBridge(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfAbstractBridge().add(value);
}
}
return this;
}
@Override
public BridgeType withGenericApplicationPropertyOfAbstractBridge(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfAbstractBridge().addAll(values);
}
return this;
}
@Override
public BridgeType withFunction(List value) {
setFunction(value);
return this;
}
@Override
public BridgeType withUsage(List value) {
setUsage(value);
return this;
}
@Override
public BridgeType withOuterBridgeConstruction(List value) {
setOuterBridgeConstruction(value);
return this;
}
@Override
public BridgeType withOuterBridgeInstallation(List value) {
setOuterBridgeInstallation(value);
return this;
}
@Override
public BridgeType withInteriorBridgeInstallation(List value) {
setInteriorBridgeInstallation(value);
return this;
}
@Override
public BridgeType withCityObjectBoundedBy(List value) {
setCityObjectBoundedBy(value);
return this;
}
@Override
public BridgeType withInteriorBridgeRoom(List value) {
setInteriorBridgeRoom(value);
return this;
}
@Override
public BridgeType withConsistsOfBridgePart(List value) {
setConsistsOfBridgePart(value);
return this;
}
@Override
public BridgeType withAddress(List value) {
setAddress(value);
return this;
}
@Override
public BridgeType withGenericApplicationPropertyOfAbstractBridge(List value) {
setGenericApplicationPropertyOfAbstractBridge(value);
return this;
}
@Override
public BridgeType withGenericApplicationPropertyOfSite(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfSite().add(value);
}
}
return this;
}
@Override
public BridgeType withGenericApplicationPropertyOfSite(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfSite().addAll(values);
}
return this;
}
@Override
public BridgeType withGenericApplicationPropertyOfSite(List value) {
setGenericApplicationPropertyOfSite(value);
return this;
}
@Override
public BridgeType withCreationDate(XMLGregorianCalendar value) {
setCreationDate(value);
return this;
}
@Override
public BridgeType withTerminationDate(XMLGregorianCalendar value) {
setTerminationDate(value);
return this;
}
@Override
public BridgeType withExternalReference(ExternalReferenceType... values) {
if (values!= null) {
for (ExternalReferenceType value: values) {
getExternalReference().add(value);
}
}
return this;
}
@Override
public BridgeType withExternalReference(Collection values) {
if (values!= null) {
getExternalReference().addAll(values);
}
return this;
}
@Override
public BridgeType withGeneralizesTo(GeneralizationRelationType... values) {
if (values!= null) {
for (GeneralizationRelationType value: values) {
getGeneralizesTo().add(value);
}
}
return this;
}
@Override
public BridgeType withGeneralizesTo(Collection values) {
if (values!= null) {
getGeneralizesTo().addAll(values);
}
return this;
}
@Override
public BridgeType withRelativeToTerrain(RelativeToTerrainType value) {
setRelativeToTerrain(value);
return this;
}
@Override
public BridgeType withRelativeToWater(RelativeToWaterType value) {
setRelativeToWater(value);
return this;
}
@Override
public BridgeType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) {
if (values!= null) {
for (JAXBElement value: values) {
getGenericApplicationPropertyOfCityObject().add(value);
}
}
return this;
}
@Override
public BridgeType withGenericApplicationPropertyOfCityObject(Collection> values) {
if (values!= null) {
getGenericApplicationPropertyOfCityObject().addAll(values);
}
return this;
}
@Override
public BridgeType withExternalReference(List value) {
setExternalReference(value);
return this;
}
@Override
public BridgeType withGeneralizesTo(List value) {
setGeneralizesTo(value);
return this;
}
@Override
public BridgeType withGenericApplicationPropertyOfCityObject(List> value) {
setGenericApplicationPropertyOfCityObject(value);
return this;
}
}