All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.opengis.tjs.v_1_0.FrameworkDescriptions Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.02.26 at 05:07:06 PM AST 
//


package net.opengis.tjs.v_1_0;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
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;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Framework" maxOccurs="unbounded">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}FrameworkURI"/>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}Organization"/>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}Title"/>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}Abstract"/>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}ReferenceDate"/>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}Version"/>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}Documentation" minOccurs="0"/>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}FrameworkKey"/>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}BoundingCoordinates"/>
 *                   <element ref="{http://www.opengis.net/tjs/1.0}DescribeDatasetsRequest"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attGroup ref="{http://www.opengis.net/tjs/1.0}RootAttributesGroup"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "framework" }) @XmlRootElement(name = "FrameworkDescriptions") public class FrameworkDescriptions implements Cloneable, CopyTo2, Equals2, HashCode2, MergeFrom2, ToString2 { @XmlElement(name = "Framework", required = true) protected List framework; /** * * */ @XmlAttribute(name = "service", required = true) @XmlSchemaType(name = "anySimpleType") public final static String SERVICE = "TJS"; /** * * */ @XmlAttribute(name = "version", required = true) @XmlSchemaType(name = "anySimpleType") public final static String VERSION = "1.0"; @XmlAttribute(name = "capabilities", required = true) protected String capabilities; @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace", required = true) protected String lang; /** * Gets the value of the framework 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 framework property. * *

* For example, to add a new item, do as follows: *

     *    getFramework().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FrameworkDescriptions.Framework } * * */ public List getFramework() { if (framework == null) { framework = new ArrayList(); } return this.framework; } public boolean isSetFramework() { return ((this.framework!= null)&&(!this.framework.isEmpty())); } public void unsetFramework() { this.framework = null; } /** * Gets the value of the capabilities property. * * @return * possible object is * {@link String } * */ public String getCapabilities() { return capabilities; } /** * Sets the value of the capabilities property. * * @param value * allowed object is * {@link String } * */ public void setCapabilities(String value) { this.capabilities = value; } public boolean isSetCapabilities() { return (this.capabilities!= null); } /** * RFC 4646 language code of the human-readable text (e.g. "en-CA"). * * @return * possible object is * {@link String } * */ public String getLang() { return lang; } /** * Sets the value of the lang property. * * @param value * allowed object is * {@link String } * */ public void setLang(String value) { this.lang = value; } public boolean isSetLang() { return (this.lang!= 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) { { List theFramework; theFramework = (this.isSetFramework()?this.getFramework():null); strategy.appendField(locator, this, "framework", buffer, theFramework, this.isSetFramework()); } { String theSERVICE; theSERVICE = FrameworkDescriptions.SERVICE; strategy.appendField(locator, this, "service", buffer, theSERVICE, true); } { String theVERSION; theVERSION = FrameworkDescriptions.VERSION; strategy.appendField(locator, this, "version", buffer, theVERSION, true); } { String theCapabilities; theCapabilities = this.getCapabilities(); strategy.appendField(locator, this, "capabilities", buffer, theCapabilities, this.isSetCapabilities()); } { String theLang; theLang = this.getLang(); strategy.appendField(locator, this, "lang", buffer, theLang, this.isSetLang()); } 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 FrameworkDescriptions that = ((FrameworkDescriptions) object); { List lhsFramework; lhsFramework = (this.isSetFramework()?this.getFramework():null); List rhsFramework; rhsFramework = (that.isSetFramework()?that.getFramework():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "framework", lhsFramework), LocatorUtils.property(thatLocator, "framework", rhsFramework), lhsFramework, rhsFramework, this.isSetFramework(), that.isSetFramework())) { return false; } } { String lhsCapabilities; lhsCapabilities = this.getCapabilities(); String rhsCapabilities; rhsCapabilities = that.getCapabilities(); if (!strategy.equals(LocatorUtils.property(thisLocator, "capabilities", lhsCapabilities), LocatorUtils.property(thatLocator, "capabilities", rhsCapabilities), lhsCapabilities, rhsCapabilities, this.isSetCapabilities(), that.isSetCapabilities())) { return false; } } { String lhsLang; lhsLang = this.getLang(); String rhsLang; rhsLang = that.getLang(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lang", lhsLang), LocatorUtils.property(thatLocator, "lang", rhsLang), lhsLang, rhsLang, this.isSetLang(), that.isSetLang())) { 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; { List theFramework; theFramework = (this.isSetFramework()?this.getFramework():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "framework", theFramework), currentHashCode, theFramework, this.isSetFramework()); } { String theCapabilities; theCapabilities = this.getCapabilities(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "capabilities", theCapabilities), currentHashCode, theCapabilities, this.isSetCapabilities()); } { String theLang; theLang = this.getLang(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lang", theLang), currentHashCode, theLang, this.isSetLang()); } 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 FrameworkDescriptions) { final FrameworkDescriptions copy = ((FrameworkDescriptions) draftCopy); { Boolean frameworkShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetFramework()); if (frameworkShouldBeCopiedAndSet == Boolean.TRUE) { List sourceFramework; sourceFramework = (this.isSetFramework()?this.getFramework():null); @SuppressWarnings("unchecked") List copyFramework = ((List ) strategy.copy(LocatorUtils.property(locator, "framework", sourceFramework), sourceFramework, this.isSetFramework())); copy.unsetFramework(); if (copyFramework!= null) { List uniqueFrameworkl = copy.getFramework(); uniqueFrameworkl.addAll(copyFramework); } } else { if (frameworkShouldBeCopiedAndSet == Boolean.FALSE) { copy.unsetFramework(); } } } { Boolean capabilitiesShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetCapabilities()); if (capabilitiesShouldBeCopiedAndSet == Boolean.TRUE) { String sourceCapabilities; sourceCapabilities = this.getCapabilities(); String copyCapabilities = ((String) strategy.copy(LocatorUtils.property(locator, "capabilities", sourceCapabilities), sourceCapabilities, this.isSetCapabilities())); copy.setCapabilities(copyCapabilities); } else { if (capabilitiesShouldBeCopiedAndSet == Boolean.FALSE) { copy.capabilities = null; } } } { Boolean langShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetLang()); if (langShouldBeCopiedAndSet == Boolean.TRUE) { String sourceLang; sourceLang = this.getLang(); String copyLang = ((String) strategy.copy(LocatorUtils.property(locator, "lang", sourceLang), sourceLang, this.isSetLang())); copy.setLang(copyLang); } else { if (langShouldBeCopiedAndSet == Boolean.FALSE) { copy.lang = null; } } } } return draftCopy; } public Object createNewInstance() { return new FrameworkDescriptions(); } 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 FrameworkDescriptions) { final FrameworkDescriptions target = this; final FrameworkDescriptions leftObject = ((FrameworkDescriptions) left); final FrameworkDescriptions rightObject = ((FrameworkDescriptions) right); { Boolean frameworkShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetFramework(), rightObject.isSetFramework()); if (frameworkShouldBeMergedAndSet == Boolean.TRUE) { List lhsFramework; lhsFramework = (leftObject.isSetFramework()?leftObject.getFramework():null); List rhsFramework; rhsFramework = (rightObject.isSetFramework()?rightObject.getFramework():null); List mergedFramework = ((List ) strategy.merge(LocatorUtils.property(leftLocator, "framework", lhsFramework), LocatorUtils.property(rightLocator, "framework", rhsFramework), lhsFramework, rhsFramework, leftObject.isSetFramework(), rightObject.isSetFramework())); target.unsetFramework(); if (mergedFramework!= null) { List uniqueFrameworkl = target.getFramework(); uniqueFrameworkl.addAll(mergedFramework); } } else { if (frameworkShouldBeMergedAndSet == Boolean.FALSE) { target.unsetFramework(); } } } { Boolean capabilitiesShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetCapabilities(), rightObject.isSetCapabilities()); if (capabilitiesShouldBeMergedAndSet == Boolean.TRUE) { String lhsCapabilities; lhsCapabilities = leftObject.getCapabilities(); String rhsCapabilities; rhsCapabilities = rightObject.getCapabilities(); String mergedCapabilities = ((String) strategy.merge(LocatorUtils.property(leftLocator, "capabilities", lhsCapabilities), LocatorUtils.property(rightLocator, "capabilities", rhsCapabilities), lhsCapabilities, rhsCapabilities, leftObject.isSetCapabilities(), rightObject.isSetCapabilities())); target.setCapabilities(mergedCapabilities); } else { if (capabilitiesShouldBeMergedAndSet == Boolean.FALSE) { target.capabilities = null; } } } { Boolean langShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetLang(), rightObject.isSetLang()); if (langShouldBeMergedAndSet == Boolean.TRUE) { String lhsLang; lhsLang = leftObject.getLang(); String rhsLang; rhsLang = rightObject.getLang(); String mergedLang = ((String) strategy.merge(LocatorUtils.property(leftLocator, "lang", lhsLang), LocatorUtils.property(rightLocator, "lang", rhsLang), lhsLang, rhsLang, leftObject.isSetLang(), rightObject.isSetLang())); target.setLang(mergedLang); } else { if (langShouldBeMergedAndSet == Boolean.FALSE) { target.lang = null; } } } } } public void setFramework(List value) { this.framework = null; if (value!= null) { List draftl = this.getFramework(); draftl.addAll(value); } } public FrameworkDescriptions withFramework(FrameworkDescriptions.Framework... values) { if (values!= null) { for (FrameworkDescriptions.Framework value: values) { getFramework().add(value); } } return this; } public FrameworkDescriptions withFramework(Collection values) { if (values!= null) { getFramework().addAll(values); } return this; } public FrameworkDescriptions withCapabilities(String value) { setCapabilities(value); return this; } public FrameworkDescriptions withLang(String value) { setLang(value); return this; } public FrameworkDescriptions withFramework(List value) { setFramework(value); return this; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element ref="{http://www.opengis.net/tjs/1.0}FrameworkURI"/>
     *         <element ref="{http://www.opengis.net/tjs/1.0}Organization"/>
     *         <element ref="{http://www.opengis.net/tjs/1.0}Title"/>
     *         <element ref="{http://www.opengis.net/tjs/1.0}Abstract"/>
     *         <element ref="{http://www.opengis.net/tjs/1.0}ReferenceDate"/>
     *         <element ref="{http://www.opengis.net/tjs/1.0}Version"/>
     *         <element ref="{http://www.opengis.net/tjs/1.0}Documentation" minOccurs="0"/>
     *         <element ref="{http://www.opengis.net/tjs/1.0}FrameworkKey"/>
     *         <element ref="{http://www.opengis.net/tjs/1.0}BoundingCoordinates"/>
     *         <element ref="{http://www.opengis.net/tjs/1.0}DescribeDatasetsRequest"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "frameworkURI", "organization", "title", "_abstract", "referenceDate", "version", "documentation", "frameworkKey", "boundingCoordinates", "describeDatasetsRequest" }) public static class Framework implements Cloneable, CopyTo2, Equals2, HashCode2, MergeFrom2, ToString2 { @XmlElement(name = "FrameworkURI", required = true) protected String frameworkURI; @XmlElement(name = "Organization", required = true) protected String organization; @XmlElement(name = "Title", required = true) protected String title; @XmlElement(name = "Abstract", required = true) protected AbstractType _abstract; @XmlElement(name = "ReferenceDate", required = true) protected ReferenceDate referenceDate; @XmlElement(name = "Version", required = true) protected String version; @XmlElement(name = "Documentation") @XmlSchemaType(name = "anyURI") protected String documentation; @XmlElement(name = "FrameworkKey", required = true) protected FrameworkKey frameworkKey; @XmlElement(name = "BoundingCoordinates", required = true) protected BoundingCoordinates boundingCoordinates; @XmlElement(name = "DescribeDatasetsRequest", required = true) protected DescribeDatasetsRequest describeDatasetsRequest; /** * Gets the value of the frameworkURI property. * * @return * possible object is * {@link String } * */ public String getFrameworkURI() { return frameworkURI; } /** * Sets the value of the frameworkURI property. * * @param value * allowed object is * {@link String } * */ public void setFrameworkURI(String value) { this.frameworkURI = value; } public boolean isSetFrameworkURI() { return (this.frameworkURI!= null); } /** * Gets the value of the organization property. * * @return * possible object is * {@link String } * */ public String getOrganization() { return organization; } /** * Sets the value of the organization property. * * @param value * allowed object is * {@link String } * */ public void setOrganization(String value) { this.organization = value; } public boolean isSetOrganization() { return (this.organization!= 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 abstract property. * * @return * possible object is * {@link AbstractType } * */ public AbstractType getAbstract() { return _abstract; } /** * Sets the value of the abstract property. * * @param value * allowed object is * {@link AbstractType } * */ public void setAbstract(AbstractType value) { this._abstract = value; } public boolean isSetAbstract() { return (this._abstract!= null); } /** * Gets the value of the referenceDate property. * * @return * possible object is * {@link ReferenceDate } * */ public ReferenceDate getReferenceDate() { return referenceDate; } /** * Sets the value of the referenceDate property. * * @param value * allowed object is * {@link ReferenceDate } * */ public void setReferenceDate(ReferenceDate value) { this.referenceDate = value; } public boolean isSetReferenceDate() { return (this.referenceDate!= null); } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } public boolean isSetVersion() { return (this.version!= null); } /** * Gets the value of the documentation property. * * @return * possible object is * {@link String } * */ public String getDocumentation() { return documentation; } /** * Sets the value of the documentation property. * * @param value * allowed object is * {@link String } * */ public void setDocumentation(String value) { this.documentation = value; } public boolean isSetDocumentation() { return (this.documentation!= null); } /** * Gets the value of the frameworkKey property. * * @return * possible object is * {@link FrameworkKey } * */ public FrameworkKey getFrameworkKey() { return frameworkKey; } /** * Sets the value of the frameworkKey property. * * @param value * allowed object is * {@link FrameworkKey } * */ public void setFrameworkKey(FrameworkKey value) { this.frameworkKey = value; } public boolean isSetFrameworkKey() { return (this.frameworkKey!= null); } /** * Gets the value of the boundingCoordinates property. * * @return * possible object is * {@link BoundingCoordinates } * */ public BoundingCoordinates getBoundingCoordinates() { return boundingCoordinates; } /** * Sets the value of the boundingCoordinates property. * * @param value * allowed object is * {@link BoundingCoordinates } * */ public void setBoundingCoordinates(BoundingCoordinates value) { this.boundingCoordinates = value; } public boolean isSetBoundingCoordinates() { return (this.boundingCoordinates!= null); } /** * Gets the value of the describeDatasetsRequest property. * * @return * possible object is * {@link DescribeDatasetsRequest } * */ public DescribeDatasetsRequest getDescribeDatasetsRequest() { return describeDatasetsRequest; } /** * Sets the value of the describeDatasetsRequest property. * * @param value * allowed object is * {@link DescribeDatasetsRequest } * */ public void setDescribeDatasetsRequest(DescribeDatasetsRequest value) { this.describeDatasetsRequest = value; } public boolean isSetDescribeDatasetsRequest() { return (this.describeDatasetsRequest!= 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 theFrameworkURI; theFrameworkURI = this.getFrameworkURI(); strategy.appendField(locator, this, "frameworkURI", buffer, theFrameworkURI, this.isSetFrameworkURI()); } { String theOrganization; theOrganization = this.getOrganization(); strategy.appendField(locator, this, "organization", buffer, theOrganization, this.isSetOrganization()); } { String theTitle; theTitle = this.getTitle(); strategy.appendField(locator, this, "title", buffer, theTitle, this.isSetTitle()); } { AbstractType theAbstract; theAbstract = this.getAbstract(); strategy.appendField(locator, this, "_abstract", buffer, theAbstract, this.isSetAbstract()); } { ReferenceDate theReferenceDate; theReferenceDate = this.getReferenceDate(); strategy.appendField(locator, this, "referenceDate", buffer, theReferenceDate, this.isSetReferenceDate()); } { String theVersion; theVersion = this.getVersion(); strategy.appendField(locator, this, "version", buffer, theVersion, this.isSetVersion()); } { String theDocumentation; theDocumentation = this.getDocumentation(); strategy.appendField(locator, this, "documentation", buffer, theDocumentation, this.isSetDocumentation()); } { FrameworkKey theFrameworkKey; theFrameworkKey = this.getFrameworkKey(); strategy.appendField(locator, this, "frameworkKey", buffer, theFrameworkKey, this.isSetFrameworkKey()); } { BoundingCoordinates theBoundingCoordinates; theBoundingCoordinates = this.getBoundingCoordinates(); strategy.appendField(locator, this, "boundingCoordinates", buffer, theBoundingCoordinates, this.isSetBoundingCoordinates()); } { DescribeDatasetsRequest theDescribeDatasetsRequest; theDescribeDatasetsRequest = this.getDescribeDatasetsRequest(); strategy.appendField(locator, this, "describeDatasetsRequest", buffer, theDescribeDatasetsRequest, this.isSetDescribeDatasetsRequest()); } 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 FrameworkDescriptions.Framework that = ((FrameworkDescriptions.Framework) object); { String lhsFrameworkURI; lhsFrameworkURI = this.getFrameworkURI(); String rhsFrameworkURI; rhsFrameworkURI = that.getFrameworkURI(); if (!strategy.equals(LocatorUtils.property(thisLocator, "frameworkURI", lhsFrameworkURI), LocatorUtils.property(thatLocator, "frameworkURI", rhsFrameworkURI), lhsFrameworkURI, rhsFrameworkURI, this.isSetFrameworkURI(), that.isSetFrameworkURI())) { return false; } } { String lhsOrganization; lhsOrganization = this.getOrganization(); String rhsOrganization; rhsOrganization = that.getOrganization(); if (!strategy.equals(LocatorUtils.property(thisLocator, "organization", lhsOrganization), LocatorUtils.property(thatLocator, "organization", rhsOrganization), lhsOrganization, rhsOrganization, this.isSetOrganization(), that.isSetOrganization())) { 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; } } { AbstractType lhsAbstract; lhsAbstract = this.getAbstract(); AbstractType rhsAbstract; rhsAbstract = that.getAbstract(); if (!strategy.equals(LocatorUtils.property(thisLocator, "_abstract", lhsAbstract), LocatorUtils.property(thatLocator, "_abstract", rhsAbstract), lhsAbstract, rhsAbstract, this.isSetAbstract(), that.isSetAbstract())) { return false; } } { ReferenceDate lhsReferenceDate; lhsReferenceDate = this.getReferenceDate(); ReferenceDate rhsReferenceDate; rhsReferenceDate = that.getReferenceDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "referenceDate", lhsReferenceDate), LocatorUtils.property(thatLocator, "referenceDate", rhsReferenceDate), lhsReferenceDate, rhsReferenceDate, this.isSetReferenceDate(), that.isSetReferenceDate())) { return false; } } { String lhsVersion; lhsVersion = this.getVersion(); String rhsVersion; rhsVersion = that.getVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "version", lhsVersion), LocatorUtils.property(thatLocator, "version", rhsVersion), lhsVersion, rhsVersion, this.isSetVersion(), that.isSetVersion())) { return false; } } { String lhsDocumentation; lhsDocumentation = this.getDocumentation(); String rhsDocumentation; rhsDocumentation = that.getDocumentation(); if (!strategy.equals(LocatorUtils.property(thisLocator, "documentation", lhsDocumentation), LocatorUtils.property(thatLocator, "documentation", rhsDocumentation), lhsDocumentation, rhsDocumentation, this.isSetDocumentation(), that.isSetDocumentation())) { return false; } } { FrameworkKey lhsFrameworkKey; lhsFrameworkKey = this.getFrameworkKey(); FrameworkKey rhsFrameworkKey; rhsFrameworkKey = that.getFrameworkKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "frameworkKey", lhsFrameworkKey), LocatorUtils.property(thatLocator, "frameworkKey", rhsFrameworkKey), lhsFrameworkKey, rhsFrameworkKey, this.isSetFrameworkKey(), that.isSetFrameworkKey())) { return false; } } { BoundingCoordinates lhsBoundingCoordinates; lhsBoundingCoordinates = this.getBoundingCoordinates(); BoundingCoordinates rhsBoundingCoordinates; rhsBoundingCoordinates = that.getBoundingCoordinates(); if (!strategy.equals(LocatorUtils.property(thisLocator, "boundingCoordinates", lhsBoundingCoordinates), LocatorUtils.property(thatLocator, "boundingCoordinates", rhsBoundingCoordinates), lhsBoundingCoordinates, rhsBoundingCoordinates, this.isSetBoundingCoordinates(), that.isSetBoundingCoordinates())) { return false; } } { DescribeDatasetsRequest lhsDescribeDatasetsRequest; lhsDescribeDatasetsRequest = this.getDescribeDatasetsRequest(); DescribeDatasetsRequest rhsDescribeDatasetsRequest; rhsDescribeDatasetsRequest = that.getDescribeDatasetsRequest(); if (!strategy.equals(LocatorUtils.property(thisLocator, "describeDatasetsRequest", lhsDescribeDatasetsRequest), LocatorUtils.property(thatLocator, "describeDatasetsRequest", rhsDescribeDatasetsRequest), lhsDescribeDatasetsRequest, rhsDescribeDatasetsRequest, this.isSetDescribeDatasetsRequest(), that.isSetDescribeDatasetsRequest())) { 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 theFrameworkURI; theFrameworkURI = this.getFrameworkURI(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "frameworkURI", theFrameworkURI), currentHashCode, theFrameworkURI, this.isSetFrameworkURI()); } { String theOrganization; theOrganization = this.getOrganization(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "organization", theOrganization), currentHashCode, theOrganization, this.isSetOrganization()); } { String theTitle; theTitle = this.getTitle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle, this.isSetTitle()); } { AbstractType theAbstract; theAbstract = this.getAbstract(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "_abstract", theAbstract), currentHashCode, theAbstract, this.isSetAbstract()); } { ReferenceDate theReferenceDate; theReferenceDate = this.getReferenceDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referenceDate", theReferenceDate), currentHashCode, theReferenceDate, this.isSetReferenceDate()); } { String theVersion; theVersion = this.getVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "version", theVersion), currentHashCode, theVersion, this.isSetVersion()); } { String theDocumentation; theDocumentation = this.getDocumentation(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentation", theDocumentation), currentHashCode, theDocumentation, this.isSetDocumentation()); } { FrameworkKey theFrameworkKey; theFrameworkKey = this.getFrameworkKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "frameworkKey", theFrameworkKey), currentHashCode, theFrameworkKey, this.isSetFrameworkKey()); } { BoundingCoordinates theBoundingCoordinates; theBoundingCoordinates = this.getBoundingCoordinates(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "boundingCoordinates", theBoundingCoordinates), currentHashCode, theBoundingCoordinates, this.isSetBoundingCoordinates()); } { DescribeDatasetsRequest theDescribeDatasetsRequest; theDescribeDatasetsRequest = this.getDescribeDatasetsRequest(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "describeDatasetsRequest", theDescribeDatasetsRequest), currentHashCode, theDescribeDatasetsRequest, this.isSetDescribeDatasetsRequest()); } 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 FrameworkDescriptions.Framework) { final FrameworkDescriptions.Framework copy = ((FrameworkDescriptions.Framework) draftCopy); { Boolean frameworkURIShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetFrameworkURI()); if (frameworkURIShouldBeCopiedAndSet == Boolean.TRUE) { String sourceFrameworkURI; sourceFrameworkURI = this.getFrameworkURI(); String copyFrameworkURI = ((String) strategy.copy(LocatorUtils.property(locator, "frameworkURI", sourceFrameworkURI), sourceFrameworkURI, this.isSetFrameworkURI())); copy.setFrameworkURI(copyFrameworkURI); } else { if (frameworkURIShouldBeCopiedAndSet == Boolean.FALSE) { copy.frameworkURI = null; } } } { Boolean organizationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetOrganization()); if (organizationShouldBeCopiedAndSet == Boolean.TRUE) { String sourceOrganization; sourceOrganization = this.getOrganization(); String copyOrganization = ((String) strategy.copy(LocatorUtils.property(locator, "organization", sourceOrganization), sourceOrganization, this.isSetOrganization())); copy.setOrganization(copyOrganization); } else { if (organizationShouldBeCopiedAndSet == Boolean.FALSE) { copy.organization = 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 _abstractShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetAbstract()); if (_abstractShouldBeCopiedAndSet == Boolean.TRUE) { AbstractType sourceAbstract; sourceAbstract = this.getAbstract(); AbstractType copyAbstract = ((AbstractType) strategy.copy(LocatorUtils.property(locator, "_abstract", sourceAbstract), sourceAbstract, this.isSetAbstract())); copy.setAbstract(copyAbstract); } else { if (_abstractShouldBeCopiedAndSet == Boolean.FALSE) { copy._abstract = null; } } } { Boolean referenceDateShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetReferenceDate()); if (referenceDateShouldBeCopiedAndSet == Boolean.TRUE) { ReferenceDate sourceReferenceDate; sourceReferenceDate = this.getReferenceDate(); ReferenceDate copyReferenceDate = ((ReferenceDate) strategy.copy(LocatorUtils.property(locator, "referenceDate", sourceReferenceDate), sourceReferenceDate, this.isSetReferenceDate())); copy.setReferenceDate(copyReferenceDate); } else { if (referenceDateShouldBeCopiedAndSet == Boolean.FALSE) { copy.referenceDate = null; } } } { Boolean versionShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetVersion()); if (versionShouldBeCopiedAndSet == Boolean.TRUE) { String sourceVersion; sourceVersion = this.getVersion(); String copyVersion = ((String) strategy.copy(LocatorUtils.property(locator, "version", sourceVersion), sourceVersion, this.isSetVersion())); copy.setVersion(copyVersion); } else { if (versionShouldBeCopiedAndSet == Boolean.FALSE) { copy.version = null; } } } { Boolean documentationShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetDocumentation()); if (documentationShouldBeCopiedAndSet == Boolean.TRUE) { String sourceDocumentation; sourceDocumentation = this.getDocumentation(); String copyDocumentation = ((String) strategy.copy(LocatorUtils.property(locator, "documentation", sourceDocumentation), sourceDocumentation, this.isSetDocumentation())); copy.setDocumentation(copyDocumentation); } else { if (documentationShouldBeCopiedAndSet == Boolean.FALSE) { copy.documentation = null; } } } { Boolean frameworkKeyShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetFrameworkKey()); if (frameworkKeyShouldBeCopiedAndSet == Boolean.TRUE) { FrameworkKey sourceFrameworkKey; sourceFrameworkKey = this.getFrameworkKey(); FrameworkKey copyFrameworkKey = ((FrameworkKey) strategy.copy(LocatorUtils.property(locator, "frameworkKey", sourceFrameworkKey), sourceFrameworkKey, this.isSetFrameworkKey())); copy.setFrameworkKey(copyFrameworkKey); } else { if (frameworkKeyShouldBeCopiedAndSet == Boolean.FALSE) { copy.frameworkKey = null; } } } { Boolean boundingCoordinatesShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetBoundingCoordinates()); if (boundingCoordinatesShouldBeCopiedAndSet == Boolean.TRUE) { BoundingCoordinates sourceBoundingCoordinates; sourceBoundingCoordinates = this.getBoundingCoordinates(); BoundingCoordinates copyBoundingCoordinates = ((BoundingCoordinates) strategy.copy(LocatorUtils.property(locator, "boundingCoordinates", sourceBoundingCoordinates), sourceBoundingCoordinates, this.isSetBoundingCoordinates())); copy.setBoundingCoordinates(copyBoundingCoordinates); } else { if (boundingCoordinatesShouldBeCopiedAndSet == Boolean.FALSE) { copy.boundingCoordinates = null; } } } { Boolean describeDatasetsRequestShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, this.isSetDescribeDatasetsRequest()); if (describeDatasetsRequestShouldBeCopiedAndSet == Boolean.TRUE) { DescribeDatasetsRequest sourceDescribeDatasetsRequest; sourceDescribeDatasetsRequest = this.getDescribeDatasetsRequest(); DescribeDatasetsRequest copyDescribeDatasetsRequest = ((DescribeDatasetsRequest) strategy.copy(LocatorUtils.property(locator, "describeDatasetsRequest", sourceDescribeDatasetsRequest), sourceDescribeDatasetsRequest, this.isSetDescribeDatasetsRequest())); copy.setDescribeDatasetsRequest(copyDescribeDatasetsRequest); } else { if (describeDatasetsRequestShouldBeCopiedAndSet == Boolean.FALSE) { copy.describeDatasetsRequest = null; } } } } return draftCopy; } public Object createNewInstance() { return new FrameworkDescriptions.Framework(); } 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 FrameworkDescriptions.Framework) { final FrameworkDescriptions.Framework target = this; final FrameworkDescriptions.Framework leftObject = ((FrameworkDescriptions.Framework) left); final FrameworkDescriptions.Framework rightObject = ((FrameworkDescriptions.Framework) right); { Boolean frameworkURIShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetFrameworkURI(), rightObject.isSetFrameworkURI()); if (frameworkURIShouldBeMergedAndSet == Boolean.TRUE) { String lhsFrameworkURI; lhsFrameworkURI = leftObject.getFrameworkURI(); String rhsFrameworkURI; rhsFrameworkURI = rightObject.getFrameworkURI(); String mergedFrameworkURI = ((String) strategy.merge(LocatorUtils.property(leftLocator, "frameworkURI", lhsFrameworkURI), LocatorUtils.property(rightLocator, "frameworkURI", rhsFrameworkURI), lhsFrameworkURI, rhsFrameworkURI, leftObject.isSetFrameworkURI(), rightObject.isSetFrameworkURI())); target.setFrameworkURI(mergedFrameworkURI); } else { if (frameworkURIShouldBeMergedAndSet == Boolean.FALSE) { target.frameworkURI = null; } } } { Boolean organizationShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetOrganization(), rightObject.isSetOrganization()); if (organizationShouldBeMergedAndSet == Boolean.TRUE) { String lhsOrganization; lhsOrganization = leftObject.getOrganization(); String rhsOrganization; rhsOrganization = rightObject.getOrganization(); String mergedOrganization = ((String) strategy.merge(LocatorUtils.property(leftLocator, "organization", lhsOrganization), LocatorUtils.property(rightLocator, "organization", rhsOrganization), lhsOrganization, rhsOrganization, leftObject.isSetOrganization(), rightObject.isSetOrganization())); target.setOrganization(mergedOrganization); } else { if (organizationShouldBeMergedAndSet == Boolean.FALSE) { target.organization = 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 _abstractShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetAbstract(), rightObject.isSetAbstract()); if (_abstractShouldBeMergedAndSet == Boolean.TRUE) { AbstractType lhsAbstract; lhsAbstract = leftObject.getAbstract(); AbstractType rhsAbstract; rhsAbstract = rightObject.getAbstract(); AbstractType mergedAbstract = ((AbstractType) strategy.merge(LocatorUtils.property(leftLocator, "_abstract", lhsAbstract), LocatorUtils.property(rightLocator, "_abstract", rhsAbstract), lhsAbstract, rhsAbstract, leftObject.isSetAbstract(), rightObject.isSetAbstract())); target.setAbstract(mergedAbstract); } else { if (_abstractShouldBeMergedAndSet == Boolean.FALSE) { target._abstract = null; } } } { Boolean referenceDateShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetReferenceDate(), rightObject.isSetReferenceDate()); if (referenceDateShouldBeMergedAndSet == Boolean.TRUE) { ReferenceDate lhsReferenceDate; lhsReferenceDate = leftObject.getReferenceDate(); ReferenceDate rhsReferenceDate; rhsReferenceDate = rightObject.getReferenceDate(); ReferenceDate mergedReferenceDate = ((ReferenceDate) strategy.merge(LocatorUtils.property(leftLocator, "referenceDate", lhsReferenceDate), LocatorUtils.property(rightLocator, "referenceDate", rhsReferenceDate), lhsReferenceDate, rhsReferenceDate, leftObject.isSetReferenceDate(), rightObject.isSetReferenceDate())); target.setReferenceDate(mergedReferenceDate); } else { if (referenceDateShouldBeMergedAndSet == Boolean.FALSE) { target.referenceDate = null; } } } { Boolean versionShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetVersion(), rightObject.isSetVersion()); if (versionShouldBeMergedAndSet == Boolean.TRUE) { String lhsVersion; lhsVersion = leftObject.getVersion(); String rhsVersion; rhsVersion = rightObject.getVersion(); String mergedVersion = ((String) strategy.merge(LocatorUtils.property(leftLocator, "version", lhsVersion), LocatorUtils.property(rightLocator, "version", rhsVersion), lhsVersion, rhsVersion, leftObject.isSetVersion(), rightObject.isSetVersion())); target.setVersion(mergedVersion); } else { if (versionShouldBeMergedAndSet == Boolean.FALSE) { target.version = null; } } } { Boolean documentationShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetDocumentation(), rightObject.isSetDocumentation()); if (documentationShouldBeMergedAndSet == Boolean.TRUE) { String lhsDocumentation; lhsDocumentation = leftObject.getDocumentation(); String rhsDocumentation; rhsDocumentation = rightObject.getDocumentation(); String mergedDocumentation = ((String) strategy.merge(LocatorUtils.property(leftLocator, "documentation", lhsDocumentation), LocatorUtils.property(rightLocator, "documentation", rhsDocumentation), lhsDocumentation, rhsDocumentation, leftObject.isSetDocumentation(), rightObject.isSetDocumentation())); target.setDocumentation(mergedDocumentation); } else { if (documentationShouldBeMergedAndSet == Boolean.FALSE) { target.documentation = null; } } } { Boolean frameworkKeyShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetFrameworkKey(), rightObject.isSetFrameworkKey()); if (frameworkKeyShouldBeMergedAndSet == Boolean.TRUE) { FrameworkKey lhsFrameworkKey; lhsFrameworkKey = leftObject.getFrameworkKey(); FrameworkKey rhsFrameworkKey; rhsFrameworkKey = rightObject.getFrameworkKey(); FrameworkKey mergedFrameworkKey = ((FrameworkKey) strategy.merge(LocatorUtils.property(leftLocator, "frameworkKey", lhsFrameworkKey), LocatorUtils.property(rightLocator, "frameworkKey", rhsFrameworkKey), lhsFrameworkKey, rhsFrameworkKey, leftObject.isSetFrameworkKey(), rightObject.isSetFrameworkKey())); target.setFrameworkKey(mergedFrameworkKey); } else { if (frameworkKeyShouldBeMergedAndSet == Boolean.FALSE) { target.frameworkKey = null; } } } { Boolean boundingCoordinatesShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetBoundingCoordinates(), rightObject.isSetBoundingCoordinates()); if (boundingCoordinatesShouldBeMergedAndSet == Boolean.TRUE) { BoundingCoordinates lhsBoundingCoordinates; lhsBoundingCoordinates = leftObject.getBoundingCoordinates(); BoundingCoordinates rhsBoundingCoordinates; rhsBoundingCoordinates = rightObject.getBoundingCoordinates(); BoundingCoordinates mergedBoundingCoordinates = ((BoundingCoordinates) strategy.merge(LocatorUtils.property(leftLocator, "boundingCoordinates", lhsBoundingCoordinates), LocatorUtils.property(rightLocator, "boundingCoordinates", rhsBoundingCoordinates), lhsBoundingCoordinates, rhsBoundingCoordinates, leftObject.isSetBoundingCoordinates(), rightObject.isSetBoundingCoordinates())); target.setBoundingCoordinates(mergedBoundingCoordinates); } else { if (boundingCoordinatesShouldBeMergedAndSet == Boolean.FALSE) { target.boundingCoordinates = null; } } } { Boolean describeDatasetsRequestShouldBeMergedAndSet = strategy.shouldBeMergedAndSet(leftLocator, rightLocator, leftObject.isSetDescribeDatasetsRequest(), rightObject.isSetDescribeDatasetsRequest()); if (describeDatasetsRequestShouldBeMergedAndSet == Boolean.TRUE) { DescribeDatasetsRequest lhsDescribeDatasetsRequest; lhsDescribeDatasetsRequest = leftObject.getDescribeDatasetsRequest(); DescribeDatasetsRequest rhsDescribeDatasetsRequest; rhsDescribeDatasetsRequest = rightObject.getDescribeDatasetsRequest(); DescribeDatasetsRequest mergedDescribeDatasetsRequest = ((DescribeDatasetsRequest) strategy.merge(LocatorUtils.property(leftLocator, "describeDatasetsRequest", lhsDescribeDatasetsRequest), LocatorUtils.property(rightLocator, "describeDatasetsRequest", rhsDescribeDatasetsRequest), lhsDescribeDatasetsRequest, rhsDescribeDatasetsRequest, leftObject.isSetDescribeDatasetsRequest(), rightObject.isSetDescribeDatasetsRequest())); target.setDescribeDatasetsRequest(mergedDescribeDatasetsRequest); } else { if (describeDatasetsRequestShouldBeMergedAndSet == Boolean.FALSE) { target.describeDatasetsRequest = null; } } } } } public FrameworkDescriptions.Framework withFrameworkURI(String value) { setFrameworkURI(value); return this; } public FrameworkDescriptions.Framework withOrganization(String value) { setOrganization(value); return this; } public FrameworkDescriptions.Framework withTitle(String value) { setTitle(value); return this; } public FrameworkDescriptions.Framework withAbstract(AbstractType value) { setAbstract(value); return this; } public FrameworkDescriptions.Framework withReferenceDate(ReferenceDate value) { setReferenceDate(value); return this; } public FrameworkDescriptions.Framework withVersion(String value) { setVersion(value); return this; } public FrameworkDescriptions.Framework withDocumentation(String value) { setDocumentation(value); return this; } public FrameworkDescriptions.Framework withFrameworkKey(FrameworkKey value) { setFrameworkKey(value); return this; } public FrameworkDescriptions.Framework withBoundingCoordinates(BoundingCoordinates value) { setBoundingCoordinates(value); return this; } public FrameworkDescriptions.Framework withDescribeDatasetsRequest(DescribeDatasetsRequest value) { setDescribeDatasetsRequest(value); return this; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy