genericApplicationPropertyOfParameterizedTexture;
/**
* Gets the value of the target 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 target property.
*
*
* For example, to add a new item, do as follows:
*
* getTarget().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TextureAssociationType }
*
*
*/
public List getTarget() {
if (target == null) {
target = new ArrayList();
}
return this.target;
}
public boolean isSetTarget() {
return ((this.target!= null)&&(!this.target.isEmpty()));
}
public void unsetTarget() {
this.target = null;
}
/**
* Gets the value of the genericApplicationPropertyOfParameterizedTexture 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 genericApplicationPropertyOfParameterizedTexture property.
*
*
* For example, to add a new item, do as follows:
*
* getGenericApplicationPropertyOfParameterizedTexture().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getGenericApplicationPropertyOfParameterizedTexture() {
if (genericApplicationPropertyOfParameterizedTexture == null) {
genericApplicationPropertyOfParameterizedTexture = new ArrayList();
}
return this.genericApplicationPropertyOfParameterizedTexture;
}
public boolean isSetGenericApplicationPropertyOfParameterizedTexture() {
return ((this.genericApplicationPropertyOfParameterizedTexture!= null)&&(!this.genericApplicationPropertyOfParameterizedTexture.isEmpty()));
}
public void unsetGenericApplicationPropertyOfParameterizedTexture() {
this.genericApplicationPropertyOfParameterizedTexture = 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 theTarget;
theTarget = (this.isSetTarget()?this.getTarget():null);
strategy.appendField(locator, this, "target", buffer, theTarget, this.isSetTarget());
}
{
List theGenericApplicationPropertyOfParameterizedTexture;
theGenericApplicationPropertyOfParameterizedTexture = (this.isSetGenericApplicationPropertyOfParameterizedTexture()?this.getGenericApplicationPropertyOfParameterizedTexture():null);
strategy.appendField(locator, this, "genericApplicationPropertyOfParameterizedTexture", buffer, theGenericApplicationPropertyOfParameterizedTexture, this.isSetGenericApplicationPropertyOfParameterizedTexture());
}
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 ParameterizedTextureType that = ((ParameterizedTextureType) object);
{
List lhsTarget;
lhsTarget = (this.isSetTarget()?this.getTarget():null);
List rhsTarget;
rhsTarget = (that.isSetTarget()?that.getTarget():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "target", lhsTarget), LocatorUtils.property(thatLocator, "target", rhsTarget), lhsTarget, rhsTarget, this.isSetTarget(), that.isSetTarget())) {
return false;
}
}
{
List lhsGenericApplicationPropertyOfParameterizedTexture;
lhsGenericApplicationPropertyOfParameterizedTexture = (this.isSetGenericApplicationPropertyOfParameterizedTexture()?this.getGenericApplicationPropertyOfParameterizedTexture():null);
List rhsGenericApplicationPropertyOfParameterizedTexture;
rhsGenericApplicationPropertyOfParameterizedTexture = (that.isSetGenericApplicationPropertyOfParameterizedTexture()?that.getGenericApplicationPropertyOfParameterizedTexture():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "genericApplicationPropertyOfParameterizedTexture", lhsGenericApplicationPropertyOfParameterizedTexture), LocatorUtils.property(thatLocator, "genericApplicationPropertyOfParameterizedTexture", rhsGenericApplicationPropertyOfParameterizedTexture), lhsGenericApplicationPropertyOfParameterizedTexture, rhsGenericApplicationPropertyOfParameterizedTexture, this.isSetGenericApplicationPropertyOfParameterizedTexture(), that.isSetGenericApplicationPropertyOfParameterizedTexture())) {
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 theTarget;
theTarget = (this.isSetTarget()?this.getTarget():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "target", theTarget), currentHashCode, theTarget, this.isSetTarget());
}
{
List theGenericApplicationPropertyOfParameterizedTexture;
theGenericApplicationPropertyOfParameterizedTexture = (this.isSetGenericApplicationPropertyOfParameterizedTexture()?this.getGenericApplicationPropertyOfParameterizedTexture():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "genericApplicationPropertyOfParameterizedTexture", theGenericApplicationPropertyOfParameterizedTexture), currentHashCode, theGenericApplicationPropertyOfParameterizedTexture, this.isSetGenericApplicationPropertyOfParameterizedTexture());
}
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 ParameterizedTextureType) {
final ParameterizedTextureType copy = ((ParameterizedTextureType) draftCopy);
{
Boolean targetShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetTarget());
if (targetShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceTarget;
sourceTarget = (this.isSetTarget()?this.getTarget():null);
@SuppressWarnings("unchecked")
List copyTarget = ((List ) strategy.copy(LocatorUtils.property(locator, "target", sourceTarget), sourceTarget, this.isSetTarget()));
copy.unsetTarget();
if (copyTarget!= null) {
List uniqueTargetl = copy.getTarget();
uniqueTargetl.addAll(copyTarget);
}
} else {
if (targetShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetTarget();
}
}
}
{
Boolean genericApplicationPropertyOfParameterizedTextureShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetGenericApplicationPropertyOfParameterizedTexture());
if (genericApplicationPropertyOfParameterizedTextureShouldBeCopiedAndSet == Boolean.TRUE) {
List sourceGenericApplicationPropertyOfParameterizedTexture;
sourceGenericApplicationPropertyOfParameterizedTexture = (this.isSetGenericApplicationPropertyOfParameterizedTexture()?this.getGenericApplicationPropertyOfParameterizedTexture():null);
@SuppressWarnings("unchecked")
List copyGenericApplicationPropertyOfParameterizedTexture = ((List ) strategy.copy(LocatorUtils.property(locator, "genericApplicationPropertyOfParameterizedTexture", sourceGenericApplicationPropertyOfParameterizedTexture), sourceGenericApplicationPropertyOfParameterizedTexture, this.isSetGenericApplicationPropertyOfParameterizedTexture()));
copy.unsetGenericApplicationPropertyOfParameterizedTexture();
if (copyGenericApplicationPropertyOfParameterizedTexture!= null) {
List uniqueGenericApplicationPropertyOfParameterizedTexturel = copy.getGenericApplicationPropertyOfParameterizedTexture();
uniqueGenericApplicationPropertyOfParameterizedTexturel.addAll(copyGenericApplicationPropertyOfParameterizedTexture);
}
} else {
if (genericApplicationPropertyOfParameterizedTextureShouldBeCopiedAndSet == Boolean.FALSE) {
copy.unsetGenericApplicationPropertyOfParameterizedTexture();
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new ParameterizedTextureType();
}
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 ParameterizedTextureType) {
final ParameterizedTextureType target = this;
final ParameterizedTextureType leftObject = ((ParameterizedTextureType) left);
final ParameterizedTextureType rightObject = ((ParameterizedTextureType) right);
{
Boolean targetShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetTarget(), rightObject.isSetTarget());
if (targetShouldBeMergedAndSet == Boolean.TRUE) {
List lhsTarget;
lhsTarget = (leftObject.isSetTarget()?leftObject.getTarget():null);
List rhsTarget;
rhsTarget = (rightObject.isSetTarget()?rightObject.getTarget():null);
List mergedTarget = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "target", lhsTarget), LocatorUtils.property(rightLocator, "target", rhsTarget), lhsTarget, rhsTarget, leftObject.isSetTarget(), rightObject.isSetTarget()));
target.unsetTarget();
if (mergedTarget!= null) {
List uniqueTargetl = target.getTarget();
uniqueTargetl.addAll(mergedTarget);
}
} else {
if (targetShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetTarget();
}
}
}
{
Boolean genericApplicationPropertyOfParameterizedTextureShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetGenericApplicationPropertyOfParameterizedTexture(), rightObject.isSetGenericApplicationPropertyOfParameterizedTexture());
if (genericApplicationPropertyOfParameterizedTextureShouldBeMergedAndSet == Boolean.TRUE) {
List lhsGenericApplicationPropertyOfParameterizedTexture;
lhsGenericApplicationPropertyOfParameterizedTexture = (leftObject.isSetGenericApplicationPropertyOfParameterizedTexture()?leftObject.getGenericApplicationPropertyOfParameterizedTexture():null);
List rhsGenericApplicationPropertyOfParameterizedTexture;
rhsGenericApplicationPropertyOfParameterizedTexture = (rightObject.isSetGenericApplicationPropertyOfParameterizedTexture()?rightObject.getGenericApplicationPropertyOfParameterizedTexture():null);
List mergedGenericApplicationPropertyOfParameterizedTexture = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "genericApplicationPropertyOfParameterizedTexture", lhsGenericApplicationPropertyOfParameterizedTexture), LocatorUtils.property(rightLocator, "genericApplicationPropertyOfParameterizedTexture", rhsGenericApplicationPropertyOfParameterizedTexture), lhsGenericApplicationPropertyOfParameterizedTexture, rhsGenericApplicationPropertyOfParameterizedTexture, leftObject.isSetGenericApplicationPropertyOfParameterizedTexture(), rightObject.isSetGenericApplicationPropertyOfParameterizedTexture()));
target.unsetGenericApplicationPropertyOfParameterizedTexture();
if (mergedGenericApplicationPropertyOfParameterizedTexture!= null) {
List uniqueGenericApplicationPropertyOfParameterizedTexturel = target.getGenericApplicationPropertyOfParameterizedTexture();
uniqueGenericApplicationPropertyOfParameterizedTexturel.addAll(mergedGenericApplicationPropertyOfParameterizedTexture);
}
} else {
if (genericApplicationPropertyOfParameterizedTextureShouldBeMergedAndSet == Boolean.FALSE) {
target.unsetGenericApplicationPropertyOfParameterizedTexture();
}
}
}
}
}
public void setTarget(List value) {
this.target = null;
if (value!= null) {
List draftl = this.getTarget();
draftl.addAll(value);
}
}
public void setGenericApplicationPropertyOfParameterizedTexture(List value) {
this.genericApplicationPropertyOfParameterizedTexture = null;
if (value!= null) {
List draftl = this.getGenericApplicationPropertyOfParameterizedTexture();
draftl.addAll(value);
}
}
public ParameterizedTextureType withTarget(TextureAssociationType... values) {
if (values!= null) {
for (TextureAssociationType value: values) {
getTarget().add(value);
}
}
return this;
}
public ParameterizedTextureType withTarget(Collection values) {
if (values!= null) {
getTarget().addAll(values);
}
return this;
}
public ParameterizedTextureType withGenericApplicationPropertyOfParameterizedTexture(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfParameterizedTexture().add(value);
}
}
return this;
}
public ParameterizedTextureType withGenericApplicationPropertyOfParameterizedTexture(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfParameterizedTexture().addAll(values);
}
return this;
}
public ParameterizedTextureType withTarget(List value) {
setTarget(value);
return this;
}
public ParameterizedTextureType withGenericApplicationPropertyOfParameterizedTexture(List value) {
setGenericApplicationPropertyOfParameterizedTexture(value);
return this;
}
@Override
public ParameterizedTextureType withImageURI(String value) {
setImageURI(value);
return this;
}
@Override
public ParameterizedTextureType withMimeType(CodeType value) {
setMimeType(value);
return this;
}
@Override
public ParameterizedTextureType withTextureType(TextureTypeType value) {
setTextureType(value);
return this;
}
@Override
public ParameterizedTextureType withWrapMode(WrapModeType value) {
setWrapMode(value);
return this;
}
@Override
public ParameterizedTextureType withBorderColor(Double... values) {
if (values!= null) {
for (Double value: values) {
getBorderColor().add(value);
}
}
return this;
}
@Override
public ParameterizedTextureType withBorderColor(Collection values) {
if (values!= null) {
getBorderColor().addAll(values);
}
return this;
}
@Override
public ParameterizedTextureType withGenericApplicationPropertyOfTexture(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfTexture().add(value);
}
}
return this;
}
@Override
public ParameterizedTextureType withGenericApplicationPropertyOfTexture(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfTexture().addAll(values);
}
return this;
}
@Override
public ParameterizedTextureType withBorderColor(List value) {
setBorderColor(value);
return this;
}
@Override
public ParameterizedTextureType withGenericApplicationPropertyOfTexture(List value) {
setGenericApplicationPropertyOfTexture(value);
return this;
}
@Override
public ParameterizedTextureType withIsFront(Boolean value) {
setIsFront(value);
return this;
}
@Override
public ParameterizedTextureType withGenericApplicationPropertyOfSurfaceData(Object... values) {
if (values!= null) {
for (Object value: values) {
getGenericApplicationPropertyOfSurfaceData().add(value);
}
}
return this;
}
@Override
public ParameterizedTextureType withGenericApplicationPropertyOfSurfaceData(Collection values) {
if (values!= null) {
getGenericApplicationPropertyOfSurfaceData().addAll(values);
}
return this;
}
@Override
public ParameterizedTextureType withGenericApplicationPropertyOfSurfaceData(List value) {
setGenericApplicationPropertyOfSurfaceData(value);
return this;
}
}