-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/candidate-9.6.x' into candidate-…
…9.6.0 Signed-off-by: Jake Smith <[email protected]>
- Loading branch information
Showing
668 changed files
with
494,492 additions
and
442,657 deletions.
There are no files selected for viewing
792 changes: 396 additions & 396 deletions
792
.../src/main/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/AbortDFUWorkunit.java
Large diffs are not rendered by default.
Oops, something went wrong.
764 changes: 382 additions & 382 deletions
764
...n/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/AbortDFUWorkunitResponse.java
Large diffs are not rendered by default.
Oops, something went wrong.
922 changes: 461 additions & 461 deletions
922
...ain/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/ArrayOfDFUActionResult.java
Large diffs are not rendered by default.
Oops, something went wrong.
916 changes: 458 additions & 458 deletions
916
...c/main/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/ArrayOfDFUException.java
Large diffs are not rendered by default.
Oops, something went wrong.
912 changes: 456 additions & 456 deletions
912
...rc/main/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/ArrayOfDFUWorkunit.java
Large diffs are not rendered by default.
Oops, something went wrong.
904 changes: 452 additions & 452 deletions
904
...t/src/main/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/ArrayOfDropZone.java
Large diffs are not rendered by default.
Oops, something went wrong.
1,060 changes: 530 additions & 530 deletions
1,060
...c/main/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/ArrayOfEspException.java
Large diffs are not rendered by default.
Oops, something went wrong.
924 changes: 462 additions & 462 deletions
924
.../java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/ArrayOfPhysicalFileStruct.java
Large diffs are not rendered by default.
Oops, something went wrong.
906 changes: 453 additions & 453 deletions
906
...rc/main/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/ClusterNames_type0.java
Large diffs are not rendered by default.
Oops, something went wrong.
4,865 changes: 2,467 additions & 2,398 deletions
4,865
wsclient/src/main/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/Copy.java
Large diffs are not rendered by default.
Oops, something went wrong.
890 changes: 445 additions & 445 deletions
890
...ient/src/main/java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/CopyResponse.java
Large diffs are not rendered by default.
Oops, something went wrong.
397 changes: 397 additions & 0 deletions
397
...java/org/hpccsystems/ws/client/gen/axis2/filespray/latest/CreateDFUPublisherWorkunit.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,397 @@ | ||
/** | ||
* CreateDFUPublisherWorkunit.java | ||
* | ||
* <p>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; | ||
|
||
/** CreateDFUPublisherWorkunit bean class */ | ||
@SuppressWarnings({"unchecked", "unused"}) | ||
public class CreateDFUPublisherWorkunit implements org.apache.axis2.databinding.ADBBean { | ||
|
||
public static final javax.xml.namespace.QName MY_QNAME = | ||
new javax.xml.namespace.QName( | ||
"urn:hpccsystems:ws:filespray", "CreateDFUPublisherWorkunit", "ns1"); | ||
|
||
/** 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; | ||
} | ||
|
||
/** | ||
* @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 + ":CreateDFUPublisherWorkunit", | ||
xmlWriter); | ||
} else { | ||
writeAttribute( | ||
"xsi", | ||
"http://www.w3.org/2001/XMLSchema-instance", | ||
"type", | ||
"CreateDFUPublisherWorkunit", | ||
xmlWriter); | ||
} | ||
} | ||
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(); | ||
} | ||
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 CreateDFUPublisherWorkunit parse(javax.xml.stream.XMLStreamReader reader) | ||
throws java.lang.Exception { | ||
CreateDFUPublisherWorkunit object = new CreateDFUPublisherWorkunit(); | ||
|
||
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 (!"CreateDFUPublisherWorkunit".equals(type)) { | ||
// find namespace for the prefix | ||
java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix); | ||
return (CreateDFUPublisherWorkunit) | ||
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", "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 { | ||
// 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 | ||
} |
Oops, something went wrong.