org.hpccsystems.ws.client.gen.axis2.filespray.latest.Copy Maven / Gradle / Ivy
Show all versions of wsclient Show documentation
/**
* Copy.java
*
* This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.1 Built on : Jun 07,
* 2022 (03:47:13 EDT)
*/
package org.hpccsystems.ws.client.gen.axis2.filespray.latest;
/** Copy bean class */
@SuppressWarnings({"unchecked", "unused"})
public class Copy implements org.apache.axis2.databinding.ADBBean {
public static final javax.xml.namespace.QName MY_QNAME =
new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "Copy", "ns1");
/** field for SourceLogicalName */
protected java.lang.String localSourceLogicalName;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localSourceLogicalNameTracker = false;
public boolean isSourceLogicalNameSpecified() {
return localSourceLogicalNameTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getSourceLogicalName() {
return localSourceLogicalName;
}
/**
* Auto generated setter method
*
* @param param SourceLogicalName
*/
public void setSourceLogicalName(java.lang.String param) {
localSourceLogicalNameTracker = param != null;
this.localSourceLogicalName = param;
}
/** field for DestGroup */
protected java.lang.String localDestGroup;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localDestGroupTracker = false;
public boolean isDestGroupSpecified() {
return localDestGroupTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getDestGroup() {
return localDestGroup;
}
/**
* Auto generated setter method
*
* @param param DestGroup
*/
public void setDestGroup(java.lang.String param) {
localDestGroupTracker = param != null;
this.localDestGroup = param;
}
/** field for DestGroupRoxie */
protected java.lang.String localDestGroupRoxie;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localDestGroupRoxieTracker = false;
public boolean isDestGroupRoxieSpecified() {
return localDestGroupRoxieTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getDestGroupRoxie() {
return localDestGroupRoxie;
}
/**
* Auto generated setter method
*
* @param param DestGroupRoxie
*/
public void setDestGroupRoxie(java.lang.String param) {
localDestGroupRoxieTracker = param != null;
this.localDestGroupRoxie = param;
}
/** field for DestLogicalName */
protected java.lang.String localDestLogicalName;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localDestLogicalNameTracker = false;
public boolean isDestLogicalNameSpecified() {
return localDestLogicalNameTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getDestLogicalName() {
return localDestLogicalName;
}
/**
* Auto generated setter method
*
* @param param DestLogicalName
*/
public void setDestLogicalName(java.lang.String param) {
localDestLogicalNameTracker = param != null;
this.localDestLogicalName = param;
}
/** field for SourceDali */
protected java.lang.String localSourceDali;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localSourceDaliTracker = false;
public boolean isSourceDaliSpecified() {
return localSourceDaliTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getSourceDali() {
return localSourceDali;
}
/**
* Auto generated setter method
*
* @param param SourceDali
*/
public void setSourceDali(java.lang.String param) {
localSourceDaliTracker = param != null;
this.localSourceDali = param;
}
/** field for Srcusername */
protected java.lang.String localSrcusername;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localSrcusernameTracker = false;
public boolean isSrcusernameSpecified() {
return localSrcusernameTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getSrcusername() {
return localSrcusername;
}
/**
* Auto generated setter method
*
* @param param Srcusername
*/
public void setSrcusername(java.lang.String param) {
localSrcusernameTracker = param != null;
this.localSrcusername = param;
}
/** field for Srcpassword */
protected java.lang.String localSrcpassword;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localSrcpasswordTracker = false;
public boolean isSrcpasswordSpecified() {
return localSrcpasswordTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getSrcpassword() {
return localSrcpassword;
}
/**
* Auto generated setter method
*
* @param param Srcpassword
*/
public void setSrcpassword(java.lang.String param) {
localSrcpasswordTracker = param != null;
this.localSrcpassword = param;
}
/** field for Overwrite */
protected boolean localOverwrite;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localOverwriteTracker = false;
public boolean isOverwriteSpecified() {
return localOverwriteTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getOverwrite() {
return localOverwrite;
}
/**
* Auto generated setter method
*
* @param param Overwrite
*/
public void setOverwrite(boolean param) {
// setting primitive attribute tracker to true
localOverwriteTracker = true;
this.localOverwrite = param;
}
/** field for Replicate */
protected boolean localReplicate;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localReplicateTracker = false;
public boolean isReplicateSpecified() {
return localReplicateTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getReplicate() {
return localReplicate;
}
/**
* Auto generated setter method
*
* @param param Replicate
*/
public void setReplicate(boolean param) {
// setting primitive attribute tracker to true
localReplicateTracker = true;
this.localReplicate = param;
}
/** field for ReplicateOffset */
protected int localReplicateOffset =
org.apache.axis2.databinding.utils.ConverterUtil.convertToInt("1");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localReplicateOffsetTracker = false;
public boolean isReplicateOffsetSpecified() {
return localReplicateOffsetTracker;
}
/**
* Auto generated getter method
*
* @return int
*/
public int getReplicateOffset() {
return localReplicateOffset;
}
/**
* Auto generated setter method
*
* @param param ReplicateOffset
*/
public void setReplicateOffset(int param) {
// setting primitive attribute tracker to true
localReplicateOffsetTracker = param != java.lang.Integer.MIN_VALUE;
this.localReplicateOffset = param;
}
/** field for MaxConnections */
protected int localMaxConnections;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localMaxConnectionsTracker = false;
public boolean isMaxConnectionsSpecified() {
return localMaxConnectionsTracker;
}
/**
* Auto generated getter method
*
* @return int
*/
public int getMaxConnections() {
return localMaxConnections;
}
/**
* Auto generated setter method
*
* @param param MaxConnections
*/
public void setMaxConnections(int param) {
// setting primitive attribute tracker to true
localMaxConnectionsTracker = param != java.lang.Integer.MIN_VALUE;
this.localMaxConnections = param;
}
/** field for Throttle */
protected int localThrottle;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localThrottleTracker = false;
public boolean isThrottleSpecified() {
return localThrottleTracker;
}
/**
* Auto generated getter method
*
* @return int
*/
public int getThrottle() {
return localThrottle;
}
/**
* Auto generated setter method
*
* @param param Throttle
*/
public void setThrottle(int param) {
// setting primitive attribute tracker to true
localThrottleTracker = param != java.lang.Integer.MIN_VALUE;
this.localThrottle = param;
}
/** field for TransferBufferSize */
protected int localTransferBufferSize;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localTransferBufferSizeTracker = false;
public boolean isTransferBufferSizeSpecified() {
return localTransferBufferSizeTracker;
}
/**
* Auto generated getter method
*
* @return int
*/
public int getTransferBufferSize() {
return localTransferBufferSize;
}
/**
* Auto generated setter method
*
* @param param TransferBufferSize
*/
public void setTransferBufferSize(int param) {
// setting primitive attribute tracker to true
localTransferBufferSizeTracker = param != java.lang.Integer.MIN_VALUE;
this.localTransferBufferSize = param;
}
/** field for Nosplit */
protected boolean localNosplit;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localNosplitTracker = false;
public boolean isNosplitSpecified() {
return localNosplitTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getNosplit() {
return localNosplit;
}
/**
* Auto generated setter method
*
* @param param Nosplit
*/
public void setNosplit(boolean param) {
// setting primitive attribute tracker to true
localNosplitTracker = true;
this.localNosplit = param;
}
/** field for Norecover */
protected boolean localNorecover =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("false");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localNorecoverTracker = false;
public boolean isNorecoverSpecified() {
return localNorecoverTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getNorecover() {
return localNorecover;
}
/**
* Auto generated setter method
*
* @param param Norecover
*/
public void setNorecover(boolean param) {
// setting primitive attribute tracker to true
localNorecoverTracker = true;
this.localNorecover = param;
}
/** field for Compress */
protected boolean localCompress =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("false");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localCompressTracker = false;
public boolean isCompressSpecified() {
return localCompressTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getCompress() {
return localCompress;
}
/**
* Auto generated setter method
*
* @param param Compress
*/
public void setCompress(boolean param) {
// setting primitive attribute tracker to true
localCompressTracker = true;
this.localCompress = param;
}
/** field for Wrap */
protected boolean localWrap =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("false");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localWrapTracker = false;
public boolean isWrapSpecified() {
return localWrapTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getWrap() {
return localWrap;
}
/**
* Auto generated setter method
*
* @param param Wrap
*/
public void setWrap(boolean param) {
// setting primitive attribute tracker to true
localWrapTracker = true;
this.localWrap = param;
}
/** field for Multicopy */
protected boolean localMulticopy =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("false");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localMulticopyTracker = false;
public boolean isMulticopySpecified() {
return localMulticopyTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getMulticopy() {
return localMulticopy;
}
/**
* Auto generated setter method
*
* @param param Multicopy
*/
public void setMulticopy(boolean param) {
// setting primitive attribute tracker to true
localMulticopyTracker = true;
this.localMulticopy = param;
}
/** field for SourceDiffKeyName */
protected java.lang.String localSourceDiffKeyName;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localSourceDiffKeyNameTracker = false;
public boolean isSourceDiffKeyNameSpecified() {
return localSourceDiffKeyNameTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getSourceDiffKeyName() {
return localSourceDiffKeyName;
}
/**
* Auto generated setter method
*
* @param param SourceDiffKeyName
*/
public void setSourceDiffKeyName(java.lang.String param) {
localSourceDiffKeyNameTracker = param != null;
this.localSourceDiffKeyName = param;
}
/** field for DestDiffKeyName */
protected java.lang.String localDestDiffKeyName;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localDestDiffKeyNameTracker = false;
public boolean isDestDiffKeyNameSpecified() {
return localDestDiffKeyNameTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getDestDiffKeyName() {
return localDestDiffKeyName;
}
/**
* Auto generated setter method
*
* @param param DestDiffKeyName
*/
public void setDestDiffKeyName(java.lang.String param) {
localDestDiffKeyNameTracker = param != null;
this.localDestDiffKeyName = param;
}
/** field for SuperCopy */
protected boolean localSuperCopy =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("false");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localSuperCopyTracker = false;
public boolean isSuperCopySpecified() {
return localSuperCopyTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getSuperCopy() {
return localSuperCopy;
}
/**
* Auto generated setter method
*
* @param param SuperCopy
*/
public void setSuperCopy(boolean param) {
// setting primitive attribute tracker to true
localSuperCopyTracker = true;
this.localSuperCopy = param;
}
/** field for Push */
protected boolean localPush =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("false");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localPushTracker = false;
public boolean isPushSpecified() {
return localPushTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getPush() {
return localPush;
}
/**
* Auto generated setter method
*
* @param param Push
*/
public void setPush(boolean param) {
// setting primitive attribute tracker to true
localPushTracker = true;
this.localPush = param;
}
/** field for Pull */
protected boolean localPull =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("false");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localPullTracker = false;
public boolean isPullSpecified() {
return localPullTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getPull() {
return localPull;
}
/**
* Auto generated setter method
*
* @param param Pull
*/
public void setPull(boolean param) {
// setting primitive attribute tracker to true
localPullTracker = true;
this.localPull = param;
}
/** field for Ifnewer */
protected boolean localIfnewer =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("false");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localIfnewerTracker = false;
public boolean isIfnewerSpecified() {
return localIfnewerTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getIfnewer() {
return localIfnewer;
}
/**
* Auto generated setter method
*
* @param param Ifnewer
*/
public void setIfnewer(boolean param) {
// setting primitive attribute tracker to true
localIfnewerTracker = true;
this.localIfnewer = param;
}
/** field for NoCommon */
protected boolean localNoCommon =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("true");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localNoCommonTracker = false;
public boolean isNoCommonSpecified() {
return localNoCommonTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getNoCommon() {
return localNoCommon;
}
/**
* Auto generated setter method
*
* @param param NoCommon
*/
public void setNoCommon(boolean param) {
// setting primitive attribute tracker to true
localNoCommonTracker = true;
this.localNoCommon = param;
}
/** field for Encrypt */
protected java.lang.String localEncrypt;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localEncryptTracker = false;
public boolean isEncryptSpecified() {
return localEncryptTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getEncrypt() {
return localEncrypt;
}
/**
* Auto generated setter method
*
* @param param Encrypt
*/
public void setEncrypt(java.lang.String param) {
localEncryptTracker = param != null;
this.localEncrypt = param;
}
/** field for Decrypt */
protected java.lang.String localDecrypt;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localDecryptTracker = false;
public boolean isDecryptSpecified() {
return localDecryptTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getDecrypt() {
return localDecrypt;
}
/**
* Auto generated setter method
*
* @param param Decrypt
*/
public void setDecrypt(java.lang.String param) {
localDecryptTracker = param != null;
this.localDecrypt = param;
}
/** field for PreserveCompression */
protected boolean localPreserveCompression =
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean("true");
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localPreserveCompressionTracker = false;
public boolean isPreserveCompressionSpecified() {
return localPreserveCompressionTracker;
}
/**
* Auto generated getter method
*
* @return boolean
*/
public boolean getPreserveCompression() {
return localPreserveCompression;
}
/**
* Auto generated setter method
*
* @param param PreserveCompression
*/
public void setPreserveCompression(boolean param) {
// setting primitive attribute tracker to true
localPreserveCompressionTracker = true;
this.localPreserveCompression = param;
}
/** field for DFUServerQueue */
protected java.lang.String localDFUServerQueue;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localDFUServerQueueTracker = false;
public boolean isDFUServerQueueSpecified() {
return localDFUServerQueueTracker;
}
/**
* Auto generated getter method
*
* @return java.lang.String
*/
public java.lang.String getDFUServerQueue() {
return localDFUServerQueue;
}
/**
* Auto generated setter method
*
* @param param DFUServerQueue
*/
public void setDFUServerQueue(java.lang.String param) {
localDFUServerQueueTracker = param != null;
this.localDFUServerQueue = param;
}
/** field for ExpireDays */
protected int localExpireDays;
/* This tracker boolean wil be used to detect whether the user called the set method
* for this attribute. It will be used to determine whether to include this field
* in the serialized XML
*/
protected boolean localExpireDaysTracker = false;
public boolean isExpireDaysSpecified() {
return localExpireDaysTracker;
}
/**
* Auto generated getter method
*
* @return int
*/
public int getExpireDays() {
return localExpireDays;
}
/**
* Auto generated setter method
*
* @param param ExpireDays
*/
public void setExpireDays(int param) {
// setting primitive attribute tracker to true
localExpireDaysTracker = param != java.lang.Integer.MIN_VALUE;
this.localExpireDays = param;
}
/**
* @param parentQName
* @param factory
* @return org.apache.axiom.om.OMElement
*/
public org.apache.axiom.om.OMElement getOMElement(
final javax.xml.namespace.QName parentQName, final org.apache.axiom.om.OMFactory factory)
throws org.apache.axis2.databinding.ADBException {
return factory.createOMElement(new org.apache.axis2.databinding.ADBDataSource(this, MY_QNAME));
}
public void serialize(
final javax.xml.namespace.QName parentQName, javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException {
serialize(parentQName, xmlWriter, false);
}
public void serialize(
final javax.xml.namespace.QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter,
boolean serializeType)
throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException {
java.lang.String prefix = null;
java.lang.String namespace = null;
prefix = parentQName.getPrefix();
namespace = parentQName.getNamespaceURI();
writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter);
if (serializeType) {
java.lang.String namespacePrefix = registerPrefix(xmlWriter, "urn:hpccsystems:ws:filespray");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)) {
writeAttribute(
"xsi",
"http://www.w3.org/2001/XMLSchema-instance",
"type",
namespacePrefix + ":Copy",
xmlWriter);
} else {
writeAttribute(
"xsi", "http://www.w3.org/2001/XMLSchema-instance", "type", "Copy", xmlWriter);
}
}
if (localSourceLogicalNameTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "sourceLogicalName", xmlWriter);
if (localSourceLogicalName == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("sourceLogicalName cannot be null!!");
} else {
xmlWriter.writeCharacters(localSourceLogicalName);
}
xmlWriter.writeEndElement();
}
if (localDestGroupTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "destGroup", xmlWriter);
if (localDestGroup == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("destGroup cannot be null!!");
} else {
xmlWriter.writeCharacters(localDestGroup);
}
xmlWriter.writeEndElement();
}
if (localDestGroupRoxieTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "destGroupRoxie", xmlWriter);
if (localDestGroupRoxie == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("destGroupRoxie cannot be null!!");
} else {
xmlWriter.writeCharacters(localDestGroupRoxie);
}
xmlWriter.writeEndElement();
}
if (localDestLogicalNameTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "destLogicalName", xmlWriter);
if (localDestLogicalName == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("destLogicalName cannot be null!!");
} else {
xmlWriter.writeCharacters(localDestLogicalName);
}
xmlWriter.writeEndElement();
}
if (localSourceDaliTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "sourceDali", xmlWriter);
if (localSourceDali == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("sourceDali cannot be null!!");
} else {
xmlWriter.writeCharacters(localSourceDali);
}
xmlWriter.writeEndElement();
}
if (localSrcusernameTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "srcusername", xmlWriter);
if (localSrcusername == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("srcusername cannot be null!!");
} else {
xmlWriter.writeCharacters(localSrcusername);
}
xmlWriter.writeEndElement();
}
if (localSrcpasswordTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "srcpassword", xmlWriter);
if (localSrcpassword == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("srcpassword cannot be null!!");
} else {
xmlWriter.writeCharacters(localSrcpassword);
}
xmlWriter.writeEndElement();
}
if (localOverwriteTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "overwrite", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("overwrite cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localOverwrite));
}
xmlWriter.writeEndElement();
}
if (localReplicateTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "replicate", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("replicate cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localReplicate));
}
xmlWriter.writeEndElement();
}
if (localReplicateOffsetTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "ReplicateOffset", xmlWriter);
if (localReplicateOffset == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException("ReplicateOffset cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localReplicateOffset));
}
xmlWriter.writeEndElement();
}
if (localMaxConnectionsTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "maxConnections", xmlWriter);
if (localMaxConnections == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException("maxConnections cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localMaxConnections));
}
xmlWriter.writeEndElement();
}
if (localThrottleTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "throttle", xmlWriter);
if (localThrottle == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException("throttle cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localThrottle));
}
xmlWriter.writeEndElement();
}
if (localTransferBufferSizeTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "transferBufferSize", xmlWriter);
if (localTransferBufferSize == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException("transferBufferSize cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localTransferBufferSize));
}
xmlWriter.writeEndElement();
}
if (localNosplitTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "nosplit", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("nosplit cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localNosplit));
}
xmlWriter.writeEndElement();
}
if (localNorecoverTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "norecover", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("norecover cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localNorecover));
}
xmlWriter.writeEndElement();
}
if (localCompressTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "compress", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("compress cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localCompress));
}
xmlWriter.writeEndElement();
}
if (localWrapTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "Wrap", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("Wrap cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localWrap));
}
xmlWriter.writeEndElement();
}
if (localMulticopyTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "Multicopy", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("Multicopy cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localMulticopy));
}
xmlWriter.writeEndElement();
}
if (localSourceDiffKeyNameTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "SourceDiffKeyName", xmlWriter);
if (localSourceDiffKeyName == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("SourceDiffKeyName cannot be null!!");
} else {
xmlWriter.writeCharacters(localSourceDiffKeyName);
}
xmlWriter.writeEndElement();
}
if (localDestDiffKeyNameTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "DestDiffKeyName", xmlWriter);
if (localDestDiffKeyName == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("DestDiffKeyName cannot be null!!");
} else {
xmlWriter.writeCharacters(localDestDiffKeyName);
}
xmlWriter.writeEndElement();
}
if (localSuperCopyTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "superCopy", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("superCopy cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localSuperCopy));
}
xmlWriter.writeEndElement();
}
if (localPushTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "push", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("push cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localPush));
}
xmlWriter.writeEndElement();
}
if (localPullTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "pull", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("pull cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localPull));
}
xmlWriter.writeEndElement();
}
if (localIfnewerTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "ifnewer", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("ifnewer cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localIfnewer));
}
xmlWriter.writeEndElement();
}
if (localNoCommonTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "noCommon", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("noCommon cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localNoCommon));
}
xmlWriter.writeEndElement();
}
if (localEncryptTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "encrypt", xmlWriter);
if (localEncrypt == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("encrypt cannot be null!!");
} else {
xmlWriter.writeCharacters(localEncrypt);
}
xmlWriter.writeEndElement();
}
if (localDecryptTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "decrypt", xmlWriter);
if (localDecrypt == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("decrypt cannot be null!!");
} else {
xmlWriter.writeCharacters(localDecrypt);
}
xmlWriter.writeEndElement();
}
if (localPreserveCompressionTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "preserveCompression", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException("preserveCompression cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localPreserveCompression));
}
xmlWriter.writeEndElement();
}
if (localDFUServerQueueTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "DFUServerQueue", xmlWriter);
if (localDFUServerQueue == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("DFUServerQueue cannot be null!!");
} else {
xmlWriter.writeCharacters(localDFUServerQueue);
}
xmlWriter.writeEndElement();
}
if (localExpireDaysTracker) {
namespace = "urn:hpccsystems:ws:filespray";
writeStartElement(null, namespace, "ExpireDays", xmlWriter);
if (localExpireDays == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException("ExpireDays cannot be null!!");
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localExpireDays));
}
xmlWriter.writeEndElement();
}
xmlWriter.writeEndElement();
}
private static java.lang.String generatePrefix(java.lang.String namespace) {
if (namespace.equals("urn:hpccsystems:ws:filespray")) {
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
}
/** Utility method to write an element start tag. */
private void writeStartElement(
java.lang.String prefix,
java.lang.String namespace,
java.lang.String localPart,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
if (writerPrefix != null) {
xmlWriter.writeStartElement(writerPrefix, localPart, namespace);
} else {
if (namespace.length() == 0) {
prefix = "";
} else if (prefix == null) {
prefix = generatePrefix(namespace);
}
xmlWriter.writeStartElement(prefix, localPart, namespace);
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
}
/** Util method to write an attribute with the ns prefix */
private void writeAttribute(
java.lang.String prefix,
java.lang.String namespace,
java.lang.String attName,
java.lang.String attValue,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
if (writerPrefix != null) {
xmlWriter.writeAttribute(writerPrefix, namespace, attName, attValue);
} else {
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
xmlWriter.writeAttribute(prefix, namespace, attName, attValue);
}
}
/** Util method to write an attribute without the ns prefix */
private void writeAttribute(
java.lang.String namespace,
java.lang.String attName,
java.lang.String attValue,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
if (namespace.equals("")) {
xmlWriter.writeAttribute(attName, attValue);
} else {
xmlWriter.writeAttribute(registerPrefix(xmlWriter, namespace), namespace, attName, attValue);
}
}
/** Util method to write an attribute without the ns prefix */
private void writeQNameAttribute(
java.lang.String namespace,
java.lang.String attName,
javax.xml.namespace.QName qname,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
java.lang.String attributeNamespace = qname.getNamespaceURI();
java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace);
if (attributePrefix == null) {
attributePrefix = registerPrefix(xmlWriter, attributeNamespace);
}
java.lang.String attributeValue;
if (attributePrefix.trim().length() > 0) {
attributeValue = attributePrefix + ":" + qname.getLocalPart();
} else {
attributeValue = qname.getLocalPart();
}
if (namespace.equals("")) {
xmlWriter.writeAttribute(attName, attributeValue);
} else {
registerPrefix(xmlWriter, namespace);
xmlWriter.writeAttribute(attributePrefix, namespace, attName, attributeValue);
}
}
/** method to handle Qnames */
private void writeQName(
javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
java.lang.String namespaceURI = qname.getNamespaceURI();
if (namespaceURI != null) {
java.lang.String prefix = xmlWriter.getPrefix(namespaceURI);
if (prefix == null) {
prefix = generatePrefix(namespaceURI);
xmlWriter.writeNamespace(prefix, namespaceURI);
xmlWriter.setPrefix(prefix, namespaceURI);
}
if (prefix.trim().length() > 0) {
xmlWriter.writeCharacters(
prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
} else {
// i.e this is the default namespace
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
}
} else {
xmlWriter.writeCharacters(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
}
}
private void writeQNames(
javax.xml.namespace.QName[] qnames, javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException {
if (qnames != null) {
// we have to store this data until last moment since it is not possible to write any
// namespace data after writing the charactor data
java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer();
java.lang.String namespaceURI = null;
java.lang.String prefix = null;
for (int i = 0; i < qnames.length; i++) {
if (i > 0) {
stringToWrite.append(" ");
}
namespaceURI = qnames[i].getNamespaceURI();
if (namespaceURI != null) {
prefix = xmlWriter.getPrefix(namespaceURI);
if ((prefix == null) || (prefix.length() == 0)) {
prefix = generatePrefix(namespaceURI);
xmlWriter.writeNamespace(prefix, namespaceURI);
xmlWriter.setPrefix(prefix, namespaceURI);
}
if (prefix.trim().length() > 0) {
stringToWrite
.append(prefix)
.append(":")
.append(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
} else {
stringToWrite.append(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
}
} else {
stringToWrite.append(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
}
}
xmlWriter.writeCharacters(stringToWrite.toString());
}
}
/** Register a namespace prefix */
private java.lang.String registerPrefix(
javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace)
throws javax.xml.stream.XMLStreamException {
java.lang.String prefix = xmlWriter.getPrefix(namespace);
if (prefix == null) {
prefix = generatePrefix(namespace);
javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext();
while (true) {
java.lang.String uri = nsContext.getNamespaceURI(prefix);
if (uri == null || uri.length() == 0) {
break;
}
prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
}
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
return prefix;
}
/** Factory class that keeps the parse method */
public static class Factory {
private static org.apache.commons.logging.Log log =
org.apache.commons.logging.LogFactory.getLog(Factory.class);
/**
* static method to create the object Precondition: If this object is an element, the current or
* next start element starts this object and any intervening reader events are ignorable If this
* object is not an element, it is a complex type and the reader is at the event just after the
* outer start element Postcondition: If this object is an element, the reader is positioned at
* its end element If this object is a complex type, the reader is positioned at the end element
* of its outer element
*/
public static Copy parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception {
Copy object = new Copy();
int event;
javax.xml.namespace.QName currentQName = null;
java.lang.String nillableValue = null;
java.lang.String prefix = "";
java.lang.String namespaceuri = "";
try {
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
currentQName = reader.getName();
if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "type") != null) {
java.lang.String fullTypeName =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "type");
if (fullTypeName != null) {
java.lang.String nsPrefix = null;
if (fullTypeName.indexOf(":") > -1) {
nsPrefix = fullTypeName.substring(0, fullTypeName.indexOf(":"));
}
nsPrefix = nsPrefix == null ? "" : nsPrefix;
java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":") + 1);
if (!"Copy".equals(type)) {
// find namespace for the prefix
java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);
return (Copy)
org.hpccsystems.ws.client.gen.axis2.filespray.latest.ExtensionMapper
.getTypeObject(nsUri, type, reader);
}
}
}
// Note all attributes that were handled. Used to differ normal attributes
// from anyAttributes.
java.util.Vector handledAttributes = new java.util.Vector();
reader.next();
while (!reader.isEndElement()) {
if (reader.isStartElement()) {
if (reader.isStartElement()
&& new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "sourceLogicalName")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "sourceLogicalName" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSourceLogicalName(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "destGroup")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "destGroup" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDestGroup(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "destGroupRoxie")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "destGroupRoxie" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDestGroupRoxie(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "destLogicalName")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "destLogicalName" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDestLogicalName(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "sourceDali")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "sourceDali" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSourceDali(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "srcusername")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "srcusername" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSrcusername(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "srcpassword")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "srcpassword" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSrcpassword(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "overwrite")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "overwrite" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setOverwrite(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "replicate")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "replicate" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setReplicate(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "ReplicateOffset")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "ReplicateOffset" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setReplicateOffset(
org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "maxConnections")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "maxConnections" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setMaxConnections(
org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "throttle")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "throttle" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setThrottle(
org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "transferBufferSize")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "transferBufferSize" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setTransferBufferSize(
org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "nosplit")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "nosplit" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setNosplit(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "norecover")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "norecover" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setNorecover(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "compress")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "compress" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setCompress(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "Wrap")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "Wrap" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setWrap(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "Multicopy")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "Multicopy" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setMulticopy(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "SourceDiffKeyName")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "SourceDiffKeyName" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSourceDiffKeyName(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "DestDiffKeyName")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "DestDiffKeyName" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDestDiffKeyName(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "superCopy")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "superCopy" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSuperCopy(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "push")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "push" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setPush(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "pull")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "pull" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setPull(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "ifnewer")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "ifnewer" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setIfnewer(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "noCommon")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "noCommon" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setNoCommon(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "encrypt")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "encrypt" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setEncrypt(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "decrypt")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "decrypt" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDecrypt(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName(
"urn:hpccsystems:ws:filespray", "preserveCompression")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "preserveCompression" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setPreserveCompression(
org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "DFUServerQueue")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "DFUServerQueue" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setDFUServerQueue(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else if (reader.isStartElement()
&& new javax.xml.namespace.QName("urn:hpccsystems:ws:filespray", "ExpireDays")
.equals(reader.getName())) {
nillableValue =
reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance", "nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)) {
throw new org.apache.axis2.databinding.ADBException(
"The element: " + "ExpireDays" + " cannot be null");
}
java.lang.String content = reader.getElementText();
object.setExpireDays(
org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(content));
reader.next();
} // End of if for expected property start element
else {
// 3 - A start element we are not expecting indicates an invalid parameter was passed
throw new org.apache.axis2.databinding.ADBException(
"Unexpected subelement " + reader.getName());
}
} else {
reader.next();
}
} // end of while loop
} catch (javax.xml.stream.XMLStreamException e) {
throw new java.lang.Exception(e);
}
return object;
}
} // end of factory class
}