// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.07.27 at 04:06:37 PM EDT // package us.gov.ic.virt; import java.io.Serializable; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; import org.hisrc.w3c.xlink.v_1_0.ActuateType; import org.hisrc.w3c.xlink.v_1_0.ShowType; import org.hisrc.w3c.xlink.v_1_0.TypeType; import org.jvnet.jaxb2_commons.lang.CopyStrategy2; import org.jvnet.jaxb2_commons.lang.CopyTo2; import org.jvnet.jaxb2_commons.lang.Equals2; import org.jvnet.jaxb2_commons.lang.EqualsStrategy2; import org.jvnet.jaxb2_commons.lang.HashCode2; import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2; import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy; import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy; import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy; import org.jvnet.jaxb2_commons.lang.JAXBMergeStrategy; import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy; import org.jvnet.jaxb2_commons.lang.MergeFrom2; import org.jvnet.jaxb2_commons.lang.MergeStrategy2; import org.jvnet.jaxb2_commons.lang.ToString2; import org.jvnet.jaxb2_commons.lang.ToStringStrategy2; import org.jvnet.jaxb2_commons.locator.ObjectLocator; import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; /** * * <pre> * <?xml version="1.0" encoding="UTF-8"?><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="urn:us:gov:ic:virt" xmlns:ism="urn:us:gov:ic:ism" xmlns:ntk="urn:us:gov:ic:ntk" xmlns:virt="urn:us:gov:ic:virt" xmlns:virtnetwork="urn:us:gov:ic:cvenum:virt:network" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ism:classification="U" ism:ownerProducer="USA"> Basic Type for a required link</xhtml:p> * </pre> * * * <p>Java class for RequiredSimpleLinkType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="RequiredSimpleLinkType"> * <simpleContent> * <extension base="<urn:us:gov:ic:ism>ShortStringType"> * <attGroup ref="{urn:us:gov:ic:virt}RequiredSimpleLinkAttributesGroup"/> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RequiredSimpleLinkType", propOrder = { "value" }) @XmlSeeAlso({ RequiredSimpleLinkWithSecurityType.class }) public class RequiredSimpleLinkType implements Serializable, Cloneable, CopyTo2, Equals2, HashCode2, MergeFrom2, ToString2 { private final static long serialVersionUID = 1L; @XmlValue @Size(max = 256) protected String value; @XmlAttribute(name = "type", namespace = "http://www.w3.org/1999/xlink") protected TypeType type; @XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink", required = true) @NotNull(message = "RequiredSimpleLinkType.href {javax.validation.constraints.NotNull.message}") protected String href; @XmlAttribute(name = "role", namespace = "http://www.w3.org/1999/xlink") @Size(min = 1) protected String role; @XmlAttribute(name = "arcrole", namespace = "http://www.w3.org/1999/xlink") @Size(min = 1) protected String arcrole; @XmlAttribute(name = "title", namespace = "http://www.w3.org/1999/xlink") protected String title; @XmlAttribute(name = "show", namespace = "http://www.w3.org/1999/xlink") protected ShowType show; @XmlAttribute(name = "actuate", namespace = "http://www.w3.org/1999/xlink") protected ActuateType actuate; @XmlAttribute(name = "network", namespace = "urn:us:gov:ic:virt") protected String network; /** * * <pre> * <?xml version="1.0" encoding="UTF-8"?><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="urn:us:gov:ic:ism" xmlns:ism="urn:us:gov:ic:ism" xmlns:ism25x="urn:us:gov:ic:cvenum:ism:25x" xmlns:ismatomic="urn:us:gov:ic:cvenum:ism:atomicEnergyMarkings" xmlns:ismcat="urn:us:gov:ic:ismcat" xmlns:ismcatfgio="urn:us:gov:ic:cvenum:ismcat:fgiopen" xmlns:ismcatfgip="urn:us:gov:ic:cvenum:ismcat:fgiprotected" xmlns:ismcatownpro="urn:us:gov:ic:cvenum:ismcat:ownerproducer" xmlns:ismcatrelto="urn:us:gov:ic:cvenum:ismcat:relto" xmlns:ismclassall="urn:us:gov:ic:cvenum:ism:classification:all" xmlns:ismcomplies="urn:us:gov:ic:cvenum:ism:complieswith" xmlns:ismdissem="urn:us:gov:ic:cvenum:ism:dissem" xmlns:ismexempt="urn:us:gov:ic:cvenum:ism:exemptfrom" xmlns:ismnonic="urn:us:gov:ic:cvenum:ism:nonic" xmlns:ismnonus="urn:us:gov:ic:cvenum:ism:nonuscontrols" xmlns:ismnotice="urn:us:gov:ic:cvenum:ism:notice" xmlns:ismpoctyp="urn:us:gov:ic:cvenum:ism:pocType" xmlns:ismsar="urn:us:gov:ic:cvenum:ism:sar" xmlns:ismscicon="urn:us:gov:ic:cvenum:ism:scicontrols" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ism:classification="U" ism:ownerProducer="USA">A short string, less than * 256 characters.</xhtml:p> * </pre> * * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } public boolean isSetValue() { return (this.value!= null); } /** * Gets the value of the type property. * * @return * possible object is * {@link TypeType } * */ public TypeType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link TypeType } * */ public void setType(TypeType value) { this.type = value; } public boolean isSetType() { return (this.type!= null); } /** * Gets the value of the href property. * * @return * possible object is * {@link String } * */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is * {@link String } * */ public void setHref(String value) { this.href = value; } public boolean isSetHref() { return (this.href!= null); } /** * Gets the value of the role property. * * @return * possible object is * {@link String } * */ public String getRole() { return role; } /** * Sets the value of the role property. * * @param value * allowed object is * {@link String } * */ public void setRole(String value) { this.role = value; } public boolean isSetRole() { return (this.role!= null); } /** * Gets the value of the arcrole property. * * @return * possible object is * {@link String } * */ public String getArcrole() { return arcrole; } /** * Sets the value of the arcrole property. * * @param value * allowed object is * {@link String } * */ public void setArcrole(String value) { this.arcrole = value; } public boolean isSetArcrole() { return (this.arcrole!= null); } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } public boolean isSetTitle() { return (this.title!= null); } /** * Gets the value of the show property. * * @return * possible object is * {@link ShowType } * */ public ShowType getShow() { return show; } /** * Sets the value of the show property. * * @param value * allowed object is * {@link ShowType } * */ public void setShow(ShowType value) { this.show = value; } public boolean isSetShow() { return (this.show!= null); } /** * Gets the value of the actuate property. * * @return * possible object is * {@link ActuateType } * */ public ActuateType getActuate() { return actuate; } /** * Sets the value of the actuate property. * * @param value * allowed object is * {@link ActuateType } * */ public void setActuate(ActuateType value) { this.actuate = value; } public boolean isSetActuate() { return (this.actuate!= null); } /** * Gets the value of the network property. * * @return * possible object is * {@link String } * */ public String getNetwork() { return network; } /** * Sets the value of the network property. * * @param value * allowed object is * {@link String } * */ public void setNetwork(String value) { this.network = value; } public boolean isSetNetwork() { return (this.network!= 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) { { String theValue; theValue = this.getValue(); strategy.appendField(locator, this, "value", buffer, theValue, this.isSetValue()); } { TypeType theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType, this.isSetType()); } { String theHref; theHref = this.getHref(); strategy.appendField(locator, this, "href", buffer, theHref, this.isSetHref()); } { String theRole; theRole = this.getRole(); strategy.appendField(locator, this, "role", buffer, theRole, this.isSetRole()); } { String theArcrole; theArcrole = this.getArcrole(); strategy.appendField(locator, this, "arcrole", buffer, theArcrole, this.isSetArcrole()); } { String theTitle; theTitle = this.getTitle(); strategy.appendField(locator, this, "title", buffer, theTitle, this.isSetTitle()); } { ShowType theShow; theShow = this.getShow(); strategy.appendField(locator, this, "show", buffer, theShow, this.isSetShow()); } { ActuateType theActuate; theActuate = this.getActuate(); strategy.appendField(locator, this, "actuate", buffer, theActuate, this.isSetActuate()); } { String theNetwork; theNetwork = this.getNetwork(); strategy.appendField(locator, this, "network", buffer, theNetwork, this.isSetNetwork()); } 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; } final RequiredSimpleLinkType that = ((RequiredSimpleLinkType) object); { String lhsValue; lhsValue = this.getValue(); String rhsValue; rhsValue = that.getValue(); if (!strategy.equals(LocatorUtils.property(thisLocator, "value", lhsValue), LocatorUtils.property(thatLocator, "value", rhsValue), lhsValue, rhsValue, this.isSetValue(), that.isSetValue())) { return false; } } { TypeType lhsType; lhsType = this.getType(); TypeType rhsType; rhsType = that.getType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType, this.isSetType(), that.isSetType())) { return false; } } { String lhsHref; lhsHref = this.getHref(); String rhsHref; rhsHref = that.getHref(); if (!strategy.equals(LocatorUtils.property(thisLocator, "href", lhsHref), LocatorUtils.property(thatLocator, "href", rhsHref), lhsHref, rhsHref, this.isSetHref(), that.isSetHref())) { return false; } } { String lhsRole; lhsRole = this.getRole(); String rhsRole; rhsRole = that.getRole(); if (!strategy.equals(LocatorUtils.property(thisLocator, "role", lhsRole), LocatorUtils.property(thatLocator, "role", rhsRole), lhsRole, rhsRole, this.isSetRole(), that.isSetRole())) { return false; } } { String lhsArcrole; lhsArcrole = this.getArcrole(); String rhsArcrole; rhsArcrole = that.getArcrole(); if (!strategy.equals(LocatorUtils.property(thisLocator, "arcrole", lhsArcrole), LocatorUtils.property(thatLocator, "arcrole", rhsArcrole), lhsArcrole, rhsArcrole, this.isSetArcrole(), that.isSetArcrole())) { return false; } } { String lhsTitle; lhsTitle = this.getTitle(); String rhsTitle; rhsTitle = that.getTitle(); if (!strategy.equals(LocatorUtils.property(thisLocator, "title", lhsTitle), LocatorUtils.property(thatLocator, "title", rhsTitle), lhsTitle, rhsTitle, this.isSetTitle(), that.isSetTitle())) { return false; } } { ShowType lhsShow; lhsShow = this.getShow(); ShowType rhsShow; rhsShow = that.getShow(); if (!strategy.equals(LocatorUtils.property(thisLocator, "show", lhsShow), LocatorUtils.property(thatLocator, "show", rhsShow), lhsShow, rhsShow, this.isSetShow(), that.isSetShow())) { return false; } } { ActuateType lhsActuate; lhsActuate = this.getActuate(); ActuateType rhsActuate; rhsActuate = that.getActuate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "actuate", lhsActuate), LocatorUtils.property(thatLocator, "actuate", rhsActuate), lhsActuate, rhsActuate, this.isSetActuate(), that.isSetActuate())) { return false; } } { String lhsNetwork; lhsNetwork = this.getNetwork(); String rhsNetwork; rhsNetwork = that.getNetwork(); if (!strategy.equals(LocatorUtils.property(thisLocator, "network", lhsNetwork), LocatorUtils.property(thatLocator, "network", rhsNetwork), lhsNetwork, rhsNetwork, this.isSetNetwork(), that.isSetNetwork())) { 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 = 1; { String theValue; theValue = this.getValue(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "value", theValue), currentHashCode, theValue, this.isSetValue()); } { TypeType theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, this.isSetType()); } { String theHref; theHref = this.getHref(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "href", theHref), currentHashCode, theHref, this.isSetHref()); } { String theRole; theRole = this.getRole(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "role", theRole), currentHashCode, theRole, this.isSetRole()); } { String theArcrole; theArcrole = this.getArcrole(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "arcrole", theArcrole), currentHashCode, theArcrole, this.isSetArcrole()); } { String theTitle; theTitle = this.getTitle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle, this.isSetTitle()); } { ShowType theShow; theShow = this.getShow(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "show", theShow), currentHashCode, theShow, this.isSetShow()); } { ActuateType theActuate; theActuate = this.getActuate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actuate", theActuate), currentHashCode, theActuate, this.isSetActuate()); } { String theNetwork; theNetwork = this.getNetwork(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "network", theNetwork), currentHashCode, theNetwork, this.isSetNetwork()); } 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); if (draftCopy instanceof RequiredSimpleLinkType) { final RequiredSimpleLinkType copy = ((RequiredSimpleLinkType) draftCopy); { Boolean valueShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetValue()); if (valueShouldBeCopiedAndSet == Boolean.TRUE) { String sourceValue; sourceValue = this.getValue(); String copyValue = ((String) strategy.copy(LocatorUtils.property(locator, "value", sourceValue), sourceValue, this.isSetValue())); copy.setValue(copyValue); } else { if (valueShouldBeCopiedAndSet == Boolean.FALSE) { copy.value = null; } } } { Boolean typeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetType()); if (typeShouldBeCopiedAndSet == Boolean.TRUE) { TypeType sourceType; sourceType = this.getType(); TypeType copyType = ((TypeType) strategy.copy(LocatorUtils.property(locator, "type", sourceType), sourceType, this.isSetType())); copy.setType(copyType); } else { if (typeShouldBeCopiedAndSet == Boolean.FALSE) { copy.type = null; } } } { Boolean hrefShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetHref()); if (hrefShouldBeCopiedAndSet == Boolean.TRUE) { String sourceHref; sourceHref = this.getHref(); String copyHref = ((String) strategy.copy(LocatorUtils.property(locator, "href", sourceHref), sourceHref, this.isSetHref())); copy.setHref(copyHref); } else { if (hrefShouldBeCopiedAndSet == Boolean.FALSE) { copy.href = null; } } } { Boolean roleShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetRole()); if (roleShouldBeCopiedAndSet == Boolean.TRUE) { String sourceRole; sourceRole = this.getRole(); String copyRole = ((String) strategy.copy(LocatorUtils.property(locator, "role", sourceRole), sourceRole, this.isSetRole())); copy.setRole(copyRole); } else { if (roleShouldBeCopiedAndSet == Boolean.FALSE) { copy.role = null; } } } { Boolean arcroleShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetArcrole()); if (arcroleShouldBeCopiedAndSet == Boolean.TRUE) { String sourceArcrole; sourceArcrole = this.getArcrole(); String copyArcrole = ((String) strategy.copy(LocatorUtils.property(locator, "arcrole", sourceArcrole), sourceArcrole, this.isSetArcrole())); copy.setArcrole(copyArcrole); } else { if (arcroleShouldBeCopiedAndSet == Boolean.FALSE) { copy.arcrole = null; } } } { Boolean titleShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetTitle()); if (titleShouldBeCopiedAndSet == Boolean.TRUE) { String sourceTitle; sourceTitle = this.getTitle(); String copyTitle = ((String) strategy.copy(LocatorUtils.property(locator, "title", sourceTitle), sourceTitle, this.isSetTitle())); copy.setTitle(copyTitle); } else { if (titleShouldBeCopiedAndSet == Boolean.FALSE) { copy.title = null; } } } { Boolean showShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetShow()); if (showShouldBeCopiedAndSet == Boolean.TRUE) { ShowType sourceShow; sourceShow = this.getShow(); ShowType copyShow = ((ShowType) strategy.copy(LocatorUtils.property(locator, "show", sourceShow), sourceShow, this.isSetShow())); copy.setShow(copyShow); } else { if (showShouldBeCopiedAndSet == Boolean.FALSE) { copy.show = null; } } } { Boolean actuateShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetActuate()); if (actuateShouldBeCopiedAndSet == Boolean.TRUE) { ActuateType sourceActuate; sourceActuate = this.getActuate(); ActuateType copyActuate = ((ActuateType) strategy.copy(LocatorUtils.property(locator, "actuate", sourceActuate), sourceActuate, this.isSetActuate())); copy.setActuate(copyActuate); } else { if (actuateShouldBeCopiedAndSet == Boolean.FALSE) { copy.actuate = null; } } } { Boolean networkShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetNetwork()); if (networkShouldBeCopiedAndSet == Boolean.TRUE) { String sourceNetwork; sourceNetwork = this.getNetwork(); String copyNetwork = ((String) strategy.copy(LocatorUtils.property(locator, "network", sourceNetwork), sourceNetwork, this.isSetNetwork())); copy.setNetwork(copyNetwork); } else { if (networkShouldBeCopiedAndSet == Boolean.FALSE) { copy.network = null; } } } } return draftCopy; } public Object createNewInstance() { return new RequiredSimpleLinkType(); } 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) { if (right instanceof RequiredSimpleLinkType) { final RequiredSimpleLinkType target = this; final RequiredSimpleLinkType leftObject = ((RequiredSimpleLinkType) left); final RequiredSimpleLinkType rightObject = ((RequiredSimpleLinkType) right); { Boolean valueShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetValue(), rightObject.isSetValue()); if (valueShouldBeMergedAndSet == Boolean.TRUE) { String lhsValue; lhsValue = leftObject.getValue(); String rhsValue; rhsValue = rightObject.getValue(); String mergedValue = ((String) strategy.merge(LocatorUtils.property(leftLocator, "value", lhsValue), LocatorUtils.property(rightLocator, "value", rhsValue), lhsValue, rhsValue, leftObject.isSetValue(), rightObject.isSetValue())); target.setValue(mergedValue); } else { if (valueShouldBeMergedAndSet == Boolean.FALSE) { target.value = null; } } } { Boolean typeShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetType(), rightObject.isSetType()); if (typeShouldBeMergedAndSet == Boolean.TRUE) { TypeType lhsType; lhsType = leftObject.getType(); TypeType rhsType; rhsType = rightObject.getType(); TypeType mergedType = ((TypeType) strategy.merge(LocatorUtils.property(leftLocator, "type", lhsType), LocatorUtils.property(rightLocator, "type", rhsType), lhsType, rhsType, leftObject.isSetType(), rightObject.isSetType())); target.setType(mergedType); } else { if (typeShouldBeMergedAndSet == Boolean.FALSE) { target.type = null; } } } { Boolean hrefShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetHref(), rightObject.isSetHref()); if (hrefShouldBeMergedAndSet == Boolean.TRUE) { String lhsHref; lhsHref = leftObject.getHref(); String rhsHref; rhsHref = rightObject.getHref(); String mergedHref = ((String) strategy.merge(LocatorUtils.property(leftLocator, "href", lhsHref), LocatorUtils.property(rightLocator, "href", rhsHref), lhsHref, rhsHref, leftObject.isSetHref(), rightObject.isSetHref())); target.setHref(mergedHref); } else { if (hrefShouldBeMergedAndSet == Boolean.FALSE) { target.href = null; } } } { Boolean roleShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetRole(), rightObject.isSetRole()); if (roleShouldBeMergedAndSet == Boolean.TRUE) { String lhsRole; lhsRole = leftObject.getRole(); String rhsRole; rhsRole = rightObject.getRole(); String mergedRole = ((String) strategy.merge(LocatorUtils.property(leftLocator, "role", lhsRole), LocatorUtils.property(rightLocator, "role", rhsRole), lhsRole, rhsRole, leftObject.isSetRole(), rightObject.isSetRole())); target.setRole(mergedRole); } else { if (roleShouldBeMergedAndSet == Boolean.FALSE) { target.role = null; } } } { Boolean arcroleShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetArcrole(), rightObject.isSetArcrole()); if (arcroleShouldBeMergedAndSet == Boolean.TRUE) { String lhsArcrole; lhsArcrole = leftObject.getArcrole(); String rhsArcrole; rhsArcrole = rightObject.getArcrole(); String mergedArcrole = ((String) strategy.merge(LocatorUtils.property(leftLocator, "arcrole", lhsArcrole), LocatorUtils.property(rightLocator, "arcrole", rhsArcrole), lhsArcrole, rhsArcrole, leftObject.isSetArcrole(), rightObject.isSetArcrole())); target.setArcrole(mergedArcrole); } else { if (arcroleShouldBeMergedAndSet == Boolean.FALSE) { target.arcrole = null; } } } { Boolean titleShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetTitle(), rightObject.isSetTitle()); if (titleShouldBeMergedAndSet == Boolean.TRUE) { String lhsTitle; lhsTitle = leftObject.getTitle(); String rhsTitle; rhsTitle = rightObject.getTitle(); String mergedTitle = ((String) strategy.merge(LocatorUtils.property(leftLocator, "title", lhsTitle), LocatorUtils.property(rightLocator, "title", rhsTitle), lhsTitle, rhsTitle, leftObject.isSetTitle(), rightObject.isSetTitle())); target.setTitle(mergedTitle); } else { if (titleShouldBeMergedAndSet == Boolean.FALSE) { target.title = null; } } } { Boolean showShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetShow(), rightObject.isSetShow()); if (showShouldBeMergedAndSet == Boolean.TRUE) { ShowType lhsShow; lhsShow = leftObject.getShow(); ShowType rhsShow; rhsShow = rightObject.getShow(); ShowType mergedShow = ((ShowType) strategy.merge(LocatorUtils.property(leftLocator, "show", lhsShow), LocatorUtils.property(rightLocator, "show", rhsShow), lhsShow, rhsShow, leftObject.isSetShow(), rightObject.isSetShow())); target.setShow(mergedShow); } else { if (showShouldBeMergedAndSet == Boolean.FALSE) { target.show = null; } } } { Boolean actuateShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetActuate(), rightObject.isSetActuate()); if (actuateShouldBeMergedAndSet == Boolean.TRUE) { ActuateType lhsActuate; lhsActuate = leftObject.getActuate(); ActuateType rhsActuate; rhsActuate = rightObject.getActuate(); ActuateType mergedActuate = ((ActuateType) strategy.merge(LocatorUtils.property(leftLocator, "actuate", lhsActuate), LocatorUtils.property(rightLocator, "actuate", rhsActuate), lhsActuate, rhsActuate, leftObject.isSetActuate(), rightObject.isSetActuate())); target.setActuate(mergedActuate); } else { if (actuateShouldBeMergedAndSet == Boolean.FALSE) { target.actuate = null; } } } { Boolean networkShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetNetwork(), rightObject.isSetNetwork()); if (networkShouldBeMergedAndSet == Boolean.TRUE) { String lhsNetwork; lhsNetwork = leftObject.getNetwork(); String rhsNetwork; rhsNetwork = rightObject.getNetwork(); String mergedNetwork = ((String) strategy.merge(LocatorUtils.property(leftLocator, "network", lhsNetwork), LocatorUtils.property(rightLocator, "network", rhsNetwork), lhsNetwork, rhsNetwork, leftObject.isSetNetwork(), rightObject.isSetNetwork())); target.setNetwork(mergedNetwork); } else { if (networkShouldBeMergedAndSet == Boolean.FALSE) { target.network = null; } } } } } }