Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* TpThorStatusResponse.java
*
* This file was auto-generated from WSDL
* by the Apache Axis2 version: 1.7.9 Built on : Nov 16, 2018 (12:06:07 GMT)
*/
package org.hpccsystems.ws.client.gen.axis2.wstopology.v1_30;
/**
* TpThorStatusResponse bean class
*/
@SuppressWarnings({"unchecked",
"unused"
})
public class TpThorStatusResponse implements org.apache.axis2.databinding.ADBBean {
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName("urn:hpccsystems:ws:wstopology",
"TpThorStatusResponse", "ns5");
/**
* field for Exceptions
*/
protected org.hpccsystems.ws.client.gen.axis2.wstopology.v1_30.ArrayOfEspException localExceptions;
/* 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 localExceptionsTracker = false;
/**
* field for Name
*/
protected java.lang.String localName;
/* 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 localNameTracker = false;
/**
* field for Queue
*/
protected java.lang.String localQueue;
/* 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 localQueueTracker = false;
/**
* field for Group
*/
protected java.lang.String localGroup;
/* 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 localGroupTracker = false;
/**
* field for ThorMasterIPAddress
*/
protected java.lang.String localThorMasterIPAddress;
/* 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 localThorMasterIPAddressTracker = false;
/**
* field for Port
*/
protected int localPort;
/* 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 localPortTracker = false;
/**
* field for StartTime
*/
protected java.lang.String localStartTime;
/* 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 localStartTimeTracker = false;
/**
* field for LogFile
*/
protected java.lang.String localLogFile;
/* 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 localLogFileTracker = false;
/**
* field for Wuid
*/
protected java.lang.String localWuid;
/* 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 localWuidTracker = false;
/**
* field for Graph
*/
protected java.lang.String localGraph;
/* 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 localGraphTracker = false;
/**
* field for SubGraph
*/
protected int localSubGraph;
/* 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 localSubGraphTracker = false;
/**
* field for SubGraphDuration
*/
protected int localSubGraphDuration;
/* 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 localSubGraphDurationTracker = false;
/**
* field for AutoRefresh
*/
protected int localAutoRefresh;
/* 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 localAutoRefreshTracker = false;
public boolean isExceptionsSpecified() {
return localExceptionsTracker;
}
/**
* Auto generated getter method
* @return org.hpccsystems.ws.client.gen.axis2.wstopology.v1_30.ArrayOfEspException
*/
public org.hpccsystems.ws.client.gen.axis2.wstopology.v1_30.ArrayOfEspException getExceptions() {
return localExceptions;
}
/**
* Auto generated setter method
* @param param Exceptions
*/
public void setExceptions(
org.hpccsystems.ws.client.gen.axis2.wstopology.v1_30.ArrayOfEspException param) {
localExceptionsTracker = param != null;
this.localExceptions = param;
}
public boolean isNameSpecified() {
return localNameTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getName() {
return localName;
}
/**
* Auto generated setter method
* @param param Name
*/
public void setName(java.lang.String param) {
localNameTracker = param != null;
this.localName = param;
}
public boolean isQueueSpecified() {
return localQueueTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getQueue() {
return localQueue;
}
/**
* Auto generated setter method
* @param param Queue
*/
public void setQueue(java.lang.String param) {
localQueueTracker = param != null;
this.localQueue = param;
}
public boolean isGroupSpecified() {
return localGroupTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getGroup() {
return localGroup;
}
/**
* Auto generated setter method
* @param param Group
*/
public void setGroup(java.lang.String param) {
localGroupTracker = param != null;
this.localGroup = param;
}
public boolean isThorMasterIPAddressSpecified() {
return localThorMasterIPAddressTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getThorMasterIPAddress() {
return localThorMasterIPAddress;
}
/**
* Auto generated setter method
* @param param ThorMasterIPAddress
*/
public void setThorMasterIPAddress(java.lang.String param) {
localThorMasterIPAddressTracker = param != null;
this.localThorMasterIPAddress = param;
}
public boolean isPortSpecified() {
return localPortTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getPort() {
return localPort;
}
/**
* Auto generated setter method
* @param param Port
*/
public void setPort(int param) {
// setting primitive attribute tracker to true
localPortTracker = param != java.lang.Integer.MIN_VALUE;
this.localPort = param;
}
public boolean isStartTimeSpecified() {
return localStartTimeTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getStartTime() {
return localStartTime;
}
/**
* Auto generated setter method
* @param param StartTime
*/
public void setStartTime(java.lang.String param) {
localStartTimeTracker = param != null;
this.localStartTime = param;
}
public boolean isLogFileSpecified() {
return localLogFileTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getLogFile() {
return localLogFile;
}
/**
* Auto generated setter method
* @param param LogFile
*/
public void setLogFile(java.lang.String param) {
localLogFileTracker = param != null;
this.localLogFile = param;
}
public boolean isWuidSpecified() {
return localWuidTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getWuid() {
return localWuid;
}
/**
* Auto generated setter method
* @param param Wuid
*/
public void setWuid(java.lang.String param) {
localWuidTracker = param != null;
this.localWuid = param;
}
public boolean isGraphSpecified() {
return localGraphTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getGraph() {
return localGraph;
}
/**
* Auto generated setter method
* @param param Graph
*/
public void setGraph(java.lang.String param) {
localGraphTracker = param != null;
this.localGraph = param;
}
public boolean isSubGraphSpecified() {
return localSubGraphTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getSubGraph() {
return localSubGraph;
}
/**
* Auto generated setter method
* @param param SubGraph
*/
public void setSubGraph(int param) {
// setting primitive attribute tracker to true
localSubGraphTracker = param != java.lang.Integer.MIN_VALUE;
this.localSubGraph = param;
}
public boolean isSubGraphDurationSpecified() {
return localSubGraphDurationTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getSubGraphDuration() {
return localSubGraphDuration;
}
/**
* Auto generated setter method
* @param param SubGraphDuration
*/
public void setSubGraphDuration(int param) {
// setting primitive attribute tracker to true
localSubGraphDurationTracker = param != java.lang.Integer.MIN_VALUE;
this.localSubGraphDuration = param;
}
public boolean isAutoRefreshSpecified() {
return localAutoRefreshTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getAutoRefresh() {
return localAutoRefresh;
}
/**
* Auto generated setter method
* @param param AutoRefresh
*/
public void setAutoRefresh(int param) {
// setting primitive attribute tracker to true
localAutoRefreshTracker = param != java.lang.Integer.MIN_VALUE;
this.localAutoRefresh = 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:wstopology");
if ((namespacePrefix != null) &&
(namespacePrefix.trim().length() > 0)) {
writeAttribute("xsi",
"http://www.w3.org/2001/XMLSchema-instance", "type",
namespacePrefix + ":TpThorStatusResponse", xmlWriter);
} else {
writeAttribute("xsi",
"http://www.w3.org/2001/XMLSchema-instance", "type",
"TpThorStatusResponse", xmlWriter);
}
}
if (localExceptionsTracker) {
if (localExceptions == null) {
throw new org.apache.axis2.databinding.ADBException(
"Exceptions cannot be null!!");
}
localExceptions.serialize(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wstopology", "Exceptions"), xmlWriter);
}
if (localNameTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "Name", xmlWriter);
if (localName == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"Name cannot be null!!");
} else {
xmlWriter.writeCharacters(localName);
}
xmlWriter.writeEndElement();
}
if (localQueueTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "Queue", xmlWriter);
if (localQueue == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"Queue cannot be null!!");
} else {
xmlWriter.writeCharacters(localQueue);
}
xmlWriter.writeEndElement();
}
if (localGroupTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "Group", xmlWriter);
if (localGroup == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"Group cannot be null!!");
} else {
xmlWriter.writeCharacters(localGroup);
}
xmlWriter.writeEndElement();
}
if (localThorMasterIPAddressTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "ThorMasterIPAddress", xmlWriter);
if (localThorMasterIPAddress == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"ThorMasterIPAddress cannot be null!!");
} else {
xmlWriter.writeCharacters(localThorMasterIPAddress);
}
xmlWriter.writeEndElement();
}
if (localPortTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "Port", xmlWriter);
if (localPort == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"Port cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localPort));
}
xmlWriter.writeEndElement();
}
if (localStartTimeTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "StartTime", xmlWriter);
if (localStartTime == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"StartTime cannot be null!!");
} else {
xmlWriter.writeCharacters(localStartTime);
}
xmlWriter.writeEndElement();
}
if (localLogFileTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "LogFile", xmlWriter);
if (localLogFile == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"LogFile cannot be null!!");
} else {
xmlWriter.writeCharacters(localLogFile);
}
xmlWriter.writeEndElement();
}
if (localWuidTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "Wuid", xmlWriter);
if (localWuid == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"Wuid cannot be null!!");
} else {
xmlWriter.writeCharacters(localWuid);
}
xmlWriter.writeEndElement();
}
if (localGraphTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "Graph", xmlWriter);
if (localGraph == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"Graph cannot be null!!");
} else {
xmlWriter.writeCharacters(localGraph);
}
xmlWriter.writeEndElement();
}
if (localSubGraphTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "SubGraph", xmlWriter);
if (localSubGraph == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"SubGraph cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localSubGraph));
}
xmlWriter.writeEndElement();
}
if (localSubGraphDurationTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "SubGraphDuration", xmlWriter);
if (localSubGraphDuration == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"SubGraphDuration cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localSubGraphDuration));
}
xmlWriter.writeEndElement();
}
if (localAutoRefreshTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "AutoRefresh", xmlWriter);
if (localAutoRefresh == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"AutoRefresh cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localAutoRefresh));
}
xmlWriter.writeEndElement();
}
xmlWriter.writeEndElement();
}
private static java.lang.String generatePrefix(java.lang.String namespace) {
if (namespace.equals("urn:hpccsystems:ws:wstopology")) {
return "ns5";
}
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 TpThorStatusResponse parse(
javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception {
TpThorStatusResponse object = new TpThorStatusResponse();
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 (!"TpThorStatusResponse".equals(type)) {
//find namespace for the prefix
java.lang.String nsUri = reader.getNamespaceContext()
.getNamespaceURI(nsPrefix);
return (TpThorStatusResponse) org.hpccsystems.ws.client.gen.axis2.wstopology.v1_30.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:wstopology",
"Exceptions").equals(reader.getName())) {
object.setExceptions(org.hpccsystems.ws.client.gen.axis2.wstopology.v1_30.ArrayOfEspException.Factory.parse(
reader));
reader.next();
} // End of if for expected property start element
else
if (reader.isStartElement() &&
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wstopology", "Name").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: " + "Name" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setName(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:wstopology", "Queue").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: " + "Queue" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setQueue(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:wstopology", "Group").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: " + "Group" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setGroup(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:wstopology",
"ThorMasterIPAddress").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: " + "ThorMasterIPAddress" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setThorMasterIPAddress(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:wstopology", "Port").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: " + "Port" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setPort(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:wstopology", "StartTime").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: " + "StartTime" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setStartTime(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:wstopology", "LogFile").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: " + "LogFile" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setLogFile(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:wstopology", "Wuid").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: " + "Wuid" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setWuid(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:wstopology", "Graph").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: " + "Graph" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setGraph(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:wstopology", "SubGraph").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: " + "SubGraph" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSubGraph(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:wstopology",
"SubGraphDuration").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: " + "SubGraphDuration" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setSubGraphDuration(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:wstopology",
"AutoRefresh").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: " + "AutoRefresh" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setAutoRefresh(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
}