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

org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.WUEclDefinitionAction Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 9.6.18-1
Show newest version
/**
 * WUEclDefinitionAction.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.wsworkunits.v1_75;


/**
 *  WUEclDefinitionAction bean class
 */
@SuppressWarnings({"unchecked",
    "unused"
})
public class WUEclDefinitionAction implements org.apache.axis2.databinding.ADBBean {
    public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName("urn:hpccsystems:ws:wsworkunits",
            "WUEclDefinitionAction", "ns8");

    /**
     * field for EclDefinitions
     */
    protected org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EspStringArray localEclDefinitions;

    /*  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 localEclDefinitionsTracker = false;

    /**
     * field for ActionType
     */
    protected org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EclDefinitionActions localActionType;

    /*  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 localActionTypeTracker = false;

    /**
     * field for Target
     */
    protected java.lang.String localTarget;

    /*  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 localTargetTracker = false;

    /**
     * field for RemoteDali
     */
    protected java.lang.String localRemoteDali;

    /*  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 localRemoteDaliTracker = false;

    /**
     * field for SourceProcess
     */
    protected java.lang.String localSourceProcess;

    /*  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 localSourceProcessTracker = false;

    /**
     * field for Priority
     */
    protected java.lang.String localPriority;

    /*  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 localPriorityTracker = false;

    /**
     * field for Comment
     */
    protected java.lang.String localComment;

    /*  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 localCommentTracker = false;

    /**
     * field for MemoryLimit
     */
    protected java.lang.String localMemoryLimit;

    /*  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 localMemoryLimitTracker = false;

    /**
     * field for DeletePrevious
     */
    protected boolean localDeletePrevious = 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 localDeletePreviousTracker = false;

    /**
     * field for SuspendPrevious
     */
    protected boolean localSuspendPrevious = 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 localSuspendPreviousTracker = false;

    /**
     * field for NoActivate
     */
    protected boolean localNoActivate = 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 localNoActivateTracker = false;

    /**
     * field for NoReload
     */
    protected boolean localNoReload = 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 localNoReloadTracker = false;

    /**
     * field for DontCopyFiles
     */
    protected boolean localDontCopyFiles = 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 localDontCopyFilesTracker = false;

    /**
     * field for AllowForeign
     */
    protected boolean localAllowForeign = 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 localAllowForeignTracker = false;

    /**
     * field for UpdateDfs
     */
    protected boolean localUpdateDfs = 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 localUpdateDfsTracker = false;

    /**
     * field for UpdateSuperfiles
     */
    protected boolean localUpdateSuperfiles = 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 localUpdateSuperfilesTracker = false;

    /**
     * field for UpdateCloneFrom
     */
    protected boolean localUpdateCloneFrom = 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 localUpdateCloneFromTracker = false;

    /**
     * field for DontAppendCluster
     */
    protected boolean localDontAppendCluster = 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 localDontAppendClusterTracker = false;

    /**
     * field for MsToWait
     */
    protected int localMsToWait = 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 localMsToWaitTracker = false;

    /**
     * field for TimeLimit
     */
    protected int localTimeLimit = 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 localTimeLimitTracker = false;

    /**
     * field for WarnTimeLimit
     */
    protected int localWarnTimeLimit = 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 localWarnTimeLimitTracker = false;

    public boolean isEclDefinitionsSpecified() {
        return localEclDefinitionsTracker;
    }

    /**
     * Auto generated getter method
     * @return org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EspStringArray
     */
    public org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EspStringArray getEclDefinitions() {
        return localEclDefinitions;
    }

    /**
     * Auto generated setter method
     * @param param EclDefinitions
     */
    public void setEclDefinitions(
        org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EspStringArray param) {
        localEclDefinitionsTracker = param != null;

        this.localEclDefinitions = param;
    }

    public boolean isActionTypeSpecified() {
        return localActionTypeTracker;
    }

    /**
     * Auto generated getter method
     * @return org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EclDefinitionActions
     */
    public org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EclDefinitionActions getActionType() {
        return localActionType;
    }

    /**
     * Auto generated setter method
     * @param param ActionType
     */
    public void setActionType(
        org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EclDefinitionActions param) {
        localActionTypeTracker = param != null;

        this.localActionType = param;
    }

    public boolean isTargetSpecified() {
        return localTargetTracker;
    }

    /**
     * Auto generated getter method
     * @return java.lang.String
     */
    public java.lang.String getTarget() {
        return localTarget;
    }

    /**
     * Auto generated setter method
     * @param param Target
     */
    public void setTarget(java.lang.String param) {
        localTargetTracker = param != null;

        this.localTarget = param;
    }

    public boolean isRemoteDaliSpecified() {
        return localRemoteDaliTracker;
    }

    /**
     * Auto generated getter method
     * @return java.lang.String
     */
    public java.lang.String getRemoteDali() {
        return localRemoteDali;
    }

    /**
     * Auto generated setter method
     * @param param RemoteDali
     */
    public void setRemoteDali(java.lang.String param) {
        localRemoteDaliTracker = param != null;

        this.localRemoteDali = param;
    }

    public boolean isSourceProcessSpecified() {
        return localSourceProcessTracker;
    }

    /**
     * Auto generated getter method
     * @return java.lang.String
     */
    public java.lang.String getSourceProcess() {
        return localSourceProcess;
    }

    /**
     * Auto generated setter method
     * @param param SourceProcess
     */
    public void setSourceProcess(java.lang.String param) {
        localSourceProcessTracker = param != null;

        this.localSourceProcess = param;
    }

    public boolean isPrioritySpecified() {
        return localPriorityTracker;
    }

    /**
     * Auto generated getter method
     * @return java.lang.String
     */
    public java.lang.String getPriority() {
        return localPriority;
    }

    /**
     * Auto generated setter method
     * @param param Priority
     */
    public void setPriority(java.lang.String param) {
        localPriorityTracker = param != null;

        this.localPriority = param;
    }

    public boolean isCommentSpecified() {
        return localCommentTracker;
    }

    /**
     * Auto generated getter method
     * @return java.lang.String
     */
    public java.lang.String getComment() {
        return localComment;
    }

    /**
     * Auto generated setter method
     * @param param Comment
     */
    public void setComment(java.lang.String param) {
        localCommentTracker = param != null;

        this.localComment = param;
    }

    public boolean isMemoryLimitSpecified() {
        return localMemoryLimitTracker;
    }

    /**
     * Auto generated getter method
     * @return java.lang.String
     */
    public java.lang.String getMemoryLimit() {
        return localMemoryLimit;
    }

    /**
     * Auto generated setter method
     * @param param MemoryLimit
     */
    public void setMemoryLimit(java.lang.String param) {
        localMemoryLimitTracker = param != null;

        this.localMemoryLimit = param;
    }

    public boolean isDeletePreviousSpecified() {
        return localDeletePreviousTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getDeletePrevious() {
        return localDeletePrevious;
    }

    /**
     * Auto generated setter method
     * @param param DeletePrevious
     */
    public void setDeletePrevious(boolean param) {
        // setting primitive attribute tracker to true
        localDeletePreviousTracker = true;

        this.localDeletePrevious = param;
    }

    public boolean isSuspendPreviousSpecified() {
        return localSuspendPreviousTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getSuspendPrevious() {
        return localSuspendPrevious;
    }

    /**
     * Auto generated setter method
     * @param param SuspendPrevious
     */
    public void setSuspendPrevious(boolean param) {
        // setting primitive attribute tracker to true
        localSuspendPreviousTracker = true;

        this.localSuspendPrevious = param;
    }

    public boolean isNoActivateSpecified() {
        return localNoActivateTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getNoActivate() {
        return localNoActivate;
    }

    /**
     * Auto generated setter method
     * @param param NoActivate
     */
    public void setNoActivate(boolean param) {
        // setting primitive attribute tracker to true
        localNoActivateTracker = true;

        this.localNoActivate = param;
    }

    public boolean isNoReloadSpecified() {
        return localNoReloadTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getNoReload() {
        return localNoReload;
    }

    /**
     * Auto generated setter method
     * @param param NoReload
     */
    public void setNoReload(boolean param) {
        // setting primitive attribute tracker to true
        localNoReloadTracker = true;

        this.localNoReload = param;
    }

    public boolean isDontCopyFilesSpecified() {
        return localDontCopyFilesTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getDontCopyFiles() {
        return localDontCopyFiles;
    }

    /**
     * Auto generated setter method
     * @param param DontCopyFiles
     */
    public void setDontCopyFiles(boolean param) {
        // setting primitive attribute tracker to true
        localDontCopyFilesTracker = true;

        this.localDontCopyFiles = param;
    }

    public boolean isAllowForeignSpecified() {
        return localAllowForeignTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getAllowForeign() {
        return localAllowForeign;
    }

    /**
     * Auto generated setter method
     * @param param AllowForeign
     */
    public void setAllowForeign(boolean param) {
        // setting primitive attribute tracker to true
        localAllowForeignTracker = true;

        this.localAllowForeign = param;
    }

    public boolean isUpdateDfsSpecified() {
        return localUpdateDfsTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getUpdateDfs() {
        return localUpdateDfs;
    }

    /**
     * Auto generated setter method
     * @param param UpdateDfs
     */
    public void setUpdateDfs(boolean param) {
        // setting primitive attribute tracker to true
        localUpdateDfsTracker = true;

        this.localUpdateDfs = param;
    }

    public boolean isUpdateSuperfilesSpecified() {
        return localUpdateSuperfilesTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getUpdateSuperfiles() {
        return localUpdateSuperfiles;
    }

    /**
     * Auto generated setter method
     * @param param UpdateSuperfiles
     */
    public void setUpdateSuperfiles(boolean param) {
        // setting primitive attribute tracker to true
        localUpdateSuperfilesTracker = true;

        this.localUpdateSuperfiles = param;
    }

    public boolean isUpdateCloneFromSpecified() {
        return localUpdateCloneFromTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getUpdateCloneFrom() {
        return localUpdateCloneFrom;
    }

    /**
     * Auto generated setter method
     * @param param UpdateCloneFrom
     */
    public void setUpdateCloneFrom(boolean param) {
        // setting primitive attribute tracker to true
        localUpdateCloneFromTracker = true;

        this.localUpdateCloneFrom = param;
    }

    public boolean isDontAppendClusterSpecified() {
        return localDontAppendClusterTracker;
    }

    /**
     * Auto generated getter method
     * @return boolean
     */
    public boolean getDontAppendCluster() {
        return localDontAppendCluster;
    }

    /**
     * Auto generated setter method
     * @param param DontAppendCluster
     */
    public void setDontAppendCluster(boolean param) {
        // setting primitive attribute tracker to true
        localDontAppendClusterTracker = true;

        this.localDontAppendCluster = param;
    }

    public boolean isMsToWaitSpecified() {
        return localMsToWaitTracker;
    }

    /**
     * Auto generated getter method
     * @return int
     */
    public int getMsToWait() {
        return localMsToWait;
    }

    /**
     * Auto generated setter method
     * @param param MsToWait
     */
    public void setMsToWait(int param) {
        // setting primitive attribute tracker to true
        localMsToWaitTracker = param != java.lang.Integer.MIN_VALUE;

        this.localMsToWait = param;
    }

    public boolean isTimeLimitSpecified() {
        return localTimeLimitTracker;
    }

    /**
     * Auto generated getter method
     * @return int
     */
    public int getTimeLimit() {
        return localTimeLimit;
    }

    /**
     * Auto generated setter method
     * @param param TimeLimit
     */
    public void setTimeLimit(int param) {
        // setting primitive attribute tracker to true
        localTimeLimitTracker = param != java.lang.Integer.MIN_VALUE;

        this.localTimeLimit = param;
    }

    public boolean isWarnTimeLimitSpecified() {
        return localWarnTimeLimitTracker;
    }

    /**
     * Auto generated getter method
     * @return int
     */
    public int getWarnTimeLimit() {
        return localWarnTimeLimit;
    }

    /**
     * Auto generated setter method
     * @param param WarnTimeLimit
     */
    public void setWarnTimeLimit(int param) {
        // setting primitive attribute tracker to true
        localWarnTimeLimitTracker = param != java.lang.Integer.MIN_VALUE;

        this.localWarnTimeLimit = 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:wsworkunits");

            if ((namespacePrefix != null) &&
                    (namespacePrefix.trim().length() > 0)) {
                writeAttribute("xsi",
                    "http://www.w3.org/2001/XMLSchema-instance", "type",
                    namespacePrefix + ":WUEclDefinitionAction", xmlWriter);
            } else {
                writeAttribute("xsi",
                    "http://www.w3.org/2001/XMLSchema-instance", "type",
                    "WUEclDefinitionAction", xmlWriter);
            }
        }

        if (localEclDefinitionsTracker) {
            if (localEclDefinitions == null) {
                throw new org.apache.axis2.databinding.ADBException(
                    "EclDefinitions cannot be null!!");
            }

            localEclDefinitions.serialize(new javax.xml.namespace.QName(
                    "urn:hpccsystems:ws:wsworkunits", "EclDefinitions"),
                xmlWriter);
        }

        if (localActionTypeTracker) {
            if (localActionType == null) {
                throw new org.apache.axis2.databinding.ADBException(
                    "ActionType cannot be null!!");
            }

            localActionType.serialize(new javax.xml.namespace.QName(
                    "urn:hpccsystems:ws:wsworkunits", "ActionType"), xmlWriter);
        }

        if (localTargetTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "Target", xmlWriter);

            if (localTarget == null) {
                // write the nil attribute
                throw new org.apache.axis2.databinding.ADBException(
                    "Target cannot be null!!");
            } else {
                xmlWriter.writeCharacters(localTarget);
            }

            xmlWriter.writeEndElement();
        }

        if (localRemoteDaliTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "RemoteDali", xmlWriter);

            if (localRemoteDali == null) {
                // write the nil attribute
                throw new org.apache.axis2.databinding.ADBException(
                    "RemoteDali cannot be null!!");
            } else {
                xmlWriter.writeCharacters(localRemoteDali);
            }

            xmlWriter.writeEndElement();
        }

        if (localSourceProcessTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "SourceProcess", xmlWriter);

            if (localSourceProcess == null) {
                // write the nil attribute
                throw new org.apache.axis2.databinding.ADBException(
                    "SourceProcess cannot be null!!");
            } else {
                xmlWriter.writeCharacters(localSourceProcess);
            }

            xmlWriter.writeEndElement();
        }

        if (localPriorityTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "Priority", xmlWriter);

            if (localPriority == null) {
                // write the nil attribute
                throw new org.apache.axis2.databinding.ADBException(
                    "Priority cannot be null!!");
            } else {
                xmlWriter.writeCharacters(localPriority);
            }

            xmlWriter.writeEndElement();
        }

        if (localCommentTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "Comment", xmlWriter);

            if (localComment == null) {
                // write the nil attribute
                throw new org.apache.axis2.databinding.ADBException(
                    "Comment cannot be null!!");
            } else {
                xmlWriter.writeCharacters(localComment);
            }

            xmlWriter.writeEndElement();
        }

        if (localMemoryLimitTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "MemoryLimit", xmlWriter);

            if (localMemoryLimit == null) {
                // write the nil attribute
                throw new org.apache.axis2.databinding.ADBException(
                    "MemoryLimit cannot be null!!");
            } else {
                xmlWriter.writeCharacters(localMemoryLimit);
            }

            xmlWriter.writeEndElement();
        }

        if (localDeletePreviousTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "DeletePrevious", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "DeletePrevious cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localDeletePrevious));
            }

            xmlWriter.writeEndElement();
        }

        if (localSuspendPreviousTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "SuspendPrevious", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "SuspendPrevious cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localSuspendPrevious));
            }

            xmlWriter.writeEndElement();
        }

        if (localNoActivateTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "NoActivate", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "NoActivate cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localNoActivate));
            }

            xmlWriter.writeEndElement();
        }

        if (localNoReloadTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "NoReload", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "NoReload cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localNoReload));
            }

            xmlWriter.writeEndElement();
        }

        if (localDontCopyFilesTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "DontCopyFiles", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "DontCopyFiles cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localDontCopyFiles));
            }

            xmlWriter.writeEndElement();
        }

        if (localAllowForeignTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "AllowForeign", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "AllowForeign cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localAllowForeign));
            }

            xmlWriter.writeEndElement();
        }

        if (localUpdateDfsTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "UpdateDfs", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "UpdateDfs cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localUpdateDfs));
            }

            xmlWriter.writeEndElement();
        }

        if (localUpdateSuperfilesTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "UpdateSuperfiles", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "UpdateSuperfiles cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localUpdateSuperfiles));
            }

            xmlWriter.writeEndElement();
        }

        if (localUpdateCloneFromTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "UpdateCloneFrom", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "UpdateCloneFrom cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localUpdateCloneFrom));
            }

            xmlWriter.writeEndElement();
        }

        if (localDontAppendClusterTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "DontAppendCluster", xmlWriter);

            if (false) {
                throw new org.apache.axis2.databinding.ADBException(
                    "DontAppendCluster cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localDontAppendCluster));
            }

            xmlWriter.writeEndElement();
        }

        if (localMsToWaitTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "MsToWait", xmlWriter);

            if (localMsToWait == java.lang.Integer.MIN_VALUE) {
                throw new org.apache.axis2.databinding.ADBException(
                    "MsToWait cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localMsToWait));
            }

            xmlWriter.writeEndElement();
        }

        if (localTimeLimitTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "TimeLimit", xmlWriter);

            if (localTimeLimit == java.lang.Integer.MIN_VALUE) {
                throw new org.apache.axis2.databinding.ADBException(
                    "TimeLimit cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localTimeLimit));
            }

            xmlWriter.writeEndElement();
        }

        if (localWarnTimeLimitTracker) {
            namespace = "urn:hpccsystems:ws:wsworkunits";
            writeStartElement(null, namespace, "WarnTimeLimit", xmlWriter);

            if (localWarnTimeLimit == java.lang.Integer.MIN_VALUE) {
                throw new org.apache.axis2.databinding.ADBException(
                    "WarnTimeLimit cannot be null!!");
            } else {
                xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(
                        localWarnTimeLimit));
            }

            xmlWriter.writeEndElement();
        }

        xmlWriter.writeEndElement();
    }

    private static java.lang.String generatePrefix(java.lang.String namespace) {
        if (namespace.equals("urn:hpccsystems:ws:wsworkunits")) {
            return "ns8";
        }

        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 WUEclDefinitionAction parse(
            javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception {
            WUEclDefinitionAction object = new WUEclDefinitionAction();

            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 (!"WUEclDefinitionAction".equals(type)) {
                            //find namespace for the prefix
                            java.lang.String nsUri = reader.getNamespaceContext()
                                                           .getNamespaceURI(nsPrefix);

                            return (WUEclDefinitionAction) org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.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:wsworkunits",
                                    "EclDefinitions").equals(reader.getName())) {
                            object.setEclDefinitions(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EspStringArray.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:wsworkunits",
                                    "ActionType").equals(reader.getName())) {
                            object.setActionType(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_75.EclDefinitionActions.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:wsworkunits", "Target").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: " + "Target" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setTarget(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:wsworkunits",
                                    "RemoteDali").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: " + "RemoteDali" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setRemoteDali(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:wsworkunits",
                                    "SourceProcess").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: " + "SourceProcess" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setSourceProcess(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:wsworkunits", "Priority").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: " + "Priority" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setPriority(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:wsworkunits", "Comment").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: " + "Comment" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setComment(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:wsworkunits",
                                    "MemoryLimit").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: " + "MemoryLimit" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setMemoryLimit(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:wsworkunits",
                                    "DeletePrevious").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: " + "DeletePrevious" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setDeletePrevious(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:wsworkunits",
                                    "SuspendPrevious").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: " + "SuspendPrevious" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setSuspendPrevious(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:wsworkunits",
                                    "NoActivate").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: " + "NoActivate" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setNoActivate(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:wsworkunits", "NoReload").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: " + "NoReload" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setNoReload(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:wsworkunits",
                                    "DontCopyFiles").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: " + "DontCopyFiles" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setDontCopyFiles(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:wsworkunits",
                                    "AllowForeign").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: " + "AllowForeign" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setAllowForeign(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:wsworkunits",
                                    "UpdateDfs").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: " + "UpdateDfs" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setUpdateDfs(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:wsworkunits",
                                    "UpdateSuperfiles").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: " + "UpdateSuperfiles" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setUpdateSuperfiles(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:wsworkunits",
                                    "UpdateCloneFrom").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: " + "UpdateCloneFrom" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setUpdateCloneFrom(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:wsworkunits",
                                    "DontAppendCluster").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: " + "DontAppendCluster" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setDontAppendCluster(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:wsworkunits", "MsToWait").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: " + "MsToWait" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setMsToWait(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:wsworkunits",
                                    "TimeLimit").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: " + "TimeLimit" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setTimeLimit(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:wsworkunits",
                                    "WarnTimeLimit").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: " + "WarnTimeLimit" +
                                    "  cannot be null");
                            }

                            java.lang.String content = reader.getElementText();

                            object.setWarnTimeLimit(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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy