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

org.finra.herd.model.api.xml.UploadSingleInitiationResponse Maven / Gradle / Ivy

Go to download

This project contains the model API classes. This contains the herd XSD and generates Java POJO's from them. These classes are used for incoming and outgoing calls into the system (e.g. via REST).

There is a newer version: 0.160.0
Show newest version

package org.finra.herd.model.api.xml;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
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 javax.xml.datatype.XMLGregorianCalendar;
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.JAXBToStringStrategy;
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 uploadSingleInitiationResponse complex type. * *

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

 * <complexType name="uploadSingleInitiationResponse">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="sourceBusinessObjectData" type="{}businessObjectData"/>
 *         <element name="targetBusinessObjectData" type="{}businessObjectData"/>
 *         <element name="file" type="{}file"/>
 *         <element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="awsAccessKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="awsSecretKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="awsSessionToken" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="awsSessionExpirationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="awsKmsKeyId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="targetStorageName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "uploadSingleInitiationResponse", propOrder = { }) @XmlRootElement(name = "uploadSingleInitiationResponse") public class UploadSingleInitiationResponse implements Serializable, Cloneable, CopyTo2, Equals2, HashCode2, ToString2 { private final static long serialVersionUID = -1L; @XmlElement(required = true) protected BusinessObjectData sourceBusinessObjectData; @XmlElement(required = true) protected BusinessObjectData targetBusinessObjectData; @XmlElement(required = true) protected File file; @XmlElement(required = true) protected String uuid; @XmlElement(required = true) protected String awsAccessKey; @XmlElement(required = true) protected String awsSecretKey; @XmlElement(required = true) protected String awsSessionToken; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar awsSessionExpirationTime; @XmlElement(required = true) protected String awsKmsKeyId; @XmlElement(required = true) protected String targetStorageName; /** * Default no-arg constructor * */ public UploadSingleInitiationResponse() { super(); } /** * Fully-initialising value constructor * */ public UploadSingleInitiationResponse(final BusinessObjectData sourceBusinessObjectData, final BusinessObjectData targetBusinessObjectData, final File file, final String uuid, final String awsAccessKey, final String awsSecretKey, final String awsSessionToken, final XMLGregorianCalendar awsSessionExpirationTime, final String awsKmsKeyId, final String targetStorageName) { this.sourceBusinessObjectData = sourceBusinessObjectData; this.targetBusinessObjectData = targetBusinessObjectData; this.file = file; this.uuid = uuid; this.awsAccessKey = awsAccessKey; this.awsSecretKey = awsSecretKey; this.awsSessionToken = awsSessionToken; this.awsSessionExpirationTime = awsSessionExpirationTime; this.awsKmsKeyId = awsKmsKeyId; this.targetStorageName = targetStorageName; } /** * Gets the value of the sourceBusinessObjectData property. * * @return * possible object is * {@link BusinessObjectData } * */ public BusinessObjectData getSourceBusinessObjectData() { return sourceBusinessObjectData; } /** * Sets the value of the sourceBusinessObjectData property. * * @param value * allowed object is * {@link BusinessObjectData } * */ public void setSourceBusinessObjectData(BusinessObjectData value) { this.sourceBusinessObjectData = value; } /** * Gets the value of the targetBusinessObjectData property. * * @return * possible object is * {@link BusinessObjectData } * */ public BusinessObjectData getTargetBusinessObjectData() { return targetBusinessObjectData; } /** * Sets the value of the targetBusinessObjectData property. * * @param value * allowed object is * {@link BusinessObjectData } * */ public void setTargetBusinessObjectData(BusinessObjectData value) { this.targetBusinessObjectData = value; } /** * Gets the value of the file property. * * @return * possible object is * {@link File } * */ public File getFile() { return file; } /** * Sets the value of the file property. * * @param value * allowed object is * {@link File } * */ public void setFile(File value) { this.file = value; } /** * Gets the value of the uuid property. * * @return * possible object is * {@link String } * */ public String getUuid() { return uuid; } /** * Sets the value of the uuid property. * * @param value * allowed object is * {@link String } * */ public void setUuid(String value) { this.uuid = value; } /** * Gets the value of the awsAccessKey property. * * @return * possible object is * {@link String } * */ public String getAwsAccessKey() { return awsAccessKey; } /** * Sets the value of the awsAccessKey property. * * @param value * allowed object is * {@link String } * */ public void setAwsAccessKey(String value) { this.awsAccessKey = value; } /** * Gets the value of the awsSecretKey property. * * @return * possible object is * {@link String } * */ public String getAwsSecretKey() { return awsSecretKey; } /** * Sets the value of the awsSecretKey property. * * @param value * allowed object is * {@link String } * */ public void setAwsSecretKey(String value) { this.awsSecretKey = value; } /** * Gets the value of the awsSessionToken property. * * @return * possible object is * {@link String } * */ public String getAwsSessionToken() { return awsSessionToken; } /** * Sets the value of the awsSessionToken property. * * @param value * allowed object is * {@link String } * */ public void setAwsSessionToken(String value) { this.awsSessionToken = value; } /** * Gets the value of the awsSessionExpirationTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getAwsSessionExpirationTime() { return awsSessionExpirationTime; } /** * Sets the value of the awsSessionExpirationTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setAwsSessionExpirationTime(XMLGregorianCalendar value) { this.awsSessionExpirationTime = value; } /** * Gets the value of the awsKmsKeyId property. * * @return * possible object is * {@link String } * */ public String getAwsKmsKeyId() { return awsKmsKeyId; } /** * Sets the value of the awsKmsKeyId property. * * @param value * allowed object is * {@link String } * */ public void setAwsKmsKeyId(String value) { this.awsKmsKeyId = value; } /** * Gets the value of the targetStorageName property. * * @return * possible object is * {@link String } * */ public String getTargetStorageName() { return targetStorageName; } /** * Sets the value of the targetStorageName property. * * @param value * allowed object is * {@link String } * */ public void setTargetStorageName(String value) { this.targetStorageName = value; } 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) { { BusinessObjectData theSourceBusinessObjectData; theSourceBusinessObjectData = this.getSourceBusinessObjectData(); strategy.appendField(locator, this, "sourceBusinessObjectData", buffer, theSourceBusinessObjectData, (this.sourceBusinessObjectData!= null)); } { BusinessObjectData theTargetBusinessObjectData; theTargetBusinessObjectData = this.getTargetBusinessObjectData(); strategy.appendField(locator, this, "targetBusinessObjectData", buffer, theTargetBusinessObjectData, (this.targetBusinessObjectData!= null)); } { File theFile; theFile = this.getFile(); strategy.appendField(locator, this, "file", buffer, theFile, (this.file!= null)); } { String theUuid; theUuid = this.getUuid(); strategy.appendField(locator, this, "uuid", buffer, theUuid, (this.uuid!= null)); } { String theAwsAccessKey; theAwsAccessKey = this.getAwsAccessKey(); strategy.appendField(locator, this, "awsAccessKey", buffer, theAwsAccessKey, (this.awsAccessKey!= null)); } { String theAwsSecretKey; theAwsSecretKey = this.getAwsSecretKey(); strategy.appendField(locator, this, "awsSecretKey", buffer, theAwsSecretKey, (this.awsSecretKey!= null)); } { String theAwsSessionToken; theAwsSessionToken = this.getAwsSessionToken(); strategy.appendField(locator, this, "awsSessionToken", buffer, theAwsSessionToken, (this.awsSessionToken!= null)); } { XMLGregorianCalendar theAwsSessionExpirationTime; theAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); strategy.appendField(locator, this, "awsSessionExpirationTime", buffer, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null)); } { String theAwsKmsKeyId; theAwsKmsKeyId = this.getAwsKmsKeyId(); strategy.appendField(locator, this, "awsKmsKeyId", buffer, theAwsKmsKeyId, (this.awsKmsKeyId!= null)); } { String theTargetStorageName; theTargetStorageName = this.getTargetStorageName(); strategy.appendField(locator, this, "targetStorageName", buffer, theTargetStorageName, (this.targetStorageName!= null)); } 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 UploadSingleInitiationResponse that = ((UploadSingleInitiationResponse) object); { BusinessObjectData lhsSourceBusinessObjectData; lhsSourceBusinessObjectData = this.getSourceBusinessObjectData(); BusinessObjectData rhsSourceBusinessObjectData; rhsSourceBusinessObjectData = that.getSourceBusinessObjectData(); if (!strategy.equals(LocatorUtils.property(thisLocator, "sourceBusinessObjectData", lhsSourceBusinessObjectData), LocatorUtils.property(thatLocator, "sourceBusinessObjectData", rhsSourceBusinessObjectData), lhsSourceBusinessObjectData, rhsSourceBusinessObjectData, (this.sourceBusinessObjectData!= null), (that.sourceBusinessObjectData!= null))) { return false; } } { BusinessObjectData lhsTargetBusinessObjectData; lhsTargetBusinessObjectData = this.getTargetBusinessObjectData(); BusinessObjectData rhsTargetBusinessObjectData; rhsTargetBusinessObjectData = that.getTargetBusinessObjectData(); if (!strategy.equals(LocatorUtils.property(thisLocator, "targetBusinessObjectData", lhsTargetBusinessObjectData), LocatorUtils.property(thatLocator, "targetBusinessObjectData", rhsTargetBusinessObjectData), lhsTargetBusinessObjectData, rhsTargetBusinessObjectData, (this.targetBusinessObjectData!= null), (that.targetBusinessObjectData!= null))) { return false; } } { File lhsFile; lhsFile = this.getFile(); File rhsFile; rhsFile = that.getFile(); if (!strategy.equals(LocatorUtils.property(thisLocator, "file", lhsFile), LocatorUtils.property(thatLocator, "file", rhsFile), lhsFile, rhsFile, (this.file!= null), (that.file!= null))) { return false; } } { String lhsUuid; lhsUuid = this.getUuid(); String rhsUuid; rhsUuid = that.getUuid(); if (!strategy.equals(LocatorUtils.property(thisLocator, "uuid", lhsUuid), LocatorUtils.property(thatLocator, "uuid", rhsUuid), lhsUuid, rhsUuid, (this.uuid!= null), (that.uuid!= null))) { return false; } } { String lhsAwsAccessKey; lhsAwsAccessKey = this.getAwsAccessKey(); String rhsAwsAccessKey; rhsAwsAccessKey = that.getAwsAccessKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awsAccessKey", lhsAwsAccessKey), LocatorUtils.property(thatLocator, "awsAccessKey", rhsAwsAccessKey), lhsAwsAccessKey, rhsAwsAccessKey, (this.awsAccessKey!= null), (that.awsAccessKey!= null))) { return false; } } { String lhsAwsSecretKey; lhsAwsSecretKey = this.getAwsSecretKey(); String rhsAwsSecretKey; rhsAwsSecretKey = that.getAwsSecretKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awsSecretKey", lhsAwsSecretKey), LocatorUtils.property(thatLocator, "awsSecretKey", rhsAwsSecretKey), lhsAwsSecretKey, rhsAwsSecretKey, (this.awsSecretKey!= null), (that.awsSecretKey!= null))) { return false; } } { String lhsAwsSessionToken; lhsAwsSessionToken = this.getAwsSessionToken(); String rhsAwsSessionToken; rhsAwsSessionToken = that.getAwsSessionToken(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awsSessionToken", lhsAwsSessionToken), LocatorUtils.property(thatLocator, "awsSessionToken", rhsAwsSessionToken), lhsAwsSessionToken, rhsAwsSessionToken, (this.awsSessionToken!= null), (that.awsSessionToken!= null))) { return false; } } { XMLGregorianCalendar lhsAwsSessionExpirationTime; lhsAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); XMLGregorianCalendar rhsAwsSessionExpirationTime; rhsAwsSessionExpirationTime = that.getAwsSessionExpirationTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awsSessionExpirationTime", lhsAwsSessionExpirationTime), LocatorUtils.property(thatLocator, "awsSessionExpirationTime", rhsAwsSessionExpirationTime), lhsAwsSessionExpirationTime, rhsAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null), (that.awsSessionExpirationTime!= null))) { return false; } } { String lhsAwsKmsKeyId; lhsAwsKmsKeyId = this.getAwsKmsKeyId(); String rhsAwsKmsKeyId; rhsAwsKmsKeyId = that.getAwsKmsKeyId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "awsKmsKeyId", lhsAwsKmsKeyId), LocatorUtils.property(thatLocator, "awsKmsKeyId", rhsAwsKmsKeyId), lhsAwsKmsKeyId, rhsAwsKmsKeyId, (this.awsKmsKeyId!= null), (that.awsKmsKeyId!= null))) { return false; } } { String lhsTargetStorageName; lhsTargetStorageName = this.getTargetStorageName(); String rhsTargetStorageName; rhsTargetStorageName = that.getTargetStorageName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "targetStorageName", lhsTargetStorageName), LocatorUtils.property(thatLocator, "targetStorageName", rhsTargetStorageName), lhsTargetStorageName, rhsTargetStorageName, (this.targetStorageName!= null), (that.targetStorageName!= null))) { 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; { BusinessObjectData theSourceBusinessObjectData; theSourceBusinessObjectData = this.getSourceBusinessObjectData(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sourceBusinessObjectData", theSourceBusinessObjectData), currentHashCode, theSourceBusinessObjectData, (this.sourceBusinessObjectData!= null)); } { BusinessObjectData theTargetBusinessObjectData; theTargetBusinessObjectData = this.getTargetBusinessObjectData(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetBusinessObjectData", theTargetBusinessObjectData), currentHashCode, theTargetBusinessObjectData, (this.targetBusinessObjectData!= null)); } { File theFile; theFile = this.getFile(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "file", theFile), currentHashCode, theFile, (this.file!= null)); } { String theUuid; theUuid = this.getUuid(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uuid", theUuid), currentHashCode, theUuid, (this.uuid!= null)); } { String theAwsAccessKey; theAwsAccessKey = this.getAwsAccessKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsAccessKey", theAwsAccessKey), currentHashCode, theAwsAccessKey, (this.awsAccessKey!= null)); } { String theAwsSecretKey; theAwsSecretKey = this.getAwsSecretKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSecretKey", theAwsSecretKey), currentHashCode, theAwsSecretKey, (this.awsSecretKey!= null)); } { String theAwsSessionToken; theAwsSessionToken = this.getAwsSessionToken(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionToken", theAwsSessionToken), currentHashCode, theAwsSessionToken, (this.awsSessionToken!= null)); } { XMLGregorianCalendar theAwsSessionExpirationTime; theAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionExpirationTime", theAwsSessionExpirationTime), currentHashCode, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null)); } { String theAwsKmsKeyId; theAwsKmsKeyId = this.getAwsKmsKeyId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsKmsKeyId", theAwsKmsKeyId), currentHashCode, theAwsKmsKeyId, (this.awsKmsKeyId!= null)); } { String theTargetStorageName; theTargetStorageName = this.getTargetStorageName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "targetStorageName", theTargetStorageName), currentHashCode, theTargetStorageName, (this.targetStorageName!= null)); } 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 UploadSingleInitiationResponse) { final UploadSingleInitiationResponse copy = ((UploadSingleInitiationResponse) draftCopy); { Boolean sourceBusinessObjectDataShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.sourceBusinessObjectData!= null)); if (sourceBusinessObjectDataShouldBeCopiedAndSet == Boolean.TRUE) { BusinessObjectData sourceSourceBusinessObjectData; sourceSourceBusinessObjectData = this.getSourceBusinessObjectData(); BusinessObjectData copySourceBusinessObjectData = ((BusinessObjectData) strategy.copy(LocatorUtils.property(locator, "sourceBusinessObjectData", sourceSourceBusinessObjectData), sourceSourceBusinessObjectData, (this.sourceBusinessObjectData!= null))); copy.setSourceBusinessObjectData(copySourceBusinessObjectData); } else { if (sourceBusinessObjectDataShouldBeCopiedAndSet == Boolean.FALSE) { copy.sourceBusinessObjectData = null; } } } { Boolean targetBusinessObjectDataShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.targetBusinessObjectData!= null)); if (targetBusinessObjectDataShouldBeCopiedAndSet == Boolean.TRUE) { BusinessObjectData sourceTargetBusinessObjectData; sourceTargetBusinessObjectData = this.getTargetBusinessObjectData(); BusinessObjectData copyTargetBusinessObjectData = ((BusinessObjectData) strategy.copy(LocatorUtils.property(locator, "targetBusinessObjectData", sourceTargetBusinessObjectData), sourceTargetBusinessObjectData, (this.targetBusinessObjectData!= null))); copy.setTargetBusinessObjectData(copyTargetBusinessObjectData); } else { if (targetBusinessObjectDataShouldBeCopiedAndSet == Boolean.FALSE) { copy.targetBusinessObjectData = null; } } } { Boolean fileShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.file!= null)); if (fileShouldBeCopiedAndSet == Boolean.TRUE) { File sourceFile; sourceFile = this.getFile(); File copyFile = ((File) strategy.copy(LocatorUtils.property(locator, "file", sourceFile), sourceFile, (this.file!= null))); copy.setFile(copyFile); } else { if (fileShouldBeCopiedAndSet == Boolean.FALSE) { copy.file = null; } } } { Boolean uuidShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.uuid!= null)); if (uuidShouldBeCopiedAndSet == Boolean.TRUE) { String sourceUuid; sourceUuid = this.getUuid(); String copyUuid = ((String) strategy.copy(LocatorUtils.property(locator, "uuid", sourceUuid), sourceUuid, (this.uuid!= null))); copy.setUuid(copyUuid); } else { if (uuidShouldBeCopiedAndSet == Boolean.FALSE) { copy.uuid = null; } } } { Boolean awsAccessKeyShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsAccessKey!= null)); if (awsAccessKeyShouldBeCopiedAndSet == Boolean.TRUE) { String sourceAwsAccessKey; sourceAwsAccessKey = this.getAwsAccessKey(); String copyAwsAccessKey = ((String) strategy.copy(LocatorUtils.property(locator, "awsAccessKey", sourceAwsAccessKey), sourceAwsAccessKey, (this.awsAccessKey!= null))); copy.setAwsAccessKey(copyAwsAccessKey); } else { if (awsAccessKeyShouldBeCopiedAndSet == Boolean.FALSE) { copy.awsAccessKey = null; } } } { Boolean awsSecretKeyShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsSecretKey!= null)); if (awsSecretKeyShouldBeCopiedAndSet == Boolean.TRUE) { String sourceAwsSecretKey; sourceAwsSecretKey = this.getAwsSecretKey(); String copyAwsSecretKey = ((String) strategy.copy(LocatorUtils.property(locator, "awsSecretKey", sourceAwsSecretKey), sourceAwsSecretKey, (this.awsSecretKey!= null))); copy.setAwsSecretKey(copyAwsSecretKey); } else { if (awsSecretKeyShouldBeCopiedAndSet == Boolean.FALSE) { copy.awsSecretKey = null; } } } { Boolean awsSessionTokenShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsSessionToken!= null)); if (awsSessionTokenShouldBeCopiedAndSet == Boolean.TRUE) { String sourceAwsSessionToken; sourceAwsSessionToken = this.getAwsSessionToken(); String copyAwsSessionToken = ((String) strategy.copy(LocatorUtils.property(locator, "awsSessionToken", sourceAwsSessionToken), sourceAwsSessionToken, (this.awsSessionToken!= null))); copy.setAwsSessionToken(copyAwsSessionToken); } else { if (awsSessionTokenShouldBeCopiedAndSet == Boolean.FALSE) { copy.awsSessionToken = null; } } } { Boolean awsSessionExpirationTimeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsSessionExpirationTime!= null)); if (awsSessionExpirationTimeShouldBeCopiedAndSet == Boolean.TRUE) { XMLGregorianCalendar sourceAwsSessionExpirationTime; sourceAwsSessionExpirationTime = this.getAwsSessionExpirationTime(); XMLGregorianCalendar copyAwsSessionExpirationTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "awsSessionExpirationTime", sourceAwsSessionExpirationTime), sourceAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null))); copy.setAwsSessionExpirationTime(copyAwsSessionExpirationTime); } else { if (awsSessionExpirationTimeShouldBeCopiedAndSet == Boolean.FALSE) { copy.awsSessionExpirationTime = null; } } } { Boolean awsKmsKeyIdShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsKmsKeyId!= null)); if (awsKmsKeyIdShouldBeCopiedAndSet == Boolean.TRUE) { String sourceAwsKmsKeyId; sourceAwsKmsKeyId = this.getAwsKmsKeyId(); String copyAwsKmsKeyId = ((String) strategy.copy(LocatorUtils.property(locator, "awsKmsKeyId", sourceAwsKmsKeyId), sourceAwsKmsKeyId, (this.awsKmsKeyId!= null))); copy.setAwsKmsKeyId(copyAwsKmsKeyId); } else { if (awsKmsKeyIdShouldBeCopiedAndSet == Boolean.FALSE) { copy.awsKmsKeyId = null; } } } { Boolean targetStorageNameShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.targetStorageName!= null)); if (targetStorageNameShouldBeCopiedAndSet == Boolean.TRUE) { String sourceTargetStorageName; sourceTargetStorageName = this.getTargetStorageName(); String copyTargetStorageName = ((String) strategy.copy(LocatorUtils.property(locator, "targetStorageName", sourceTargetStorageName), sourceTargetStorageName, (this.targetStorageName!= null))); copy.setTargetStorageName(copyTargetStorageName); } else { if (targetStorageNameShouldBeCopiedAndSet == Boolean.FALSE) { copy.targetStorageName = null; } } } } return draftCopy; } public Object createNewInstance() { return new UploadSingleInitiationResponse(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy