The following schema fragment specifies the expected content contained within this class.
*
*
genericApplicationPropertyOfTransportationObject;
/**
* Gets the value of the genericApplicationPropertyOfTransportationObject 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 genericApplicationPropertyOfTransportationObject property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfTransportationObject().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfTransportationObject() {
if (genericApplicationPropertyOfTransportationObject == null) {
genericApplicationPropertyOfTransportationObject = new ArrayList();
}
return this.genericApplicationPropertyOfTransportationObject;
}
public boolean isSetGenericApplicationPropertyOfTransportationObject() {
return ((this.genericApplicationPropertyOfTransportationObject!= null)&&(!this.genericApplicationPropertyOfTransportationObject.isEmpty()));
}
public void unsetGenericApplicationPropertyOfTransportationObject() {
this.genericApplicationPropertyOfTransportationObject = 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 theGenericApplicationPropertyOfTransportationObject;
theGenericApplicationPropertyOfTransportationObject = (this.isSetGenericApplicationPropertyOfTransportationObject()?this.getGenericApplicationPropertyOfTransportationObject():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfTransportationObject", buffer, theGenericApplicationPropertyOfTransportationObject, this.isSetGenericApplicationPropertyOfTransportationObject());
}
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 AbstractTransportationObjectType that = ((AbstractTransportationObjectType) object);
{
List lhsGenericApplicationPropertyOfTransportationObject;
lhsGenericApplicationPropertyOfTransportationObject = (this.isSetGenericApplicationPropertyOfTransportationObject()?this.getGenericApplicationPropertyOfTransportationObject():null);
List rhsGenericApplicationPropertyOfTransportationObject;
rhsGenericApplicationPropertyOfTransportationObject = (that.isSetGenericApplicationPropertyOfTransportationObject()?that.getGenericApplicationPropertyOfTransportationObject():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfTransportationObject", lhsGenericApplicationPropertyOfTransportationObject), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfTransportationObject", rhsGenericApplicationPropertyOfTransportationObject), lhsGenericApplicationPropertyOfTransportationObject, rhsGenericApplicationPropertyOfTransportationObject, this.isSetGenericApplicationPropertyOfTransportationObject(), that.isSetGenericApplicationPropertyOfTransportationObject())) {
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 theGenericApplicationPropertyOfTransportationObject;
theGenericApplicationPropertyOfTransportationObject = (this.isSetGenericApplicationPropertyOfTransportationObject()?this.getGenericApplicationPropertyOfTransportationObject():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfTransportationObject", theGenericApplicationPropertyOfTransportationObject), currentHashCode, theGenericApplicationPropertyOfTransportationObject, this.isSetGenericApplicationPropertyOfTransportationObject());
}
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) {
if (null == target) {
throw new IllegalArgumentException("Target argument must not be null for abstract copyable classes.");
}
super.copyTo(locator, target, strategy);
if (target instanceof AbstractTransportationObjectType) {
final AbstractTransportationObjectType copy = ((AbstractTransportationObjectType) target);
{
Boolean genericApplicationPropertyOfTransportationObjectShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfTransportationObject());
if (genericApplicationPropertyOfTransportationObjectShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfTransportationObject;
sourceGenericApplicationPropertyOfTransportationObject = (this.isSetGenericApplicationPropertyOfTransportationObject()?this.getGenericApplicationPropertyOfTransportationObject():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfTransportationObject = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfTransportationObject", sourceGenericApplicationPropertyOfTransportationObject), sourceGenericApplicationPropertyOfTransportationObject, this.isSetGenericApplicationPropertyOfTransportationObject()));
copy.unsetGenericApplicationPropertyOfTransportationObject();
if (copyGenericApplicationPropertyOfTransportationObject!= null) {
List uniqueGenericApplicationPropertyOfTransportationObjectl = copy.getGenericApplicationPropertyOfTransportationObject();
uniqueGenericApplicationPropertyOfTransportationObjectl.addAll(copyGenericApplicationPropertyOfTransportationObject);
}
} else {
if (genericApplicationPropertyOfTransportationObjectShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfTransportationObject();
}
}
}
}
return target;
}
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 AbstractTransportationObjectType) {
final AbstractTransportationObjectType target = this;
final AbstractTransportationObjectType leftObject = ((AbstractTransportationObjectType) left);
final AbstractTransportationObjectType rightObject = ((AbstractTransportationObjectType) right);
{
Boolean genericApplicationPropertyOfTransportationObjectShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfTransportationObject(), rightObject.isSetGenericApplicationPropertyOfTransportationObject());
if (genericApplicationPropertyOfTransportationObjectShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfTransportationObject;
lhsGenericApplicationPropertyOfTransportationObject = (leftObject.isSetGenericApplicationPropertyOfTransportationObject()?leftObject.getGenericApplicationPropertyOfTransportationObject():null);
List rhsGenericApplicationPropertyOfTransportationObject;
rhsGenericApplicationPropertyOfTransportationObject = (rightObject.isSetGenericApplicationPropertyOfTransportationObject()?rightObject.getGenericApplicationPropertyOfTransportationObject():null);
List mergedGenericApplicationPropertyOfTransportationObject = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfTransportationObject", lhsGenericApplicationPropertyOfTransportationObject), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfTransportationObject", rhsGenericApplicationPropertyOfTransportationObject), lhsGenericApplicationPropertyOfTransportationObject, rhsGenericApplicationPropertyOfTransportationObject, leftObject.isSetGenericApplicationPropertyOfTransportationObject(), rightObject.isSetGenericApplicationPropertyOfTransportationObject()));
target.unsetGenericApplicationPropertyOfTransportationObject();
if (mergedGenericApplicationPropertyOfTransportationObject!= null) {
List uniqueGenericApplicationPropertyOfTransportationObjectl = target.getGenericApplicationPropertyOfTransportationObject();
uniqueGenericApplicationPropertyOfTransportationObjectl.addAll(mergedGenericApplicationPropertyOfTransportationObject);
}
} else {
if (genericApplicationPropertyOfTransportationObjectShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfTransportationObject();
}
}
}
}
}
public void setGenericApplicationPropertyOfTransportationObject(List value) {
this.genericApplicationPropertyOfTransportationObject = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfTransportationObject();
draftl.addAll(value);
}
}
public AbstractTransportationObjectType withGenericApplicationPropertyOfTransportationObject(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfTransportationObject().add(value);
}
}
return this;
}
public AbstractTransportationObjectType withGenericApplicationPropertyOfTransportationObject(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfTransportationObject().addAll(values);
}
return this;
}
public AbstractTransportationObjectType withGenericApplicationPropertyOfTransportationObject(List value) {
setGenericApplicationPropertyOfTransportationObject(value);
return this;
}
@Override
public AbstractTransportationObjectType withCreationDate(XMLGregorianCalendar value) {
setCreationDate(value);
return this;
}
@Override
public AbstractTransportationObjectType withTerminationDate(XMLGregorianCalendar value) {
setTerminationDate(value);
return this;
}
@Override
public AbstractTransportationObjectType withExternalReference(ExternalReferenceType... values) {
if (values!= null) {
for (ExternalReferenceType value: values) {
getExternalReference().add(value);
}
}
return this;
}
@Override
public AbstractTransportationObjectType withExternalReference(Collection values) {
if (values!= null) {
getExternalReference().addAll(values);
}
return this;
}
@Override
public AbstractTransportationObjectType withGeneralizesTo(GeneralizationRelationType... values) {
if (values!= null) {
for (GeneralizationRelationType value: values) {
getGeneralizesTo().add(value);
}
}
return this;
}
@Override
public AbstractTransportationObjectType withGeneralizesTo(Collection values) {
if (values!= null) {
getGeneralizesTo().addAll(values);
}
return this;
}
@Override
public AbstractTransportationObjectType withRelativeToTerrain(RelativeToTerrainType value) {
setRelativeToTerrain(value);
return this;
}
@Override
public AbstractTransportationObjectType withRelativeToWater(RelativeToWaterType value) {
setRelativeToWater(value);
return this;
}
@Override
public AbstractTransportationObjectType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) {
if (values!= null) {
for (JAXBElement value: values) {
getGenericApplicationPropertyOfCityObject().add(value);
}
}
return this;
}
@Override
public AbstractTransportationObjectType withGenericApplicationPropertyOfCityObject(Collection> values) {
if (values!= null) {
getGenericApplicationPropertyOfCityObject().addAll(values);
}
return this;
}
@Override
public AbstractTransportationObjectType withExternalReference(List value) {
setExternalReference(value);
return this;
}
@Override
public AbstractTransportationObjectType withGeneralizesTo(List value) {
setGeneralizesTo(value);
return this;
}
@Override
public AbstractTransportationObjectType withGenericApplicationPropertyOfCityObject(List> value) {
setGenericApplicationPropertyOfCityObject(value);
return this;
}
}