org.hpccsystems.ws.client.gen.axis2.wstopology.v1_28.TpLogFileRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wsclient Show documentation
Show all versions of wsclient Show documentation
This project allows a user to interact with ESP services in a controlled manner. The API calls available under org.hpccsystems.ws.client.platform allow for a user to target ESP's across multiple environments running a range of hpccsystems-platform versions. There is no guarantee that if a user utilizes org.hpccsystems.ws.client.gen generated stub code from wsdl, that the calls will be backwards compatible with older hpccsystems-platform versions.
/**
* TpLogFileRequest.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_28;
/**
* TpLogFileRequest bean class
*/
@SuppressWarnings({"unchecked",
"unused"
})
public class TpLogFileRequest implements org.apache.axis2.databinding.ADBBean {
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName("urn:hpccsystems:ws:wstopology",
"TpLogFileRequest", "ns5");
/**
* 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 Type
*/
protected java.lang.String localType;
/* 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 localTypeTracker = false;
/**
* field for LastHours
*/
protected int localLastHours;
/* 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 localLastHoursTracker = false;
/**
* field for StartDate
*/
protected java.lang.String localStartDate;
/* 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 localStartDateTracker = false;
/**
* field for EndDate
*/
protected java.lang.String localEndDate;
/* 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 localEndDateTracker = false;
/**
* field for FirstRows
*/
protected int localFirstRows;
/* 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 localFirstRowsTracker = false;
/**
* field for LastRows
*/
protected int localLastRows;
/* 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 localLastRowsTracker = false;
/**
* field for FilterType
*/
protected int localFilterType;
/* 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 localFilterTypeTracker = false;
/**
* field for Reversely
*/
protected boolean localReversely = 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 localReverselyTracker = false;
/**
* field for Zip
*/
protected boolean localZip = 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 localZipTracker = false;
/**
* field for PageNumber
*/
protected int localPageNumber;
/* 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 localPageNumberTracker = false;
/**
* field for LoadData
*/
protected boolean localLoadData = 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 localLoadDataTracker = false;
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 isTypeSpecified() {
return localTypeTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getType() {
return localType;
}
/**
* Auto generated setter method
* @param param Type
*/
public void setType(java.lang.String param) {
localTypeTracker = param != null;
this.localType = param;
}
public boolean isLastHoursSpecified() {
return localLastHoursTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getLastHours() {
return localLastHours;
}
/**
* Auto generated setter method
* @param param LastHours
*/
public void setLastHours(int param) {
// setting primitive attribute tracker to true
localLastHoursTracker = param != java.lang.Integer.MIN_VALUE;
this.localLastHours = param;
}
public boolean isStartDateSpecified() {
return localStartDateTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getStartDate() {
return localStartDate;
}
/**
* Auto generated setter method
* @param param StartDate
*/
public void setStartDate(java.lang.String param) {
localStartDateTracker = param != null;
this.localStartDate = param;
}
public boolean isEndDateSpecified() {
return localEndDateTracker;
}
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getEndDate() {
return localEndDate;
}
/**
* Auto generated setter method
* @param param EndDate
*/
public void setEndDate(java.lang.String param) {
localEndDateTracker = param != null;
this.localEndDate = param;
}
public boolean isFirstRowsSpecified() {
return localFirstRowsTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getFirstRows() {
return localFirstRows;
}
/**
* Auto generated setter method
* @param param FirstRows
*/
public void setFirstRows(int param) {
// setting primitive attribute tracker to true
localFirstRowsTracker = param != java.lang.Integer.MIN_VALUE;
this.localFirstRows = param;
}
public boolean isLastRowsSpecified() {
return localLastRowsTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getLastRows() {
return localLastRows;
}
/**
* Auto generated setter method
* @param param LastRows
*/
public void setLastRows(int param) {
// setting primitive attribute tracker to true
localLastRowsTracker = param != java.lang.Integer.MIN_VALUE;
this.localLastRows = param;
}
public boolean isFilterTypeSpecified() {
return localFilterTypeTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getFilterType() {
return localFilterType;
}
/**
* Auto generated setter method
* @param param FilterType
*/
public void setFilterType(int param) {
// setting primitive attribute tracker to true
localFilterTypeTracker = param != java.lang.Integer.MIN_VALUE;
this.localFilterType = param;
}
public boolean isReverselySpecified() {
return localReverselyTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getReversely() {
return localReversely;
}
/**
* Auto generated setter method
* @param param Reversely
*/
public void setReversely(boolean param) {
// setting primitive attribute tracker to true
localReverselyTracker = true;
this.localReversely = param;
}
public boolean isZipSpecified() {
return localZipTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getZip() {
return localZip;
}
/**
* Auto generated setter method
* @param param Zip
*/
public void setZip(boolean param) {
// setting primitive attribute tracker to true
localZipTracker = true;
this.localZip = param;
}
public boolean isPageNumberSpecified() {
return localPageNumberTracker;
}
/**
* Auto generated getter method
* @return int
*/
public int getPageNumber() {
return localPageNumber;
}
/**
* Auto generated setter method
* @param param PageNumber
*/
public void setPageNumber(int param) {
// setting primitive attribute tracker to true
localPageNumberTracker = param != java.lang.Integer.MIN_VALUE;
this.localPageNumber = param;
}
public boolean isLoadDataSpecified() {
return localLoadDataTracker;
}
/**
* Auto generated getter method
* @return boolean
*/
public boolean getLoadData() {
return localLoadData;
}
/**
* Auto generated setter method
* @param param LoadData
*/
public void setLoadData(boolean param) {
// setting primitive attribute tracker to true
localLoadDataTracker = true;
this.localLoadData = 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 + ":TpLogFileRequest", xmlWriter);
} else {
writeAttribute("xsi",
"http://www.w3.org/2001/XMLSchema-instance", "type",
"TpLogFileRequest", 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 (localTypeTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "Type", xmlWriter);
if (localType == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"Type cannot be null!!");
} else {
xmlWriter.writeCharacters(localType);
}
xmlWriter.writeEndElement();
}
if (localLastHoursTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "LastHours", xmlWriter);
if (localLastHours == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"LastHours cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localLastHours));
}
xmlWriter.writeEndElement();
}
if (localStartDateTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "StartDate", xmlWriter);
if (localStartDate == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"StartDate cannot be null!!");
} else {
xmlWriter.writeCharacters(localStartDate);
}
xmlWriter.writeEndElement();
}
if (localEndDateTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "EndDate", xmlWriter);
if (localEndDate == null) {
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException(
"EndDate cannot be null!!");
} else {
xmlWriter.writeCharacters(localEndDate);
}
xmlWriter.writeEndElement();
}
if (localFirstRowsTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "FirstRows", xmlWriter);
if (localFirstRows == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"FirstRows cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localFirstRows));
}
xmlWriter.writeEndElement();
}
if (localLastRowsTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "LastRows", xmlWriter);
if (localLastRows == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"LastRows cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localLastRows));
}
xmlWriter.writeEndElement();
}
if (localFilterTypeTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "FilterType", xmlWriter);
if (localFilterType == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"FilterType cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localFilterType));
}
xmlWriter.writeEndElement();
}
if (localReverselyTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "Reversely", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"Reversely cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localReversely));
}
xmlWriter.writeEndElement();
}
if (localZipTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "Zip", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"Zip cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localZip));
}
xmlWriter.writeEndElement();
}
if (localPageNumberTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "PageNumber", xmlWriter);
if (localPageNumber == java.lang.Integer.MIN_VALUE) {
throw new org.apache.axis2.databinding.ADBException(
"PageNumber cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localPageNumber));
}
xmlWriter.writeEndElement();
}
if (localLoadDataTracker) {
namespace = "urn:hpccsystems:ws:wstopology";
writeStartElement(null, namespace, "LoadData", xmlWriter);
if (false) {
throw new org.apache.axis2.databinding.ADBException(
"LoadData cannot be null!!");
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
localLoadData));
}
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 TpLogFileRequest parse(
javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception {
TpLogFileRequest object = new TpLogFileRequest();
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 (!"TpLogFileRequest".equals(type)) {
//find namespace for the prefix
java.lang.String nsUri = reader.getNamespaceContext()
.getNamespaceURI(nsPrefix);
return (TpLogFileRequest) org.hpccsystems.ws.client.gen.axis2.wstopology.v1_28.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", "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", "Type").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: " + "Type" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setType(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", "LastHours").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: " + "LastHours" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setLastHours(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", "StartDate").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: " + "StartDate" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setStartDate(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", "EndDate").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: " + "EndDate" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setEndDate(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", "FirstRows").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: " + "FirstRows" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setFirstRows(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", "LastRows").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: " + "LastRows" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setLastRows(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",
"FilterType").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: " + "FilterType" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setFilterType(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", "Reversely").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: " + "Reversely" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setReversely(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:wstopology", "Zip").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: " + "Zip" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setZip(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:wstopology",
"PageNumber").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: " + "PageNumber" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setPageNumber(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", "LoadData").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: " + "LoadData" +
" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setLoadData(org.apache.axis2.databinding.utils.ConverterUtil.convertToBoolean(
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
}