The following schema fragment specifies the expected content contained within this class.
*
*
genericApplicationPropertyOfVegetationObject;
/**
* Gets the value of the genericApplicationPropertyOfVegetationObject 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 genericApplicationPropertyOfVegetationObject property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfVegetationObject().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfVegetationObject() {
if (genericApplicationPropertyOfVegetationObject == null) {
genericApplicationPropertyOfVegetationObject = new ArrayList();
}
return this.genericApplicationPropertyOfVegetationObject;
}
public boolean isSetGenericApplicationPropertyOfVegetationObject() {
return ((this.genericApplicationPropertyOfVegetationObject!= null)&&(!this.genericApplicationPropertyOfVegetationObject.isEmpty()));
}
public void unsetGenericApplicationPropertyOfVegetationObject() {
this.genericApplicationPropertyOfVegetationObject = 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 theGenericApplicationPropertyOfVegetationObject;
theGenericApplicationPropertyOfVegetationObject = (this.isSetGenericApplicationPropertyOfVegetationObject()?this.getGenericApplicationPropertyOfVegetationObject():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfVegetationObject", buffer, theGenericApplicationPropertyOfVegetationObject, this.isSetGenericApplicationPropertyOfVegetationObject());
}
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 AbstractVegetationObjectType that = ((AbstractVegetationObjectType) object);
{
List lhsGenericApplicationPropertyOfVegetationObject;
lhsGenericApplicationPropertyOfVegetationObject = (this.isSetGenericApplicationPropertyOfVegetationObject()?this.getGenericApplicationPropertyOfVegetationObject():null);
List rhsGenericApplicationPropertyOfVegetationObject;
rhsGenericApplicationPropertyOfVegetationObject = (that.isSetGenericApplicationPropertyOfVegetationObject()?that.getGenericApplicationPropertyOfVegetationObject():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfVegetationObject", lhsGenericApplicationPropertyOfVegetationObject), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfVegetationObject", rhsGenericApplicationPropertyOfVegetationObject), lhsGenericApplicationPropertyOfVegetationObject, rhsGenericApplicationPropertyOfVegetationObject, this.isSetGenericApplicationPropertyOfVegetationObject(), that.isSetGenericApplicationPropertyOfVegetationObject())) {
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 theGenericApplicationPropertyOfVegetationObject;
theGenericApplicationPropertyOfVegetationObject = (this.isSetGenericApplicationPropertyOfVegetationObject()?this.getGenericApplicationPropertyOfVegetationObject():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfVegetationObject", theGenericApplicationPropertyOfVegetationObject), currentHashCode, theGenericApplicationPropertyOfVegetationObject, this.isSetGenericApplicationPropertyOfVegetationObject());
}
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 AbstractVegetationObjectType) {
final AbstractVegetationObjectType copy = ((AbstractVegetationObjectType) target);
{
Boolean genericApplicationPropertyOfVegetationObjectShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfVegetationObject());
if (genericApplicationPropertyOfVegetationObjectShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfVegetationObject;
sourceGenericApplicationPropertyOfVegetationObject = (this.isSetGenericApplicationPropertyOfVegetationObject()?this.getGenericApplicationPropertyOfVegetationObject():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfVegetationObject = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfVegetationObject", sourceGenericApplicationPropertyOfVegetationObject), sourceGenericApplicationPropertyOfVegetationObject, this.isSetGenericApplicationPropertyOfVegetationObject()));
copy.unsetGenericApplicationPropertyOfVegetationObject();
if (copyGenericApplicationPropertyOfVegetationObject!= null) {
List uniqueGenericApplicationPropertyOfVegetationObjectl = copy.getGenericApplicationPropertyOfVegetationObject();
uniqueGenericApplicationPropertyOfVegetationObjectl.addAll(copyGenericApplicationPropertyOfVegetationObject);
}
} else {
if (genericApplicationPropertyOfVegetationObjectShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfVegetationObject();
}
}
}
}
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 AbstractVegetationObjectType) {
final AbstractVegetationObjectType target = this;
final AbstractVegetationObjectType leftObject = ((AbstractVegetationObjectType) left);
final AbstractVegetationObjectType rightObject = ((AbstractVegetationObjectType) right);
{
Boolean genericApplicationPropertyOfVegetationObjectShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfVegetationObject(), rightObject.isSetGenericApplicationPropertyOfVegetationObject());
if (genericApplicationPropertyOfVegetationObjectShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfVegetationObject;
lhsGenericApplicationPropertyOfVegetationObject = (leftObject.isSetGenericApplicationPropertyOfVegetationObject()?leftObject.getGenericApplicationPropertyOfVegetationObject():null);
List rhsGenericApplicationPropertyOfVegetationObject;
rhsGenericApplicationPropertyOfVegetationObject = (rightObject.isSetGenericApplicationPropertyOfVegetationObject()?rightObject.getGenericApplicationPropertyOfVegetationObject():null);
List mergedGenericApplicationPropertyOfVegetationObject = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfVegetationObject", lhsGenericApplicationPropertyOfVegetationObject), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfVegetationObject", rhsGenericApplicationPropertyOfVegetationObject), lhsGenericApplicationPropertyOfVegetationObject, rhsGenericApplicationPropertyOfVegetationObject, leftObject.isSetGenericApplicationPropertyOfVegetationObject(), rightObject.isSetGenericApplicationPropertyOfVegetationObject()));
target.unsetGenericApplicationPropertyOfVegetationObject();
if (mergedGenericApplicationPropertyOfVegetationObject!= null) {
List uniqueGenericApplicationPropertyOfVegetationObjectl = target.getGenericApplicationPropertyOfVegetationObject();
uniqueGenericApplicationPropertyOfVegetationObjectl.addAll(mergedGenericApplicationPropertyOfVegetationObject);
}
} else {
if (genericApplicationPropertyOfVegetationObjectShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfVegetationObject();
}
}
}
}
}
public void setGenericApplicationPropertyOfVegetationObject(List value) {
this.genericApplicationPropertyOfVegetationObject = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfVegetationObject();
draftl.addAll(value);
}
}
public AbstractVegetationObjectType withGenericApplicationPropertyOfVegetationObject(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfVegetationObject().add(value);
}
}
return this;
}
public AbstractVegetationObjectType withGenericApplicationPropertyOfVegetationObject(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfVegetationObject().addAll(values);
}
return this;
}
public AbstractVegetationObjectType withGenericApplicationPropertyOfVegetationObject(List value) {
setGenericApplicationPropertyOfVegetationObject(value);
return this;
}
@Override
public AbstractVegetationObjectType withCreationDate(XMLGregorianCalendar value) {
setCreationDate(value);
return this;
}
@Override
public AbstractVegetationObjectType withTerminationDate(XMLGregorianCalendar value) {
setTerminationDate(value);
return this;
}
@Override
public AbstractVegetationObjectType withExternalReference(ExternalReferenceType... values) {
if (values!= null) {
for (ExternalReferenceType value: values) {
getExternalReference().add(value);
}
}
return this;
}
@Override
public AbstractVegetationObjectType withExternalReference(Collection values) {
if (values!= null) {
getExternalReference().addAll(values);
}
return this;
}
@Override
public AbstractVegetationObjectType withGeneralizesTo(GeneralizationRelationType... values) {
if (values!= null) {
for (GeneralizationRelationType value: values) {
getGeneralizesTo().add(value);
}
}
return this;
}
@Override
public AbstractVegetationObjectType withGeneralizesTo(Collection values) {
if (values!= null) {
getGeneralizesTo().addAll(values);
}
return this;
}
@Override
public AbstractVegetationObjectType withRelativeToTerrain(RelativeToTerrainType value) {
setRelativeToTerrain(value);
return this;
}
@Override
public AbstractVegetationObjectType withRelativeToWater(RelativeToWaterType value) {
setRelativeToWater(value);
return this;
}
@Override
public AbstractVegetationObjectType withGenericApplicationPropertyOfCityObject(JAXBElement ... values) {
if (values!= null) {
for (JAXBElement value: values) {
getGenericApplicationPropertyOfCityObject().add(value);
}
}
return this;
}
@Override
public AbstractVegetationObjectType withGenericApplicationPropertyOfCityObject(Collection> values) {
if (values!= null) {
getGenericApplicationPropertyOfCityObject().addAll(values);
}
return this;
}
@Override
public AbstractVegetationObjectType withExternalReference(List value) {
setExternalReference(value);
return this;
}
@Override
public AbstractVegetationObjectType withGeneralizesTo(List value) {
setGeneralizesTo(value);
return this;
}
@Override
public AbstractVegetationObjectType withGenericApplicationPropertyOfCityObject(List> value) {
setGenericApplicationPropertyOfCityObject(value);
return this;
}
}