You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sh...@apache.org on 2016/10/03 21:25:24 UTC

[1/6] airavata git commit: Replaced xslt templates with groovy templates, fixed AIRAVATA-2124

Repository: airavata
Updated Branches:
  refs/heads/develop 67a9f643d -> c3064689d


http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PostJobCommandsImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PostJobCommandsImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PostJobCommandsImpl.java
deleted file mode 100644
index 3dd4bdc..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PostJobCommandsImpl.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  postJobCommands
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.PostJobCommands
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12.impl;
-/**
- * An XML postJobCommands(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public class PostJobCommandsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.PostJobCommands
-{
-    private static final long serialVersionUID = 1L;
-    
-    public PostJobCommandsImpl(org.apache.xmlbeans.SchemaType sType)
-    {
-        super(sType);
-    }
-    
-    private static final javax.xml.namespace.QName COMMAND$0 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "command");
-    
-    
-    /**
-     * Gets array of all "command" elements
-     */
-    public java.lang.String[] getCommandArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(COMMAND$0, targetList);
-            java.lang.String[] result = new java.lang.String[targetList.size()];
-            for (int i = 0, len = targetList.size() ; i < len ; i++)
-                result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
-            return result;
-        }
-    }
-    
-    /**
-     * Gets ith "command" element
-     */
-    public java.lang.String getCommandArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) array of all "command" elements
-     */
-    public org.apache.xmlbeans.XmlString[] xgetCommandArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(COMMAND$0, targetList);
-            org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
-            targetList.toArray(result);
-            return result;
-        }
-    }
-    
-    /**
-     * Gets (as xml) ith "command" element
-     */
-    public org.apache.xmlbeans.XmlString xgetCommandArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return (org.apache.xmlbeans.XmlString)target;
-        }
-    }
-    
-    /**
-     * Returns number of "command" element
-     */
-    public int sizeOfCommandArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(COMMAND$0);
-        }
-    }
-    
-    /**
-     * Sets array of all "command" element
-     */
-    public void setCommandArray(java.lang.String[] commandArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(commandArray, COMMAND$0);
-        }
-    }
-    
-    /**
-     * Sets ith "command" element
-     */
-    public void setCommandArray(int i, java.lang.String command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.setStringValue(command);
-        }
-    }
-    
-    /**
-     * Sets (as xml) array of all "command" element
-     */
-    public void xsetCommandArray(org.apache.xmlbeans.XmlString[]commandArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(commandArray, COMMAND$0);
-        }
-    }
-    
-    /**
-     * Sets (as xml) ith "command" element
-     */
-    public void xsetCommandArray(int i, org.apache.xmlbeans.XmlString command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.set(command);
-        }
-    }
-    
-    /**
-     * Inserts the value as the ith "command" element
-     */
-    public void insertCommand(int i, java.lang.String command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = 
-                (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(COMMAND$0, i);
-            target.setStringValue(command);
-        }
-    }
-    
-    /**
-     * Appends the value as the last "command" element
-     */
-    public void addCommand(java.lang.String command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMMAND$0);
-            target.setStringValue(command);
-        }
-    }
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "command" element
-     */
-    public org.apache.xmlbeans.XmlString insertNewCommand(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(COMMAND$0, i);
-            return target;
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "command" element
-     */
-    public org.apache.xmlbeans.XmlString addNewCommand()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(COMMAND$0);
-            return target;
-        }
-    }
-    
-    /**
-     * Removes the ith "command" element
-     */
-    public void removeCommand(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(COMMAND$0, i);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PreJobCommandsImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PreJobCommandsImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PreJobCommandsImpl.java
deleted file mode 100644
index 41e535a..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PreJobCommandsImpl.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  preJobCommands
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.PreJobCommands
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12.impl;
-/**
- * An XML preJobCommands(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public class PreJobCommandsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.PreJobCommands
-{
-    private static final long serialVersionUID = 1L;
-    
-    public PreJobCommandsImpl(org.apache.xmlbeans.SchemaType sType)
-    {
-        super(sType);
-    }
-    
-    private static final javax.xml.namespace.QName COMMAND$0 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "command");
-    
-    
-    /**
-     * Gets array of all "command" elements
-     */
-    public java.lang.String[] getCommandArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(COMMAND$0, targetList);
-            java.lang.String[] result = new java.lang.String[targetList.size()];
-            for (int i = 0, len = targetList.size() ; i < len ; i++)
-                result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
-            return result;
-        }
-    }
-    
-    /**
-     * Gets ith "command" element
-     */
-    public java.lang.String getCommandArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) array of all "command" elements
-     */
-    public org.apache.xmlbeans.XmlString[] xgetCommandArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(COMMAND$0, targetList);
-            org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
-            targetList.toArray(result);
-            return result;
-        }
-    }
-    
-    /**
-     * Gets (as xml) ith "command" element
-     */
-    public org.apache.xmlbeans.XmlString xgetCommandArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return (org.apache.xmlbeans.XmlString)target;
-        }
-    }
-    
-    /**
-     * Returns number of "command" element
-     */
-    public int sizeOfCommandArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(COMMAND$0);
-        }
-    }
-    
-    /**
-     * Sets array of all "command" element
-     */
-    public void setCommandArray(java.lang.String[] commandArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(commandArray, COMMAND$0);
-        }
-    }
-    
-    /**
-     * Sets ith "command" element
-     */
-    public void setCommandArray(int i, java.lang.String command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.setStringValue(command);
-        }
-    }
-    
-    /**
-     * Sets (as xml) array of all "command" element
-     */
-    public void xsetCommandArray(org.apache.xmlbeans.XmlString[]commandArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(commandArray, COMMAND$0);
-        }
-    }
-    
-    /**
-     * Sets (as xml) ith "command" element
-     */
-    public void xsetCommandArray(int i, org.apache.xmlbeans.XmlString command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.set(command);
-        }
-    }
-    
-    /**
-     * Inserts the value as the ith "command" element
-     */
-    public void insertCommand(int i, java.lang.String command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = 
-                (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(COMMAND$0, i);
-            target.setStringValue(command);
-        }
-    }
-    
-    /**
-     * Appends the value as the last "command" element
-     */
-    public void addCommand(java.lang.String command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMMAND$0);
-            target.setStringValue(command);
-        }
-    }
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "command" element
-     */
-    public org.apache.xmlbeans.XmlString insertNewCommand(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(COMMAND$0, i);
-            return target;
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "command" element
-     */
-    public org.apache.xmlbeans.XmlString addNewCommand()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(COMMAND$0);
-            return target;
-        }
-    }
-    
-    /**
-     * Removes the ith "command" element
-     */
-    public void removeCommand(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(COMMAND$0, i);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/Factory.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/Factory.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/Factory.java
index 4aaf93b..a808ad3 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/Factory.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/Factory.java
@@ -196,21 +196,20 @@ public abstract class Factory {
 		}
 
 		switch (resourceJobManager.getResourceJobManagerType()) {
-
 			case PBS:
-				return new PBSJobConfiguration("PBSTemplate.xslt", ".pbs", resourceJobManager.getJobManagerBinPath(),
+				return new PBSJobConfiguration("PBS_Groovy.template", ".pbs", resourceJobManager.getJobManagerBinPath(),
 						resourceJobManager.getJobManagerCommands(), outputParser);
 			case SLURM:
-				return new SlurmJobConfiguration("SLURMTemplate.xslt", ".slurm", resourceJobManager
+				return new SlurmJobConfiguration("SLURM_Groovy.template", ".slurm", resourceJobManager
 						.getJobManagerBinPath(), resourceJobManager.getJobManagerCommands(), outputParser);
 			case LSF:
-				return new LSFJobConfiguration("LSFTemplate.xslt", ".lsf", resourceJobManager.getJobManagerBinPath(),
+				return new LSFJobConfiguration("LSF_Groovy.template", ".lsf", resourceJobManager.getJobManagerBinPath(),
 						resourceJobManager.getJobManagerCommands(), outputParser);
 			case UGE:
-				return new UGEJobConfiguration("UGETemplate.xslt", ".pbs", resourceJobManager.getJobManagerBinPath(),
+				return new UGEJobConfiguration("UGE_Groovy.template", ".pbs", resourceJobManager.getJobManagerBinPath(),
 						resourceJobManager.getJobManagerCommands(), outputParser);
             case FORK:
-                return new ForkJobConfiguration("ForkTemplate.xslt", ".sh", resourceJobManager.getJobManagerBinPath(),
+                return new ForkJobConfiguration("FORK_Groovy.template", ".sh", resourceJobManager.getJobManagerBinPath(),
                         resourceJobManager.getJobManagerCommands(), outputParser);
 			default:
 				return null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/ForkOutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/ForkOutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/ForkOutputParser.java
index b99db30..076bdba 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/ForkOutputParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/ForkOutputParser.java
@@ -22,7 +22,6 @@
 package org.apache.airavata.gfac.impl.job;
 
 import org.apache.airavata.common.utils.AiravataUtils;
-import org.apache.airavata.gfac.core.JobDescriptor;
 import org.apache.airavata.gfac.core.SSHApiException;
 import org.apache.airavata.gfac.core.cluster.OutputParser;
 import org.apache.airavata.model.status.JobStatus;
@@ -33,10 +32,6 @@ import java.util.Map;
 
 public class ForkOutputParser implements OutputParser {
     private static final Logger log = LoggerFactory.getLogger(ForkOutputParser.class);
-    @Override
-    public void parseSingleJob(JobDescriptor descriptor, String rawOutput) throws SSHApiException {
-        log.info(rawOutput);
-    }
 
     @Override
     public String parseJobSubmission(String rawOutput) throws SSHApiException {

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/LSFOutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/LSFOutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/LSFOutputParser.java
index bb0ae46..7c86ffc 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/LSFOutputParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/LSFOutputParser.java
@@ -20,9 +20,8 @@
 */
 package org.apache.airavata.gfac.impl.job;
 
-import org.apache.airavata.gfac.core.JobDescriptor;
-import org.apache.airavata.gfac.core.cluster.OutputParser;
 import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
 import org.apache.airavata.model.status.JobState;
 import org.apache.airavata.model.status.JobStatus;
 import org.slf4j.Logger;
@@ -39,13 +38,6 @@ public class LSFOutputParser implements OutputParser {
     private final static Logger logger = LoggerFactory.getLogger(LSFOutputParser.class);
 
     @Override
-    public void parseSingleJob(JobDescriptor jobDescriptor, String rawOutput) throws SSHApiException {
-        logger.debug(rawOutput);
-        //todo we need to implement this but we are not using it airavata runtime
-        // if someone is using the gsissh as a tool this will be useful to get a descriptive information about a single job
-    }
-
-    @Override
     public String parseJobSubmission(String rawOutput) throws SSHApiException {
         logger.debug(rawOutput);
         return rawOutput.substring(rawOutput.indexOf("<")+1,rawOutput.indexOf(">"));

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/PBSOutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/PBSOutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/PBSOutputParser.java
index 7f97a68..d7d52ee 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/PBSOutputParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/PBSOutputParser.java
@@ -20,10 +20,8 @@
 */
 package org.apache.airavata.gfac.impl.job;
 
-import org.apache.airavata.gfac.core.JobDescriptor;
-import org.apache.airavata.gfac.core.cluster.OutputParser;
 import org.apache.airavata.gfac.core.SSHApiException;
-import org.apache.airavata.model.status.JobState;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
 import org.apache.airavata.model.status.JobStatus;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -37,92 +35,6 @@ import java.util.regex.Pattern;
 public class PBSOutputParser implements OutputParser {
     private static final Logger log = LoggerFactory.getLogger(PBSOutputParser.class);
 
-    public void parseSingleJob(JobDescriptor jobDescriptor, String rawOutput) {
-        log.debug(rawOutput);
-        String[] info = rawOutput.split("\n");
-        String[] line;
-        for (int i = 0; i < info.length; i++) {
-            if (info[i].contains("=")) {
-                line = info[i].split("=", 2);
-            } else {
-                line = info[i].split(":", 2);
-            }
-            if (line.length >= 2) {
-                String header = line[0].trim();
-                log.debug("Header = " + header);
-                String value = line[1].trim();
-                log.debug("value = " + value);
-
-                if (header.equals("Variable_List")) {
-                    while (info[i + 1].startsWith("\t")) {
-                        value += info[i + 1];
-                        i++;
-                    }
-                    value = value.replaceAll("\t", "");
-                    jobDescriptor.setVariableList(value);
-                } else if ("Job Id".equals(header)) {
-                    jobDescriptor.setJobID(value);
-                } else if ("Job_Name".equals(header)) {
-                    jobDescriptor.setJobName(value);
-                } else if ("Account_Name".equals(header)) {
-                    jobDescriptor.setAcountString(value);
-                } else if ("job_state".equals(header)) {
-                    jobDescriptor.setStatus(value);
-                } else if ("Job_Owner".equals(header)) {
-                    jobDescriptor.setOwner(value);
-                } else if ("resources_used.cput".equals(header)) {
-                    jobDescriptor.setUsedCPUTime(value);
-                } else if ("resources_used.mem".equals(header)) {
-                    jobDescriptor.setUsedMemory(value);
-                } else if ("resources_used.walltime".equals(header)) {
-                    jobDescriptor.setEllapsedTime(value);
-                } else if ("job_state".equals(header)) {
-                    jobDescriptor.setStatus(value);
-                } else if ("queue".equals(header))
-                    jobDescriptor.setQueueName(value);
-                else if ("ctime".equals(header)) {
-                    jobDescriptor.setCTime(value);
-                } else if ("qtime".equals(header)) {
-                    jobDescriptor.setQTime(value);
-                } else if ("mtime".equals(header)) {
-                    jobDescriptor.setMTime(value);
-                } else if ("start_time".equals(header)) {
-                    jobDescriptor.setSTime(value);
-                } else if ("comp_time".equals(header)) {
-                    jobDescriptor.setCompTime(value);
-                } else if ("exec_host".equals(header)) {
-                    jobDescriptor.setExecuteNode(value);
-                } else if ("Output_Path".equals(header)) {
-                    if (info[i + 1].contains("=") || info[i + 1].contains(":"))
-                        jobDescriptor.setStandardOutFile(value);
-                    else {
-                        jobDescriptor.setStandardOutFile(value + info[i + 1].trim());
-                        i++;
-                    }
-                } else if ("Error_Path".equals(header)) {
-                    if (info[i + 1].contains("=") || info[i + 1].contains(":"))
-                        jobDescriptor.setStandardErrorFile(value);
-                    else {
-                        String st = info[i + 1].trim();
-                        jobDescriptor.setStandardErrorFile(value + st);
-                        i++;
-                    }
-
-                } else if ("submit_args".equals(header)) {
-                    while (i + 1 < info.length) {
-                        if (info[i + 1].startsWith("\t")) {
-                            value += info[i + 1];
-                            i++;
-                        } else
-                            break;
-                    }
-                    value = value.replaceAll("\t", "");
-                    jobDescriptor.setSubmitArgs(value);
-                }
-            }
-        }
-    }
-
     public String parseJobSubmission(String rawOutput) {
         log.debug(rawOutput);
         String jobId = rawOutput;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/SlurmOutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/SlurmOutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/SlurmOutputParser.java
index dff0a9b..e94afc5 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/SlurmOutputParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/SlurmOutputParser.java
@@ -20,9 +20,8 @@
 */
 package org.apache.airavata.gfac.impl.job;
 
-import org.apache.airavata.gfac.core.JobDescriptor;
-import org.apache.airavata.gfac.core.cluster.OutputParser;
 import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
 import org.apache.airavata.model.status.JobState;
 import org.apache.airavata.model.status.JobStatus;
 import org.slf4j.Logger;
@@ -40,64 +39,6 @@ public class SlurmOutputParser implements OutputParser {
     public static final String STATUS = "status";
 	public static final String JOBID = "jobId";
 
-    public void parseSingleJob(JobDescriptor descriptor, String rawOutput) throws SSHApiException {
-        log.info(rawOutput);
-        String[] info = rawOutput.split("\n");
-        String lastString = info[info.length - 1];
-        if (lastString.contains("JOB ID")) {
-            // because there's no state
-            descriptor.setStatus("U");
-        } else {
-            int column = 0;
-            System.out.println(lastString);
-            for (String each : lastString.split(" ")) {
-                if (each.trim().isEmpty()) {
-                    continue;
-                } else {
-                    switch (column) {
-                        case 0:
-                            descriptor.setJobID(each);
-                            column++;
-                            break;
-                        case 1:
-                            descriptor.setPartition(each);
-                            column++;
-                            break;
-                        case 2:
-                            descriptor.setJobName(each);
-                            column++;
-                            break;
-                        case 3:
-                            descriptor.setUserName(each);
-                            column++;
-                            break;
-                        case 4:
-                            descriptor.setStatus(each);
-                            column++;
-                            break;
-                        case 5:
-                            descriptor.setUsedCPUTime(each);
-                            column++;
-                            break;
-                        case 6:
-                            try {
-                                int nodes = Integer.parseInt(each);
-                                descriptor.setNodes(nodes);
-                            }catch (Exception e){
-                                log.error("Node count read from command output is not an integer !!!");
-                            }
-                            column++;
-                            break;
-                        case 7:
-                            descriptor.setNodeList(each);
-                            column++;
-                            break;
-                    }
-                }
-            }
-        }
-
-    }
 
     /**
      * This can be used to parseSingleJob the outpu of sbatch and extrac the jobID from the content

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/UGEOutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/UGEOutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/UGEOutputParser.java
index 1c39258..31a70db 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/UGEOutputParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/job/UGEOutputParser.java
@@ -20,9 +20,8 @@
 */
 package org.apache.airavata.gfac.impl.job;
 
-import org.apache.airavata.gfac.core.JobDescriptor;
-import org.apache.airavata.gfac.core.cluster.OutputParser;
 import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
 import org.apache.airavata.model.status.JobState;
 import org.apache.airavata.model.status.JobStatus;
 import org.slf4j.Logger;
@@ -38,92 +37,6 @@ public class UGEOutputParser implements OutputParser {
     private static final Logger log = LoggerFactory.getLogger(PBSOutputParser.class);
     public static final String JOB_ID = "jobId";
 
-    public void parseSingleJob(JobDescriptor jobDescriptor, String rawOutput) {
-        log.debug(rawOutput);
-        String[] info = rawOutput.split("\n");
-        String[] line;
-        for (int i = 0; i < info.length; i++) {
-            if (info[i].contains("=")) {
-                line = info[i].split("=", 2);
-            } else {
-                line = info[i].split(":", 2);
-            }
-            if (line.length >= 2) {
-                String header = line[0].trim();
-                log.debug("Header = " + header);
-                String value = line[1].trim();
-                log.debug("value = " + value);
-
-                if (header.equals("Variable_List")) {
-                    while (info[i + 1].startsWith("\t")) {
-                        value += info[i + 1];
-                        i++;
-                    }
-                    value = value.replaceAll("\t", "");
-                    jobDescriptor.setVariableList(value);
-                } else if ("Job Id".equals(header)) {
-                    jobDescriptor.setJobID(value);
-                } else if ("Job_Name".equals(header)) {
-                    jobDescriptor.setJobName(value);
-                } else if ("Account_Name".equals(header)) {
-                    jobDescriptor.setAcountString(value);
-                } else if ("job_state".equals(header)) {
-                    jobDescriptor.setStatus(value);
-                } else if ("Job_Owner".equals(header)) {
-                    jobDescriptor.setOwner(value);
-                } else if ("resources_used.cput".equals(header)) {
-                    jobDescriptor.setUsedCPUTime(value);
-                } else if ("resources_used.mem".equals(header)) {
-                    jobDescriptor.setUsedMemory(value);
-                } else if ("resources_used.walltime".equals(header)) {
-                    jobDescriptor.setEllapsedTime(value);
-                } else if ("job_state".equals(header)) {
-                    jobDescriptor.setStatus(value);
-                } else if ("queue".equals(header))
-                    jobDescriptor.setQueueName(value);
-                else if ("ctime".equals(header)) {
-                    jobDescriptor.setCTime(value);
-                } else if ("qtime".equals(header)) {
-                    jobDescriptor.setQTime(value);
-                } else if ("mtime".equals(header)) {
-                    jobDescriptor.setMTime(value);
-                } else if ("start_time".equals(header)) {
-                    jobDescriptor.setSTime(value);
-                } else if ("comp_time".equals(header)) {
-                    jobDescriptor.setCompTime(value);
-                } else if ("exec_host".equals(header)) {
-                    jobDescriptor.setExecuteNode(value);
-                } else if ("Output_Path".equals(header)) {
-                    if (info[i + 1].contains("=") || info[i + 1].contains(":"))
-                        jobDescriptor.setStandardOutFile(value);
-                    else {
-                        jobDescriptor.setStandardOutFile(value + info[i + 1].trim());
-                        i++;
-                    }
-                } else if ("Error_Path".equals(header)) {
-                    if (info[i + 1].contains("=") || info[i + 1].contains(":"))
-                        jobDescriptor.setStandardErrorFile(value);
-                    else {
-                        String st = info[i + 1].trim();
-                        jobDescriptor.setStandardErrorFile(value + st);
-                        i++;
-                    }
-
-                } else if ("submit_args".equals(header)) {
-                    while (i + 1 < info.length) {
-                        if (info[i + 1].startsWith("\t")) {
-                            value += info[i + 1];
-                            i++;
-                        } else
-                            break;
-                    }
-                    value = value.replaceAll("\t", "");
-                    jobDescriptor.setSubmitArgs(value);
-                }
-            }
-        }
-    }
-
 	public String parseJobSubmission(String rawOutput) {
 		log.debug(rawOutput);
 		if (rawOutput != null && !rawOutput.isEmpty() && !isJobSubmissionFailed(rawOutput)) {

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/DefaultJobSubmissionTask.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/DefaultJobSubmissionTask.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/DefaultJobSubmissionTask.java
index a131ef5..cabb77f 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/DefaultJobSubmissionTask.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/DefaultJobSubmissionTask.java
@@ -72,15 +72,15 @@ public class DefaultJobSubmissionTask implements JobSubmissionTask {
 		    JobModel jobModel = processContext.getJobModel();
 		    jobModel.setTaskId(taskContext.getTaskId());
 		    RemoteCluster remoteCluster = processContext.getJobSubmissionRemoteCluster();
-		    JobDescriptor jobDescriptor = GFacUtils.createJobDescriptor(processContext,taskContext);
-		    jobModel.setJobName(jobDescriptor.getJobName());
-		    ResourceJobManager resourceJobManager = GFacUtils.getResourceJobManager(processContext);
+		    GroovyMap groovyMap = GFacUtils.creatGroovyMap(processContext,taskContext);
+			jobModel.setJobName(groovyMap.get(Script.JOB_NAME).toString());
+			ResourceJobManager resourceJobManager = GFacUtils.getResourceJobManager(processContext);
 		    JobManagerConfiguration jConfig = null;
 		    if (resourceJobManager != null) {
 			    jConfig = Factory.getJobManagerConfiguration(resourceJobManager);
 		    }
 		    JobStatus jobStatus = new JobStatus();
-		    File jobFile = GFacUtils.createJobFile(taskContext, jobDescriptor, jConfig);
+		    File jobFile = GFacUtils.createJobFile(groovyMap, taskContext, jConfig);
 		    if (jobFile != null && jobFile.exists()) {
 			    jobModel.setJobDescription(FileUtils.readFileToString(jobFile));
 			    JobSubmissionOutput jobSubmissionOutput = remoteCluster.submitBatchJob(jobFile.getPath(),

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ForkJobSubmissionTask.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ForkJobSubmissionTask.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ForkJobSubmissionTask.java
index b57b68d..e231cb9 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ForkJobSubmissionTask.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ForkJobSubmissionTask.java
@@ -64,15 +64,15 @@ public class ForkJobSubmissionTask implements JobSubmissionTask {
             JobModel jobModel = processContext.getJobModel();
             jobModel.setTaskId(taskContext.getTaskId());
             RemoteCluster remoteCluster = processContext.getJobSubmissionRemoteCluster();
-            JobDescriptor jobDescriptor = GFacUtils.createJobDescriptor(processContext, taskContext);
-            jobModel.setJobName(jobDescriptor.getJobName());
+            GroovyMap groovyMap = GFacUtils.creatGroovyMap(processContext, taskContext);
+            jobModel.setJobName(groovyMap.get(Script.JOB_NAME).toString());
             ResourceJobManager resourceJobManager = GFacUtils.getResourceJobManager(processContext);
             JobManagerConfiguration jConfig = null;
             if (resourceJobManager != null) {
                 jConfig = Factory.getJobManagerConfiguration(resourceJobManager);
             }
             JobStatus jobStatus = new JobStatus();
-	        File jobFile = GFacUtils.createJobFile(taskContext, jobDescriptor, jConfig);
+	        File jobFile = GFacUtils.createJobFile(groovyMap, taskContext, jConfig);
 	        if (jobFile != null && jobFile.exists()) {
                 jobModel.setJobDescription(FileUtils.readFileToString(jobFile));
 	            JobSubmissionOutput jobSubmissionOutput = remoteCluster.submitBatchJob(jobFile.getPath(),

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/interpretor/WorkflowInterpreter.java
----------------------------------------------------------------------
diff --git a/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/interpretor/WorkflowInterpreter.java b/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/interpretor/WorkflowInterpreter.java
index d37d322..eaa446e 100644
--- a/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/interpretor/WorkflowInterpreter.java
+++ b/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/interpretor/WorkflowInterpreter.java
@@ -36,7 +36,6 @@ import org.apache.airavata.model.messaging.event.*;
 import org.apache.airavata.model.process.ProcessModel;
 import org.apache.airavata.model.status.ExperimentState;
 import org.apache.airavata.model.status.ProcessState;
-import org.apache.airavata.model.status.ProcessStatus;
 import org.apache.airavata.model.util.ExperimentModelUtil;
 import org.apache.airavata.model.experiment.*;
 import org.apache.airavata.orchestrator.cpi.OrchestratorService;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/invoker/MsgBoxWsaResponsesCorrelator.java
----------------------------------------------------------------------
diff --git a/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/invoker/MsgBoxWsaResponsesCorrelator.java b/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/invoker/MsgBoxWsaResponsesCorrelator.java
index cab3462..7705ffc 100644
--- a/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/invoker/MsgBoxWsaResponsesCorrelator.java
+++ b/modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/invoker/MsgBoxWsaResponsesCorrelator.java
@@ -20,7 +20,7 @@
 //*/
 //package org.apache.airavata.workflow.engine.invoker;
 //
-//import org.apache.airavata.common.utils.XMLUtil;
+//import org.apache.airavata.workflow.core.XMLUtil;
 //import org.apache.airavata.wsmg.msgbox.client.MsgBoxClient;
 //import org.apache.axiom.om.OMElement;
 //import org.apache.axis2.addressing.EndpointReference;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java
----------------------------------------------------------------------
diff --git a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java
index 22d5ded..fedf248 100644
--- a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java
+++ b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java
@@ -38,7 +38,6 @@ import javax.xml.bind.annotation.XmlType;
 import com.google.gson.JsonArray;
 import com.google.gson.JsonElement;
 import com.google.gson.JsonObject;
-import org.apache.airavata.common.utils.WSConstants;
 import org.apache.airavata.common.utils.XMLUtil;
 import org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription;
 import org.apache.airavata.model.application.io.DataType;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/BPELScript.java
----------------------------------------------------------------------
diff --git a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/BPELScript.java b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/BPELScript.java
index 9063207..8cc8f21 100644
--- a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/BPELScript.java
+++ b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/BPELScript.java
@@ -28,8 +28,6 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Set;
 
-import org.apache.airavata.common.utils.StringUtil;
-import org.apache.airavata.common.utils.WSConstants;
 import org.apache.airavata.common.utils.XMLUtil;
 import org.apache.airavata.workflow.model.component.ComponentPort;
 import org.apache.airavata.workflow.model.component.ws.WSComponent;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/WorkflowWSDL.java
----------------------------------------------------------------------
diff --git a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/WorkflowWSDL.java b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/WorkflowWSDL.java
index 7f6ea22..010761d 100644
--- a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/WorkflowWSDL.java
+++ b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/gpel/script/WorkflowWSDL.java
@@ -26,7 +26,6 @@ import java.util.List;
 import javax.xml.namespace.QName;
 
 import org.apache.airavata.common.exception.AiravataException;
-import org.apache.airavata.workflow.model.exceptions.UtilsException;
 import org.apache.airavata.common.utils.WSConstants;
 import org.apache.airavata.common.utils.XMLUtil;
 import org.apache.airavata.workflow.model.component.ws.WSComponentPort;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/wf/Workflow.java
----------------------------------------------------------------------
diff --git a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/wf/Workflow.java b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/wf/Workflow.java
index 5a87a97..3dc8daa 100644
--- a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/wf/Workflow.java
+++ b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/wf/Workflow.java
@@ -38,7 +38,6 @@ import javax.xml.namespace.QName;
 import com.google.gson.JsonObject;
 import com.google.gson.JsonPrimitive;
 import org.apache.airavata.common.exception.AiravataException;
-import org.apache.airavata.workflow.model.exceptions.UtilsException;
 import org.apache.airavata.common.utils.JSONUtil;
 import org.apache.airavata.common.utils.XMLUtil;
 import org.apache.airavata.workflow.model.component.Component;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow/workflow-core/pom.xml
----------------------------------------------------------------------
diff --git a/modules/workflow/workflow-core/pom.xml b/modules/workflow/workflow-core/pom.xml
index 63e8230..a386824 100644
--- a/modules/workflow/workflow-core/pom.xml
+++ b/modules/workflow/workflow-core/pom.xml
@@ -63,7 +63,16 @@
             <artifactId>guava</artifactId>
             <version>18.0</version>
         </dependency>
-
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xercesImpl</artifactId>
+            <version>2.9.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.xmlbeans</groupId>
+            <artifactId>xmlbeans</artifactId>
+            <version>${xmlbeans.version}</version>
+        </dependency>
         <!--test-->
         <dependency>
             <groupId>junit</groupId>

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow/workflow-core/src/main/java/org/apache/airavata/workflow/core/XMLUtil.java
----------------------------------------------------------------------
diff --git a/modules/workflow/workflow-core/src/main/java/org/apache/airavata/workflow/core/XMLUtil.java b/modules/workflow/workflow-core/src/main/java/org/apache/airavata/workflow/core/XMLUtil.java
new file mode 100644
index 0000000..90562da
--- /dev/null
+++ b/modules/workflow/workflow-core/src/main/java/org/apache/airavata/workflow/core/XMLUtil.java
@@ -0,0 +1,587 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.airavata.workflow.core;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.StringReader;
+import java.io.StringWriter;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.apache.airavata.common.exception.AiravataException;
+import org.apache.airavata.common.utils.IOUtil;
+import org.apache.xmlbeans.XmlError;
+import org.apache.xmlbeans.XmlObject;
+import org.apache.xmlbeans.XmlOptions;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Text;
+import org.xml.sax.SAXException;
+import org.xmlpull.infoset.XmlDocument;
+import org.xmlpull.infoset.XmlElement;
+import org.xmlpull.infoset.XmlNamespace;
+import org.xmlpull.mxp1.MXParserFactory;
+import org.xmlpull.mxp1_serializer.MXSerializer;
+
+public class XMLUtil {
+
+    /**
+     * The XML builder for XPP5
+     */
+    public static final org.xmlpull.infoset.XmlInfosetBuilder BUILDER = org.xmlpull.infoset.XmlInfosetBuilder
+            .newInstance();
+
+    /**
+     * The XML builder for XPP3.
+     */
+    public static final org.xmlpull.v1.builder.XmlInfosetBuilder BUILDER3 = org.xmlpull.v1.builder.XmlInfosetBuilder
+            .newInstance(new MXParserFactory());
+
+    private static final Logger logger = LoggerFactory.getLogger(XMLUtil.class);
+
+    private final static String PROPERTY_SERIALIZER_INDENTATION = "http://xmlpull.org/v1/doc/properties.html#serializer-indentation";
+
+    private final static String INDENT = "    ";
+
+    /**
+     * Parses a specified string and returns the XmlElement (XPP3).
+     * 
+     * @param string
+     * @return The XmlElement (XPP3) parsed.
+     */
+    public static org.xmlpull.v1.builder.XmlElement stringToXmlElement3(String string) {
+        return BUILDER3.parseFragmentFromReader(new StringReader(string));
+    }
+
+    /**
+     * Parses a specified string and returns the XmlElement (XPP5).
+     * 
+     * @param string
+     * @return The XmlElement (XPP5) parsed.
+     */
+    public static org.xmlpull.infoset.XmlElement stringToXmlElement(String string) {
+        XmlDocument document = BUILDER.parseString(string);
+        org.xmlpull.infoset.XmlElement element = document.getDocumentElement();
+        return element;
+    }
+
+    /**
+     * Converts a specified XmlElement (XPP3) to the XmlElement (XPP5).
+     * 
+     * @param element
+     * @return The XmlElement (XPP5) converted.
+     */
+    public static org.xmlpull.infoset.XmlElement xmlElement3ToXmlElement5(org.xmlpull.v1.builder.XmlElement element) {
+        String string = xmlElementToString(element);
+        return stringToXmlElement(string);
+    }
+
+    /**
+     * Converts a specified XmlElement (XPP5) to the XmlElement (XPP3).
+     * 
+     * @param element
+     * @return The XmlElement (XPP3) converted.
+     */
+    public static org.xmlpull.v1.builder.XmlElement xmlElement5ToXmlElement3(org.xmlpull.infoset.XmlElement element) {
+        String string = xmlElementToString(element);
+        return stringToXmlElement3(string);
+    }
+
+    /**
+     * Returns the XML string of a specified XmlElement.
+     * 
+     * @param element
+     *            The specified XmlElement
+     * @return The XML string
+     */
+    public static String xmlElementToString(org.xmlpull.v1.builder.XmlElement element) {
+        MXSerializer serializer = new MXSerializer();
+        StringWriter writer = new StringWriter();
+        serializer.setOutput(writer);
+        serializer.setProperty(PROPERTY_SERIALIZER_INDENTATION, INDENT);
+        BUILDER3.serialize(element, serializer);
+        String xmlText = writer.toString();
+        return xmlText;
+    }
+
+    /**
+     * Returns the XML string as a specified XmlElement (XPP5).
+     * 
+     * @param element
+     *            The specified XmlElement
+     * @return The XML string
+     */
+    public static String xmlElementToString(org.xmlpull.infoset.XmlElement element) {
+        String string;
+        if (element == null) {
+            string = "";
+        } else {
+            string = BUILDER.serializeToStringPretty(element);
+        }
+        return string;
+    }
+
+    /**
+     * Converts a specified XPP5 XML element to a DOM element under a specified document.
+     * 
+     * @param xppElement
+     * @param document
+     * @return The converted DOM element.
+     */
+    public static Element xppElementToDomElement(org.xmlpull.infoset.XmlElement xppElement, Document document) {
+        Element domElement = document.createElement(xppElement.getName());
+
+        for (org.xmlpull.infoset.XmlNamespace namespace : xppElement.namespaces()) {
+            logger.debug("namespace: " + namespace);
+        }
+
+        for (org.xmlpull.infoset.XmlAttribute attribute : xppElement.attributes()) {
+            domElement.setAttribute(attribute.getName(), attribute.getValue());
+        }
+
+        for (Object object : xppElement.children()) {
+            if (object instanceof org.xmlpull.infoset.XmlElement) {
+                domElement.appendChild(xppElementToDomElement((org.xmlpull.infoset.XmlElement) object, document));
+            } else if (object instanceof String) {
+                Text text = document.createTextNode((String) object);
+                domElement.appendChild(text);
+            } else {
+                logger.debug("object.getClass(): " + object.getClass());
+            }
+        }
+        return domElement;
+    }
+
+//    /**
+//     * @param definitions3
+//     * @return The WsdlDefinitions (XSUL5)
+//     */
+//    @Deprecated
+//    public static xsul5.wsdl.WsdlDefinitions wsdlDefinitions3ToWsdlDefintions5(xsul.wsdl.WsdlDefinitions definitions3) {
+//        return WSDLUtil.wsdlDefinitions3ToWsdlDefintions5(definitions3);
+//    }
+//
+//    /**
+//     * @param definitions5
+//     * @return The WsdlDefinitions (XSUL3)
+//     */
+//    @Deprecated
+//    public static xsul.wsdl.WsdlDefinitions wsdlDefinitions5ToWsdlDefintions3(xsul5.wsdl.WsdlDefinitions definitions5) {
+//        return WSDLUtil.wsdlDefinitions5ToWsdlDefintions3(definitions5);
+//    }
+
+    /**
+     * Converts a specified XPP3 XML element to a DOM element under a specified document.
+     * 
+     * @param xppElement
+     * @param document
+     * @return The converted DOM element.
+     */
+    public static Element xppElementToDomElement(org.xmlpull.v1.builder.XmlElement xppElement, Document document) {
+        Element domElement = document.createElement(xppElement.getName());
+
+        Iterator nsIt = xppElement.namespaces();
+        while (nsIt.hasNext()) {
+            org.xmlpull.v1.builder.XmlNamespace namespace = (org.xmlpull.v1.builder.XmlNamespace) nsIt.next();
+            logger.debug("namespace: " + namespace);
+            // TODO
+        }
+
+        Iterator attrIt = xppElement.attributes();
+        while (attrIt.hasNext()) {
+            org.xmlpull.v1.builder.XmlAttribute attribute = (org.xmlpull.v1.builder.XmlAttribute) attrIt.next();
+            // TODO namespace
+            domElement.setAttribute(attribute.getName(), attribute.getValue());
+        }
+
+        Iterator elementIt = xppElement.children();
+        while (elementIt.hasNext()) {
+            Object object = elementIt.next();
+            if (object instanceof org.xmlpull.v1.builder.XmlElement) {
+                domElement.appendChild(xppElementToDomElement((org.xmlpull.v1.builder.XmlElement) object, document));
+            } else if (object instanceof String) {
+                Text text = document.createTextNode((String) object);
+                domElement.appendChild(text);
+            } else {
+                logger.debug("object.getClass(): " + object.getClass());
+            }
+        }
+        return domElement;
+    }
+
+    /**
+     * @param element
+     * @return The cloned XmlElement.
+     */
+    public static org.xmlpull.infoset.XmlElement deepClone(org.xmlpull.infoset.XmlElement element)
+            throws AiravataException {
+        try {
+            XmlElement clonedElement = element.clone();
+            clonedElement.setParent(null);
+            return clonedElement;
+        } catch (CloneNotSupportedException e) {
+            // This should not happen because we don't put any special Objects.
+            throw new AiravataException(e.getMessage(), e);
+        }
+    }
+
+    /**
+     * Saves a specified XmlElement to a specified file.
+     * 
+     * @param element
+     * @param file
+     * @throws IOException
+     */
+    public static void saveXML(org.xmlpull.infoset.XmlElement element, File file) throws IOException {
+        XmlDocument document = BUILDER.newDocument();
+        document.setDocumentElement(element);
+        String xmlText = BUILDER.serializeToStringPretty(document);
+        IOUtil.writeToFile(xmlText, file);
+    }
+
+    /**
+     * Saves a specified XmlElement to a specified file.
+     * 
+     * @param element
+     * @param file
+     * @throws IOException
+     */
+    public static void saveXML(org.xmlpull.v1.builder.XmlElement element, File file) throws IOException {
+        saveXML(xmlElement3ToXmlElement5(element), file);
+    }
+
+    /**
+     * @param file
+     * @return The XmlElement in the document.
+     * @throws IOException
+     */
+    public static org.xmlpull.infoset.XmlElement loadXML(InputStream stream) throws IOException {
+        String xmlText = IOUtil.readToString(stream);
+        XmlDocument document = BUILDER.parseString(xmlText);
+        return document.getDocumentElement();
+    }
+    
+    /**
+     * @param file
+     * @return The XmlElement in the document.
+     * @throws IOException
+     */
+    public static org.xmlpull.infoset.XmlElement loadXML(File file) throws IOException {
+        return loadXML(new FileInputStream(file));
+    }
+
+    /**
+     * @param string
+     * @return true if the specified string is XML, false otherwise
+     */
+    public static boolean isXML(String string) {
+        try {
+            stringToXmlElement(string);
+            return true;
+        } catch (RuntimeException e) {
+            return false;
+        }
+    }
+
+    /**
+     * Validates a specified XmlObject along with logging errors if any.
+     * 
+     * @param xmlObject
+     */
+    public static void validate(XmlObject xmlObject) throws AiravataException {
+        XmlOptions validateOptions = new XmlOptions();
+        ArrayList errorList = new ArrayList();
+        validateOptions.setErrorListener(errorList);
+
+        boolean isValid = xmlObject.validate(validateOptions);
+        if (isValid) {
+            // Valid
+            return;
+        }
+
+        // Error
+        StringBuilder stringBuilder = new StringBuilder();
+        for (int i = 0; i < errorList.size(); i++) {
+            XmlError error = (XmlError) errorList.get(i);
+            logger.warn("Message: " + error.getMessage());
+            logger.warn("Location of invalid XML: " + error.getCursorLocation().xmlText());
+            stringBuilder.append("Message:" + error.getMessage());
+            stringBuilder.append("Location of invalid XML: " + error.getCursorLocation().xmlText());
+        }
+        throw new AiravataException(stringBuilder.toString());
+    }
+
+    /**
+     * Returns the local part of a specified QName.
+     * 
+     * @param qname
+     *            the specified QName in string, e.g. ns:value
+     * @return the local part of the QName, e.g. value
+     */
+    public static String getLocalPartOfQName(String qname) {
+        int index = qname.indexOf(':');
+        if (index < 0) {
+            return qname;
+        } else {
+            return qname.substring(index + 1);
+        }
+    }
+
+    /**
+     * Returns the prefix of a specified QName.
+     * 
+     * @param qname
+     *            the specified QName in string, e.g. ns:value
+     * @return the prefix of the QName, e.g. ns
+     */
+    public static String getPrefixOfQName(String qname) {
+        int index = qname.indexOf(':');
+        if (index < 0) {
+            return null;
+        } else {
+            return qname.substring(0, index);
+        }
+    }
+
+    /**
+     * @param prefixCandidate
+     * @param uri
+     * @param alwaysUseSuffix
+     * @param element
+     * @return The namespace found or declared.
+     */
+    public static XmlNamespace declareNamespaceIfNecessary(String prefixCandidate, String uri, boolean alwaysUseSuffix,
+            XmlElement element) {
+        XmlNamespace namespace = element.lookupNamespaceByName(uri);
+        if (namespace == null) {
+            return declareNamespace(prefixCandidate, uri, alwaysUseSuffix, element);
+        } else {
+            return namespace;
+        }
+    }
+
+    /**
+     * @param prefixCandidate
+     * @param uri
+     * @param alwaysUseSuffix
+     * @param element
+     * @return The namespace declared.
+     */
+    public static XmlNamespace declareNamespace(String prefixCandidate, String uri, boolean alwaysUseSuffix,
+            XmlElement element) {
+        if (prefixCandidate == null || prefixCandidate.length() == 0) {
+            prefixCandidate = "a";
+        }
+        String prefix = prefixCandidate;
+        if (alwaysUseSuffix) {
+            prefix += "0";
+        }
+        if (element.lookupNamespaceByPrefix(prefix) != null) {
+            int i = 1;
+            prefix = prefixCandidate + i;
+            while (element.lookupNamespaceByPrefix(prefix) != null) {
+                i++;
+            }
+        }
+        XmlNamespace namespace = element.declareNamespace(prefix, uri);
+        return namespace;
+    }
+
+    /**
+     * 
+     * @param xml
+     * @param name
+     */
+    public static void removeElements(XmlElement xml, String name) {
+
+        Iterable<XmlElement> removeElements = xml.elements(null, name);
+        LinkedList<XmlElement> removeList = new LinkedList<XmlElement>();
+        for (XmlElement xmlElement : removeElements) {
+            removeList.add(xmlElement);
+        }
+        for (XmlElement xmlElement : removeList) {
+            xml.removeChild(xmlElement);
+        }
+        Iterable children = xml.children();
+        for (Object object : children) {
+            if (object instanceof XmlElement) {
+                XmlElement element = (XmlElement) object;
+                removeElements(element, name);
+            }
+        }
+    }
+
+    /**
+     * @param url
+     * @return Document
+     */
+    public static Document retrievalXMLDocFromUrl(String url) {
+        try {
+            URL xmlUrl = new URL(url);
+            InputStream in = xmlUrl.openStream();
+            Document ret = null;
+            DocumentBuilderFactory domFactory;
+            DocumentBuilder builder;
+
+            domFactory = DocumentBuilderFactory.newInstance();
+            domFactory.setValidating(false);
+            domFactory.setNamespaceAware(false);
+            builder = domFactory.newDocumentBuilder();
+
+            ret = builder.parse(in);
+
+            return ret;
+        } catch (MalformedURLException e) {
+            logger.error(e.getMessage(), e);
+        } catch (IOException e) {
+            logger.error(e.getMessage(), e);
+        } catch (ParserConfigurationException e) {
+            logger.error(e.getMessage(), e);
+        } catch (SAXException e) {
+            logger.error(e.getMessage(), e);
+        }
+
+        return null;
+    }
+
+    /**
+     * @param url
+     * @return Document
+     */
+    public static Document retrievalXMLDocForParse(String url) {
+        try {
+            URL xmlUrl = new URL(url);
+            InputStream in = xmlUrl.openStream();
+            DocumentBuilderFactory xmlFact = DocumentBuilderFactory.newInstance();
+            xmlFact.setNamespaceAware(true);
+            DocumentBuilder builder = xmlFact.newDocumentBuilder();
+            Document doc = builder.parse(in);
+
+            return doc;
+        } catch (MalformedURLException e) {
+            logger.error("Malformed URL", e);
+        } catch (IOException e) {
+            logger.error(e.getMessage(), e);
+        } catch (ParserConfigurationException e) {
+            logger.error(e.getMessage(), e);
+        } catch (SAXException e) {
+            logger.error(e.getMessage(), e);
+        }
+
+        return null;
+    }
+
+    public static boolean isEqual(XmlElement elem1, XmlElement elem2) throws Exception {
+
+            if (elem1 == null && elem2 == null) {
+                return true;
+            } else if (elem1 == null) {
+                return false;
+            } else if (elem2 == null) {
+                return false;
+            }
+
+            if (!elem1.getName().equals(elem2.getName())) {
+                return false;
+            } else {
+                // now check if children are the same
+                Iterator children1 = elem1.children().iterator();
+                Iterator children2 = elem2.children().iterator();
+
+                //check first ones for string
+                Object child1 = null;
+                Object child2 = null;
+                if (children1.hasNext() && children2.hasNext()) {
+                    child1 = children1.next();
+                    child2 = children2.next();
+
+                    if (!children1.hasNext() && !children2.hasNext()) {
+                        //only one node could be string could be xmlelement
+                        return compareObjs(child1, child2);
+                    } else {
+                          //get new iterators
+
+                        List<XmlElement> elemSet1 = getXmlElementsOnly(elem1.children().iterator());
+                        List<XmlElement> elemSet2 = getXmlElementsOnly(elem2.children().iterator());
+
+                        if(elemSet1.size() != elemSet2.size()){
+                            return false;
+                        }
+                        for(int i =0; i< elemSet1.size(); ++i){
+                            if(!isEqual(elemSet1.get(i), elemSet2.get(i))){
+                                return false;
+                            }
+                        }
+                        return true;
+                    }
+
+
+                }else {
+                    //no internal element
+
+                    return true;
+                }
+            }
+
+
+        }
+
+
+
+        private static List<XmlElement> getXmlElementsOnly(Iterator itr){
+            LinkedList<XmlElement> list = new LinkedList<XmlElement>();
+            while(itr.hasNext()){
+                Object obj = itr.next();
+                if(obj instanceof XmlElement){
+                    list.add((XmlElement) obj);
+                }
+            }
+            return  list;
+        }
+
+
+
+        private static boolean compareObjs(Object child1, Object child2) throws Exception {
+            if (child1 instanceof String && child2 instanceof String) {
+                return child1.equals(child2);
+
+
+            } else if (child1 instanceof XmlElement && child2 instanceof XmlElement) {
+                return isEqual((XmlElement) child1, (XmlElement) child2);
+            } else {
+                return false;
+            }
+        }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow/workflow-core/src/main/java/org/apache/airavata/workflow/core/XmlFormatter.java
----------------------------------------------------------------------
diff --git a/modules/workflow/workflow-core/src/main/java/org/apache/airavata/workflow/core/XmlFormatter.java b/modules/workflow/workflow-core/src/main/java/org/apache/airavata/workflow/core/XmlFormatter.java
new file mode 100644
index 0000000..d23e9b4
--- /dev/null
+++ b/modules/workflow/workflow-core/src/main/java/org/apache/airavata/workflow/core/XmlFormatter.java
@@ -0,0 +1,82 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.airavata.workflow.core;
+
+import java.io.IOException;
+import java.io.StringReader;
+import java.io.StringWriter;
+import java.io.Writer;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.apache.xml.serialize.OutputFormat;
+import org.apache.xml.serialize.XMLSerializer;
+import org.w3c.dom.Document;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+/**
+ * Pretty-prints xml, supplied as a string.
+ * <p/>
+ * eg. <code>
+ * String formattedXml = new XmlFormatter().format("<tag><nested>hello</nested></tag>");
+ * </code>
+ */
+public class XmlFormatter {
+
+    /**
+     * @param unformattedXml
+     * @return formattedXml
+     */
+    public static String format(String unformattedXml) {
+        try {
+            final Document document = parseXmlFile(unformattedXml);
+            OutputFormat format = new OutputFormat(document);
+            format.setLineWidth(65);
+            format.setIndenting(true);
+            format.setIndent(2);
+            Writer out = new StringWriter();
+            XMLSerializer serializer = new XMLSerializer(out, format);
+            serializer.serialize(document);
+            return out.toString();
+        } catch (IOException e) {
+            throw new RuntimeException(e);
+        }
+    }
+
+    private static Document parseXmlFile(String in) {
+        try {
+            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+            DocumentBuilder db = dbf.newDocumentBuilder();
+            InputSource is = new InputSource(new StringReader(in));
+            return db.parse(is);
+        } catch (ParserConfigurationException e) {
+            throw new RuntimeException(e);
+        } catch (SAXException e) {
+            throw new RuntimeException(e);
+        } catch (IOException e) {
+            throw new RuntimeException(e);
+        }
+    }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/workflow/workflow-core/src/test/java/org/apache/airavata/workflow/core/XMLUtilTest.java
----------------------------------------------------------------------
diff --git a/modules/workflow/workflow-core/src/test/java/org/apache/airavata/workflow/core/XMLUtilTest.java b/modules/workflow/workflow-core/src/test/java/org/apache/airavata/workflow/core/XMLUtilTest.java
new file mode 100644
index 0000000..c1ad0b7
--- /dev/null
+++ b/modules/workflow/workflow-core/src/test/java/org/apache/airavata/workflow/core/XMLUtilTest.java
@@ -0,0 +1,56 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+package org.apache.airavata.workflow.core;
+
+import org.junit.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+public class XMLUtilTest {
+    private final static Logger logger = LoggerFactory.getLogger(XMLUtilTest.class);
+
+    @Test
+    public void isXMLTest(){
+        String xml = "<test>testing</test>";
+        org.junit.Assert.assertTrue(XMLUtil.isXML(xml));
+        org.junit.Assert.assertFalse(XMLUtil.isXML("NonXMLString"));
+    }
+
+    @Test
+    public void isEqualTest(){
+        String xml1 = "<test><inner>innerValue</inner></test>";
+        String xml2 = "<test><inner>innerValue</inner></test>";
+        String xml3 = "<test1><inner>innerValue</inner></test1>";
+        try {
+            org.junit.Assert.assertTrue(XMLUtil.isEqual(XMLUtil.stringToXmlElement(xml1), XMLUtil.stringToXmlElement(xml2)));
+            org.junit.Assert.assertFalse(XMLUtil.isEqual(XMLUtil.stringToXmlElement(xml1), XMLUtil.stringToXmlElement(xml3)));
+        } catch (Exception e) {
+            logger.error(e.getMessage(), e);
+        }
+    }
+    @Test
+    public void getQNameTest(){
+        String qname = "ns1:a";
+        org.junit.Assert.assertEquals("a",XMLUtil.getLocalPartOfQName(qname));
+        org.junit.Assert.assertEquals("ns1",XMLUtil.getPrefixOfQName(qname));
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a65df09..7f7bca6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,7 +76,9 @@
 		<surefire.version>2.18.1</surefire.version>
 		<junit.version>4.12</junit.version>
 		<curator.version>2.8.0</curator.version>
+<!--remove xmlbeans version -->
 		<xmlbeans.version>2.5.0</xmlbeans.version>
+		<groovy.version>2.4.7</groovy.version>
 		<xpp3.version>1.1.6</xpp3.version>
 		<xpp5.version>1.2.8</xpp5.version>
 		<xsul.version>2.10.7</xsul.version>


[5/6] airavata git commit: Replaced xslt templates with groovy templates, fixed AIRAVATA-2124

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/JobDescriptor.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/JobDescriptor.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/JobDescriptor.java
deleted file mode 100644
index f1f72df..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/JobDescriptor.java
+++ /dev/null
@@ -1,489 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.airavata.gfac.core;
-
-import org.apache.airavata.gfac.core.cluster.CommandOutput;
-import org.apache.airavata.gfac.core.x2012.x12.AfterAnyList;
-import org.apache.airavata.gfac.core.x2012.x12.AfterOKList;
-import org.apache.airavata.gfac.core.x2012.x12.InputList;
-import org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument;
-import org.apache.xmlbeans.XmlException;
-
-import java.util.List;
-
-/**
- * This class define a job with required parameters, based on this configuration API is generating a Pbs script and
- * submit the job to the computing resource
- */
-public class JobDescriptor {
-
-    private JobDescriptorDocument jobDescriptionDocument;
-
-
-    public JobDescriptor() {
-        jobDescriptionDocument = JobDescriptorDocument.Factory.newInstance();
-        jobDescriptionDocument.addNewJobDescriptor();
-    }
-
-    public JobDescriptor(JobDescriptorDocument jobDescriptorDocument) {
-        this.jobDescriptionDocument = jobDescriptorDocument;
-    }
-
-
-    public JobDescriptor(CommandOutput commandOutput) {
-        jobDescriptionDocument = JobDescriptorDocument.Factory.newInstance();
-        jobDescriptionDocument.addNewJobDescriptor();
-    }
-
-
-    public String toXML() {
-        return jobDescriptionDocument.xmlText();
-    }
-
-    public JobDescriptorDocument getJobDescriptorDocument() {
-        return this.jobDescriptionDocument;
-    }
-
-    /**
-     * With new app catalog thrift object integration, we don't use this
-     * @param xml
-     * @return
-     * @throws XmlException
-     */
-    @Deprecated
-    public static JobDescriptor fromXML(String xml)
-            throws XmlException {
-        JobDescriptorDocument parse = JobDescriptorDocument.Factory
-                .parse(xml);
-        JobDescriptor jobDescriptor = new JobDescriptor(parse);
-        return jobDescriptor;
-    }
-
-
-    //todo write bunch of setter getters to set and get jobdescription parameters
-    public void setWorkingDirectory(String workingDirectory) {
-        this.getJobDescriptorDocument().getJobDescriptor().setWorkingDirectory(workingDirectory);
-    }
-
-    public String getWorkingDirectory() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getWorkingDirectory();
-    }
-
-    public void setShellName(String shellName) {
-        this.getJobDescriptorDocument().getJobDescriptor().setShellName(shellName);
-    }
-
-    public void setJobName(String name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setJobName(name);
-    }
-
-    public void setExecutablePath(String name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setExecutablePath(name);
-    }
-
-    public void setAllEnvExport(boolean name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setAllEnvExport(name);
-    }
-
-    public void setMailOptions(String name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setMailOptions(name);
-    }
-
-    public void setStandardOutFile(String name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setStandardOutFile(name);
-    }
-
-    public void setStandardErrorFile(String name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setStandardErrorFile(name);
-    }
-
-    public void setNodes(int name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setNodes(name);
-    }
-
-    public void setProcessesPerNode(int name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setProcessesPerNode(name);
-    }
-
-    public String getOutputDirectory() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getOutputDirectory();
-    }
-
-    public String getInputDirectory() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getInputDirectory();
-    }
-    public void setOutputDirectory(String name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setOutputDirectory(name);
-    }
-
-    public void setInputDirectory(String name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setInputDirectory(name);
-    }
-
-    /**
-     * Users can pass the minute count for maxwalltime
-     * @param minutes
-     */
-    public void setMaxWallTime(String minutes) {
-        this.getJobDescriptorDocument().getJobDescriptor().setMaxWallTime(
-                GFacUtils.maxWallTimeCalculator(Integer.parseInt(minutes)));
-
-    }
-
-
-    public void setMaxWallTimeForLSF(String minutes) {
-        this.getJobDescriptorDocument().getJobDescriptor().setMaxWallTime(
-                GFacUtils.maxWallTimeCalculatorForLSF(Integer.parseInt(minutes)));
-
-    }
-    public void setAcountString(String name) {
-        this.getJobDescriptorDocument().getJobDescriptor().setAcountString(name);
-    }
-
-    public void setInputValues(List<String> inputValue) {
-        InputList inputList = this.getJobDescriptorDocument().getJobDescriptor().addNewInputs();
-        inputList.setInputArray(inputValue.toArray(new String[inputValue.size()]));
-    }
-
-    public void setJobID(String jobID) {
-        this.getJobDescriptorDocument().getJobDescriptor().setJobID(jobID);
-    }
-
-    public void setQueueName(String queueName) {
-        this.getJobDescriptorDocument().getJobDescriptor().setQueueName(queueName);
-    }
-
-    public void setStatus(String queueName) {
-        this.getJobDescriptorDocument().getJobDescriptor().setStatus(queueName);
-    }
-
-    public void setAfterAnyList(String[] afterAnyList) {
-        AfterAnyList afterAny = this.getJobDescriptorDocument().getJobDescriptor().addNewAfterAny();
-        afterAny.setAfterAnyArray(afterAnyList);
-    }
-
-    public void setAfterOKList(String[] afterOKList) {
-        AfterOKList afterAnyList = this.getJobDescriptorDocument().getJobDescriptor().addNewAfterOKList();
-        afterAnyList.setAfterOKListArray(afterOKList);
-    }
-    public void setCTime(String cTime) {
-        this.getJobDescriptorDocument().getJobDescriptor().setCTime(cTime);
-    }
-    public void setQTime(String qTime) {
-        this.getJobDescriptorDocument().getJobDescriptor().setQTime(qTime);
-    }
-    public void setMTime(String mTime) {
-        this.getJobDescriptorDocument().getJobDescriptor().setMTime(mTime);
-    }
-    public void setSTime(String sTime) {
-        this.getJobDescriptorDocument().getJobDescriptor().setSTime(sTime);
-    }
-    public void setCompTime(String compTime) {
-        this.getJobDescriptorDocument().getJobDescriptor().setCompTime(compTime);
-    }
-    public void setOwner(String owner) {
-        this.getJobDescriptorDocument().getJobDescriptor().setOwner(owner);
-    }
-    public void setExecuteNode(String executeNode) {
-        this.getJobDescriptorDocument().getJobDescriptor().setExecuteNode(executeNode);
-    }
-    public void setEllapsedTime(String ellapsedTime) {
-        this.getJobDescriptorDocument().getJobDescriptor().setEllapsedTime(ellapsedTime);
-    }
-
-    public void setUsedCPUTime(String usedCPUTime) {
-        this.getJobDescriptorDocument().getJobDescriptor().setUsedCPUTime(usedCPUTime);
-    }
-    public void setCPUCount(int usedCPUTime) {
-            this.getJobDescriptorDocument().getJobDescriptor().setCpuCount(usedCPUTime);
-        }
-    public void setUsedMemory(String usedMemory) {
-        this.getJobDescriptorDocument().getJobDescriptor().setUsedMem(usedMemory);
-    }
-    public void setVariableList(String variableList) {
-        this.getJobDescriptorDocument().getJobDescriptor().setVariableList(variableList);
-    }
-    public void setSubmitArgs(String submitArgs) {
-        this.getJobDescriptorDocument().getJobDescriptor().setSubmitArgs(submitArgs);
-    }
-
-    public void setPreJobCommands(String[] commands){
-        if(this.getJobDescriptorDocument().getJobDescriptor().getPreJobCommands() == null){
-            this.getJobDescriptorDocument().getJobDescriptor().addNewPreJobCommands();
-        }
-        this.getJobDescriptorDocument().getJobDescriptor().getPreJobCommands().setCommandArray(commands);
-    }
-
-     public void setPostJobCommands(String[] commands){
-        if(this.getJobDescriptorDocument().getJobDescriptor().getPostJobCommands() == null){
-            this.getJobDescriptorDocument().getJobDescriptor().addNewPostJobCommands();
-        }
-        this.getJobDescriptorDocument().getJobDescriptor().getPostJobCommands().setCommandArray(commands);
-    }
-
-    public void setModuleLoadCommands(String[] commands) {
-        if (this.getJobDescriptorDocument().getJobDescriptor().getModuleLoadCommands() == null) {
-            this.getJobDescriptorDocument().getJobDescriptor().addNewModuleLoadCommands();
-        }
-        this.getJobDescriptorDocument().getJobDescriptor().getModuleLoadCommands().setCommandArray(commands);
-    }
-
-    public void addModuleLoadCommands(String command) {
-        if (this.getJobDescriptorDocument().getJobDescriptor().getModuleLoadCommands() == null) {
-            this.getJobDescriptorDocument().getJobDescriptor().addNewModuleLoadCommands();
-        }
-        this.getJobDescriptorDocument().getJobDescriptor().getModuleLoadCommands().addCommand(command);
-    }
-
-    public void addPreJobCommand(String command){
-        if(this.getJobDescriptorDocument().getJobDescriptor().getPreJobCommands() == null){
-            this.getJobDescriptorDocument().getJobDescriptor().addNewPreJobCommands();
-        }
-        this.getJobDescriptorDocument().getJobDescriptor().getPreJobCommands().addCommand(command);
-    }
-
-     public void addPostJobCommand(String command){
-        if(this.getJobDescriptorDocument().getJobDescriptor().getPostJobCommands() == null){
-            this.getJobDescriptorDocument().getJobDescriptor().addNewPostJobCommands();
-        }
-        this.getJobDescriptorDocument().getJobDescriptor().getPostJobCommands().addCommand(command);
-    }
-
-    public void setPartition(String partition){
-        this.getJobDescriptorDocument().getJobDescriptor().setPartition(partition);
-    }
-
-     public void setUserName(String userName){
-        this.getJobDescriptorDocument().getJobDescriptor().setUserName(userName);
-    }
-     public void setNodeList(String nodeList){
-        this.getJobDescriptorDocument().getJobDescriptor().setNodeList(nodeList);
-    }
-    public void setJobSubmitter(String jobSubmitter){
-           this.getJobDescriptorDocument().getJobDescriptor().setJobSubmitterCommand(jobSubmitter);
-    }
-    public String getNodeList(){
-        return this.getJobDescriptorDocument().getJobDescriptor().getNodeList();
-    }
-    public String getExecutablePath() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getExecutablePath();
-    }
-
-    public boolean getAllEnvExport() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getAllEnvExport();
-    }
-
-    public String getMailOptions() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getMailOptions();
-    }
-
-    public String getStandardOutFile() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getStandardOutFile();
-    }
-
-    public String getStandardErrorFile() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getStandardErrorFile();
-    }
-
-    public int getNodes(int name) {
-        return this.getJobDescriptorDocument().getJobDescriptor().getNodes();
-    }
-
-    public int getCPUCount(int name) {
-        return this.getJobDescriptorDocument().getJobDescriptor().getCpuCount();
-    }
-
-    public int getProcessesPerNode() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getProcessesPerNode();
-    }
-
-    public String getMaxWallTime() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getMaxWallTime();
-    }
-
-    public String getAcountString() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getAcountString();
-    }
-
-    public String[] getInputValues() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getInputs().getInputArray();
-    }
-
-    public String getJobID() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getJobID();
-    }
-
-    public String getQueueName() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getQueueName();
-    }
-
-    public String getStatus() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getStatus();
-    }
-
-    public String[] getAfterAnyList() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getAfterAny().getAfterAnyArray();
-    }
-
-    public String[] getAfterOKList() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getAfterOKList().getAfterOKListArray();
-    }
-    public String getCTime() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getCTime();
-    }
-    public String getQTime() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getQTime();
-    }
-    public String getMTime() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getMTime();
-    }
-    public String getSTime() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getSTime();
-    }
-    public String getCompTime() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getCompTime();
-    }
-    public String getOwner() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getOwner();
-    }
-    public String getExecuteNode() {
-         return this.getJobDescriptorDocument().getJobDescriptor().getExecuteNode();
-    }
-    public String getEllapsedTime() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getEllapsedTime();
-    }
-
-    public String getUsedCPUTime() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getUsedCPUTime();
-    }
-
-    public String getUsedMemory() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getUsedMem();
-    }
-    public void getShellName() {
-        this.getJobDescriptorDocument().getJobDescriptor().getShellName();
-    }
-
-    public String getJobName() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getJobName();
-    }
-
-    public String getJobId() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getJobID();
-    }
-
-
-    public String getVariableList() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getJobID();
-    }
-    public String getSubmitArgs() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getJobID();
-    }
-
-    public String[] getPostJobCommands(){
-        if(this.getJobDescriptorDocument().getJobDescriptor().getPostJobCommands() != null) {
-            return this.getJobDescriptorDocument().getJobDescriptor().getPostJobCommands().getCommandArray();
-        }
-        return null;
-    }
-
-    public String[] getModuleCommands() {
-        if (this.getJobDescriptorDocument().getJobDescriptor().getModuleLoadCommands() != null) {
-            return this.getJobDescriptorDocument().getJobDescriptor().getModuleLoadCommands().getCommandArray();
-        }
-        return null;
-    }
-
-    public String[] getPreJobCommands(){
-        if(this.getJobDescriptorDocument().getJobDescriptor().getPreJobCommands() != null) {
-            return this.getJobDescriptorDocument().getJobDescriptor().getPreJobCommands().getCommandArray();
-        }
-        return null;
-    }
-
-    public String getJobSubmitterCommand(){
-          return this.getJobDescriptorDocument().getJobDescriptor().getJobSubmitterCommand();
-    }
-
-    public String getPartition(){
-        return this.getJobDescriptorDocument().getJobDescriptor().getPartition();
-    }
-
-    public String getUserName(){
-        return this.getJobDescriptorDocument().getJobDescriptor().getUserName();
-    }
-
-    public void setCallBackIp(String ip){
-        this.jobDescriptionDocument.getJobDescriptor().setCallBackIp(ip);
-    }
-
-    public void setCallBackPort(String ip){
-        this.jobDescriptionDocument.getJobDescriptor().setCallBackPort(ip);
-    }
-
-
-    public String getCallBackIp(){
-        return this.jobDescriptionDocument.getJobDescriptor().getCallBackIp();
-    }
-    public String getCallBackPort(){
-        return this.jobDescriptionDocument.getJobDescriptor().getCallBackPort();
-    }
-
-    public void setMailType(String emailType) {
-        this.getJobDescriptorDocument().getJobDescriptor().setMailType(emailType);
-    }
-
-    public String getMailType() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getMailType();
-    }
-    public void setMailAddress(String emailAddress) {
-        this.getJobDescriptorDocument().getJobDescriptor().setMailAddress(emailAddress);
-    }
-
-    public String getMailAddress() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getMailAddress();
-    }
-
-    public String getChassisName() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getChassisName();
-    }
-
-    public void setChassisName(String chassisName){
-        this.getJobDescriptorDocument().getJobDescriptor().setChassisName(chassisName);
-    }
-
-    public void setQoS(String qos){
-        this.getJobDescriptorDocument().getJobDescriptor().setQualityOfService(qos);
-    }
-
-    public String getQoS() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getQualityOfService();
-    }
-
-    public void setReservation(String reservation) {
-        this.getJobDescriptorDocument().getJobDescriptor().setReservation(reservation);
-    }
-
-    public String getReservation() {
-        return this.getJobDescriptorDocument().getJobDescriptor().getReservation();
-    }
-    
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/Script.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/Script.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/Script.java
new file mode 100644
index 0000000..1e3ecd9
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/Script.java
@@ -0,0 +1,75 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.airavata.gfac.core;/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+public enum Script {
+
+    SHELL_NAME("shellName"),
+    QUEUE_NAME("queueName"),
+    NODES("nodes"),
+    CPU_COUNT("cpuCount"),
+    MAIL_ADDRESS("mailAddress"),
+    ACCOUNT_STRING("accountString"),
+    MAX_WALL_TIME("maxWallTime"),
+    JOB_NAME("jobName"),
+    STANDARD_OUT_FILE("standardOutFile"),
+    STANDARD_ERROR_FILE("standardErrorFile"),
+    QUALITY_OF_SERVICE("qualityOfService"),
+    RESERVATION("reservation"),
+    EXPORTS("exports"),
+    MODULE_COMMANDS("moduleCommands"),
+    WORKING_DIR("workingDirectory"),
+    PRE_JOB_COMMANDS("preJobCommands"),
+    JOB_SUBMITTER_COMMAND("jobSubmitterCommand"),
+    EXECUTABLE_PATH("executablePath"),
+    INPUTS("inputs"),
+    POST_JOB_COMMANDS("postJobCommands"),
+    USED_MEM("usedMem"),
+    PROCESS_PER_NODE("processPerNode"),
+    CHASSIS_NAME("chassisName"),
+    INPUT_DIR("inputDir"),
+    OUTPUT_DIR("outputDir"),
+    USER_NAME("userName"),
+    ;
+
+    String name;
+    Script(String name) {
+        this.name = name;
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/OutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/OutputParser.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/OutputParser.java
index 3259e85..d90ae1d 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/OutputParser.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/OutputParser.java
@@ -19,7 +19,6 @@
  */
 package org.apache.airavata.gfac.core.cluster;
 
-import org.apache.airavata.gfac.core.JobDescriptor;
 import org.apache.airavata.gfac.core.SSHApiException;
 import org.apache.airavata.model.status.JobStatus;
 
@@ -28,13 +27,6 @@ import java.util.Map;
 public interface OutputParser {
 
     /**
-     * Tihs can be used to fill a jobdescriptor based on the output
-     * @param descriptor
-     * @return
-     */
-    public void parseSingleJob(JobDescriptor descriptor, String rawOutput)throws SSHApiException;
-
-    /**
      * This can be used to parseSingleJob the result of a job submission to get the JobID
      * @param rawOutput
      * @return

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterAnyList.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterAnyList.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterAnyList.java
deleted file mode 100644
index 8c80646..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterAnyList.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  afterAnyList
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.AfterAnyList
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12;
-
-
-/**
- * An XML afterAnyList(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public interface AfterAnyList extends org.apache.xmlbeans.XmlObject
-{
-    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(AfterAnyList.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("afteranylisteefatype");
-    
-    /**
-     * Gets array of all "afterAny" elements
-     */
-    java.lang.String[] getAfterAnyArray();
-    
-    /**
-     * Gets ith "afterAny" element
-     */
-    java.lang.String getAfterAnyArray(int i);
-    
-    /**
-     * Gets (as xml) array of all "afterAny" elements
-     */
-    org.apache.xmlbeans.XmlString[] xgetAfterAnyArray();
-    
-    /**
-     * Gets (as xml) ith "afterAny" element
-     */
-    org.apache.xmlbeans.XmlString xgetAfterAnyArray(int i);
-    
-    /**
-     * Returns number of "afterAny" element
-     */
-    int sizeOfAfterAnyArray();
-    
-    /**
-     * Sets array of all "afterAny" element
-     */
-    void setAfterAnyArray(java.lang.String[] afterAnyArray);
-    
-    /**
-     * Sets ith "afterAny" element
-     */
-    void setAfterAnyArray(int i, java.lang.String afterAny);
-    
-    /**
-     * Sets (as xml) array of all "afterAny" element
-     */
-    void xsetAfterAnyArray(org.apache.xmlbeans.XmlString[] afterAnyArray);
-    
-    /**
-     * Sets (as xml) ith "afterAny" element
-     */
-    void xsetAfterAnyArray(int i, org.apache.xmlbeans.XmlString afterAny);
-    
-    /**
-     * Inserts the value as the ith "afterAny" element
-     */
-    void insertAfterAny(int i, java.lang.String afterAny);
-    
-    /**
-     * Appends the value as the last "afterAny" element
-     */
-    void addAfterAny(java.lang.String afterAny);
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "afterAny" element
-     */
-    org.apache.xmlbeans.XmlString insertNewAfterAny(int i);
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "afterAny" element
-     */
-    org.apache.xmlbeans.XmlString addNewAfterAny();
-    
-    /**
-     * Removes the ith "afterAny" element
-     */
-    void removeAfterAny(int i);
-    
-    /**
-     * A factory class with static methods for creating instances
-     * of this type.
-     */
-    
-    public static final class Factory
-    {
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList newInstance() {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** @param xmlAsString the string value to parse */
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-        
-        /** @param file the file from which to load an xml document */
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterAnyList parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterOKList.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterOKList.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterOKList.java
deleted file mode 100644
index 15688c1..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterOKList.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  afterOKList
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.AfterOKList
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12;
-
-
-/**
- * An XML afterOKList(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public interface AfterOKList extends org.apache.xmlbeans.XmlObject
-{
-    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(AfterOKList.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("afteroklistc764type");
-    
-    /**
-     * Gets array of all "afterOKList" elements
-     */
-    java.lang.String[] getAfterOKListArray();
-    
-    /**
-     * Gets ith "afterOKList" element
-     */
-    java.lang.String getAfterOKListArray(int i);
-    
-    /**
-     * Gets (as xml) array of all "afterOKList" elements
-     */
-    org.apache.xmlbeans.XmlString[] xgetAfterOKListArray();
-    
-    /**
-     * Gets (as xml) ith "afterOKList" element
-     */
-    org.apache.xmlbeans.XmlString xgetAfterOKListArray(int i);
-    
-    /**
-     * Returns number of "afterOKList" element
-     */
-    int sizeOfAfterOKListArray();
-    
-    /**
-     * Sets array of all "afterOKList" element
-     */
-    void setAfterOKListArray(java.lang.String[] afterOKListArray);
-    
-    /**
-     * Sets ith "afterOKList" element
-     */
-    void setAfterOKListArray(int i, java.lang.String afterOKList);
-    
-    /**
-     * Sets (as xml) array of all "afterOKList" element
-     */
-    void xsetAfterOKListArray(org.apache.xmlbeans.XmlString[] afterOKListArray);
-    
-    /**
-     * Sets (as xml) ith "afterOKList" element
-     */
-    void xsetAfterOKListArray(int i, org.apache.xmlbeans.XmlString afterOKList);
-    
-    /**
-     * Inserts the value as the ith "afterOKList" element
-     */
-    void insertAfterOKList(int i, java.lang.String afterOKList);
-    
-    /**
-     * Appends the value as the last "afterOKList" element
-     */
-    void addAfterOKList(java.lang.String afterOKList);
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "afterOKList" element
-     */
-    org.apache.xmlbeans.XmlString insertNewAfterOKList(int i);
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "afterOKList" element
-     */
-    org.apache.xmlbeans.XmlString addNewAfterOKList();
-    
-    /**
-     * Removes the ith "afterOKList" element
-     */
-    void removeAfterOKList(int i);
-    
-    /**
-     * A factory class with static methods for creating instances
-     * of this type.
-     */
-    
-    public static final class Factory
-    {
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList newInstance() {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** @param xmlAsString the string value to parse */
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-        
-        /** @param file the file from which to load an xml document */
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.AfterOKList parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.AfterOKList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ExportProperties.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ExportProperties.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ExportProperties.java
deleted file mode 100644
index 8bea40c..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ExportProperties.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  exportProperties
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.ExportProperties
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12;
-
-
-/**
- * An XML exportProperties(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public interface ExportProperties extends org.apache.xmlbeans.XmlObject
-{
-    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ExportProperties.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("exportproperties2741type");
-    
-    /**
-     * Gets array of all "name" elements
-     */
-    org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[] getNameArray();
-    
-    /**
-     * Gets ith "name" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name getNameArray(int i);
-    
-    /**
-     * Returns number of "name" element
-     */
-    int sizeOfNameArray();
-    
-    /**
-     * Sets array of all "name" element
-     */
-    void setNameArray(org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[] nameArray);
-    
-    /**
-     * Sets ith "name" element
-     */
-    void setNameArray(int i, org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name name);
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "name" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name insertNewName(int i);
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "name" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name addNewName();
-    
-    /**
-     * Removes the ith "name" element
-     */
-    void removeName(int i);
-    
-    /**
-     * An XML name(@http://airavata.apache.org/gfac/core/2012/12).
-     *
-     * This is an atomic type that is a restriction of org.apache.airavata.gfac.core.x2012.x12.ExportProperties$Name.
-     */
-    public interface Name extends org.apache.xmlbeans.XmlString
-    {
-        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Name.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("namee668elemtype");
-        
-        /**
-         * Gets the "value" attribute
-         */
-        java.lang.String getValue();
-        
-        /**
-         * Gets (as xml) the "value" attribute
-         */
-        org.apache.xmlbeans.XmlString xgetValue();
-        
-        /**
-         * Sets the "value" attribute
-         */
-        void setValue(java.lang.String value);
-        
-        /**
-         * Sets (as xml) the "value" attribute
-         */
-        void xsetValue(org.apache.xmlbeans.XmlString value);
-        
-        /**
-         * A factory class with static methods for creating instances
-         * of this type.
-         */
-        
-        public static final class Factory
-        {
-            public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name newInstance() {
-              return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-            
-            public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name newInstance(org.apache.xmlbeans.XmlOptions options) {
-              return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-            
-            private Factory() { } // No instance of this class allowed
-        }
-    }
-    
-    /**
-     * A factory class with static methods for creating instances
-     * of this type.
-     */
-    
-    public static final class Factory
-    {
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties newInstance() {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** @param xmlAsString the string value to parse */
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-        
-        /** @param file the file from which to load an xml document */
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.ExportProperties parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ExportProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/InputList.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/InputList.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/InputList.java
deleted file mode 100644
index 3c16f56..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/InputList.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  inputList
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.InputList
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12;
-
-
-/**
- * An XML inputList(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public interface InputList extends org.apache.xmlbeans.XmlObject
-{
-    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(InputList.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("inputlistccd2type");
-    
-    /**
-     * Gets array of all "input" elements
-     */
-    java.lang.String[] getInputArray();
-    
-    /**
-     * Gets ith "input" element
-     */
-    java.lang.String getInputArray(int i);
-    
-    /**
-     * Gets (as xml) array of all "input" elements
-     */
-    org.apache.xmlbeans.XmlString[] xgetInputArray();
-    
-    /**
-     * Gets (as xml) ith "input" element
-     */
-    org.apache.xmlbeans.XmlString xgetInputArray(int i);
-    
-    /**
-     * Returns number of "input" element
-     */
-    int sizeOfInputArray();
-    
-    /**
-     * Sets array of all "input" element
-     */
-    void setInputArray(java.lang.String[] inputArray);
-    
-    /**
-     * Sets ith "input" element
-     */
-    void setInputArray(int i, java.lang.String input);
-    
-    /**
-     * Sets (as xml) array of all "input" element
-     */
-    void xsetInputArray(org.apache.xmlbeans.XmlString[] inputArray);
-    
-    /**
-     * Sets (as xml) ith "input" element
-     */
-    void xsetInputArray(int i, org.apache.xmlbeans.XmlString input);
-    
-    /**
-     * Inserts the value as the ith "input" element
-     */
-    void insertInput(int i, java.lang.String input);
-    
-    /**
-     * Appends the value as the last "input" element
-     */
-    void addInput(java.lang.String input);
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "input" element
-     */
-    org.apache.xmlbeans.XmlString insertNewInput(int i);
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "input" element
-     */
-    org.apache.xmlbeans.XmlString addNewInput();
-    
-    /**
-     * Removes the ith "input" element
-     */
-    void removeInput(int i);
-    
-    /**
-     * A factory class with static methods for creating instances
-     * of this type.
-     */
-    
-    public static final class Factory
-    {
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList newInstance() {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** @param xmlAsString the string value to parse */
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-        
-        /** @param file the file from which to load an xml document */
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.InputList parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.InputList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/JobDescriptorDocument.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/JobDescriptorDocument.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/JobDescriptorDocument.java
deleted file mode 100644
index 49563ae..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/JobDescriptorDocument.java
+++ /dev/null
@@ -1,131 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * An XML document type.
- * Localname: JobDescriptor
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12;
-
-
-/**
- * A document containing one JobDescriptor(@http://airavata.apache.org/gfac/core/2012/12) element.
- *
- * This is a complex type.
- */
-public interface JobDescriptorDocument extends org.apache.xmlbeans.XmlObject
-{
-    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(JobDescriptorDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("jobdescriptor217edoctype");
-    
-    /**
-     * Gets the "JobDescriptor" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.PbsParams getJobDescriptor();
-    
-    /**
-     * Sets the "JobDescriptor" element
-     */
-    void setJobDescriptor(org.apache.airavata.gfac.core.x2012.x12.PbsParams jobDescriptor);
-    
-    /**
-     * Appends and returns a new empty "JobDescriptor" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.PbsParams addNewJobDescriptor();
-    
-    /**
-     * A factory class with static methods for creating instances
-     * of this type.
-     */
-    
-    public static final class Factory
-    {
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument newInstance() {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** @param xmlAsString the string value to parse */
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-        
-        /** @param file the file from which to load an xml document */
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}


[4/6] airavata git commit: Replaced xslt templates with groovy templates, fixed AIRAVATA-2124

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ModuleLoadCommands.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ModuleLoadCommands.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ModuleLoadCommands.java
deleted file mode 100644
index 991d6ef..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ModuleLoadCommands.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  moduleLoadCommands
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12;
-
-
-/**
- * An XML moduleLoadCommands(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public interface ModuleLoadCommands extends org.apache.xmlbeans.XmlObject
-{
-    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ModuleLoadCommands.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("moduleloadcommandsfe4etype");
-    
-    /**
-     * Gets array of all "command" elements
-     */
-    java.lang.String[] getCommandArray();
-    
-    /**
-     * Gets ith "command" element
-     */
-    java.lang.String getCommandArray(int i);
-    
-    /**
-     * Gets (as xml) array of all "command" elements
-     */
-    org.apache.xmlbeans.XmlString[] xgetCommandArray();
-    
-    /**
-     * Gets (as xml) ith "command" element
-     */
-    org.apache.xmlbeans.XmlString xgetCommandArray(int i);
-    
-    /**
-     * Returns number of "command" element
-     */
-    int sizeOfCommandArray();
-    
-    /**
-     * Sets array of all "command" element
-     */
-    void setCommandArray(java.lang.String[] commandArray);
-    
-    /**
-     * Sets ith "command" element
-     */
-    void setCommandArray(int i, java.lang.String command);
-    
-    /**
-     * Sets (as xml) array of all "command" element
-     */
-    void xsetCommandArray(org.apache.xmlbeans.XmlString[] commandArray);
-    
-    /**
-     * Sets (as xml) ith "command" element
-     */
-    void xsetCommandArray(int i, org.apache.xmlbeans.XmlString command);
-    
-    /**
-     * Inserts the value as the ith "command" element
-     */
-    void insertCommand(int i, java.lang.String command);
-    
-    /**
-     * Appends the value as the last "command" element
-     */
-    void addCommand(java.lang.String command);
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "command" element
-     */
-    org.apache.xmlbeans.XmlString insertNewCommand(int i);
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "command" element
-     */
-    org.apache.xmlbeans.XmlString addNewCommand();
-    
-    /**
-     * Removes the ith "command" element
-     */
-    void removeCommand(int i);
-    
-    /**
-     * A factory class with static methods for creating instances
-     * of this type.
-     */
-    
-    public static final class Factory
-    {
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands newInstance() {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** @param xmlAsString the string value to parse */
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-        
-        /** @param file the file from which to load an xml document */
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PbsParams.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PbsParams.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PbsParams.java
deleted file mode 100644
index 65d39f2..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PbsParams.java
+++ /dev/null
@@ -1,1500 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  pbsParams
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.PbsParams
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12;
-
-
-/**
- * An XML pbsParams(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public interface PbsParams extends org.apache.xmlbeans.XmlObject
-{
-    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(PbsParams.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("pbsparams7913type");
-    
-    /**
-     * Gets the "jobID" element
-     */
-    java.lang.String getJobID();
-    
-    /**
-     * Gets (as xml) the "jobID" element
-     */
-    org.apache.xmlbeans.XmlString xgetJobID();
-    
-    /**
-     * True if has "jobID" element
-     */
-    boolean isSetJobID();
-    
-    /**
-     * Sets the "jobID" element
-     */
-    void setJobID(java.lang.String jobID);
-    
-    /**
-     * Sets (as xml) the "jobID" element
-     */
-    void xsetJobID(org.apache.xmlbeans.XmlString jobID);
-    
-    /**
-     * Unsets the "jobID" element
-     */
-    void unsetJobID();
-    
-    /**
-     * Gets the "userName" element
-     */
-    java.lang.String getUserName();
-    
-    /**
-     * Gets (as xml) the "userName" element
-     */
-    org.apache.xmlbeans.XmlString xgetUserName();
-    
-    /**
-     * True if has "userName" element
-     */
-    boolean isSetUserName();
-    
-    /**
-     * Sets the "userName" element
-     */
-    void setUserName(java.lang.String userName);
-    
-    /**
-     * Sets (as xml) the "userName" element
-     */
-    void xsetUserName(org.apache.xmlbeans.XmlString userName);
-    
-    /**
-     * Unsets the "userName" element
-     */
-    void unsetUserName();
-    
-    /**
-     * Gets the "shellName" element
-     */
-    java.lang.String getShellName();
-    
-    /**
-     * Gets (as xml) the "shellName" element
-     */
-    org.apache.xmlbeans.XmlString xgetShellName();
-    
-    /**
-     * True if has "shellName" element
-     */
-    boolean isSetShellName();
-    
-    /**
-     * Sets the "shellName" element
-     */
-    void setShellName(java.lang.String shellName);
-    
-    /**
-     * Sets (as xml) the "shellName" element
-     */
-    void xsetShellName(org.apache.xmlbeans.XmlString shellName);
-    
-    /**
-     * Unsets the "shellName" element
-     */
-    void unsetShellName();
-    
-    /**
-     * Gets the "queueName" element
-     */
-    java.lang.String getQueueName();
-    
-    /**
-     * Gets (as xml) the "queueName" element
-     */
-    org.apache.xmlbeans.XmlString xgetQueueName();
-    
-    /**
-     * True if has "queueName" element
-     */
-    boolean isSetQueueName();
-    
-    /**
-     * Sets the "queueName" element
-     */
-    void setQueueName(java.lang.String queueName);
-    
-    /**
-     * Sets (as xml) the "queueName" element
-     */
-    void xsetQueueName(org.apache.xmlbeans.XmlString queueName);
-    
-    /**
-     * Unsets the "queueName" element
-     */
-    void unsetQueueName();
-    
-    /**
-     * Gets the "jobName" element
-     */
-    java.lang.String getJobName();
-    
-    /**
-     * Gets (as xml) the "jobName" element
-     */
-    org.apache.xmlbeans.XmlString xgetJobName();
-    
-    /**
-     * True if has "jobName" element
-     */
-    boolean isSetJobName();
-    
-    /**
-     * Sets the "jobName" element
-     */
-    void setJobName(java.lang.String jobName);
-    
-    /**
-     * Sets (as xml) the "jobName" element
-     */
-    void xsetJobName(org.apache.xmlbeans.XmlString jobName);
-    
-    /**
-     * Unsets the "jobName" element
-     */
-    void unsetJobName();
-    
-    /**
-     * Gets the "allEnvExport" element
-     */
-    boolean getAllEnvExport();
-    
-    /**
-     * Gets (as xml) the "allEnvExport" element
-     */
-    org.apache.xmlbeans.XmlBoolean xgetAllEnvExport();
-    
-    /**
-     * True if has "allEnvExport" element
-     */
-    boolean isSetAllEnvExport();
-    
-    /**
-     * Sets the "allEnvExport" element
-     */
-    void setAllEnvExport(boolean allEnvExport);
-    
-    /**
-     * Sets (as xml) the "allEnvExport" element
-     */
-    void xsetAllEnvExport(org.apache.xmlbeans.XmlBoolean allEnvExport);
-    
-    /**
-     * Unsets the "allEnvExport" element
-     */
-    void unsetAllEnvExport();
-    
-    /**
-     * Gets the "mailOptions" element
-     */
-    java.lang.String getMailOptions();
-    
-    /**
-     * Gets (as xml) the "mailOptions" element
-     */
-    org.apache.xmlbeans.XmlString xgetMailOptions();
-    
-    /**
-     * True if has "mailOptions" element
-     */
-    boolean isSetMailOptions();
-    
-    /**
-     * Sets the "mailOptions" element
-     */
-    void setMailOptions(java.lang.String mailOptions);
-    
-    /**
-     * Sets (as xml) the "mailOptions" element
-     */
-    void xsetMailOptions(org.apache.xmlbeans.XmlString mailOptions);
-    
-    /**
-     * Unsets the "mailOptions" element
-     */
-    void unsetMailOptions();
-    
-    /**
-     * Gets the "mailAddress" element
-     */
-    java.lang.String getMailAddress();
-    
-    /**
-     * Gets (as xml) the "mailAddress" element
-     */
-    org.apache.xmlbeans.XmlString xgetMailAddress();
-    
-    /**
-     * True if has "mailAddress" element
-     */
-    boolean isSetMailAddress();
-    
-    /**
-     * Sets the "mailAddress" element
-     */
-    void setMailAddress(java.lang.String mailAddress);
-    
-    /**
-     * Sets (as xml) the "mailAddress" element
-     */
-    void xsetMailAddress(org.apache.xmlbeans.XmlString mailAddress);
-    
-    /**
-     * Unsets the "mailAddress" element
-     */
-    void unsetMailAddress();
-    
-    /**
-     * Gets the "partition" element
-     */
-    java.lang.String getPartition();
-    
-    /**
-     * Gets (as xml) the "partition" element
-     */
-    org.apache.xmlbeans.XmlString xgetPartition();
-    
-    /**
-     * True if has "partition" element
-     */
-    boolean isSetPartition();
-    
-    /**
-     * Sets the "partition" element
-     */
-    void setPartition(java.lang.String partition);
-    
-    /**
-     * Sets (as xml) the "partition" element
-     */
-    void xsetPartition(org.apache.xmlbeans.XmlString partition);
-    
-    /**
-     * Unsets the "partition" element
-     */
-    void unsetPartition();
-    
-    /**
-     * Gets the "mailType" element
-     */
-    java.lang.String getMailType();
-    
-    /**
-     * Gets (as xml) the "mailType" element
-     */
-    org.apache.xmlbeans.XmlString xgetMailType();
-    
-    /**
-     * True if has "mailType" element
-     */
-    boolean isSetMailType();
-    
-    /**
-     * Sets the "mailType" element
-     */
-    void setMailType(java.lang.String mailType);
-    
-    /**
-     * Sets (as xml) the "mailType" element
-     */
-    void xsetMailType(org.apache.xmlbeans.XmlString mailType);
-    
-    /**
-     * Unsets the "mailType" element
-     */
-    void unsetMailType();
-    
-    /**
-     * Gets the "acountString" element
-     */
-    java.lang.String getAcountString();
-    
-    /**
-     * Gets (as xml) the "acountString" element
-     */
-    org.apache.xmlbeans.XmlString xgetAcountString();
-    
-    /**
-     * True if has "acountString" element
-     */
-    boolean isSetAcountString();
-    
-    /**
-     * Sets the "acountString" element
-     */
-    void setAcountString(java.lang.String acountString);
-    
-    /**
-     * Sets (as xml) the "acountString" element
-     */
-    void xsetAcountString(org.apache.xmlbeans.XmlString acountString);
-    
-    /**
-     * Unsets the "acountString" element
-     */
-    void unsetAcountString();
-    
-    /**
-     * Gets the "maxWallTime" element
-     */
-    java.lang.String getMaxWallTime();
-    
-    /**
-     * Gets (as xml) the "maxWallTime" element
-     */
-    org.apache.xmlbeans.XmlString xgetMaxWallTime();
-    
-    /**
-     * True if has "maxWallTime" element
-     */
-    boolean isSetMaxWallTime();
-    
-    /**
-     * Sets the "maxWallTime" element
-     */
-    void setMaxWallTime(java.lang.String maxWallTime);
-    
-    /**
-     * Sets (as xml) the "maxWallTime" element
-     */
-    void xsetMaxWallTime(org.apache.xmlbeans.XmlString maxWallTime);
-    
-    /**
-     * Unsets the "maxWallTime" element
-     */
-    void unsetMaxWallTime();
-    
-    /**
-     * Gets the "standardOutFile" element
-     */
-    java.lang.String getStandardOutFile();
-    
-    /**
-     * Gets (as xml) the "standardOutFile" element
-     */
-    org.apache.xmlbeans.XmlString xgetStandardOutFile();
-    
-    /**
-     * True if has "standardOutFile" element
-     */
-    boolean isSetStandardOutFile();
-    
-    /**
-     * Sets the "standardOutFile" element
-     */
-    void setStandardOutFile(java.lang.String standardOutFile);
-    
-    /**
-     * Sets (as xml) the "standardOutFile" element
-     */
-    void xsetStandardOutFile(org.apache.xmlbeans.XmlString standardOutFile);
-    
-    /**
-     * Unsets the "standardOutFile" element
-     */
-    void unsetStandardOutFile();
-    
-    /**
-     * Gets the "standardErrorFile" element
-     */
-    java.lang.String getStandardErrorFile();
-    
-    /**
-     * Gets (as xml) the "standardErrorFile" element
-     */
-    org.apache.xmlbeans.XmlString xgetStandardErrorFile();
-    
-    /**
-     * True if has "standardErrorFile" element
-     */
-    boolean isSetStandardErrorFile();
-    
-    /**
-     * Sets the "standardErrorFile" element
-     */
-    void setStandardErrorFile(java.lang.String standardErrorFile);
-    
-    /**
-     * Sets (as xml) the "standardErrorFile" element
-     */
-    void xsetStandardErrorFile(org.apache.xmlbeans.XmlString standardErrorFile);
-    
-    /**
-     * Unsets the "standardErrorFile" element
-     */
-    void unsetStandardErrorFile();
-    
-    /**
-     * Gets the "outputDirectory" element
-     */
-    java.lang.String getOutputDirectory();
-    
-    /**
-     * Gets (as xml) the "outputDirectory" element
-     */
-    org.apache.xmlbeans.XmlString xgetOutputDirectory();
-    
-    /**
-     * True if has "outputDirectory" element
-     */
-    boolean isSetOutputDirectory();
-    
-    /**
-     * Sets the "outputDirectory" element
-     */
-    void setOutputDirectory(java.lang.String outputDirectory);
-    
-    /**
-     * Sets (as xml) the "outputDirectory" element
-     */
-    void xsetOutputDirectory(org.apache.xmlbeans.XmlString outputDirectory);
-    
-    /**
-     * Unsets the "outputDirectory" element
-     */
-    void unsetOutputDirectory();
-    
-    /**
-     * Gets the "inputDirectory" element
-     */
-    java.lang.String getInputDirectory();
-    
-    /**
-     * Gets (as xml) the "inputDirectory" element
-     */
-    org.apache.xmlbeans.XmlString xgetInputDirectory();
-    
-    /**
-     * True if has "inputDirectory" element
-     */
-    boolean isSetInputDirectory();
-    
-    /**
-     * Sets the "inputDirectory" element
-     */
-    void setInputDirectory(java.lang.String inputDirectory);
-    
-    /**
-     * Sets (as xml) the "inputDirectory" element
-     */
-    void xsetInputDirectory(org.apache.xmlbeans.XmlString inputDirectory);
-    
-    /**
-     * Unsets the "inputDirectory" element
-     */
-    void unsetInputDirectory();
-    
-    /**
-     * Gets the "nodes" element
-     */
-    int getNodes();
-    
-    /**
-     * Gets (as xml) the "nodes" element
-     */
-    org.apache.xmlbeans.XmlInt xgetNodes();
-    
-    /**
-     * True if has "nodes" element
-     */
-    boolean isSetNodes();
-    
-    /**
-     * Sets the "nodes" element
-     */
-    void setNodes(int nodes);
-    
-    /**
-     * Sets (as xml) the "nodes" element
-     */
-    void xsetNodes(org.apache.xmlbeans.XmlInt nodes);
-    
-    /**
-     * Unsets the "nodes" element
-     */
-    void unsetNodes();
-    
-    /**
-     * Gets the "processesPerNode" element
-     */
-    int getProcessesPerNode();
-    
-    /**
-     * Gets (as xml) the "processesPerNode" element
-     */
-    org.apache.xmlbeans.XmlInt xgetProcessesPerNode();
-    
-    /**
-     * True if has "processesPerNode" element
-     */
-    boolean isSetProcessesPerNode();
-    
-    /**
-     * Sets the "processesPerNode" element
-     */
-    void setProcessesPerNode(int processesPerNode);
-    
-    /**
-     * Sets (as xml) the "processesPerNode" element
-     */
-    void xsetProcessesPerNode(org.apache.xmlbeans.XmlInt processesPerNode);
-    
-    /**
-     * Unsets the "processesPerNode" element
-     */
-    void unsetProcessesPerNode();
-    
-    /**
-     * Gets the "cpuCount" element
-     */
-    int getCpuCount();
-    
-    /**
-     * Gets (as xml) the "cpuCount" element
-     */
-    org.apache.xmlbeans.XmlInt xgetCpuCount();
-    
-    /**
-     * True if has "cpuCount" element
-     */
-    boolean isSetCpuCount();
-    
-    /**
-     * Sets the "cpuCount" element
-     */
-    void setCpuCount(int cpuCount);
-    
-    /**
-     * Sets (as xml) the "cpuCount" element
-     */
-    void xsetCpuCount(org.apache.xmlbeans.XmlInt cpuCount);
-    
-    /**
-     * Unsets the "cpuCount" element
-     */
-    void unsetCpuCount();
-    
-    /**
-     * Gets the "nodeList" element
-     */
-    java.lang.String getNodeList();
-    
-    /**
-     * Gets (as xml) the "nodeList" element
-     */
-    org.apache.xmlbeans.XmlString xgetNodeList();
-    
-    /**
-     * True if has "nodeList" element
-     */
-    boolean isSetNodeList();
-    
-    /**
-     * Sets the "nodeList" element
-     */
-    void setNodeList(java.lang.String nodeList);
-    
-    /**
-     * Sets (as xml) the "nodeList" element
-     */
-    void xsetNodeList(org.apache.xmlbeans.XmlString nodeList);
-    
-    /**
-     * Unsets the "nodeList" element
-     */
-    void unsetNodeList();
-    
-    /**
-     * Gets the "workingDirectory" element
-     */
-    java.lang.String getWorkingDirectory();
-    
-    /**
-     * Gets (as xml) the "workingDirectory" element
-     */
-    org.apache.xmlbeans.XmlString xgetWorkingDirectory();
-    
-    /**
-     * True if has "workingDirectory" element
-     */
-    boolean isSetWorkingDirectory();
-    
-    /**
-     * Sets the "workingDirectory" element
-     */
-    void setWorkingDirectory(java.lang.String workingDirectory);
-    
-    /**
-     * Sets (as xml) the "workingDirectory" element
-     */
-    void xsetWorkingDirectory(org.apache.xmlbeans.XmlString workingDirectory);
-    
-    /**
-     * Unsets the "workingDirectory" element
-     */
-    void unsetWorkingDirectory();
-    
-    /**
-     * Gets the "executablePath" element
-     */
-    java.lang.String getExecutablePath();
-    
-    /**
-     * Gets (as xml) the "executablePath" element
-     */
-    org.apache.xmlbeans.XmlString xgetExecutablePath();
-    
-    /**
-     * True if has "executablePath" element
-     */
-    boolean isSetExecutablePath();
-    
-    /**
-     * Sets the "executablePath" element
-     */
-    void setExecutablePath(java.lang.String executablePath);
-    
-    /**
-     * Sets (as xml) the "executablePath" element
-     */
-    void xsetExecutablePath(org.apache.xmlbeans.XmlString executablePath);
-    
-    /**
-     * Unsets the "executablePath" element
-     */
-    void unsetExecutablePath();
-    
-    /**
-     * Gets the "inputs" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.InputList getInputs();
-    
-    /**
-     * Sets the "inputs" element
-     */
-    void setInputs(org.apache.airavata.gfac.core.x2012.x12.InputList inputs);
-    
-    /**
-     * Appends and returns a new empty "inputs" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.InputList addNewInputs();
-    
-    /**
-     * Gets the "exports" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.ExportProperties getExports();
-    
-    /**
-     * Sets the "exports" element
-     */
-    void setExports(org.apache.airavata.gfac.core.x2012.x12.ExportProperties exports);
-    
-    /**
-     * Appends and returns a new empty "exports" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.ExportProperties addNewExports();
-    
-    /**
-     * Gets the "status" element
-     */
-    java.lang.String getStatus();
-    
-    /**
-     * Gets (as xml) the "status" element
-     */
-    org.apache.xmlbeans.XmlString xgetStatus();
-    
-    /**
-     * True if has "status" element
-     */
-    boolean isSetStatus();
-    
-    /**
-     * Sets the "status" element
-     */
-    void setStatus(java.lang.String status);
-    
-    /**
-     * Sets (as xml) the "status" element
-     */
-    void xsetStatus(org.apache.xmlbeans.XmlString status);
-    
-    /**
-     * Unsets the "status" element
-     */
-    void unsetStatus();
-    
-    /**
-     * Gets the "afterAny" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.AfterAnyList getAfterAny();
-    
-    /**
-     * True if has "afterAny" element
-     */
-    boolean isSetAfterAny();
-    
-    /**
-     * Sets the "afterAny" element
-     */
-    void setAfterAny(org.apache.airavata.gfac.core.x2012.x12.AfterAnyList afterAny);
-    
-    /**
-     * Appends and returns a new empty "afterAny" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.AfterAnyList addNewAfterAny();
-    
-    /**
-     * Unsets the "afterAny" element
-     */
-    void unsetAfterAny();
-    
-    /**
-     * Gets the "afterOKList" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.AfterOKList getAfterOKList();
-    
-    /**
-     * True if has "afterOKList" element
-     */
-    boolean isSetAfterOKList();
-    
-    /**
-     * Sets the "afterOKList" element
-     */
-    void setAfterOKList(org.apache.airavata.gfac.core.x2012.x12.AfterOKList afterOKList);
-    
-    /**
-     * Appends and returns a new empty "afterOKList" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.AfterOKList addNewAfterOKList();
-    
-    /**
-     * Unsets the "afterOKList" element
-     */
-    void unsetAfterOKList();
-    
-    /**
-     * Gets the "cTime" element
-     */
-    java.lang.String getCTime();
-    
-    /**
-     * Gets (as xml) the "cTime" element
-     */
-    org.apache.xmlbeans.XmlString xgetCTime();
-    
-    /**
-     * True if has "cTime" element
-     */
-    boolean isSetCTime();
-    
-    /**
-     * Sets the "cTime" element
-     */
-    void setCTime(java.lang.String cTime);
-    
-    /**
-     * Sets (as xml) the "cTime" element
-     */
-    void xsetCTime(org.apache.xmlbeans.XmlString cTime);
-    
-    /**
-     * Unsets the "cTime" element
-     */
-    void unsetCTime();
-    
-    /**
-     * Gets the "qTime" element
-     */
-    java.lang.String getQTime();
-    
-    /**
-     * Gets (as xml) the "qTime" element
-     */
-    org.apache.xmlbeans.XmlString xgetQTime();
-    
-    /**
-     * True if has "qTime" element
-     */
-    boolean isSetQTime();
-    
-    /**
-     * Sets the "qTime" element
-     */
-    void setQTime(java.lang.String qTime);
-    
-    /**
-     * Sets (as xml) the "qTime" element
-     */
-    void xsetQTime(org.apache.xmlbeans.XmlString qTime);
-    
-    /**
-     * Unsets the "qTime" element
-     */
-    void unsetQTime();
-    
-    /**
-     * Gets the "mTime" element
-     */
-    java.lang.String getMTime();
-    
-    /**
-     * Gets (as xml) the "mTime" element
-     */
-    org.apache.xmlbeans.XmlString xgetMTime();
-    
-    /**
-     * True if has "mTime" element
-     */
-    boolean isSetMTime();
-    
-    /**
-     * Sets the "mTime" element
-     */
-    void setMTime(java.lang.String mTime);
-    
-    /**
-     * Sets (as xml) the "mTime" element
-     */
-    void xsetMTime(org.apache.xmlbeans.XmlString mTime);
-    
-    /**
-     * Unsets the "mTime" element
-     */
-    void unsetMTime();
-    
-    /**
-     * Gets the "sTime" element
-     */
-    java.lang.String getSTime();
-    
-    /**
-     * Gets (as xml) the "sTime" element
-     */
-    org.apache.xmlbeans.XmlString xgetSTime();
-    
-    /**
-     * True if has "sTime" element
-     */
-    boolean isSetSTime();
-    
-    /**
-     * Sets the "sTime" element
-     */
-    void setSTime(java.lang.String sTime);
-    
-    /**
-     * Sets (as xml) the "sTime" element
-     */
-    void xsetSTime(org.apache.xmlbeans.XmlString sTime);
-    
-    /**
-     * Unsets the "sTime" element
-     */
-    void unsetSTime();
-    
-    /**
-     * Gets the "compTime" element
-     */
-    java.lang.String getCompTime();
-    
-    /**
-     * Gets (as xml) the "compTime" element
-     */
-    org.apache.xmlbeans.XmlString xgetCompTime();
-    
-    /**
-     * True if has "compTime" element
-     */
-    boolean isSetCompTime();
-    
-    /**
-     * Sets the "compTime" element
-     */
-    void setCompTime(java.lang.String compTime);
-    
-    /**
-     * Sets (as xml) the "compTime" element
-     */
-    void xsetCompTime(org.apache.xmlbeans.XmlString compTime);
-    
-    /**
-     * Unsets the "compTime" element
-     */
-    void unsetCompTime();
-    
-    /**
-     * Gets the "owner" element
-     */
-    java.lang.String getOwner();
-    
-    /**
-     * Gets (as xml) the "owner" element
-     */
-    org.apache.xmlbeans.XmlString xgetOwner();
-    
-    /**
-     * True if has "owner" element
-     */
-    boolean isSetOwner();
-    
-    /**
-     * Sets the "owner" element
-     */
-    void setOwner(java.lang.String owner);
-    
-    /**
-     * Sets (as xml) the "owner" element
-     */
-    void xsetOwner(org.apache.xmlbeans.XmlString owner);
-    
-    /**
-     * Unsets the "owner" element
-     */
-    void unsetOwner();
-    
-    /**
-     * Gets the "executeNode" element
-     */
-    java.lang.String getExecuteNode();
-    
-    /**
-     * Gets (as xml) the "executeNode" element
-     */
-    org.apache.xmlbeans.XmlString xgetExecuteNode();
-    
-    /**
-     * True if has "executeNode" element
-     */
-    boolean isSetExecuteNode();
-    
-    /**
-     * Sets the "executeNode" element
-     */
-    void setExecuteNode(java.lang.String executeNode);
-    
-    /**
-     * Sets (as xml) the "executeNode" element
-     */
-    void xsetExecuteNode(org.apache.xmlbeans.XmlString executeNode);
-    
-    /**
-     * Unsets the "executeNode" element
-     */
-    void unsetExecuteNode();
-    
-    /**
-     * Gets the "ellapsedTime" element
-     */
-    java.lang.String getEllapsedTime();
-    
-    /**
-     * Gets (as xml) the "ellapsedTime" element
-     */
-    org.apache.xmlbeans.XmlString xgetEllapsedTime();
-    
-    /**
-     * True if has "ellapsedTime" element
-     */
-    boolean isSetEllapsedTime();
-    
-    /**
-     * Sets the "ellapsedTime" element
-     */
-    void setEllapsedTime(java.lang.String ellapsedTime);
-    
-    /**
-     * Sets (as xml) the "ellapsedTime" element
-     */
-    void xsetEllapsedTime(org.apache.xmlbeans.XmlString ellapsedTime);
-    
-    /**
-     * Unsets the "ellapsedTime" element
-     */
-    void unsetEllapsedTime();
-    
-    /**
-     * Gets the "usedCPUTime" element
-     */
-    java.lang.String getUsedCPUTime();
-    
-    /**
-     * Gets (as xml) the "usedCPUTime" element
-     */
-    org.apache.xmlbeans.XmlString xgetUsedCPUTime();
-    
-    /**
-     * True if has "usedCPUTime" element
-     */
-    boolean isSetUsedCPUTime();
-    
-    /**
-     * Sets the "usedCPUTime" element
-     */
-    void setUsedCPUTime(java.lang.String usedCPUTime);
-    
-    /**
-     * Sets (as xml) the "usedCPUTime" element
-     */
-    void xsetUsedCPUTime(org.apache.xmlbeans.XmlString usedCPUTime);
-    
-    /**
-     * Unsets the "usedCPUTime" element
-     */
-    void unsetUsedCPUTime();
-    
-    /**
-     * Gets the "usedMem" element
-     */
-    java.lang.String getUsedMem();
-    
-    /**
-     * Gets (as xml) the "usedMem" element
-     */
-    org.apache.xmlbeans.XmlString xgetUsedMem();
-    
-    /**
-     * True if has "usedMem" element
-     */
-    boolean isSetUsedMem();
-    
-    /**
-     * Sets the "usedMem" element
-     */
-    void setUsedMem(java.lang.String usedMem);
-    
-    /**
-     * Sets (as xml) the "usedMem" element
-     */
-    void xsetUsedMem(org.apache.xmlbeans.XmlString usedMem);
-    
-    /**
-     * Unsets the "usedMem" element
-     */
-    void unsetUsedMem();
-    
-    /**
-     * Gets the "submitArgs" element
-     */
-    java.lang.String getSubmitArgs();
-    
-    /**
-     * Gets (as xml) the "submitArgs" element
-     */
-    org.apache.xmlbeans.XmlString xgetSubmitArgs();
-    
-    /**
-     * True if has "submitArgs" element
-     */
-    boolean isSetSubmitArgs();
-    
-    /**
-     * Sets the "submitArgs" element
-     */
-    void setSubmitArgs(java.lang.String submitArgs);
-    
-    /**
-     * Sets (as xml) the "submitArgs" element
-     */
-    void xsetSubmitArgs(org.apache.xmlbeans.XmlString submitArgs);
-    
-    /**
-     * Unsets the "submitArgs" element
-     */
-    void unsetSubmitArgs();
-    
-    /**
-     * Gets the "variableList" element
-     */
-    java.lang.String getVariableList();
-    
-    /**
-     * Gets (as xml) the "variableList" element
-     */
-    org.apache.xmlbeans.XmlString xgetVariableList();
-    
-    /**
-     * True if has "variableList" element
-     */
-    boolean isSetVariableList();
-    
-    /**
-     * Sets the "variableList" element
-     */
-    void setVariableList(java.lang.String variableList);
-    
-    /**
-     * Sets (as xml) the "variableList" element
-     */
-    void xsetVariableList(org.apache.xmlbeans.XmlString variableList);
-    
-    /**
-     * Unsets the "variableList" element
-     */
-    void unsetVariableList();
-    
-    /**
-     * Gets the "preJobCommands" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.PreJobCommands getPreJobCommands();
-    
-    /**
-     * True if has "preJobCommands" element
-     */
-    boolean isSetPreJobCommands();
-    
-    /**
-     * Sets the "preJobCommands" element
-     */
-    void setPreJobCommands(org.apache.airavata.gfac.core.x2012.x12.PreJobCommands preJobCommands);
-    
-    /**
-     * Appends and returns a new empty "preJobCommands" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.PreJobCommands addNewPreJobCommands();
-    
-    /**
-     * Unsets the "preJobCommands" element
-     */
-    void unsetPreJobCommands();
-    
-    /**
-     * Gets the "moduleLoadCommands" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands getModuleLoadCommands();
-    
-    /**
-     * True if has "moduleLoadCommands" element
-     */
-    boolean isSetModuleLoadCommands();
-    
-    /**
-     * Sets the "moduleLoadCommands" element
-     */
-    void setModuleLoadCommands(org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands moduleLoadCommands);
-    
-    /**
-     * Appends and returns a new empty "moduleLoadCommands" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands addNewModuleLoadCommands();
-    
-    /**
-     * Unsets the "moduleLoadCommands" element
-     */
-    void unsetModuleLoadCommands();
-    
-    /**
-     * Gets the "postJobCommands" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.PostJobCommands getPostJobCommands();
-    
-    /**
-     * True if has "postJobCommands" element
-     */
-    boolean isSetPostJobCommands();
-    
-    /**
-     * Sets the "postJobCommands" element
-     */
-    void setPostJobCommands(org.apache.airavata.gfac.core.x2012.x12.PostJobCommands postJobCommands);
-    
-    /**
-     * Appends and returns a new empty "postJobCommands" element
-     */
-    org.apache.airavata.gfac.core.x2012.x12.PostJobCommands addNewPostJobCommands();
-    
-    /**
-     * Unsets the "postJobCommands" element
-     */
-    void unsetPostJobCommands();
-    
-    /**
-     * Gets the "jobSubmitterCommand" element
-     */
-    java.lang.String getJobSubmitterCommand();
-    
-    /**
-     * Gets (as xml) the "jobSubmitterCommand" element
-     */
-    org.apache.xmlbeans.XmlString xgetJobSubmitterCommand();
-    
-    /**
-     * True if has "jobSubmitterCommand" element
-     */
-    boolean isSetJobSubmitterCommand();
-    
-    /**
-     * Sets the "jobSubmitterCommand" element
-     */
-    void setJobSubmitterCommand(java.lang.String jobSubmitterCommand);
-    
-    /**
-     * Sets (as xml) the "jobSubmitterCommand" element
-     */
-    void xsetJobSubmitterCommand(org.apache.xmlbeans.XmlString jobSubmitterCommand);
-    
-    /**
-     * Unsets the "jobSubmitterCommand" element
-     */
-    void unsetJobSubmitterCommand();
-    
-    /**
-     * Gets the "callBackIp" element
-     */
-    java.lang.String getCallBackIp();
-    
-    /**
-     * Gets (as xml) the "callBackIp" element
-     */
-    org.apache.xmlbeans.XmlString xgetCallBackIp();
-    
-    /**
-     * True if has "callBackIp" element
-     */
-    boolean isSetCallBackIp();
-    
-    /**
-     * Sets the "callBackIp" element
-     */
-    void setCallBackIp(java.lang.String callBackIp);
-    
-    /**
-     * Sets (as xml) the "callBackIp" element
-     */
-    void xsetCallBackIp(org.apache.xmlbeans.XmlString callBackIp);
-    
-    /**
-     * Unsets the "callBackIp" element
-     */
-    void unsetCallBackIp();
-    
-    /**
-     * Gets the "callBackPort" element
-     */
-    java.lang.String getCallBackPort();
-    
-    /**
-     * Gets (as xml) the "callBackPort" element
-     */
-    org.apache.xmlbeans.XmlString xgetCallBackPort();
-    
-    /**
-     * True if has "callBackPort" element
-     */
-    boolean isSetCallBackPort();
-    
-    /**
-     * Sets the "callBackPort" element
-     */
-    void setCallBackPort(java.lang.String callBackPort);
-    
-    /**
-     * Sets (as xml) the "callBackPort" element
-     */
-    void xsetCallBackPort(org.apache.xmlbeans.XmlString callBackPort);
-    
-    /**
-     * Unsets the "callBackPort" element
-     */
-    void unsetCallBackPort();
-    
-    /**
-     * Gets the "chassisName" element
-     */
-    java.lang.String getChassisName();
-    
-    /**
-     * Gets (as xml) the "chassisName" element
-     */
-    org.apache.xmlbeans.XmlString xgetChassisName();
-    
-    /**
-     * True if has "chassisName" element
-     */
-    boolean isSetChassisName();
-    
-    /**
-     * Sets the "chassisName" element
-     */
-    void setChassisName(java.lang.String chassisName);
-    
-    /**
-     * Sets (as xml) the "chassisName" element
-     */
-    void xsetChassisName(org.apache.xmlbeans.XmlString chassisName);
-    
-    /**
-     * Unsets the "chassisName" element
-     */
-    void unsetChassisName();
-    
-    /**
-     * Gets the "qualityOfService" element
-     */
-    java.lang.String getQualityOfService();
-    
-    /**
-     * Gets (as xml) the "qualityOfService" element
-     */
-    org.apache.xmlbeans.XmlString xgetQualityOfService();
-    
-    /**
-     * True if has "qualityOfService" element
-     */
-    boolean isSetQualityOfService();
-    
-    /**
-     * Sets the "qualityOfService" element
-     */
-    void setQualityOfService(java.lang.String qualityOfService);
-    
-    /**
-     * Sets (as xml) the "qualityOfService" element
-     */
-    void xsetQualityOfService(org.apache.xmlbeans.XmlString qualityOfService);
-    
-    /**
-     * Unsets the "qualityOfService" element
-     */
-    void unsetQualityOfService();
-    
-    /**
-     * Gets the "reservation" element
-     */
-    java.lang.String getReservation();
-    
-    /**
-     * Gets (as xml) the "reservation" element
-     */
-    org.apache.xmlbeans.XmlString xgetReservation();
-    
-    /**
-     * True if has "reservation" element
-     */
-    boolean isSetReservation();
-    
-    /**
-     * Sets the "reservation" element
-     */
-    void setReservation(java.lang.String reservation);
-    
-    /**
-     * Sets (as xml) the "reservation" element
-     */
-    void xsetReservation(org.apache.xmlbeans.XmlString reservation);
-    
-    /**
-     * Unsets the "reservation" element
-     */
-    void unsetReservation();
-    
-    /**
-     * A factory class with static methods for creating instances
-     * of this type.
-     */
-    
-    public static final class Factory
-    {
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams newInstance() {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** @param xmlAsString the string value to parse */
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-        
-        /** @param file the file from which to load an xml document */
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.PbsParams parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PbsParams) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PostJobCommands.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PostJobCommands.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PostJobCommands.java
deleted file mode 100644
index 512b230..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PostJobCommands.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  postJobCommands
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.PostJobCommands
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12;
-
-
-/**
- * An XML postJobCommands(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public interface PostJobCommands extends org.apache.xmlbeans.XmlObject
-{
-    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(PostJobCommands.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("postjobcommandsf415type");
-    
-    /**
-     * Gets array of all "command" elements
-     */
-    java.lang.String[] getCommandArray();
-    
-    /**
-     * Gets ith "command" element
-     */
-    java.lang.String getCommandArray(int i);
-    
-    /**
-     * Gets (as xml) array of all "command" elements
-     */
-    org.apache.xmlbeans.XmlString[] xgetCommandArray();
-    
-    /**
-     * Gets (as xml) ith "command" element
-     */
-    org.apache.xmlbeans.XmlString xgetCommandArray(int i);
-    
-    /**
-     * Returns number of "command" element
-     */
-    int sizeOfCommandArray();
-    
-    /**
-     * Sets array of all "command" element
-     */
-    void setCommandArray(java.lang.String[] commandArray);
-    
-    /**
-     * Sets ith "command" element
-     */
-    void setCommandArray(int i, java.lang.String command);
-    
-    /**
-     * Sets (as xml) array of all "command" element
-     */
-    void xsetCommandArray(org.apache.xmlbeans.XmlString[] commandArray);
-    
-    /**
-     * Sets (as xml) ith "command" element
-     */
-    void xsetCommandArray(int i, org.apache.xmlbeans.XmlString command);
-    
-    /**
-     * Inserts the value as the ith "command" element
-     */
-    void insertCommand(int i, java.lang.String command);
-    
-    /**
-     * Appends the value as the last "command" element
-     */
-    void addCommand(java.lang.String command);
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "command" element
-     */
-    org.apache.xmlbeans.XmlString insertNewCommand(int i);
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "command" element
-     */
-    org.apache.xmlbeans.XmlString addNewCommand();
-    
-    /**
-     * Removes the ith "command" element
-     */
-    void removeCommand(int i);
-    
-    /**
-     * A factory class with static methods for creating instances
-     * of this type.
-     */
-    
-    public static final class Factory
-    {
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands newInstance() {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** @param xmlAsString the string value to parse */
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-        
-        /** @param file the file from which to load an xml document */
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.PostJobCommands parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PostJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PreJobCommands.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PreJobCommands.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PreJobCommands.java
deleted file mode 100644
index a644cb5..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PreJobCommands.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  preJobCommands
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.PreJobCommands
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12;
-
-
-/**
- * An XML preJobCommands(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public interface PreJobCommands extends org.apache.xmlbeans.XmlObject
-{
-    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
-        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(PreJobCommands.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD070E302A2FC7CFEA0F2B3EB44FAE57D").resolveHandle("prejobcommands6a26type");
-    
-    /**
-     * Gets array of all "command" elements
-     */
-    java.lang.String[] getCommandArray();
-    
-    /**
-     * Gets ith "command" element
-     */
-    java.lang.String getCommandArray(int i);
-    
-    /**
-     * Gets (as xml) array of all "command" elements
-     */
-    org.apache.xmlbeans.XmlString[] xgetCommandArray();
-    
-    /**
-     * Gets (as xml) ith "command" element
-     */
-    org.apache.xmlbeans.XmlString xgetCommandArray(int i);
-    
-    /**
-     * Returns number of "command" element
-     */
-    int sizeOfCommandArray();
-    
-    /**
-     * Sets array of all "command" element
-     */
-    void setCommandArray(java.lang.String[] commandArray);
-    
-    /**
-     * Sets ith "command" element
-     */
-    void setCommandArray(int i, java.lang.String command);
-    
-    /**
-     * Sets (as xml) array of all "command" element
-     */
-    void xsetCommandArray(org.apache.xmlbeans.XmlString[] commandArray);
-    
-    /**
-     * Sets (as xml) ith "command" element
-     */
-    void xsetCommandArray(int i, org.apache.xmlbeans.XmlString command);
-    
-    /**
-     * Inserts the value as the ith "command" element
-     */
-    void insertCommand(int i, java.lang.String command);
-    
-    /**
-     * Appends the value as the last "command" element
-     */
-    void addCommand(java.lang.String command);
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "command" element
-     */
-    org.apache.xmlbeans.XmlString insertNewCommand(int i);
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "command" element
-     */
-    org.apache.xmlbeans.XmlString addNewCommand();
-    
-    /**
-     * Removes the ith "command" element
-     */
-    void removeCommand(int i);
-    
-    /**
-     * A factory class with static methods for creating instances
-     * of this type.
-     */
-    
-    public static final class Factory
-    {
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands newInstance() {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands newInstance(org.apache.xmlbeans.XmlOptions options) {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
-        
-        /** @param xmlAsString the string value to parse */
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
-        
-        /** @param file the file from which to load an xml document */
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
-        
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.airavata.gfac.core.x2012.x12.PreJobCommands parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return (org.apache.airavata.gfac.core.x2012.x12.PreJobCommands) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
-        
-        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
-        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
-          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
-        
-        private Factory() { } // No instance of this class allowed
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterAnyListImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterAnyListImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterAnyListImpl.java
deleted file mode 100644
index 30853f1..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterAnyListImpl.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  afterAnyList
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.AfterAnyList
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12.impl;
-/**
- * An XML afterAnyList(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public class AfterAnyListImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.AfterAnyList
-{
-    private static final long serialVersionUID = 1L;
-    
-    public AfterAnyListImpl(org.apache.xmlbeans.SchemaType sType)
-    {
-        super(sType);
-    }
-    
-    private static final javax.xml.namespace.QName AFTERANY$0 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "afterAny");
-    
-    
-    /**
-     * Gets array of all "afterAny" elements
-     */
-    public java.lang.String[] getAfterAnyArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(AFTERANY$0, targetList);
-            java.lang.String[] result = new java.lang.String[targetList.size()];
-            for (int i = 0, len = targetList.size() ; i < len ; i++)
-                result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
-            return result;
-        }
-    }
-    
-    /**
-     * Gets ith "afterAny" element
-     */
-    public java.lang.String getAfterAnyArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AFTERANY$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) array of all "afterAny" elements
-     */
-    public org.apache.xmlbeans.XmlString[] xgetAfterAnyArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(AFTERANY$0, targetList);
-            org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
-            targetList.toArray(result);
-            return result;
-        }
-    }
-    
-    /**
-     * Gets (as xml) ith "afterAny" element
-     */
-    public org.apache.xmlbeans.XmlString xgetAfterAnyArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(AFTERANY$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return (org.apache.xmlbeans.XmlString)target;
-        }
-    }
-    
-    /**
-     * Returns number of "afterAny" element
-     */
-    public int sizeOfAfterAnyArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(AFTERANY$0);
-        }
-    }
-    
-    /**
-     * Sets array of all "afterAny" element
-     */
-    public void setAfterAnyArray(java.lang.String[] afterAnyArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(afterAnyArray, AFTERANY$0);
-        }
-    }
-    
-    /**
-     * Sets ith "afterAny" element
-     */
-    public void setAfterAnyArray(int i, java.lang.String afterAny)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AFTERANY$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.setStringValue(afterAny);
-        }
-    }
-    
-    /**
-     * Sets (as xml) array of all "afterAny" element
-     */
-    public void xsetAfterAnyArray(org.apache.xmlbeans.XmlString[]afterAnyArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(afterAnyArray, AFTERANY$0);
-        }
-    }
-    
-    /**
-     * Sets (as xml) ith "afterAny" element
-     */
-    public void xsetAfterAnyArray(int i, org.apache.xmlbeans.XmlString afterAny)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(AFTERANY$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.set(afterAny);
-        }
-    }
-    
-    /**
-     * Inserts the value as the ith "afterAny" element
-     */
-    public void insertAfterAny(int i, java.lang.String afterAny)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = 
-                (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(AFTERANY$0, i);
-            target.setStringValue(afterAny);
-        }
-    }
-    
-    /**
-     * Appends the value as the last "afterAny" element
-     */
-    public void addAfterAny(java.lang.String afterAny)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AFTERANY$0);
-            target.setStringValue(afterAny);
-        }
-    }
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "afterAny" element
-     */
-    public org.apache.xmlbeans.XmlString insertNewAfterAny(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(AFTERANY$0, i);
-            return target;
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "afterAny" element
-     */
-    public org.apache.xmlbeans.XmlString addNewAfterAny()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(AFTERANY$0);
-            return target;
-        }
-    }
-    
-    /**
-     * Removes the ith "afterAny" element
-     */
-    public void removeAfterAny(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(AFTERANY$0, i);
-        }
-    }
-}


[3/6] airavata git commit: Replaced xslt templates with groovy templates, fixed AIRAVATA-2124

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterOKListImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterOKListImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterOKListImpl.java
deleted file mode 100644
index d45e252..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterOKListImpl.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  afterOKList
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.AfterOKList
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12.impl;
-/**
- * An XML afterOKList(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public class AfterOKListImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.AfterOKList
-{
-    private static final long serialVersionUID = 1L;
-    
-    public AfterOKListImpl(org.apache.xmlbeans.SchemaType sType)
-    {
-        super(sType);
-    }
-    
-    private static final javax.xml.namespace.QName AFTEROKLIST$0 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "afterOKList");
-    
-    
-    /**
-     * Gets array of all "afterOKList" elements
-     */
-    public java.lang.String[] getAfterOKListArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(AFTEROKLIST$0, targetList);
-            java.lang.String[] result = new java.lang.String[targetList.size()];
-            for (int i = 0, len = targetList.size() ; i < len ; i++)
-                result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
-            return result;
-        }
-    }
-    
-    /**
-     * Gets ith "afterOKList" element
-     */
-    public java.lang.String getAfterOKListArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AFTEROKLIST$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) array of all "afterOKList" elements
-     */
-    public org.apache.xmlbeans.XmlString[] xgetAfterOKListArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(AFTEROKLIST$0, targetList);
-            org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
-            targetList.toArray(result);
-            return result;
-        }
-    }
-    
-    /**
-     * Gets (as xml) ith "afterOKList" element
-     */
-    public org.apache.xmlbeans.XmlString xgetAfterOKListArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(AFTEROKLIST$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return (org.apache.xmlbeans.XmlString)target;
-        }
-    }
-    
-    /**
-     * Returns number of "afterOKList" element
-     */
-    public int sizeOfAfterOKListArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(AFTEROKLIST$0);
-        }
-    }
-    
-    /**
-     * Sets array of all "afterOKList" element
-     */
-    public void setAfterOKListArray(java.lang.String[] afterOKListArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(afterOKListArray, AFTEROKLIST$0);
-        }
-    }
-    
-    /**
-     * Sets ith "afterOKList" element
-     */
-    public void setAfterOKListArray(int i, java.lang.String afterOKList)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AFTEROKLIST$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.setStringValue(afterOKList);
-        }
-    }
-    
-    /**
-     * Sets (as xml) array of all "afterOKList" element
-     */
-    public void xsetAfterOKListArray(org.apache.xmlbeans.XmlString[]afterOKListArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(afterOKListArray, AFTEROKLIST$0);
-        }
-    }
-    
-    /**
-     * Sets (as xml) ith "afterOKList" element
-     */
-    public void xsetAfterOKListArray(int i, org.apache.xmlbeans.XmlString afterOKList)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(AFTEROKLIST$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.set(afterOKList);
-        }
-    }
-    
-    /**
-     * Inserts the value as the ith "afterOKList" element
-     */
-    public void insertAfterOKList(int i, java.lang.String afterOKList)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = 
-                (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(AFTEROKLIST$0, i);
-            target.setStringValue(afterOKList);
-        }
-    }
-    
-    /**
-     * Appends the value as the last "afterOKList" element
-     */
-    public void addAfterOKList(java.lang.String afterOKList)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AFTEROKLIST$0);
-            target.setStringValue(afterOKList);
-        }
-    }
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "afterOKList" element
-     */
-    public org.apache.xmlbeans.XmlString insertNewAfterOKList(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(AFTEROKLIST$0, i);
-            return target;
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "afterOKList" element
-     */
-    public org.apache.xmlbeans.XmlString addNewAfterOKList()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(AFTEROKLIST$0);
-            return target;
-        }
-    }
-    
-    /**
-     * Removes the ith "afterOKList" element
-     */
-    public void removeAfterOKList(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(AFTEROKLIST$0, i);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ExportPropertiesImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ExportPropertiesImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ExportPropertiesImpl.java
deleted file mode 100644
index 51e96fb..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ExportPropertiesImpl.java
+++ /dev/null
@@ -1,252 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  exportProperties
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.ExportProperties
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12.impl;
-/**
- * An XML exportProperties(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public class ExportPropertiesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.ExportProperties
-{
-    private static final long serialVersionUID = 1L;
-    
-    public ExportPropertiesImpl(org.apache.xmlbeans.SchemaType sType)
-    {
-        super(sType);
-    }
-    
-    private static final javax.xml.namespace.QName NAME$0 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "name");
-    
-    
-    /**
-     * Gets array of all "name" elements
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[] getNameArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(NAME$0, targetList);
-            org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[] result = new org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[targetList.size()];
-            targetList.toArray(result);
-            return result;
-        }
-    }
-    
-    /**
-     * Gets ith "name" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name getNameArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name)get_store().find_element_user(NAME$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return target;
-        }
-    }
-    
-    /**
-     * Returns number of "name" element
-     */
-    public int sizeOfNameArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(NAME$0);
-        }
-    }
-    
-    /**
-     * Sets array of all "name" element
-     */
-    public void setNameArray(org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name[] nameArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(nameArray, NAME$0);
-        }
-    }
-    
-    /**
-     * Sets ith "name" element
-     */
-    public void setNameArray(int i, org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name name)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name)get_store().find_element_user(NAME$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.set(name);
-        }
-    }
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "name" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name insertNewName(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name)get_store().insert_element_user(NAME$0, i);
-            return target;
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "name" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name addNewName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name)get_store().add_element_user(NAME$0);
-            return target;
-        }
-    }
-    
-    /**
-     * Removes the ith "name" element
-     */
-    public void removeName(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(NAME$0, i);
-        }
-    }
-    /**
-     * An XML name(@http://airavata.apache.org/gfac/core/2012/12).
-     *
-     * This is an atomic type that is a restriction of org.apache.airavata.gfac.core.x2012.x12.ExportProperties$Name.
-     */
-    public static class NameImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements org.apache.airavata.gfac.core.x2012.x12.ExportProperties.Name
-    {
-        private static final long serialVersionUID = 1L;
-        
-        public NameImpl(org.apache.xmlbeans.SchemaType sType)
-        {
-            super(sType, true);
-        }
-        
-        protected NameImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
-        {
-            super(sType, b);
-        }
-        
-        private static final javax.xml.namespace.QName VALUE$0 = 
-            new javax.xml.namespace.QName("", "value");
-        
-        
-        /**
-         * Gets the "value" attribute
-         */
-        public java.lang.String getValue()
-        {
-            synchronized (monitor())
-            {
-                check_orphaned();
-                org.apache.xmlbeans.SimpleValue target = null;
-                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VALUE$0);
-                if (target == null)
-                {
-                    return null;
-                }
-                return target.getStringValue();
-            }
-        }
-        
-        /**
-         * Gets (as xml) the "value" attribute
-         */
-        public org.apache.xmlbeans.XmlString xgetValue()
-        {
-            synchronized (monitor())
-            {
-                check_orphaned();
-                org.apache.xmlbeans.XmlString target = null;
-                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VALUE$0);
-                return target;
-            }
-        }
-        
-        /**
-         * Sets the "value" attribute
-         */
-        public void setValue(java.lang.String value)
-        {
-            synchronized (monitor())
-            {
-                check_orphaned();
-                org.apache.xmlbeans.SimpleValue target = null;
-                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VALUE$0);
-                if (target == null)
-                {
-                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VALUE$0);
-                }
-                target.setStringValue(value);
-            }
-        }
-        
-        /**
-         * Sets (as xml) the "value" attribute
-         */
-        public void xsetValue(org.apache.xmlbeans.XmlString value)
-        {
-            synchronized (monitor())
-            {
-                check_orphaned();
-                org.apache.xmlbeans.XmlString target = null;
-                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VALUE$0);
-                if (target == null)
-                {
-                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VALUE$0);
-                }
-                target.set(value);
-            }
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/InputListImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/InputListImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/InputListImpl.java
deleted file mode 100644
index 5e1ec0f..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/InputListImpl.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  inputList
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.InputList
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12.impl;
-/**
- * An XML inputList(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public class InputListImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.InputList
-{
-    private static final long serialVersionUID = 1L;
-    
-    public InputListImpl(org.apache.xmlbeans.SchemaType sType)
-    {
-        super(sType);
-    }
-    
-    private static final javax.xml.namespace.QName INPUT$0 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "input");
-    
-    
-    /**
-     * Gets array of all "input" elements
-     */
-    public java.lang.String[] getInputArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(INPUT$0, targetList);
-            java.lang.String[] result = new java.lang.String[targetList.size()];
-            for (int i = 0, len = targetList.size() ; i < len ; i++)
-                result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
-            return result;
-        }
-    }
-    
-    /**
-     * Gets ith "input" element
-     */
-    public java.lang.String getInputArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INPUT$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) array of all "input" elements
-     */
-    public org.apache.xmlbeans.XmlString[] xgetInputArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(INPUT$0, targetList);
-            org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
-            targetList.toArray(result);
-            return result;
-        }
-    }
-    
-    /**
-     * Gets (as xml) ith "input" element
-     */
-    public org.apache.xmlbeans.XmlString xgetInputArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INPUT$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return (org.apache.xmlbeans.XmlString)target;
-        }
-    }
-    
-    /**
-     * Returns number of "input" element
-     */
-    public int sizeOfInputArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(INPUT$0);
-        }
-    }
-    
-    /**
-     * Sets array of all "input" element
-     */
-    public void setInputArray(java.lang.String[] inputArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(inputArray, INPUT$0);
-        }
-    }
-    
-    /**
-     * Sets ith "input" element
-     */
-    public void setInputArray(int i, java.lang.String input)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INPUT$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.setStringValue(input);
-        }
-    }
-    
-    /**
-     * Sets (as xml) array of all "input" element
-     */
-    public void xsetInputArray(org.apache.xmlbeans.XmlString[]inputArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(inputArray, INPUT$0);
-        }
-    }
-    
-    /**
-     * Sets (as xml) ith "input" element
-     */
-    public void xsetInputArray(int i, org.apache.xmlbeans.XmlString input)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INPUT$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.set(input);
-        }
-    }
-    
-    /**
-     * Inserts the value as the ith "input" element
-     */
-    public void insertInput(int i, java.lang.String input)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = 
-                (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(INPUT$0, i);
-            target.setStringValue(input);
-        }
-    }
-    
-    /**
-     * Appends the value as the last "input" element
-     */
-    public void addInput(java.lang.String input)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INPUT$0);
-            target.setStringValue(input);
-        }
-    }
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "input" element
-     */
-    public org.apache.xmlbeans.XmlString insertNewInput(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(INPUT$0, i);
-            return target;
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "input" element
-     */
-    public org.apache.xmlbeans.XmlString addNewInput()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(INPUT$0);
-            return target;
-        }
-    }
-    
-    /**
-     * Removes the ith "input" element
-     */
-    public void removeInput(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(INPUT$0, i);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/JobDescriptorDocumentImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/JobDescriptorDocumentImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/JobDescriptorDocumentImpl.java
deleted file mode 100644
index 9b9122a..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/JobDescriptorDocumentImpl.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * An XML document type.
- * Localname: JobDescriptor
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12.impl;
-/**
- * A document containing one JobDescriptor(@http://airavata.apache.org/gfac/core/2012/12) element.
- *
- * This is a complex type.
- */
-public class JobDescriptorDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.JobDescriptorDocument
-{
-    private static final long serialVersionUID = 1L;
-    
-    public JobDescriptorDocumentImpl(org.apache.xmlbeans.SchemaType sType)
-    {
-        super(sType);
-    }
-    
-    private static final javax.xml.namespace.QName JOBDESCRIPTOR$0 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "JobDescriptor");
-    
-    
-    /**
-     * Gets the "JobDescriptor" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.PbsParams getJobDescriptor()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.PbsParams target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.PbsParams)get_store().find_element_user(JOBDESCRIPTOR$0, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target;
-        }
-    }
-    
-    /**
-     * Sets the "JobDescriptor" element
-     */
-    public void setJobDescriptor(org.apache.airavata.gfac.core.x2012.x12.PbsParams jobDescriptor)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.PbsParams target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.PbsParams)get_store().find_element_user(JOBDESCRIPTOR$0, 0);
-            if (target == null)
-            {
-                target = (org.apache.airavata.gfac.core.x2012.x12.PbsParams)get_store().add_element_user(JOBDESCRIPTOR$0);
-            }
-            target.set(jobDescriptor);
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty "JobDescriptor" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.PbsParams addNewJobDescriptor()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.PbsParams target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.PbsParams)get_store().add_element_user(JOBDESCRIPTOR$0);
-            return target;
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ModuleLoadCommandsImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ModuleLoadCommandsImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ModuleLoadCommandsImpl.java
deleted file mode 100644
index 2135539..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ModuleLoadCommandsImpl.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  moduleLoadCommands
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12.impl;
-/**
- * An XML moduleLoadCommands(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public class ModuleLoadCommandsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.ModuleLoadCommands
-{
-    private static final long serialVersionUID = 1L;
-    
-    public ModuleLoadCommandsImpl(org.apache.xmlbeans.SchemaType sType)
-    {
-        super(sType);
-    }
-    
-    private static final javax.xml.namespace.QName COMMAND$0 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "command");
-    
-    
-    /**
-     * Gets array of all "command" elements
-     */
-    public java.lang.String[] getCommandArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(COMMAND$0, targetList);
-            java.lang.String[] result = new java.lang.String[targetList.size()];
-            for (int i = 0, len = targetList.size() ; i < len ; i++)
-                result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
-            return result;
-        }
-    }
-    
-    /**
-     * Gets ith "command" element
-     */
-    public java.lang.String getCommandArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) array of all "command" elements
-     */
-    public org.apache.xmlbeans.XmlString[] xgetCommandArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            java.util.List targetList = new java.util.ArrayList();
-            get_store().find_all_element_users(COMMAND$0, targetList);
-            org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
-            targetList.toArray(result);
-            return result;
-        }
-    }
-    
-    /**
-     * Gets (as xml) ith "command" element
-     */
-    public org.apache.xmlbeans.XmlString xgetCommandArray(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            return (org.apache.xmlbeans.XmlString)target;
-        }
-    }
-    
-    /**
-     * Returns number of "command" element
-     */
-    public int sizeOfCommandArray()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(COMMAND$0);
-        }
-    }
-    
-    /**
-     * Sets array of all "command" element
-     */
-    public void setCommandArray(java.lang.String[] commandArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(commandArray, COMMAND$0);
-        }
-    }
-    
-    /**
-     * Sets ith "command" element
-     */
-    public void setCommandArray(int i, java.lang.String command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.setStringValue(command);
-        }
-    }
-    
-    /**
-     * Sets (as xml) array of all "command" element
-     */
-    public void xsetCommandArray(org.apache.xmlbeans.XmlString[]commandArray)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            arraySetterHelper(commandArray, COMMAND$0);
-        }
-    }
-    
-    /**
-     * Sets (as xml) ith "command" element
-     */
-    public void xsetCommandArray(int i, org.apache.xmlbeans.XmlString command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMAND$0, i);
-            if (target == null)
-            {
-                throw new IndexOutOfBoundsException();
-            }
-            target.set(command);
-        }
-    }
-    
-    /**
-     * Inserts the value as the ith "command" element
-     */
-    public void insertCommand(int i, java.lang.String command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = 
-                (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(COMMAND$0, i);
-            target.setStringValue(command);
-        }
-    }
-    
-    /**
-     * Appends the value as the last "command" element
-     */
-    public void addCommand(java.lang.String command)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMMAND$0);
-            target.setStringValue(command);
-        }
-    }
-    
-    /**
-     * Inserts and returns a new empty value (as xml) as the ith "command" element
-     */
-    public org.apache.xmlbeans.XmlString insertNewCommand(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(COMMAND$0, i);
-            return target;
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty value (as xml) as the last "command" element
-     */
-    public org.apache.xmlbeans.XmlString addNewCommand()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(COMMAND$0);
-            return target;
-        }
-    }
-    
-    /**
-     * Removes the ith "command" element
-     */
-    public void removeCommand(int i)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(COMMAND$0, i);
-        }
-    }
-}


[6/6] airavata git commit: Replaced xslt templates with groovy templates, fixed AIRAVATA-2124

Posted by sh...@apache.org.
Replaced xslt templates with groovy templates, fixed AIRAVATA-2124


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/c3064689
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/c3064689
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/c3064689

Branch: refs/heads/develop
Commit: c3064689d04a1e7f348d48ae733c04b8c3756480
Parents: 67a9f64
Author: Shameera Rathnayaka <sh...@gmail.com>
Authored: Mon Oct 3 17:15:37 2016 -0400
Committer: Shameera Rathnayaka <sh...@gmail.com>
Committed: Mon Oct 3 17:24:28 2016 -0400

----------------------------------------------------------------------
 modules/commons/pom.xml                         |   10 -
 .../apache/airavata/common/utils/XMLUtil.java   |  586 ---
 .../airavata/common/utils/XmlFormatter.java     |   82 -
 .../airavata/common/utils/XMLUtilTest.java      |   56 -
 .../src/main/resources/FORK_Groovy.template     |   13 +
 .../src/main/resources/LSF_Groovy.template      |   27 +
 .../src/main/resources/PBS_Groovy.template      |   31 +
 .../src/main/resources/SLURM_Groovy.template    |   28 +
 .../src/main/resources/UGE_Groovy.template      |   28 +
 modules/distribution/pom.xml                    |   56 +-
 .../src/main/assembly/bin-assembly.xml          |   15 +-
 modules/gfac/gfac-core/pom.xml                  |   60 +-
 .../apache/airavata/gfac/core/GFacUtils.java    |  154 +-
 .../apache/airavata/gfac/core/GroovyMap.java    |   94 +
 .../airavata/gfac/core/JobDescriptor.java       |  489 --
 .../org/apache/airavata/gfac/core/Script.java   |   75 +
 .../gfac/core/cluster/OutputParser.java         |    8 -
 .../gfac/core/x2012/x12/AfterAnyList.java       |  185 -
 .../gfac/core/x2012/x12/AfterOKList.java        |  185 -
 .../gfac/core/x2012/x12/ExportProperties.java   |  202 -
 .../airavata/gfac/core/x2012/x12/InputList.java |  185 -
 .../core/x2012/x12/JobDescriptorDocument.java   |  131 -
 .../gfac/core/x2012/x12/ModuleLoadCommands.java |  185 -
 .../airavata/gfac/core/x2012/x12/PbsParams.java | 1500 ------
 .../gfac/core/x2012/x12/PostJobCommands.java    |  185 -
 .../gfac/core/x2012/x12/PreJobCommands.java     |  185 -
 .../core/x2012/x12/impl/AfterAnyListImpl.java   |  254 -
 .../core/x2012/x12/impl/AfterOKListImpl.java    |  254 -
 .../x2012/x12/impl/ExportPropertiesImpl.java    |  252 -
 .../gfac/core/x2012/x12/impl/InputListImpl.java |  254 -
 .../x12/impl/JobDescriptorDocumentImpl.java     |   96 -
 .../x2012/x12/impl/ModuleLoadCommandsImpl.java  |  254 -
 .../gfac/core/x2012/x12/impl/PbsParamsImpl.java | 4381 ------------------
 .../x2012/x12/impl/PostJobCommandsImpl.java     |  254 -
 .../core/x2012/x12/impl/PreJobCommandsImpl.java |  254 -
 .../org/apache/airavata/gfac/impl/Factory.java  |   11 +-
 .../gfac/impl/job/ForkOutputParser.java         |    5 -
 .../airavata/gfac/impl/job/LSFOutputParser.java |   10 +-
 .../airavata/gfac/impl/job/PBSOutputParser.java |   90 +-
 .../gfac/impl/job/SlurmOutputParser.java        |   61 +-
 .../airavata/gfac/impl/job/UGEOutputParser.java |   89 +-
 .../impl/task/DefaultJobSubmissionTask.java     |    8 +-
 .../gfac/impl/task/ForkJobSubmissionTask.java   |    6 +-
 .../engine/interpretor/WorkflowInterpreter.java |    1 -
 .../invoker/MsgBoxWsaResponsesCorrelator.java   |    2 +-
 .../component/ws/WSComponentApplication.java    |    1 -
 .../workflow/model/gpel/script/BPELScript.java  |    2 -
 .../model/gpel/script/WorkflowWSDL.java         |    1 -
 .../airavata/workflow/model/wf/Workflow.java    |    1 -
 modules/workflow/workflow-core/pom.xml          |   11 +-
 .../apache/airavata/workflow/core/XMLUtil.java  |  587 +++
 .../airavata/workflow/core/XmlFormatter.java    |   82 +
 .../airavata/workflow/core/XMLUtilTest.java     |   56 +
 pom.xml                                         |    2 +
 54 files changed, 1198 insertions(+), 10836 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/commons/pom.xml
----------------------------------------------------------------------
diff --git a/modules/commons/pom.xml b/modules/commons/pom.xml
index f4231ce..b204e48 100644
--- a/modules/commons/pom.xml
+++ b/modules/commons/pom.xml
@@ -30,16 +30,6 @@
             <version>${project.parent.version}</version>
         </dependency>
         <dependency>
-            <groupId>xerces</groupId>
-            <artifactId>xercesImpl</artifactId>
-            <version>2.9.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.xmlbeans</groupId>
-            <artifactId>xmlbeans</artifactId>
-            <version>${xmlbeans.version}</version>
-        </dependency>
-        <dependency>
             <groupId>org.ogce</groupId>
             <artifactId>xpp3</artifactId>
             <version>${xpp3.version}</version>

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/commons/src/main/java/org/apache/airavata/common/utils/XMLUtil.java
----------------------------------------------------------------------
diff --git a/modules/commons/src/main/java/org/apache/airavata/common/utils/XMLUtil.java b/modules/commons/src/main/java/org/apache/airavata/common/utils/XMLUtil.java
deleted file mode 100644
index 95ee1f3..0000000
--- a/modules/commons/src/main/java/org/apache/airavata/common/utils/XMLUtil.java
+++ /dev/null
@@ -1,586 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-package org.apache.airavata.common.utils;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.StringReader;
-import java.io.StringWriter;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.apache.airavata.common.exception.AiravataException;
-import org.apache.xmlbeans.XmlError;
-import org.apache.xmlbeans.XmlObject;
-import org.apache.xmlbeans.XmlOptions;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Text;
-import org.xml.sax.SAXException;
-import org.xmlpull.infoset.XmlDocument;
-import org.xmlpull.infoset.XmlElement;
-import org.xmlpull.infoset.XmlNamespace;
-import org.xmlpull.mxp1.MXParserFactory;
-import org.xmlpull.mxp1_serializer.MXSerializer;
-
-public class XMLUtil {
-
-    /**
-     * The XML builder for XPP5
-     */
-    public static final org.xmlpull.infoset.XmlInfosetBuilder BUILDER = org.xmlpull.infoset.XmlInfosetBuilder
-            .newInstance();
-
-    /**
-     * The XML builder for XPP3.
-     */
-    public static final org.xmlpull.v1.builder.XmlInfosetBuilder BUILDER3 = org.xmlpull.v1.builder.XmlInfosetBuilder
-            .newInstance(new MXParserFactory());
-
-    private static final Logger logger = LoggerFactory.getLogger(XMLUtil.class);
-
-    private final static String PROPERTY_SERIALIZER_INDENTATION = "http://xmlpull.org/v1/doc/properties.html#serializer-indentation";
-
-    private final static String INDENT = "    ";
-
-    /**
-     * Parses a specified string and returns the XmlElement (XPP3).
-     * 
-     * @param string
-     * @return The XmlElement (XPP3) parsed.
-     */
-    public static org.xmlpull.v1.builder.XmlElement stringToXmlElement3(String string) {
-        return BUILDER3.parseFragmentFromReader(new StringReader(string));
-    }
-
-    /**
-     * Parses a specified string and returns the XmlElement (XPP5).
-     * 
-     * @param string
-     * @return The XmlElement (XPP5) parsed.
-     */
-    public static org.xmlpull.infoset.XmlElement stringToXmlElement(String string) {
-        XmlDocument document = BUILDER.parseString(string);
-        org.xmlpull.infoset.XmlElement element = document.getDocumentElement();
-        return element;
-    }
-
-    /**
-     * Converts a specified XmlElement (XPP3) to the XmlElement (XPP5).
-     * 
-     * @param element
-     * @return The XmlElement (XPP5) converted.
-     */
-    public static org.xmlpull.infoset.XmlElement xmlElement3ToXmlElement5(org.xmlpull.v1.builder.XmlElement element) {
-        String string = xmlElementToString(element);
-        return stringToXmlElement(string);
-    }
-
-    /**
-     * Converts a specified XmlElement (XPP5) to the XmlElement (XPP3).
-     * 
-     * @param element
-     * @return The XmlElement (XPP3) converted.
-     */
-    public static org.xmlpull.v1.builder.XmlElement xmlElement5ToXmlElement3(org.xmlpull.infoset.XmlElement element) {
-        String string = xmlElementToString(element);
-        return stringToXmlElement3(string);
-    }
-
-    /**
-     * Returns the XML string of a specified XmlElement.
-     * 
-     * @param element
-     *            The specified XmlElement
-     * @return The XML string
-     */
-    public static String xmlElementToString(org.xmlpull.v1.builder.XmlElement element) {
-        MXSerializer serializer = new MXSerializer();
-        StringWriter writer = new StringWriter();
-        serializer.setOutput(writer);
-        serializer.setProperty(PROPERTY_SERIALIZER_INDENTATION, INDENT);
-        BUILDER3.serialize(element, serializer);
-        String xmlText = writer.toString();
-        return xmlText;
-    }
-
-    /**
-     * Returns the XML string as a specified XmlElement (XPP5).
-     * 
-     * @param element
-     *            The specified XmlElement
-     * @return The XML string
-     */
-    public static String xmlElementToString(org.xmlpull.infoset.XmlElement element) {
-        String string;
-        if (element == null) {
-            string = "";
-        } else {
-            string = BUILDER.serializeToStringPretty(element);
-        }
-        return string;
-    }
-
-    /**
-     * Converts a specified XPP5 XML element to a DOM element under a specified document.
-     * 
-     * @param xppElement
-     * @param document
-     * @return The converted DOM element.
-     */
-    public static Element xppElementToDomElement(org.xmlpull.infoset.XmlElement xppElement, Document document) {
-        Element domElement = document.createElement(xppElement.getName());
-
-        for (org.xmlpull.infoset.XmlNamespace namespace : xppElement.namespaces()) {
-            logger.debug("namespace: " + namespace);
-        }
-
-        for (org.xmlpull.infoset.XmlAttribute attribute : xppElement.attributes()) {
-            domElement.setAttribute(attribute.getName(), attribute.getValue());
-        }
-
-        for (Object object : xppElement.children()) {
-            if (object instanceof org.xmlpull.infoset.XmlElement) {
-                domElement.appendChild(xppElementToDomElement((org.xmlpull.infoset.XmlElement) object, document));
-            } else if (object instanceof String) {
-                Text text = document.createTextNode((String) object);
-                domElement.appendChild(text);
-            } else {
-                logger.debug("object.getClass(): " + object.getClass());
-            }
-        }
-        return domElement;
-    }
-
-//    /**
-//     * @param definitions3
-//     * @return The WsdlDefinitions (XSUL5)
-//     */
-//    @Deprecated
-//    public static xsul5.wsdl.WsdlDefinitions wsdlDefinitions3ToWsdlDefintions5(xsul.wsdl.WsdlDefinitions definitions3) {
-//        return WSDLUtil.wsdlDefinitions3ToWsdlDefintions5(definitions3);
-//    }
-//
-//    /**
-//     * @param definitions5
-//     * @return The WsdlDefinitions (XSUL3)
-//     */
-//    @Deprecated
-//    public static xsul.wsdl.WsdlDefinitions wsdlDefinitions5ToWsdlDefintions3(xsul5.wsdl.WsdlDefinitions definitions5) {
-//        return WSDLUtil.wsdlDefinitions5ToWsdlDefintions3(definitions5);
-//    }
-
-    /**
-     * Converts a specified XPP3 XML element to a DOM element under a specified document.
-     * 
-     * @param xppElement
-     * @param document
-     * @return The converted DOM element.
-     */
-    public static Element xppElementToDomElement(org.xmlpull.v1.builder.XmlElement xppElement, Document document) {
-        Element domElement = document.createElement(xppElement.getName());
-
-        Iterator nsIt = xppElement.namespaces();
-        while (nsIt.hasNext()) {
-            org.xmlpull.v1.builder.XmlNamespace namespace = (org.xmlpull.v1.builder.XmlNamespace) nsIt.next();
-            logger.debug("namespace: " + namespace);
-            // TODO
-        }
-
-        Iterator attrIt = xppElement.attributes();
-        while (attrIt.hasNext()) {
-            org.xmlpull.v1.builder.XmlAttribute attribute = (org.xmlpull.v1.builder.XmlAttribute) attrIt.next();
-            // TODO namespace
-            domElement.setAttribute(attribute.getName(), attribute.getValue());
-        }
-
-        Iterator elementIt = xppElement.children();
-        while (elementIt.hasNext()) {
-            Object object = elementIt.next();
-            if (object instanceof org.xmlpull.v1.builder.XmlElement) {
-                domElement.appendChild(xppElementToDomElement((org.xmlpull.v1.builder.XmlElement) object, document));
-            } else if (object instanceof String) {
-                Text text = document.createTextNode((String) object);
-                domElement.appendChild(text);
-            } else {
-                logger.debug("object.getClass(): " + object.getClass());
-            }
-        }
-        return domElement;
-    }
-
-    /**
-     * @param element
-     * @return The cloned XmlElement.
-     */
-    public static org.xmlpull.infoset.XmlElement deepClone(org.xmlpull.infoset.XmlElement element)
-            throws AiravataException {
-        try {
-            XmlElement clonedElement = element.clone();
-            clonedElement.setParent(null);
-            return clonedElement;
-        } catch (CloneNotSupportedException e) {
-            // This should not happen because we don't put any special Objects.
-            throw new AiravataException(e.getMessage(), e);
-        }
-    }
-
-    /**
-     * Saves a specified XmlElement to a specified file.
-     * 
-     * @param element
-     * @param file
-     * @throws IOException
-     */
-    public static void saveXML(org.xmlpull.infoset.XmlElement element, File file) throws IOException {
-        XmlDocument document = BUILDER.newDocument();
-        document.setDocumentElement(element);
-        String xmlText = BUILDER.serializeToStringPretty(document);
-        IOUtil.writeToFile(xmlText, file);
-    }
-
-    /**
-     * Saves a specified XmlElement to a specified file.
-     * 
-     * @param element
-     * @param file
-     * @throws IOException
-     */
-    public static void saveXML(org.xmlpull.v1.builder.XmlElement element, File file) throws IOException {
-        saveXML(xmlElement3ToXmlElement5(element), file);
-    }
-
-    /**
-     * @param file
-     * @return The XmlElement in the document.
-     * @throws IOException
-     */
-    public static org.xmlpull.infoset.XmlElement loadXML(InputStream stream) throws IOException {
-        String xmlText = IOUtil.readToString(stream);
-        XmlDocument document = BUILDER.parseString(xmlText);
-        return document.getDocumentElement();
-    }
-    
-    /**
-     * @param file
-     * @return The XmlElement in the document.
-     * @throws IOException
-     */
-    public static org.xmlpull.infoset.XmlElement loadXML(File file) throws IOException {
-        return loadXML(new FileInputStream(file));
-    }
-
-    /**
-     * @param string
-     * @return true if the specified string is XML, false otherwise
-     */
-    public static boolean isXML(String string) {
-        try {
-            stringToXmlElement(string);
-            return true;
-        } catch (RuntimeException e) {
-            return false;
-        }
-    }
-
-    /**
-     * Validates a specified XmlObject along with logging errors if any.
-     * 
-     * @param xmlObject
-     */
-    public static void validate(XmlObject xmlObject) throws AiravataException {
-        XmlOptions validateOptions = new XmlOptions();
-        ArrayList errorList = new ArrayList();
-        validateOptions.setErrorListener(errorList);
-
-        boolean isValid = xmlObject.validate(validateOptions);
-        if (isValid) {
-            // Valid
-            return;
-        }
-
-        // Error
-        StringBuilder stringBuilder = new StringBuilder();
-        for (int i = 0; i < errorList.size(); i++) {
-            XmlError error = (XmlError) errorList.get(i);
-            logger.warn("Message: " + error.getMessage());
-            logger.warn("Location of invalid XML: " + error.getCursorLocation().xmlText());
-            stringBuilder.append("Message:" + error.getMessage());
-            stringBuilder.append("Location of invalid XML: " + error.getCursorLocation().xmlText());
-        }
-        throw new AiravataException(stringBuilder.toString());
-    }
-
-    /**
-     * Returns the local part of a specified QName.
-     * 
-     * @param qname
-     *            the specified QName in string, e.g. ns:value
-     * @return the local part of the QName, e.g. value
-     */
-    public static String getLocalPartOfQName(String qname) {
-        int index = qname.indexOf(':');
-        if (index < 0) {
-            return qname;
-        } else {
-            return qname.substring(index + 1);
-        }
-    }
-
-    /**
-     * Returns the prefix of a specified QName.
-     * 
-     * @param qname
-     *            the specified QName in string, e.g. ns:value
-     * @return the prefix of the QName, e.g. ns
-     */
-    public static String getPrefixOfQName(String qname) {
-        int index = qname.indexOf(':');
-        if (index < 0) {
-            return null;
-        } else {
-            return qname.substring(0, index);
-        }
-    }
-
-    /**
-     * @param prefixCandidate
-     * @param uri
-     * @param alwaysUseSuffix
-     * @param element
-     * @return The namespace found or declared.
-     */
-    public static XmlNamespace declareNamespaceIfNecessary(String prefixCandidate, String uri, boolean alwaysUseSuffix,
-            XmlElement element) {
-        XmlNamespace namespace = element.lookupNamespaceByName(uri);
-        if (namespace == null) {
-            return declareNamespace(prefixCandidate, uri, alwaysUseSuffix, element);
-        } else {
-            return namespace;
-        }
-    }
-
-    /**
-     * @param prefixCandidate
-     * @param uri
-     * @param alwaysUseSuffix
-     * @param element
-     * @return The namespace declared.
-     */
-    public static XmlNamespace declareNamespace(String prefixCandidate, String uri, boolean alwaysUseSuffix,
-            XmlElement element) {
-        if (prefixCandidate == null || prefixCandidate.length() == 0) {
-            prefixCandidate = "a";
-        }
-        String prefix = prefixCandidate;
-        if (alwaysUseSuffix) {
-            prefix += "0";
-        }
-        if (element.lookupNamespaceByPrefix(prefix) != null) {
-            int i = 1;
-            prefix = prefixCandidate + i;
-            while (element.lookupNamespaceByPrefix(prefix) != null) {
-                i++;
-            }
-        }
-        XmlNamespace namespace = element.declareNamespace(prefix, uri);
-        return namespace;
-    }
-
-    /**
-     * 
-     * @param xml
-     * @param name
-     */
-    public static void removeElements(XmlElement xml, String name) {
-
-        Iterable<XmlElement> removeElements = xml.elements(null, name);
-        LinkedList<XmlElement> removeList = new LinkedList<XmlElement>();
-        for (XmlElement xmlElement : removeElements) {
-            removeList.add(xmlElement);
-        }
-        for (XmlElement xmlElement : removeList) {
-            xml.removeChild(xmlElement);
-        }
-        Iterable children = xml.children();
-        for (Object object : children) {
-            if (object instanceof XmlElement) {
-                XmlElement element = (XmlElement) object;
-                removeElements(element, name);
-            }
-        }
-    }
-
-    /**
-     * @param url
-     * @return Document
-     */
-    public static Document retrievalXMLDocFromUrl(String url) {
-        try {
-            URL xmlUrl = new URL(url);
-            InputStream in = xmlUrl.openStream();
-            Document ret = null;
-            DocumentBuilderFactory domFactory;
-            DocumentBuilder builder;
-
-            domFactory = DocumentBuilderFactory.newInstance();
-            domFactory.setValidating(false);
-            domFactory.setNamespaceAware(false);
-            builder = domFactory.newDocumentBuilder();
-
-            ret = builder.parse(in);
-
-            return ret;
-        } catch (MalformedURLException e) {
-            logger.error(e.getMessage(), e);
-        } catch (IOException e) {
-            logger.error(e.getMessage(), e);
-        } catch (ParserConfigurationException e) {
-            logger.error(e.getMessage(), e);
-        } catch (SAXException e) {
-            logger.error(e.getMessage(), e);
-        }
-
-        return null;
-    }
-
-    /**
-     * @param url
-     * @return Document
-     */
-    public static Document retrievalXMLDocForParse(String url) {
-        try {
-            URL xmlUrl = new URL(url);
-            InputStream in = xmlUrl.openStream();
-            DocumentBuilderFactory xmlFact = DocumentBuilderFactory.newInstance();
-            xmlFact.setNamespaceAware(true);
-            DocumentBuilder builder = xmlFact.newDocumentBuilder();
-            Document doc = builder.parse(in);
-
-            return doc;
-        } catch (MalformedURLException e) {
-            logger.error("Malformed URL", e);
-        } catch (IOException e) {
-            logger.error(e.getMessage(), e);
-        } catch (ParserConfigurationException e) {
-            logger.error(e.getMessage(), e);
-        } catch (SAXException e) {
-            logger.error(e.getMessage(), e);
-        }
-
-        return null;
-    }
-
-    public static boolean isEqual(XmlElement elem1, XmlElement elem2) throws Exception {
-
-            if (elem1 == null && elem2 == null) {
-                return true;
-            } else if (elem1 == null) {
-                return false;
-            } else if (elem2 == null) {
-                return false;
-            }
-
-            if (!elem1.getName().equals(elem2.getName())) {
-                return false;
-            } else {
-                // now check if children are the same
-                Iterator children1 = elem1.children().iterator();
-                Iterator children2 = elem2.children().iterator();
-
-                //check first ones for string
-                Object child1 = null;
-                Object child2 = null;
-                if (children1.hasNext() && children2.hasNext()) {
-                    child1 = children1.next();
-                    child2 = children2.next();
-
-                    if (!children1.hasNext() && !children2.hasNext()) {
-                        //only one node could be string could be xmlelement
-                        return compareObjs(child1, child2);
-                    } else {
-                          //get new iterators
-
-                        List<XmlElement> elemSet1 = getXmlElementsOnly(elem1.children().iterator());
-                        List<XmlElement> elemSet2 = getXmlElementsOnly(elem2.children().iterator());
-
-                        if(elemSet1.size() != elemSet2.size()){
-                            return false;
-                        }
-                        for(int i =0; i< elemSet1.size(); ++i){
-                            if(!isEqual(elemSet1.get(i), elemSet2.get(i))){
-                                return false;
-                            }
-                        }
-                        return true;
-                    }
-
-
-                }else {
-                    //no internal element
-
-                    return true;
-                }
-            }
-
-
-        }
-
-
-
-        private static List<XmlElement> getXmlElementsOnly(Iterator itr){
-            LinkedList<XmlElement> list = new LinkedList<XmlElement>();
-            while(itr.hasNext()){
-                Object obj = itr.next();
-                if(obj instanceof XmlElement){
-                    list.add((XmlElement) obj);
-                }
-            }
-            return  list;
-        }
-
-
-
-        private static boolean compareObjs(Object child1, Object child2) throws Exception {
-            if (child1 instanceof String && child2 instanceof String) {
-                return child1.equals(child2);
-
-
-            } else if (child1 instanceof XmlElement && child2 instanceof XmlElement) {
-                return isEqual((XmlElement) child1, (XmlElement) child2);
-            } else {
-                return false;
-            }
-        }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/commons/src/main/java/org/apache/airavata/common/utils/XmlFormatter.java
----------------------------------------------------------------------
diff --git a/modules/commons/src/main/java/org/apache/airavata/common/utils/XmlFormatter.java b/modules/commons/src/main/java/org/apache/airavata/common/utils/XmlFormatter.java
deleted file mode 100644
index 1440dbf..0000000
--- a/modules/commons/src/main/java/org/apache/airavata/common/utils/XmlFormatter.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-
-package org.apache.airavata.common.utils;
-
-import java.io.IOException;
-import java.io.StringReader;
-import java.io.StringWriter;
-import java.io.Writer;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.apache.xml.serialize.OutputFormat;
-import org.apache.xml.serialize.XMLSerializer;
-import org.w3c.dom.Document;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-/**
- * Pretty-prints xml, supplied as a string.
- * <p/>
- * eg. <code>
- * String formattedXml = new XmlFormatter().format("<tag><nested>hello</nested></tag>");
- * </code>
- */
-public class XmlFormatter {
-
-    /**
-     * @param unformattedXml
-     * @return formattedXml
-     */
-    public static String format(String unformattedXml) {
-        try {
-            final Document document = parseXmlFile(unformattedXml);
-            OutputFormat format = new OutputFormat(document);
-            format.setLineWidth(65);
-            format.setIndenting(true);
-            format.setIndent(2);
-            Writer out = new StringWriter();
-            XMLSerializer serializer = new XMLSerializer(out, format);
-            serializer.serialize(document);
-            return out.toString();
-        } catch (IOException e) {
-            throw new RuntimeException(e);
-        }
-    }
-
-    private static Document parseXmlFile(String in) {
-        try {
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            DocumentBuilder db = dbf.newDocumentBuilder();
-            InputSource is = new InputSource(new StringReader(in));
-            return db.parse(is);
-        } catch (ParserConfigurationException e) {
-            throw new RuntimeException(e);
-        } catch (SAXException e) {
-            throw new RuntimeException(e);
-        } catch (IOException e) {
-            throw new RuntimeException(e);
-        }
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/commons/src/test/java/org/apache/airavata/common/utils/XMLUtilTest.java
----------------------------------------------------------------------
diff --git a/modules/commons/src/test/java/org/apache/airavata/common/utils/XMLUtilTest.java b/modules/commons/src/test/java/org/apache/airavata/common/utils/XMLUtilTest.java
deleted file mode 100644
index 3c2c189..0000000
--- a/modules/commons/src/test/java/org/apache/airavata/common/utils/XMLUtilTest.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
-*/
-package org.apache.airavata.common.utils;
-
-import org.junit.Test;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-public class XMLUtilTest {
-    private final static Logger logger = LoggerFactory.getLogger(XMLUtilTest.class);
-
-    @Test
-    public void isXMLTest(){
-        String xml = "<test>testing</test>";
-        org.junit.Assert.assertTrue(XMLUtil.isXML(xml));
-        org.junit.Assert.assertFalse(XMLUtil.isXML("NonXMLString"));
-    }
-
-    @Test
-    public void isEqualTest(){
-        String xml1 = "<test><inner>innerValue</inner></test>";
-        String xml2 = "<test><inner>innerValue</inner></test>";
-        String xml3 = "<test1><inner>innerValue</inner></test1>";
-        try {
-            org.junit.Assert.assertTrue(XMLUtil.isEqual(XMLUtil.stringToXmlElement(xml1), XMLUtil.stringToXmlElement(xml2)));
-            org.junit.Assert.assertFalse(XMLUtil.isEqual(XMLUtil.stringToXmlElement(xml1), XMLUtil.stringToXmlElement(xml3)));
-        } catch (Exception e) {
-            logger.error(e.getMessage(), e);
-        }
-    }
-    @Test
-    public void getQNameTest(){
-        String qname = "ns1:a";
-        org.junit.Assert.assertEquals("a",XMLUtil.getLocalPartOfQName(qname));
-        org.junit.Assert.assertEquals("ns1",XMLUtil.getPrefixOfQName(qname));
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/configuration/server/src/main/resources/FORK_Groovy.template
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/FORK_Groovy.template b/modules/configuration/server/src/main/resources/FORK_Groovy.template
new file mode 100644
index 0000000..d25037b
--- /dev/null
+++ b/modules/configuration/server/src/main/resources/FORK_Groovy.template
@@ -0,0 +1,13 @@
+#!${shellName}
+# FORK job submission script generated by Apache Airavata
+
+<% if (exports != null) for(com in exports)  out.print 'export ' + com +'\n'
+   if (moduleCommands != null) for(mc in moduleCommands)  out.print mc +'\n'
+   if (workingDirectory != null)  out.print 'cd ' + workingDirectory +'\n'
+   if (preJobCommands != null) for(pjc in preJobCommands)  out.print pjc +'\n'
+   if (jobSubmitterCommand != null)  out.print jobSubmitterCommand + ' '
+   if (executablePath != null)  out.print  executablePath + ' '
+   if (inputs != null) for(input in inputs)  out.print input + ' '
+   out.print '\n'
+   if (postJobCommands != null) for(pjc in postJobCommands)  out.print pjc +'\n'
+%>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/configuration/server/src/main/resources/LSF_Groovy.template
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/LSF_Groovy.template b/modules/configuration/server/src/main/resources/LSF_Groovy.template
new file mode 100644
index 0000000..428b42b
--- /dev/null
+++ b/modules/configuration/server/src/main/resources/LSF_Groovy.template
@@ -0,0 +1,27 @@
+#!${shellName}
+# LSF batch job submission script generated by Apache Airavata
+
+<%
+   if(shellName != null && shellName != "") out.print '#BSUB -L ' + shellName + '\n'
+   if (queueName != null && queueName != "") out.print '#BSUB -q ' + queueName + '\n'
+   if (nodes != null && nodes != "") out.print '#BSUB -n ' + nodes + '\n'
+   if (jobName != null && jobName != "") out.print '#BSUB -J ' + jobName + '\n'
+   if (mailAddress != null && mailAddress != "") out.print '#BSUB -u ' + mailAddress + '\n'
+   if (accountString != null && accountString != "") out.print '#BSUB -P  ' + accountString + '\n'
+   if (maxWallTime != null && maxWallTime != "") out.print '#BSUB -W ' + maxWallTime + '\n'
+   if (standardOutFile != null && standardOutFile != "") out.print '#BSUB -o ' + standardOutFile + '\n'
+   if (standardErrorFile != null && standardErrorFile != "") out.print '#BSUB -e ' + standardErrorFile + '\n'
+   if (chassisName != null && chassisName != "") out.print '#BSUB -m c' + chassisName + '\n'
+   if (usedMem != null && usedMem != "") out.print '#BSUB -R rusage[mem=' + usedMem + ']\n'
+%>
+
+<% if (exports != null) for(com in exports)  out.print 'export ' + com +'\n'
+   if (moduleCommands != null) for(mc in moduleCommands)  out.print mc +'\n'
+   if (workingDirectory != null && workingDirectory != "")  out.print 'cd ' + workingDirectory +'\n'
+   if (preJobCommands != null) for(pjc in preJobCommands)  out.print pjc +'\n'
+   if (jobSubmitterCommand != null && jobSubmitterCommand != "")  out.print jobSubmitterCommand + ' '
+   if (executablePath != null && executablePath != "")  out.print  executablePath + ' '
+   if (inputs != null) for(input in inputs)  out.print input + ' '
+   out.print '\n'
+   if (postJobCommands != null) for(pjc in postJobCommands)  out.print pjc +'\n'
+%>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/configuration/server/src/main/resources/PBS_Groovy.template
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/PBS_Groovy.template b/modules/configuration/server/src/main/resources/PBS_Groovy.template
new file mode 100644
index 0000000..4056910
--- /dev/null
+++ b/modules/configuration/server/src/main/resources/PBS_Groovy.template
@@ -0,0 +1,31 @@
+#!${shellName}
+
+#PBS batch job submission script generated by Apache Airavata
+<%
+   if(shellName != null && shellName != "") out.print '#PBS -S ' + shellName + '\n'
+   if (queueName != null && queueName != "") out.print '#PBS -q ' + queueName + '\n'
+   if (jobName != null && jobName != "") out.print '#PBS -N ' + jobName + '\n'
+   if (mailAddress != null && mailAddress != "") out.print '#PBS -M ' + mailAddress + '\n'
+   if (accountString != null && accountString != "") out.print '#PBS -A ' + accountString + '\n'
+   if (maxWallTime != null && maxWallTime != "") out.print '#PBS -l walltime=' + maxWallTime + '\n'
+   if (jobSubmitterCommand != null && jobSubmitterCommand != "" && jobSubmitterCommand == "ccmrun")
+        out.print '#PBS -l gres=ccm \n'
+   if (standardOutFile != null && standardOutFile != "") out.print '#PBS -o ' + standardOutFile + '\n'
+   if (standardErrorFile != null && standardErrorFile != "") out.print '#PBS -e ' + standardErrorFile + '\n'
+   if (usedMem != null && usedMem != "") out.print '#PBS -l mem=' + usedMem + '\n'
+   if (nodes != null && nodes != "" && processPerNode != null && processPerNode != "")
+        out.print '#PBS -l nodes=' + nodes + ':ppn=' + processPerNode + '\n'
+%>
+#PBS -m abe
+
+<% if (exports != null) for(com in exports)  out.print 'export ' + com +'\n'
+   if (moduleCommands != null) for(mc in moduleCommands)  out.print mc +'\n'
+   if (workingDirectory != null && workingDirectory != "")  out.print 'cd ' + workingDirectory +'\n'
+   if (preJobCommands != null) for(pjc in preJobCommands)  out.print pjc +'\n'
+   if (jobSubmitterCommand != null && jobSubmitterCommand != "")  out.print jobSubmitterCommand + ' '
+   if (jobSubmitterCommand != "ccmrun" && jobSubmitterCommand != "") out.print cpuCount + ' '
+   if (executablePath != null && executablePath != "")  out.print  executablePath + ' '
+   if (inputs != null) for(input in inputs)  out.print input + ' '
+            out.print '\n'
+   if (postJobCommands != null) for(pjc in postJobCommands)  out.print pjc +'\n'
+%>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/configuration/server/src/main/resources/SLURM_Groovy.template
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/SLURM_Groovy.template b/modules/configuration/server/src/main/resources/SLURM_Groovy.template
new file mode 100644
index 0000000..bae646e
--- /dev/null
+++ b/modules/configuration/server/src/main/resources/SLURM_Groovy.template
@@ -0,0 +1,28 @@
+#!${shellName}
+
+# SLURM job submission script generated by Apache Airavata
+<%
+if (queueName != null && queueName != "") out.print '#SBATCH -p ' + queueName + '\n'
+   if (nodes != null && nodes != "") out.print '#SBATCH -N ' + nodes + '\n'
+   if (cpuCount != null && cpuCount != "") out.print '#SBATCH -n ' + cpuCount + '\n'
+   if (mailAddress != null && mailAddress != "") out.print '#SBATCH --mail-user=' + mailAddress + '\n'
+   if (accountString != null && accountString != "" ) out.print '#SBATCH -A ' + accountString + '\n'
+   if (maxWallTime != null && maxWallTime != "") out.print '#SBATCH -t ' + maxWallTime + '\n'
+   if (jobName != null && jobName != "") out.print '#SBATCH -J ' + jobName + '\n'
+   if (standardOutFile != null && standardOutFile != "") out.print '#SBATCH -o ' + standardOutFile + '\n'
+   if (standardErrorFile != null && standardErrorFile != "") out.print '#SBATCH -e ' + standardErrorFile + '\n'
+   if (qualityOfService != null && qualityOfService != "") out.print '#SBATCH --qos=' + qualityOfService + '\n'
+   if (reservation != null && reservation != "") out.print '#SBATCH --reservation=' + reservation + '\n'
+%>
+#SBATCH --mail-type=ALL
+
+<% if (exports != null) for(com in exports)  out.print 'export ' + com +'\n'
+   if (moduleCommands != null) for(mc in moduleCommands)  out.print mc +'\n'
+   if (workingDirectory != null && workingDirectory != "")  out.print 'cd ' + workingDirectory +'\n'
+   if (preJobCommands != null) for(pjc in preJobCommands)  out.print pjc +'\n'
+   if (jobSubmitterCommand != null && jobSubmitterCommand != "")  out.print jobSubmitterCommand + ' '
+   if (executablePath != null && executablePath != "")  out.print  executablePath + ' '
+   if (inputs != null) for(input in inputs)  out.print input + ' '
+   out.print '\n'
+   if (postJobCommands != null) for(pjc in postJobCommands)  out.print pjc +'\n'
+%>

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/configuration/server/src/main/resources/UGE_Groovy.template
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/UGE_Groovy.template b/modules/configuration/server/src/main/resources/UGE_Groovy.template
new file mode 100644
index 0000000..df454dd
--- /dev/null
+++ b/modules/configuration/server/src/main/resources/UGE_Groovy.template
@@ -0,0 +1,28 @@
+#!${shellName}
+# Grid Engine batch job script built by Apache Airavata
+
+<%
+   if(shellName != null && shellName != "") out.print '#$ -S ' + shellName + '\n'
+   if (queueName != null && queueName != "") out.print '#$ -q ' + queueName + '\n'
+   if (jobName != null && jobName != "") out.print '#$ -N ' + jobName + '\n'
+   if (mailAddress != null && mailAddress != "") out.print '#$ -M ' + mailAddress + '\n'
+   if (accountString != null && accountString != "") out.print '#$ -A ' + accountString + '\n'
+   if (maxWallTime != null && maxWallTime != "") out.print '#$ -l h_rt=' + maxWallTime + '\n'
+   if (standardOutFile != null && standardOutFile != "") out.print '#$ -o ' + standardOutFile + '\n'
+   if (standardErrorFile != null && standardErrorFile != "") out.print '#$ -e ' + standardErrorFile + '\n'
+   if (nodes != null && nodes != "" && processPerNode != null && processPerNode != "")
+        out.print '#$ -pe ' + processPerNode + 'way' + (12 * nodes)
+%>
+#\$ -V
+#\$ -m beas
+
+<% if (exports != null) for(com in exports)  out.print 'export ' + com +'\n'
+   if (moduleCommands != null) for(mc in moduleCommands)  out.print mc +'\n'
+   if (workingDirectory != null && workingDirectory != "")  out.print 'cd ' + workingDirectory +'\n'
+   if (preJobCommands != null) for(pjc in preJobCommands)  out.print pjc +'\n'
+   if (jobSubmitterCommand != null && jobSubmitterCommand != "")  out.print jobSubmitterCommand + ' '
+   if (executablePath != null && executablePath != "")  out.print  executablePath + ' '
+   if (inputs != null) for(input in inputs)  out.print input + ' '
+   out.print '\n'
+   if (postJobCommands != null) for(pjc in postJobCommands)  out.print pjc +'\n'
+%>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml
index d096739..1199647 100644
--- a/modules/distribution/pom.xml
+++ b/modules/distribution/pom.xml
@@ -55,30 +55,30 @@
                 </executions>
             </plugin>
 
-            <plugin>
-                <groupId>org.codehaus.gmaven</groupId>
-                <artifactId>gmaven-plugin</artifactId>
-                <version>1.4</version>
-                <executions>
-                    <execution>
-                        <id>generate-timestamp</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>execute</goal>
-                        </goals>
-                        <configuration>
-                            <source>
-                                import java.util.Date
-                                import java.text.MessageFormat
+            <!--<plugin>-->
+                <!--<groupId>org.codehaus.gmaven</groupId>-->
+                <!--<artifactId>gmaven-plugin</artifactId>-->
+                <!--<version>1.4</version>-->
+                <!--<executions>-->
+                    <!--<execution>-->
+                        <!--<id>generate-timestamp</id>-->
+                        <!--<phase>package</phase>-->
+                        <!--<goals>-->
+                            <!--<goal>execute</goal>-->
+                        <!--</goals>-->
+                        <!--<configuration>-->
+                            <!--<source>-->
+                                <!--import java.util.Date-->
+                                <!--import java.text.MessageFormat-->
 
-                                project.properties['buildTimestamp'] =
-                                        MessageFormat.format("{0,date,dd-MM-yyyy}", new
-                                                Date())
-                            </source>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
+                                <!--project.properties['buildTimestamp'] =-->
+                                        <!--MessageFormat.format("{0,date,dd-MM-yyyy}", new-->
+                                                <!--Date())-->
+                            <!--</source>-->
+                        <!--</configuration>-->
+                    <!--</execution>-->
+                <!--</executions>-->
+            <!--</plugin>-->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
@@ -561,6 +561,16 @@
             <artifactId>logback-classic</artifactId>
             <version>${logback.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.codehaus.groovy</groupId>
+            <artifactId>groovy</artifactId>
+            <version>${groovy.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.codehaus.groovy</groupId>
+            <artifactId>groovy-templates</artifactId>
+            <version>${groovy.version}</version>
+        </dependency>
         <!-- ======================== Sample =================== -->
         <dependency>
             <groupId>org.apache.airavata</groupId>

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/distribution/src/main/assembly/bin-assembly.xml
----------------------------------------------------------------------
diff --git a/modules/distribution/src/main/assembly/bin-assembly.xml b/modules/distribution/src/main/assembly/bin-assembly.xml
index d88521d..79778e7 100644
--- a/modules/distribution/src/main/assembly/bin-assembly.xml
+++ b/modules/distribution/src/main/assembly/bin-assembly.xml
@@ -98,11 +98,16 @@
                 <include>persistence.xml</include>
                 <include>provenance.sql</include>
                 <include>gfac-config.yaml</include>
-                <include>PBSTemplate.xslt</include>
-                <include>SLURMTemplate.xslt</include>
-                <include>LSFTemplate.xslt</include>
-                <include>UGETemplate.xslt</include>
-                <include>ForkTemplate.xslt</include>
+                <!--<include>PBSTemplate.xslt</include>-->
+                <!--<include>SLURMTemplate.xslt</include>-->
+                <!--<include>LSFTemplate.xslt</include>-->
+                <!--<include>UGETemplate.xslt</include>-->
+                <!--<include>ForkTemplate.xslt</include>-->
+                <include>PBS_Groovy.template</include>
+                <include>SLURM_Groovy.template</include>
+                <include>LSF_Groovy.template</include>
+                <include>UGE_Groovy.template</include>
+                <include>FORK_Groovy.template</include>
                 <include>gsissh.properties</include>
                 <include>airavata.jks</include>
                 <include>client_truststore.jks</include>

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/pom.xml
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/pom.xml b/modules/gfac/gfac-core/pom.xml
index 8d358ff..de3703a 100644
--- a/modules/gfac/gfac-core/pom.xml
+++ b/modules/gfac/gfac-core/pom.xml
@@ -52,10 +52,20 @@
             <artifactId>airavata-registry-core</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <!--<dependency>-->
+            <!--<groupId>org.apache.xmlbeans</groupId>-->
+            <!--<artifactId>xmlbeans</artifactId>-->
+            <!--<version>${xmlbeans.version}</version>-->
+        <!--</dependency>-->
+        <dependency>
+            <groupId>org.codehaus.groovy</groupId>
+            <artifactId>groovy</artifactId>
+            <version>${groovy.version}</version>
+        </dependency>
         <dependency>
-            <groupId>org.apache.xmlbeans</groupId>
-            <artifactId>xmlbeans</artifactId>
-            <version>${xmlbeans.version}</version>
+            <groupId>org.codehaus.groovy</groupId>
+            <artifactId>groovy-templates</artifactId>
+            <version>${groovy.version}</version>
         </dependency>
         <!-- Credential Store -->
         <dependency>
@@ -132,28 +142,28 @@
 
     <build>
         <plugins>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>xmlbeans-maven-plugin</artifactId>
-                <version>2.3.3</version>
-                <executions>
-                    <execution>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>xmlbeans</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <inherited>true</inherited>
-                <configuration>
-                    <schemaDirectory>src/main/resources</schemaDirectory>
-                    <xmlConfigs>
-                        <xmlConfig implementation="java.io.File">src/main/resources/gsissh-schemas.xsdconfig</xmlConfig>
-                    </xmlConfigs>
-                    <sourceGenerationDirectory>src/main/java</sourceGenerationDirectory>
-                    <outputJar>target/generated/${project.artifactId}-${project.version}.jar</outputJar>
-                </configuration>
-            </plugin>
+            <!--<plugin>-->
+                <!--<groupId>org.codehaus.mojo</groupId>-->
+                <!--<artifactId>xmlbeans-maven-plugin</artifactId>-->
+                <!--<version>2.3.3</version>-->
+                <!--<executions>-->
+                    <!--<execution>-->
+                        <!--<phase>generate-sources</phase>-->
+                        <!--<goals>-->
+                            <!--<goal>xmlbeans</goal>-->
+                        <!--</goals>-->
+                    <!--</execution>-->
+                <!--</executions>-->
+                <!--<inherited>true</inherited>-->
+                <!--<configuration>-->
+                    <!--<schemaDirectory>src/main/resources</schemaDirectory>-->
+                    <!--<xmlConfigs>-->
+                        <!--<xmlConfig implementation="java.io.File">src/main/resources/gsissh-schemas.xsdconfig</xmlConfig>-->
+                    <!--</xmlConfigs>-->
+                    <!--<sourceGenerationDirectory>src/main/java</sourceGenerationDirectory>-->
+                    <!--<outputJar>target/generated/${project.artifactId}-${project.version}.jar</outputJar>-->
+                <!--</configuration>-->
+            <!--</plugin>-->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
index 7e2154e..18c3515 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
@@ -19,6 +19,9 @@
  */
 package org.apache.airavata.gfac.core;
 
+import groovy.lang.Writable;
+import groovy.text.GStringTemplateEngine;
+import groovy.text.TemplateEngine;
 import org.apache.airavata.common.exception.ApplicationSettingsException;
 import org.apache.airavata.common.utils.*;
 import org.apache.airavata.credential.store.store.CredentialReader;
@@ -75,6 +78,7 @@ import java.security.SecureRandom;
 import java.util.*;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
+import java.util.stream.Collectors;
 
 //import org.apache.airavata.commons.gfac.type.ActualParameter;
 
@@ -413,42 +417,42 @@ public class GFacUtils {
         return ZKPaths.makePath(ZkConstants.ZOOKEEPER_SERVERS_NODE, ZkConstants.ZOOKEEPER_GFAC_SERVER_NODE);
     }
 
-    public static JobDescriptor createJobDescriptor(ProcessContext processContext, TaskContext taskContext)
+    public static GroovyMap creatGroovyMap(ProcessContext processContext, TaskContext taskContext)
             throws GFacException, AppCatalogException, ApplicationSettingsException {
 
-        JobDescriptor jobDescriptor = new JobDescriptor();
+        GroovyMap groovyMap = new GroovyMap();
         ProcessModel processModel = processContext.getProcessModel();
         ResourceJobManager resourceJobManager = getResourceJobManager(processContext);
-        setMailAddresses(processContext, jobDescriptor); // set email options and addresses
+        setMailAddresses(processContext, groovyMap); // set email options and addresses
+
+        groovyMap.add(Script.INPUT_DIR, processContext.getInputDir());
+        groovyMap.add(Script.OUTPUT_DIR, processContext.getOutputDir());
+        groovyMap.add(Script.EXECUTABLE_PATH, processContext.getApplicationDeploymentDescription().getExecutablePath());
+        groovyMap.add(Script.STANDARD_OUT_FILE, processContext.getStdoutLocation());
+        groovyMap.add(Script.STANDARD_ERROR_FILE, processContext.getStderrLocation());
 
-        jobDescriptor.setInputDirectory(processContext.getInputDir());
-        jobDescriptor.setOutputDirectory(processContext.getOutputDir());
-        jobDescriptor.setExecutablePath(processContext.getApplicationDeploymentDescription().getExecutablePath());
-        jobDescriptor.setStandardOutFile(processContext.getStdoutLocation());
-        jobDescriptor.setStandardErrorFile(processContext.getStderrLocation());
         ComputeResourcePreference crp = getComputeResourcePreference(processContext);
         if (crp.getAllocationProjectNumber() != null) {
-            jobDescriptor.setAcountString(crp.getAllocationProjectNumber());
+            groovyMap.add(Script.ACCOUNT_STRING, crp.getAllocationProjectNumber());
         }
-        jobDescriptor.setReservation(getReservation(crp));
+        groovyMap.add(Script.RESERVATION, getReservation(crp));
 
         // To make job name alpha numeric
-        jobDescriptor.setJobName("A" + String.valueOf(generateJobName()));
-        jobDescriptor.setWorkingDirectory(processContext.getWorkingDir());
+        groovyMap.add(Script.JOB_NAME, "A" + String.valueOf(generateJobName()));
+        groovyMap.add(Script.WORKING_DIR, processContext.getWorkingDir());
 
         List<String> inputValues = getProcessInputValues(processModel.getProcessInputs());
         inputValues.addAll(getProcessOutputValues(processModel.getProcessOutputs()));
-        jobDescriptor.setInputValues(inputValues);
+        groovyMap.add(Script.INPUTS, inputValues);
 
-        jobDescriptor.setUserName(processContext.getJobSubmissionRemoteCluster().getServerInfo().getUserName());
-        jobDescriptor.setShellName("/bin/bash");
-        jobDescriptor.setAllEnvExport(true);
-        jobDescriptor.setOwner(processContext.getJobSubmissionRemoteCluster().getServerInfo().getUserName());
+        groovyMap.add(Script.USER_NAME, processContext.getJobSubmissionRemoteCluster().getServerInfo().getUserName());
+        groovyMap.add(Script.SHELL_NAME, "/bin/bash");
         // get walltime
         try {
             JobSubmissionTaskModel jobSubmissionTaskModel = ((JobSubmissionTaskModel) taskContext.getSubTaskModel());
             if (jobSubmissionTaskModel.getWallTime() > 0) {
-                jobDescriptor.setMaxWallTime(jobSubmissionTaskModel.getWallTime() + "");
+                groovyMap.add(Script.MAX_WALL_TIME,
+                        GFacUtils.maxWallTimeCalculator(jobSubmissionTaskModel.getWallTime()));
             }
         } catch (TException e) {
             log.error("Error while getting job submissiont sub task model", e);
@@ -460,33 +464,35 @@ public class GFacUtils {
             int totalCPUCount = scheduling.getTotalCPUCount();
 
             if (scheduling.getQueueName() != null) {
-                jobDescriptor.setQueueName(scheduling.getQueueName());
+                groovyMap.add(Script.QUEUE_NAME, scheduling.getQueueName());
             }
             if (totalNodeCount > 0) {
-                jobDescriptor.setNodes(totalNodeCount);
+                groovyMap.add(Script.NODES, totalNodeCount);
             }
             // qos per queue
             String qoS = getQoS(crp.getQualityOfService(), scheduling.getQueueName());
             if (qoS != null) {
-                jobDescriptor.setQoS(qoS);
+                groovyMap.add(Script.QUALITY_OF_SERVICE, qoS);
             }
             if (totalCPUCount > 0) {
                 int ppn = totalCPUCount / totalNodeCount;
-                jobDescriptor.setProcessesPerNode(ppn);
-                jobDescriptor.setCPUCount(totalCPUCount);
+                groovyMap.add(Script.PROCESS_PER_NODE, ppn);
+                groovyMap.add(Script.CPU_COUNT, totalCPUCount);
             }
             // max wall time may be set before this level if jobsubmission task has wall time configured to this job,
             // if so we ignore scheduling configuration.
-            if (scheduling.getWallTimeLimit() > 0 && jobDescriptor.getMaxWallTime() == null) {
-                jobDescriptor.setMaxWallTime(String.valueOf(scheduling.getWallTimeLimit()));
+            if (scheduling.getWallTimeLimit() > 0 && groovyMap.get(Script.MAX_WALL_TIME) == null) {
+                groovyMap.add(Script.MAX_WALL_TIME,
+                        GFacUtils.maxWallTimeCalculator(scheduling.getWallTimeLimit()));
                 if (resourceJobManager != null) {
                     if (resourceJobManager.getResourceJobManagerType().equals(ResourceJobManagerType.LSF)) {
-                        jobDescriptor.setMaxWallTimeForLSF(String.valueOf(scheduling.getWallTimeLimit()));
+                        groovyMap.add(Script.MAX_WALL_TIME,
+                                GFacUtils.maxWallTimeCalculator(scheduling.getWallTimeLimit()));
                     }
                 }
             }
             if (scheduling.getTotalPhysicalMemory() > 0) {
-                jobDescriptor.setUsedMemory(scheduling.getTotalPhysicalMemory() + "");
+                groovyMap.add(Script.USED_MEM, scheduling.getTotalPhysicalMemory() + "");
             }
         } else {
             log.error("Task scheduling cannot be null at this point..");
@@ -495,28 +501,29 @@ public class GFacUtils {
         ApplicationDeploymentDescription appDepDescription = processContext.getApplicationDeploymentDescription();
         List<CommandObject> moduleCmds = appDepDescription.getModuleLoadCmds();
         if (moduleCmds != null) {
-            Collections.sort(moduleCmds,
-                    (o1, o2) -> ((CommandObject) o1).getCommandOrder() - ((CommandObject) o2).getCommandOrder());
-            for (CommandObject moduleCmd : moduleCmds) {
-                jobDescriptor.addModuleLoadCommands(moduleCmd.getCommand());
-            }
+            List<String> modulesCmdCollect = moduleCmds.stream()
+                    .sorted((e1, e2) -> e1.getCommandOrder() - e2.getCommandOrder())
+                    .map(map -> map.getCommand())
+                    .collect(Collectors.toList());
+            groovyMap.add(Script.MODULE_COMMANDS, modulesCmdCollect);
         }
+
         List<CommandObject> preJobCommands = appDepDescription.getPreJobCommands();
         if (preJobCommands != null) {
-            Collections.sort(preJobCommands,
-                    (o1, o2) -> ((CommandObject) o1).getCommandOrder() - ((CommandObject) o2).getCommandOrder());
-            for (CommandObject preJobCommand : preJobCommands) {
-                jobDescriptor.addPreJobCommand(parseCommand(preJobCommand.getCommand(), processContext));
-            }
+            List<String> preJobCmdCollect = preJobCommands.stream()
+                    .sorted((e1, e2) -> e1.getCommandOrder() - e2.getCommandOrder())
+                    .map(map -> map.getCommand())
+                    .collect(Collectors.toList());
+            groovyMap.add(Script.PRE_JOB_COMMANDS, preJobCmdCollect);
         }
 
         List<CommandObject> postJobCommands = appDepDescription.getPostJobCommands();
         if (postJobCommands != null) {
-            Collections.sort(postJobCommands,
-                    (o1, o2) -> ((CommandObject) o1).getCommandOrder() - ((CommandObject) o2).getCommandOrder());
-            for (CommandObject postJobCommand : postJobCommands) {
-                jobDescriptor.addPostJobCommand(parseCommand(postJobCommand.getCommand(), processContext));
-            }
+            List<String> postJobCmdCollect = postJobCommands.stream()
+                    .sorted((e1, e2) -> e1.getCommandOrder() - e2.getCommandOrder())
+                    .map(map -> map.getCommand())
+                    .collect(Collectors.toList());
+            groovyMap.add(Script.POST_JOB_COMMANDS, postJobCmdCollect);
         }
 
         ApplicationParallelismType parallelism = appDepDescription.getParallelism();
@@ -526,17 +533,17 @@ public class GFacUtils {
                 if (parallelismPrefix != null){
                     String parallelismCommand = parallelismPrefix.get(parallelism);
                     if (parallelismCommand != null){
-                        jobDescriptor.setJobSubmitter(parallelismCommand);
+                        groovyMap.add(Script.JOB_SUBMITTER_COMMAND, parallelismCommand);
                     }else {
                         throw new GFacException("Parallelism prefix is not defined for given parallelism type " + parallelism + ".. Please define the parallelism prefix at App Catalog");
                     }
                 }
             }
         }
-        return jobDescriptor;
+        return groovyMap;
     }
 
-    private static void setMailAddresses(ProcessContext processContext, JobDescriptor jobDescriptor)
+    private static void setMailAddresses(ProcessContext processContext, GroovyMap groovyMap)
             throws GFacException, AppCatalogException, ApplicationSettingsException {
 
         ProcessModel processModel =  processContext.getProcessModel();
@@ -545,12 +552,6 @@ public class GFacUtils {
             emailIds = ServerSettings.getEmailBasedMonitorAddress();
         }
         if (ServerSettings.getSetting(ServerSettings.JOB_NOTIFICATION_ENABLE).equalsIgnoreCase("true")) {
-            String flags = ServerSettings.getSetting(ServerSettings.JOB_NOTIFICATION_FLAGS);
-            if (flags != null && processContext.getComputeResourceDescription().getHostName().equals("stampede.tacc.xsede.org")) {
-                flags = "ALL";
-            }
-            jobDescriptor.setMailOptions(flags);
-
             String userJobNotifEmailIds = ServerSettings.getSetting(ServerSettings.JOB_NOTIFICATION_EMAILIDS);
             if (userJobNotifEmailIds != null && !userJobNotifEmailIds.isEmpty()) {
                 if (emailIds != null && !emailIds.isEmpty()) {
@@ -573,7 +574,7 @@ public class GFacUtils {
         }
         if (emailIds != null && !emailIds.isEmpty()) {
             log.info("Email list: " + emailIds);
-            jobDescriptor.setMailAddress(emailIds);
+            groovyMap.add(Script.MAIL_ADDRESS, emailIds);
         }
     }
 
@@ -806,46 +807,31 @@ public class GFacUtils {
         }
     }
 
-    public static File createJobFile(TaskContext taskContext, JobDescriptor jobDescriptor, JobManagerConfiguration jobManagerConfiguration) throws GFacException {
-        try {
-            TransformerFactory factory = TransformerFactory.newInstance();
-            URL resource = ApplicationSettings.loadFile(jobManagerConfiguration.getJobDescriptionTemplateName());
+    public static File createJobFile(GroovyMap groovyMap, TaskContext tc, JobManagerConfiguration jMC)
+            throws GFacException{
 
-            if (resource == null) {
-                String error = "System configuration file '" + jobManagerConfiguration.getJobDescriptionTemplateName()
-                        + "' not found in the classpath";
-                throw new GFacException(error);
-            }
+        URL templateUrl = ApplicationSettings.loadFile(jMC.getJobDescriptionTemplateName());
+        if (templateUrl == null) {
+            String error = "System configuration file '" + jMC.getJobDescriptionTemplateName()
+                    + "' not found in the classpath";
+            throw new GFacException(error);
+        }
+        try {
+            File template = new File(templateUrl.getPath());
+            TemplateEngine engine = new GStringTemplateEngine();
+            Writable make = engine.createTemplate(template).make(groovyMap);
 
-            Source xslt = new StreamSource(new File(resource.getPath()));
-            Transformer transformer;
-            StringWriter results = new StringWriter();
-            File tempJobFile = null;
-            // generate the pbs script using xslt
-            transformer = factory.newTransformer(xslt);
-            Source text = new StreamSource(new ByteArrayInputStream(jobDescriptor.toXML().getBytes()));
-            transformer.transform(text, new StreamResult(results));
-            String scriptContent = results.toString().replaceAll("^[ |\t]*\n$", "");
-            if (scriptContent.startsWith("\n")) {
-                scriptContent = scriptContent.substring(1);
-            }
-            // creating a temporary file using pbs script generated above
             int number = new SecureRandom().nextInt();
             number = (number < 0 ? -number : number);
-
-	        tempJobFile = new File(GFacUtils.getLocalDataDir(taskContext), "job_" + Integer.toString(number) +
-			        jobManagerConfiguration.getScriptExtension());
-	        FileUtils.writeStringToFile(tempJobFile, scriptContent);
+            File tempJobFile = new File(GFacUtils.getLocalDataDir(tc), "job_" + Integer.toString(number) + jMC.getScriptExtension());
+            FileUtils.writeStringToFile(tempJobFile, make.toString());
             return tempJobFile;
-        } catch (IOException e) {
-            throw new GFacException("Error occurred while creating the temp job script file", e);
-        } catch (TransformerConfigurationException e) {
-            throw new GFacException("Error occurred while creating the temp job script file", e);
-        } catch (TransformerException e) {
-            throw new GFacException("Error occurred while creating the temp job script file", e);
+        } catch (ClassNotFoundException | IOException e) {
+            throw new GFacException("Error while parsing template and generating script file");
         }
     }
 
+
 	public static File getLocalDataDir(TaskContext taskContext) {
 		String outputPath = ServerSettings.getLocalDataLocation();
 		outputPath = (outputPath.endsWith(File.separator) ? outputPath : outputPath + File.separator);

http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GroovyMap.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GroovyMap.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GroovyMap.java
new file mode 100644
index 0000000..d618d40
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GroovyMap.java
@@ -0,0 +1,94 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.airavata.gfac.core;/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+import java.util.HashMap;
+
+public class GroovyMap extends HashMap<String, Object> {
+
+
+    public GroovyMap() {
+        super();
+        addDefaultValues(); // to mitigate groovy exception groovy.lang.MissingPropertyException: No such property: <name> for class: groovy.lang.Binding
+    }
+
+    public GroovyMap add(Script name, Object value){
+        put(name.name, value);
+        return this;
+    }
+
+    @Override
+    public Object get(Object key) {
+        return super.getOrDefault(key, null);
+    }
+
+    public Object get(Script script) {
+        return get(script.name);
+    }
+
+    private void addDefaultValues() {
+        this.add(Script.SHELL_NAME, null)
+                .add(Script.QUEUE_NAME, null)
+                .add(Script.NODES, null)
+                .add(Script.CPU_COUNT, null)
+                .add(Script.MAIL_ADDRESS, null)
+                .add(Script.ACCOUNT_STRING, null)
+                .add(Script.MAX_WALL_TIME, null)
+                .add(Script.JOB_NAME, null)
+                .add(Script.STANDARD_OUT_FILE, null)
+                .add(Script.STANDARD_ERROR_FILE, null)
+                .add(Script.QUALITY_OF_SERVICE, null)
+                .add(Script.RESERVATION, null)
+                .add(Script.EXPORTS, null)
+                .add(Script.MODULE_COMMANDS, null)
+                .add(Script.WORKING_DIR, null)
+                .add(Script.PRE_JOB_COMMANDS, null)
+                .add(Script.JOB_SUBMITTER_COMMAND, null)
+                .add(Script.EXECUTABLE_PATH, null)
+                .add(Script.INPUTS, null)
+                .add(Script.POST_JOB_COMMANDS, null)
+                .add(Script.USED_MEM, null)
+                .add(Script.PROCESS_PER_NODE, null)
+                .add(Script.CHASSIS_NAME, null)
+                .add(Script.INPUT_DIR, null)
+                .add(Script.OUTPUT_DIR, null)
+                .add(Script.USER_NAME, null);
+    }
+
+}


[2/6] airavata git commit: Replaced xslt templates with groovy templates, fixed AIRAVATA-2124

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/c3064689/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PbsParamsImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PbsParamsImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PbsParamsImpl.java
deleted file mode 100644
index cdb348b..0000000
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PbsParamsImpl.java
+++ /dev/null
@@ -1,4381 +0,0 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * XML Type:  pbsParams
- * Namespace: http://airavata.apache.org/gfac/core/2012/12
- * Java type: org.apache.airavata.gfac.core.x2012.x12.PbsParams
- *
- * Automatically generated - do not modify.
- */
-package org.apache.airavata.gfac.core.x2012.x12.impl;
-/**
- * An XML pbsParams(@http://airavata.apache.org/gfac/core/2012/12).
- *
- * This is a complex type.
- */
-public class PbsParamsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.gfac.core.x2012.x12.PbsParams
-{
-    private static final long serialVersionUID = 1L;
-    
-    public PbsParamsImpl(org.apache.xmlbeans.SchemaType sType)
-    {
-        super(sType);
-    }
-    
-    private static final javax.xml.namespace.QName JOBID$0 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "jobID");
-    private static final javax.xml.namespace.QName USERNAME$2 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "userName");
-    private static final javax.xml.namespace.QName SHELLNAME$4 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "shellName");
-    private static final javax.xml.namespace.QName QUEUENAME$6 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "queueName");
-    private static final javax.xml.namespace.QName JOBNAME$8 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "jobName");
-    private static final javax.xml.namespace.QName ALLENVEXPORT$10 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "allEnvExport");
-    private static final javax.xml.namespace.QName MAILOPTIONS$12 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "mailOptions");
-    private static final javax.xml.namespace.QName MAILADDRESS$14 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "mailAddress");
-    private static final javax.xml.namespace.QName PARTITION$16 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "partition");
-    private static final javax.xml.namespace.QName MAILTYPE$18 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "mailType");
-    private static final javax.xml.namespace.QName ACOUNTSTRING$20 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "acountString");
-    private static final javax.xml.namespace.QName MAXWALLTIME$22 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "maxWallTime");
-    private static final javax.xml.namespace.QName STANDARDOUTFILE$24 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "standardOutFile");
-    private static final javax.xml.namespace.QName STANDARDERRORFILE$26 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "standardErrorFile");
-    private static final javax.xml.namespace.QName OUTPUTDIRECTORY$28 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "outputDirectory");
-    private static final javax.xml.namespace.QName INPUTDIRECTORY$30 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "inputDirectory");
-    private static final javax.xml.namespace.QName NODES$32 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "nodes");
-    private static final javax.xml.namespace.QName PROCESSESPERNODE$34 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "processesPerNode");
-    private static final javax.xml.namespace.QName CPUCOUNT$36 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "cpuCount");
-    private static final javax.xml.namespace.QName NODELIST$38 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "nodeList");
-    private static final javax.xml.namespace.QName WORKINGDIRECTORY$40 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "workingDirectory");
-    private static final javax.xml.namespace.QName EXECUTABLEPATH$42 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "executablePath");
-    private static final javax.xml.namespace.QName INPUTS$44 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "inputs");
-    private static final javax.xml.namespace.QName EXPORTS$46 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "exports");
-    private static final javax.xml.namespace.QName STATUS$48 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "status");
-    private static final javax.xml.namespace.QName AFTERANY$50 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "afterAny");
-    private static final javax.xml.namespace.QName AFTEROKLIST$52 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "afterOKList");
-    private static final javax.xml.namespace.QName CTIME$54 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "cTime");
-    private static final javax.xml.namespace.QName QTIME$56 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "qTime");
-    private static final javax.xml.namespace.QName MTIME$58 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "mTime");
-    private static final javax.xml.namespace.QName STIME$60 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "sTime");
-    private static final javax.xml.namespace.QName COMPTIME$62 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "compTime");
-    private static final javax.xml.namespace.QName OWNER$64 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "owner");
-    private static final javax.xml.namespace.QName EXECUTENODE$66 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "executeNode");
-    private static final javax.xml.namespace.QName ELLAPSEDTIME$68 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "ellapsedTime");
-    private static final javax.xml.namespace.QName USEDCPUTIME$70 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "usedCPUTime");
-    private static final javax.xml.namespace.QName USEDMEM$72 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "usedMem");
-    private static final javax.xml.namespace.QName SUBMITARGS$74 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "submitArgs");
-    private static final javax.xml.namespace.QName VARIABLELIST$76 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "variableList");
-    private static final javax.xml.namespace.QName PREJOBCOMMANDS$78 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "preJobCommands");
-    private static final javax.xml.namespace.QName MODULELOADCOMMANDS$80 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "moduleLoadCommands");
-    private static final javax.xml.namespace.QName POSTJOBCOMMANDS$82 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "postJobCommands");
-    private static final javax.xml.namespace.QName JOBSUBMITTERCOMMAND$84 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "jobSubmitterCommand");
-    private static final javax.xml.namespace.QName CALLBACKIP$86 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "callBackIp");
-    private static final javax.xml.namespace.QName CALLBACKPORT$88 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "callBackPort");
-    private static final javax.xml.namespace.QName CHASSISNAME$90 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "chassisName");
-    private static final javax.xml.namespace.QName QUALITYOFSERVICE$92 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "qualityOfService");
-    private static final javax.xml.namespace.QName RESERVATION$94 = 
-        new javax.xml.namespace.QName("http://airavata.apache.org/gfac/core/2012/12", "reservation");
-    
-    
-    /**
-     * Gets the "jobID" element
-     */
-    public java.lang.String getJobID()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBID$0, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "jobID" element
-     */
-    public org.apache.xmlbeans.XmlString xgetJobID()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JOBID$0, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "jobID" element
-     */
-    public boolean isSetJobID()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(JOBID$0) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "jobID" element
-     */
-    public void setJobID(java.lang.String jobID)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBID$0, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JOBID$0);
-            }
-            target.setStringValue(jobID);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "jobID" element
-     */
-    public void xsetJobID(org.apache.xmlbeans.XmlString jobID)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JOBID$0, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JOBID$0);
-            }
-            target.set(jobID);
-        }
-    }
-    
-    /**
-     * Unsets the "jobID" element
-     */
-    public void unsetJobID()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(JOBID$0, 0);
-        }
-    }
-    
-    /**
-     * Gets the "userName" element
-     */
-    public java.lang.String getUserName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(USERNAME$2, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "userName" element
-     */
-    public org.apache.xmlbeans.XmlString xgetUserName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(USERNAME$2, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "userName" element
-     */
-    public boolean isSetUserName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(USERNAME$2) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "userName" element
-     */
-    public void setUserName(java.lang.String userName)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(USERNAME$2, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(USERNAME$2);
-            }
-            target.setStringValue(userName);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "userName" element
-     */
-    public void xsetUserName(org.apache.xmlbeans.XmlString userName)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(USERNAME$2, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(USERNAME$2);
-            }
-            target.set(userName);
-        }
-    }
-    
-    /**
-     * Unsets the "userName" element
-     */
-    public void unsetUserName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(USERNAME$2, 0);
-        }
-    }
-    
-    /**
-     * Gets the "shellName" element
-     */
-    public java.lang.String getShellName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SHELLNAME$4, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "shellName" element
-     */
-    public org.apache.xmlbeans.XmlString xgetShellName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SHELLNAME$4, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "shellName" element
-     */
-    public boolean isSetShellName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(SHELLNAME$4) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "shellName" element
-     */
-    public void setShellName(java.lang.String shellName)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SHELLNAME$4, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SHELLNAME$4);
-            }
-            target.setStringValue(shellName);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "shellName" element
-     */
-    public void xsetShellName(org.apache.xmlbeans.XmlString shellName)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SHELLNAME$4, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SHELLNAME$4);
-            }
-            target.set(shellName);
-        }
-    }
-    
-    /**
-     * Unsets the "shellName" element
-     */
-    public void unsetShellName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(SHELLNAME$4, 0);
-        }
-    }
-    
-    /**
-     * Gets the "queueName" element
-     */
-    public java.lang.String getQueueName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(QUEUENAME$6, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "queueName" element
-     */
-    public org.apache.xmlbeans.XmlString xgetQueueName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(QUEUENAME$6, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "queueName" element
-     */
-    public boolean isSetQueueName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(QUEUENAME$6) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "queueName" element
-     */
-    public void setQueueName(java.lang.String queueName)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(QUEUENAME$6, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(QUEUENAME$6);
-            }
-            target.setStringValue(queueName);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "queueName" element
-     */
-    public void xsetQueueName(org.apache.xmlbeans.XmlString queueName)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(QUEUENAME$6, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(QUEUENAME$6);
-            }
-            target.set(queueName);
-        }
-    }
-    
-    /**
-     * Unsets the "queueName" element
-     */
-    public void unsetQueueName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(QUEUENAME$6, 0);
-        }
-    }
-    
-    /**
-     * Gets the "jobName" element
-     */
-    public java.lang.String getJobName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBNAME$8, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "jobName" element
-     */
-    public org.apache.xmlbeans.XmlString xgetJobName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JOBNAME$8, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "jobName" element
-     */
-    public boolean isSetJobName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(JOBNAME$8) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "jobName" element
-     */
-    public void setJobName(java.lang.String jobName)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JOBNAME$8, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JOBNAME$8);
-            }
-            target.setStringValue(jobName);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "jobName" element
-     */
-    public void xsetJobName(org.apache.xmlbeans.XmlString jobName)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JOBNAME$8, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JOBNAME$8);
-            }
-            target.set(jobName);
-        }
-    }
-    
-    /**
-     * Unsets the "jobName" element
-     */
-    public void unsetJobName()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(JOBNAME$8, 0);
-        }
-    }
-    
-    /**
-     * Gets the "allEnvExport" element
-     */
-    public boolean getAllEnvExport()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ALLENVEXPORT$10, 0);
-            if (target == null)
-            {
-                return false;
-            }
-            return target.getBooleanValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "allEnvExport" element
-     */
-    public org.apache.xmlbeans.XmlBoolean xgetAllEnvExport()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlBoolean target = null;
-            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ALLENVEXPORT$10, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "allEnvExport" element
-     */
-    public boolean isSetAllEnvExport()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(ALLENVEXPORT$10) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "allEnvExport" element
-     */
-    public void setAllEnvExport(boolean allEnvExport)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ALLENVEXPORT$10, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ALLENVEXPORT$10);
-            }
-            target.setBooleanValue(allEnvExport);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "allEnvExport" element
-     */
-    public void xsetAllEnvExport(org.apache.xmlbeans.XmlBoolean allEnvExport)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlBoolean target = null;
-            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ALLENVEXPORT$10, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(ALLENVEXPORT$10);
-            }
-            target.set(allEnvExport);
-        }
-    }
-    
-    /**
-     * Unsets the "allEnvExport" element
-     */
-    public void unsetAllEnvExport()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(ALLENVEXPORT$10, 0);
-        }
-    }
-    
-    /**
-     * Gets the "mailOptions" element
-     */
-    public java.lang.String getMailOptions()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAILOPTIONS$12, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "mailOptions" element
-     */
-    public org.apache.xmlbeans.XmlString xgetMailOptions()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MAILOPTIONS$12, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "mailOptions" element
-     */
-    public boolean isSetMailOptions()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(MAILOPTIONS$12) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "mailOptions" element
-     */
-    public void setMailOptions(java.lang.String mailOptions)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAILOPTIONS$12, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MAILOPTIONS$12);
-            }
-            target.setStringValue(mailOptions);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "mailOptions" element
-     */
-    public void xsetMailOptions(org.apache.xmlbeans.XmlString mailOptions)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MAILOPTIONS$12, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MAILOPTIONS$12);
-            }
-            target.set(mailOptions);
-        }
-    }
-    
-    /**
-     * Unsets the "mailOptions" element
-     */
-    public void unsetMailOptions()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(MAILOPTIONS$12, 0);
-        }
-    }
-    
-    /**
-     * Gets the "mailAddress" element
-     */
-    public java.lang.String getMailAddress()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAILADDRESS$14, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "mailAddress" element
-     */
-    public org.apache.xmlbeans.XmlString xgetMailAddress()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MAILADDRESS$14, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "mailAddress" element
-     */
-    public boolean isSetMailAddress()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(MAILADDRESS$14) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "mailAddress" element
-     */
-    public void setMailAddress(java.lang.String mailAddress)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAILADDRESS$14, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MAILADDRESS$14);
-            }
-            target.setStringValue(mailAddress);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "mailAddress" element
-     */
-    public void xsetMailAddress(org.apache.xmlbeans.XmlString mailAddress)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MAILADDRESS$14, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MAILADDRESS$14);
-            }
-            target.set(mailAddress);
-        }
-    }
-    
-    /**
-     * Unsets the "mailAddress" element
-     */
-    public void unsetMailAddress()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(MAILADDRESS$14, 0);
-        }
-    }
-    
-    /**
-     * Gets the "partition" element
-     */
-    public java.lang.String getPartition()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PARTITION$16, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "partition" element
-     */
-    public org.apache.xmlbeans.XmlString xgetPartition()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PARTITION$16, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "partition" element
-     */
-    public boolean isSetPartition()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(PARTITION$16) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "partition" element
-     */
-    public void setPartition(java.lang.String partition)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PARTITION$16, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PARTITION$16);
-            }
-            target.setStringValue(partition);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "partition" element
-     */
-    public void xsetPartition(org.apache.xmlbeans.XmlString partition)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PARTITION$16, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PARTITION$16);
-            }
-            target.set(partition);
-        }
-    }
-    
-    /**
-     * Unsets the "partition" element
-     */
-    public void unsetPartition()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(PARTITION$16, 0);
-        }
-    }
-    
-    /**
-     * Gets the "mailType" element
-     */
-    public java.lang.String getMailType()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAILTYPE$18, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "mailType" element
-     */
-    public org.apache.xmlbeans.XmlString xgetMailType()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MAILTYPE$18, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "mailType" element
-     */
-    public boolean isSetMailType()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(MAILTYPE$18) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "mailType" element
-     */
-    public void setMailType(java.lang.String mailType)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAILTYPE$18, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MAILTYPE$18);
-            }
-            target.setStringValue(mailType);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "mailType" element
-     */
-    public void xsetMailType(org.apache.xmlbeans.XmlString mailType)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MAILTYPE$18, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MAILTYPE$18);
-            }
-            target.set(mailType);
-        }
-    }
-    
-    /**
-     * Unsets the "mailType" element
-     */
-    public void unsetMailType()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(MAILTYPE$18, 0);
-        }
-    }
-    
-    /**
-     * Gets the "acountString" element
-     */
-    public java.lang.String getAcountString()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACOUNTSTRING$20, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "acountString" element
-     */
-    public org.apache.xmlbeans.XmlString xgetAcountString()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACOUNTSTRING$20, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "acountString" element
-     */
-    public boolean isSetAcountString()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(ACOUNTSTRING$20) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "acountString" element
-     */
-    public void setAcountString(java.lang.String acountString)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACOUNTSTRING$20, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACOUNTSTRING$20);
-            }
-            target.setStringValue(acountString);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "acountString" element
-     */
-    public void xsetAcountString(org.apache.xmlbeans.XmlString acountString)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACOUNTSTRING$20, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ACOUNTSTRING$20);
-            }
-            target.set(acountString);
-        }
-    }
-    
-    /**
-     * Unsets the "acountString" element
-     */
-    public void unsetAcountString()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(ACOUNTSTRING$20, 0);
-        }
-    }
-    
-    /**
-     * Gets the "maxWallTime" element
-     */
-    public java.lang.String getMaxWallTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAXWALLTIME$22, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "maxWallTime" element
-     */
-    public org.apache.xmlbeans.XmlString xgetMaxWallTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MAXWALLTIME$22, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "maxWallTime" element
-     */
-    public boolean isSetMaxWallTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(MAXWALLTIME$22) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "maxWallTime" element
-     */
-    public void setMaxWallTime(java.lang.String maxWallTime)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAXWALLTIME$22, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MAXWALLTIME$22);
-            }
-            target.setStringValue(maxWallTime);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "maxWallTime" element
-     */
-    public void xsetMaxWallTime(org.apache.xmlbeans.XmlString maxWallTime)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MAXWALLTIME$22, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MAXWALLTIME$22);
-            }
-            target.set(maxWallTime);
-        }
-    }
-    
-    /**
-     * Unsets the "maxWallTime" element
-     */
-    public void unsetMaxWallTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(MAXWALLTIME$22, 0);
-        }
-    }
-    
-    /**
-     * Gets the "standardOutFile" element
-     */
-    public java.lang.String getStandardOutFile()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STANDARDOUTFILE$24, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "standardOutFile" element
-     */
-    public org.apache.xmlbeans.XmlString xgetStandardOutFile()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(STANDARDOUTFILE$24, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "standardOutFile" element
-     */
-    public boolean isSetStandardOutFile()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(STANDARDOUTFILE$24) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "standardOutFile" element
-     */
-    public void setStandardOutFile(java.lang.String standardOutFile)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STANDARDOUTFILE$24, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STANDARDOUTFILE$24);
-            }
-            target.setStringValue(standardOutFile);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "standardOutFile" element
-     */
-    public void xsetStandardOutFile(org.apache.xmlbeans.XmlString standardOutFile)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(STANDARDOUTFILE$24, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(STANDARDOUTFILE$24);
-            }
-            target.set(standardOutFile);
-        }
-    }
-    
-    /**
-     * Unsets the "standardOutFile" element
-     */
-    public void unsetStandardOutFile()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(STANDARDOUTFILE$24, 0);
-        }
-    }
-    
-    /**
-     * Gets the "standardErrorFile" element
-     */
-    public java.lang.String getStandardErrorFile()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STANDARDERRORFILE$26, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "standardErrorFile" element
-     */
-    public org.apache.xmlbeans.XmlString xgetStandardErrorFile()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(STANDARDERRORFILE$26, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "standardErrorFile" element
-     */
-    public boolean isSetStandardErrorFile()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(STANDARDERRORFILE$26) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "standardErrorFile" element
-     */
-    public void setStandardErrorFile(java.lang.String standardErrorFile)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STANDARDERRORFILE$26, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STANDARDERRORFILE$26);
-            }
-            target.setStringValue(standardErrorFile);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "standardErrorFile" element
-     */
-    public void xsetStandardErrorFile(org.apache.xmlbeans.XmlString standardErrorFile)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(STANDARDERRORFILE$26, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(STANDARDERRORFILE$26);
-            }
-            target.set(standardErrorFile);
-        }
-    }
-    
-    /**
-     * Unsets the "standardErrorFile" element
-     */
-    public void unsetStandardErrorFile()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(STANDARDERRORFILE$26, 0);
-        }
-    }
-    
-    /**
-     * Gets the "outputDirectory" element
-     */
-    public java.lang.String getOutputDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OUTPUTDIRECTORY$28, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "outputDirectory" element
-     */
-    public org.apache.xmlbeans.XmlString xgetOutputDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(OUTPUTDIRECTORY$28, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "outputDirectory" element
-     */
-    public boolean isSetOutputDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(OUTPUTDIRECTORY$28) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "outputDirectory" element
-     */
-    public void setOutputDirectory(java.lang.String outputDirectory)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OUTPUTDIRECTORY$28, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OUTPUTDIRECTORY$28);
-            }
-            target.setStringValue(outputDirectory);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "outputDirectory" element
-     */
-    public void xsetOutputDirectory(org.apache.xmlbeans.XmlString outputDirectory)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(OUTPUTDIRECTORY$28, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(OUTPUTDIRECTORY$28);
-            }
-            target.set(outputDirectory);
-        }
-    }
-    
-    /**
-     * Unsets the "outputDirectory" element
-     */
-    public void unsetOutputDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(OUTPUTDIRECTORY$28, 0);
-        }
-    }
-    
-    /**
-     * Gets the "inputDirectory" element
-     */
-    public java.lang.String getInputDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INPUTDIRECTORY$30, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "inputDirectory" element
-     */
-    public org.apache.xmlbeans.XmlString xgetInputDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INPUTDIRECTORY$30, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "inputDirectory" element
-     */
-    public boolean isSetInputDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(INPUTDIRECTORY$30) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "inputDirectory" element
-     */
-    public void setInputDirectory(java.lang.String inputDirectory)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INPUTDIRECTORY$30, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INPUTDIRECTORY$30);
-            }
-            target.setStringValue(inputDirectory);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "inputDirectory" element
-     */
-    public void xsetInputDirectory(org.apache.xmlbeans.XmlString inputDirectory)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INPUTDIRECTORY$30, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(INPUTDIRECTORY$30);
-            }
-            target.set(inputDirectory);
-        }
-    }
-    
-    /**
-     * Unsets the "inputDirectory" element
-     */
-    public void unsetInputDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(INPUTDIRECTORY$30, 0);
-        }
-    }
-    
-    /**
-     * Gets the "nodes" element
-     */
-    public int getNodes()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NODES$32, 0);
-            if (target == null)
-            {
-                return 0;
-            }
-            return target.getIntValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "nodes" element
-     */
-    public org.apache.xmlbeans.XmlInt xgetNodes()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlInt target = null;
-            target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(NODES$32, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "nodes" element
-     */
-    public boolean isSetNodes()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(NODES$32) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "nodes" element
-     */
-    public void setNodes(int nodes)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NODES$32, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NODES$32);
-            }
-            target.setIntValue(nodes);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "nodes" element
-     */
-    public void xsetNodes(org.apache.xmlbeans.XmlInt nodes)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlInt target = null;
-            target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(NODES$32, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(NODES$32);
-            }
-            target.set(nodes);
-        }
-    }
-    
-    /**
-     * Unsets the "nodes" element
-     */
-    public void unsetNodes()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(NODES$32, 0);
-        }
-    }
-    
-    /**
-     * Gets the "processesPerNode" element
-     */
-    public int getProcessesPerNode()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROCESSESPERNODE$34, 0);
-            if (target == null)
-            {
-                return 0;
-            }
-            return target.getIntValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "processesPerNode" element
-     */
-    public org.apache.xmlbeans.XmlInt xgetProcessesPerNode()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlInt target = null;
-            target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROCESSESPERNODE$34, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "processesPerNode" element
-     */
-    public boolean isSetProcessesPerNode()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(PROCESSESPERNODE$34) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "processesPerNode" element
-     */
-    public void setProcessesPerNode(int processesPerNode)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROCESSESPERNODE$34, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROCESSESPERNODE$34);
-            }
-            target.setIntValue(processesPerNode);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "processesPerNode" element
-     */
-    public void xsetProcessesPerNode(org.apache.xmlbeans.XmlInt processesPerNode)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlInt target = null;
-            target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROCESSESPERNODE$34, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(PROCESSESPERNODE$34);
-            }
-            target.set(processesPerNode);
-        }
-    }
-    
-    /**
-     * Unsets the "processesPerNode" element
-     */
-    public void unsetProcessesPerNode()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(PROCESSESPERNODE$34, 0);
-        }
-    }
-    
-    /**
-     * Gets the "cpuCount" element
-     */
-    public int getCpuCount()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CPUCOUNT$36, 0);
-            if (target == null)
-            {
-                return 0;
-            }
-            return target.getIntValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "cpuCount" element
-     */
-    public org.apache.xmlbeans.XmlInt xgetCpuCount()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlInt target = null;
-            target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(CPUCOUNT$36, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "cpuCount" element
-     */
-    public boolean isSetCpuCount()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(CPUCOUNT$36) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "cpuCount" element
-     */
-    public void setCpuCount(int cpuCount)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CPUCOUNT$36, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CPUCOUNT$36);
-            }
-            target.setIntValue(cpuCount);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "cpuCount" element
-     */
-    public void xsetCpuCount(org.apache.xmlbeans.XmlInt cpuCount)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlInt target = null;
-            target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(CPUCOUNT$36, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(CPUCOUNT$36);
-            }
-            target.set(cpuCount);
-        }
-    }
-    
-    /**
-     * Unsets the "cpuCount" element
-     */
-    public void unsetCpuCount()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(CPUCOUNT$36, 0);
-        }
-    }
-    
-    /**
-     * Gets the "nodeList" element
-     */
-    public java.lang.String getNodeList()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NODELIST$38, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "nodeList" element
-     */
-    public org.apache.xmlbeans.XmlString xgetNodeList()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NODELIST$38, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "nodeList" element
-     */
-    public boolean isSetNodeList()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(NODELIST$38) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "nodeList" element
-     */
-    public void setNodeList(java.lang.String nodeList)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NODELIST$38, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NODELIST$38);
-            }
-            target.setStringValue(nodeList);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "nodeList" element
-     */
-    public void xsetNodeList(org.apache.xmlbeans.XmlString nodeList)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NODELIST$38, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(NODELIST$38);
-            }
-            target.set(nodeList);
-        }
-    }
-    
-    /**
-     * Unsets the "nodeList" element
-     */
-    public void unsetNodeList()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(NODELIST$38, 0);
-        }
-    }
-    
-    /**
-     * Gets the "workingDirectory" element
-     */
-    public java.lang.String getWorkingDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WORKINGDIRECTORY$40, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "workingDirectory" element
-     */
-    public org.apache.xmlbeans.XmlString xgetWorkingDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(WORKINGDIRECTORY$40, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "workingDirectory" element
-     */
-    public boolean isSetWorkingDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(WORKINGDIRECTORY$40) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "workingDirectory" element
-     */
-    public void setWorkingDirectory(java.lang.String workingDirectory)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WORKINGDIRECTORY$40, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(WORKINGDIRECTORY$40);
-            }
-            target.setStringValue(workingDirectory);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "workingDirectory" element
-     */
-    public void xsetWorkingDirectory(org.apache.xmlbeans.XmlString workingDirectory)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(WORKINGDIRECTORY$40, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(WORKINGDIRECTORY$40);
-            }
-            target.set(workingDirectory);
-        }
-    }
-    
-    /**
-     * Unsets the "workingDirectory" element
-     */
-    public void unsetWorkingDirectory()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(WORKINGDIRECTORY$40, 0);
-        }
-    }
-    
-    /**
-     * Gets the "executablePath" element
-     */
-    public java.lang.String getExecutablePath()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXECUTABLEPATH$42, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "executablePath" element
-     */
-    public org.apache.xmlbeans.XmlString xgetExecutablePath()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(EXECUTABLEPATH$42, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "executablePath" element
-     */
-    public boolean isSetExecutablePath()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(EXECUTABLEPATH$42) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "executablePath" element
-     */
-    public void setExecutablePath(java.lang.String executablePath)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXECUTABLEPATH$42, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EXECUTABLEPATH$42);
-            }
-            target.setStringValue(executablePath);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "executablePath" element
-     */
-    public void xsetExecutablePath(org.apache.xmlbeans.XmlString executablePath)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(EXECUTABLEPATH$42, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(EXECUTABLEPATH$42);
-            }
-            target.set(executablePath);
-        }
-    }
-    
-    /**
-     * Unsets the "executablePath" element
-     */
-    public void unsetExecutablePath()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(EXECUTABLEPATH$42, 0);
-        }
-    }
-    
-    /**
-     * Gets the "inputs" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.InputList getInputs()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.InputList target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.InputList)get_store().find_element_user(INPUTS$44, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target;
-        }
-    }
-    
-    /**
-     * Sets the "inputs" element
-     */
-    public void setInputs(org.apache.airavata.gfac.core.x2012.x12.InputList inputs)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.InputList target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.InputList)get_store().find_element_user(INPUTS$44, 0);
-            if (target == null)
-            {
-                target = (org.apache.airavata.gfac.core.x2012.x12.InputList)get_store().add_element_user(INPUTS$44);
-            }
-            target.set(inputs);
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty "inputs" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.InputList addNewInputs()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.InputList target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.InputList)get_store().add_element_user(INPUTS$44);
-            return target;
-        }
-    }
-    
-    /**
-     * Gets the "exports" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.ExportProperties getExports()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.ExportProperties target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties)get_store().find_element_user(EXPORTS$46, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target;
-        }
-    }
-    
-    /**
-     * Sets the "exports" element
-     */
-    public void setExports(org.apache.airavata.gfac.core.x2012.x12.ExportProperties exports)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.ExportProperties target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties)get_store().find_element_user(EXPORTS$46, 0);
-            if (target == null)
-            {
-                target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties)get_store().add_element_user(EXPORTS$46);
-            }
-            target.set(exports);
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty "exports" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.ExportProperties addNewExports()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.ExportProperties target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.ExportProperties)get_store().add_element_user(EXPORTS$46);
-            return target;
-        }
-    }
-    
-    /**
-     * Gets the "status" element
-     */
-    public java.lang.String getStatus()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$48, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "status" element
-     */
-    public org.apache.xmlbeans.XmlString xgetStatus()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(STATUS$48, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "status" element
-     */
-    public boolean isSetStatus()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(STATUS$48) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "status" element
-     */
-    public void setStatus(java.lang.String status)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$48, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATUS$48);
-            }
-            target.setStringValue(status);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "status" element
-     */
-    public void xsetStatus(org.apache.xmlbeans.XmlString status)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(STATUS$48, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(STATUS$48);
-            }
-            target.set(status);
-        }
-    }
-    
-    /**
-     * Unsets the "status" element
-     */
-    public void unsetStatus()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(STATUS$48, 0);
-        }
-    }
-    
-    /**
-     * Gets the "afterAny" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.AfterAnyList getAfterAny()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.AfterAnyList target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList)get_store().find_element_user(AFTERANY$50, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "afterAny" element
-     */
-    public boolean isSetAfterAny()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(AFTERANY$50) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "afterAny" element
-     */
-    public void setAfterAny(org.apache.airavata.gfac.core.x2012.x12.AfterAnyList afterAny)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.AfterAnyList target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList)get_store().find_element_user(AFTERANY$50, 0);
-            if (target == null)
-            {
-                target = (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList)get_store().add_element_user(AFTERANY$50);
-            }
-            target.set(afterAny);
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty "afterAny" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.AfterAnyList addNewAfterAny()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.AfterAnyList target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.AfterAnyList)get_store().add_element_user(AFTERANY$50);
-            return target;
-        }
-    }
-    
-    /**
-     * Unsets the "afterAny" element
-     */
-    public void unsetAfterAny()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(AFTERANY$50, 0);
-        }
-    }
-    
-    /**
-     * Gets the "afterOKList" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.AfterOKList getAfterOKList()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.AfterOKList target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.AfterOKList)get_store().find_element_user(AFTEROKLIST$52, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "afterOKList" element
-     */
-    public boolean isSetAfterOKList()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(AFTEROKLIST$52) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "afterOKList" element
-     */
-    public void setAfterOKList(org.apache.airavata.gfac.core.x2012.x12.AfterOKList afterOKList)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.AfterOKList target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.AfterOKList)get_store().find_element_user(AFTEROKLIST$52, 0);
-            if (target == null)
-            {
-                target = (org.apache.airavata.gfac.core.x2012.x12.AfterOKList)get_store().add_element_user(AFTEROKLIST$52);
-            }
-            target.set(afterOKList);
-        }
-    }
-    
-    /**
-     * Appends and returns a new empty "afterOKList" element
-     */
-    public org.apache.airavata.gfac.core.x2012.x12.AfterOKList addNewAfterOKList()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.airavata.gfac.core.x2012.x12.AfterOKList target = null;
-            target = (org.apache.airavata.gfac.core.x2012.x12.AfterOKList)get_store().add_element_user(AFTEROKLIST$52);
-            return target;
-        }
-    }
-    
-    /**
-     * Unsets the "afterOKList" element
-     */
-    public void unsetAfterOKList()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(AFTEROKLIST$52, 0);
-        }
-    }
-    
-    /**
-     * Gets the "cTime" element
-     */
-    public java.lang.String getCTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CTIME$54, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "cTime" element
-     */
-    public org.apache.xmlbeans.XmlString xgetCTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CTIME$54, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "cTime" element
-     */
-    public boolean isSetCTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(CTIME$54) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "cTime" element
-     */
-    public void setCTime(java.lang.String cTime)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CTIME$54, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CTIME$54);
-            }
-            target.setStringValue(cTime);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "cTime" element
-     */
-    public void xsetCTime(org.apache.xmlbeans.XmlString cTime)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CTIME$54, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(CTIME$54);
-            }
-            target.set(cTime);
-        }
-    }
-    
-    /**
-     * Unsets the "cTime" element
-     */
-    public void unsetCTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(CTIME$54, 0);
-        }
-    }
-    
-    /**
-     * Gets the "qTime" element
-     */
-    public java.lang.String getQTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(QTIME$56, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "qTime" element
-     */
-    public org.apache.xmlbeans.XmlString xgetQTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(QTIME$56, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "qTime" element
-     */
-    public boolean isSetQTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(QTIME$56) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "qTime" element
-     */
-    public void setQTime(java.lang.String qTime)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(QTIME$56, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(QTIME$56);
-            }
-            target.setStringValue(qTime);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "qTime" element
-     */
-    public void xsetQTime(org.apache.xmlbeans.XmlString qTime)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(QTIME$56, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(QTIME$56);
-            }
-            target.set(qTime);
-        }
-    }
-    
-    /**
-     * Unsets the "qTime" element
-     */
-    public void unsetQTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(QTIME$56, 0);
-        }
-    }
-    
-    /**
-     * Gets the "mTime" element
-     */
-    public java.lang.String getMTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MTIME$58, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "mTime" element
-     */
-    public org.apache.xmlbeans.XmlString xgetMTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MTIME$58, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "mTime" element
-     */
-    public boolean isSetMTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(MTIME$58) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "mTime" element
-     */
-    public void setMTime(java.lang.String mTime)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MTIME$58, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MTIME$58);
-            }
-            target.setStringValue(mTime);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "mTime" element
-     */
-    public void xsetMTime(org.apache.xmlbeans.XmlString mTime)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MTIME$58, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MTIME$58);
-            }
-            target.set(mTime);
-        }
-    }
-    
-    /**
-     * Unsets the "mTime" element
-     */
-    public void unsetMTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            get_store().remove_element(MTIME$58, 0);
-        }
-    }
-    
-    /**
-     * Gets the "sTime" element
-     */
-    public java.lang.String getSTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STIME$60, 0);
-            if (target == null)
-            {
-                return null;
-            }
-            return target.getStringValue();
-        }
-    }
-    
-    /**
-     * Gets (as xml) the "sTime" element
-     */
-    public org.apache.xmlbeans.XmlString xgetSTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.XmlString target = null;
-            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(STIME$60, 0);
-            return target;
-        }
-    }
-    
-    /**
-     * True if has "sTime" element
-     */
-    public boolean isSetSTime()
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            return get_store().count_elements(STIME$60) != 0;
-        }
-    }
-    
-    /**
-     * Sets the "sTime" element
-     */
-    public void setSTime(java.lang.String sTime)
-    {
-        synchronized (monitor())
-        {
-            check_orphaned();
-            org.apache.xmlbeans.SimpleValue target = null;
-            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STIME$60, 0);
-            if (target == null)
-            {
-                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STIME$60);
-            }
-            target.setStringValue(sTime);
-        }
-    }
-    
-    /**
-     * Sets (as xml) the "sTime" element
-     */
-    public void xsetSTime(org.apache.xmlbeans.X

<TRUNCATED>