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 2015/06/03 23:24:54 UTC

[1/8] airavata git commit: Resolve compilation issues in gfac module after module refactoring

Repository: airavata
Updated Branches:
  refs/heads/moduleRefactor 7b8097476 -> 19afc7e0d


http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/HandleOutputs.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/HandleOutputs.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/HandleOutputs.java
index 72c032b..31550fd 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/HandleOutputs.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/HandleOutputs.java
@@ -8,7 +8,7 @@ import java.util.List;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.GFacUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;
 import org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType;
 import org.slf4j.Logger;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/test/java/org/apache/airavata/gfac/ssh/impl/DefaultSSHApiTestWithMyProxyAuth.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/test/java/org/apache/airavata/gfac/ssh/impl/DefaultSSHApiTestWithMyProxyAuth.java b/modules/gfac/gfac-impl/src/test/java/org/apache/airavata/gfac/ssh/impl/DefaultSSHApiTestWithMyProxyAuth.java
index 61a7437..79f29e4 100644
--- a/modules/gfac/gfac-impl/src/test/java/org/apache/airavata/gfac/ssh/impl/DefaultSSHApiTestWithMyProxyAuth.java
+++ b/modules/gfac/gfac-impl/src/test/java/org/apache/airavata/gfac/ssh/impl/DefaultSSHApiTestWithMyProxyAuth.java
@@ -21,6 +21,7 @@
 
 package org.apache.airavata.gfac.ssh.impl;
 
+import org.apache.airavata.gfac.core.cluster.RawCommandInfo;
 import org.apache.airavata.gfac.ssh.api.*;
 import org.apache.airavata.gfac.ssh.config.ConfigReader;
 import org.apache.airavata.gfac.ssh.impl.authentication.DefaultPublicKeyAuthentication;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-service/pom.xml
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-service/pom.xml b/modules/gfac/gfac-service/pom.xml
index 224537f..b911385 100644
--- a/modules/gfac/gfac-service/pom.xml
+++ b/modules/gfac/gfac-service/pom.xml
@@ -20,7 +20,7 @@
     </parent>
 
     <name>Airavata Gfac Service</name>
-    <artifactId>airavata-gfac-service</artifactId>
+    <artifactId>gfac-service</artifactId>
     <packaging>jar</packaging>
     <url>http://airavata.apache.org/</url>
 
@@ -57,7 +57,12 @@
         </dependency>
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-core</artifactId>
+            <artifactId>gfac-core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.airavata</groupId>
+            <artifactId>gfac-impl</artifactId>
             <version>${project.version}</version>
         </dependency>
 	    <dependency>
@@ -72,7 +77,7 @@
         </dependency>
          <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-stubs</artifactId>
+            <artifactId>gfac-client</artifactId>
             <version>${project.version}</version>
         </dependency>
 	    <dependency>

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-service/src/main/java/org/apache/airavata/gfac/server/GfacServerHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-service/src/main/java/org/apache/airavata/gfac/server/GfacServerHandler.java b/modules/gfac/gfac-service/src/main/java/org/apache/airavata/gfac/server/GfacServerHandler.java
index 77a89cc..64c06e4 100644
--- a/modules/gfac/gfac-service/src/main/java/org/apache/airavata/gfac/server/GfacServerHandler.java
+++ b/modules/gfac/gfac-service/src/main/java/org/apache/airavata/gfac/server/GfacServerHandler.java
@@ -35,16 +35,16 @@ import org.apache.airavata.common.utils.ThriftUtils;
 import org.apache.airavata.common.utils.listener.AbstractActivityListener;
 import org.apache.airavata.gfac.GFacConfiguration;
 import org.apache.airavata.gfac.GFacException;
-import org.apache.airavata.gfac.core.cpi.BetterGfacImpl;
 import org.apache.airavata.gfac.core.GFac;
 import org.apache.airavata.gfac.core.handler.GFacHandlerConfig;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.handler.ThreadedHandler;
 import org.apache.airavata.gfac.core.GFacThreadPoolExecutor;
 import org.apache.airavata.gfac.core.GFacUtils;
-import org.apache.airavata.gfac.core.utils.InputHandlerWorker;
 import org.apache.airavata.gfac.cpi.GfacService;
 import org.apache.airavata.gfac.cpi.gfac_cpi_serviceConstants;
+import org.apache.airavata.gfac.impl.BetterGfacImpl;
+import org.apache.airavata.gfac.impl.InputHandlerWorker;
 import org.apache.airavata.messaging.core.MessageContext;
 import org.apache.airavata.messaging.core.MessageHandler;
 import org.apache.airavata.messaging.core.MessagingConstants;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/orchestrator/orchestrator-core/pom.xml
----------------------------------------------------------------------
diff --git a/modules/orchestrator/orchestrator-core/pom.xml b/modules/orchestrator/orchestrator-core/pom.xml
index 80543df..3a9a48a 100644
--- a/modules/orchestrator/orchestrator-core/pom.xml
+++ b/modules/orchestrator/orchestrator-core/pom.xml
@@ -46,22 +46,16 @@ the License. -->
         </dependency>
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-core</artifactId>
+            <artifactId>gfac-core</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-stubs</artifactId>
+            <artifactId>gfac-client</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-hpc-monitor</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.airavata</groupId>
             <artifactId>airavata-data-models</artifactId>
             <version>${project.version}</version>
         </dependency>
@@ -71,18 +65,6 @@ the License. -->
             <version>${project.version}</version>
         </dependency>
         <dependency>
-            <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-local</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-gsissh</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
             <groupId>org.apache.derby</groupId>
             <artifactId>derby</artifactId>
             <version>${derby.version}</version>

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/workflow-model/workflow-engine/pom.xml
----------------------------------------------------------------------
diff --git a/modules/workflow-model/workflow-engine/pom.xml b/modules/workflow-model/workflow-engine/pom.xml
index 1c22c06..2928014 100644
--- a/modules/workflow-model/workflow-engine/pom.xml
+++ b/modules/workflow-model/workflow-engine/pom.xml
@@ -237,7 +237,7 @@
         </dependency>
          <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-stubs</artifactId>
+            <artifactId>gfac-client</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
@@ -259,7 +259,7 @@
         <!-- TODO need clean up -->
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-core</artifactId>
+            <artifactId>gfac-core</artifactId>
             <version>${project.version}</version>
         </dependency>
 <!--        <dependency>

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/xbaya-gui/pom.xml
----------------------------------------------------------------------
diff --git a/modules/xbaya-gui/pom.xml b/modules/xbaya-gui/pom.xml
index 8919f1d..520b076 100644
--- a/modules/xbaya-gui/pom.xml
+++ b/modules/xbaya-gui/pom.xml
@@ -229,14 +229,9 @@
         <!-- TODO need clean up -->
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-core</artifactId>
+            <artifactId>gfac-core</artifactId>
             <version>${project.version}</version>
         </dependency>
-<!--        <dependency>
-            <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-ec2</artifactId>
-            <version>${project.version}</version>
-        </dependency>-->
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>


[8/8] airavata git commit: Resolve compilation issues in gfac module after module refactoring

Posted by sh...@apache.org.
Resolve compilation issues in gfac module after module refactoring


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

Branch: refs/heads/moduleRefactor
Commit: 19afc7e0d90502f592f1c73aafbf17ae3f4648a1
Parents: 7b80974
Author: Shameera Rathanyaka <sh...@gmail.com>
Authored: Wed Jun 3 17:24:47 2015 -0400
Committer: Shameera Rathanyaka <sh...@gmail.com>
Committed: Wed Jun 3 17:24:47 2015 -0400

----------------------------------------------------------------------
 modules/distribution/gfac-server/pom.xml        |   33 +-
 modules/distribution/server/pom.xml             |   55 +-
 .../gfac-application-specific-handlers/pom.xml  |    4 +-
 modules/gfac/gfac-bes/pom.xml                   |    4 +-
 modules/gfac/gfac-client/pom.xml                |    2 +-
 modules/gfac/gfac-core/pom.xml                  |   30 +-
 .../apache/airavata/gfac/core/GFacUtils.java    |   39 +
 .../airavata/gfac/core/JobDescriptor.java       |  475 ++
 .../gfac/core/JobManagerConfiguration.java      |   52 +
 .../airavata/gfac/core/SSHApiException.java     |   36 +
 .../airavata/gfac/core/cluster/Cluster.java     |  161 +
 .../airavata/gfac/core/cluster/CommandInfo.java |   34 +
 .../gfac/core/cluster/CommandOutput.java        |   49 +
 .../airavata/gfac/core/cluster/JobStatus.java   |  110 +
 .../gfac/core/cluster/OutputParser.java         |   67 +
 .../gfac/core/cluster/RawCommandInfo.java       |   53 +
 .../airavata/gfac/core/cluster/ServerInfo.java  |   65 +
 .../gfac/core/handler/AbstractHandler.java      |    1 -
 .../gfac/core/x2012/x12/AfterAnyList.java       |  166 +
 .../gfac/core/x2012/x12/AfterOKList.java        |  166 +
 .../gfac/core/x2012/x12/ExportProperties.java   |  183 +
 .../airavata/gfac/core/x2012/x12/InputList.java |  166 +
 .../core/x2012/x12/JobDescriptorDocument.java   |  112 +
 .../gfac/core/x2012/x12/ModuleLoadCommands.java |  166 +
 .../airavata/gfac/core/x2012/x12/PbsParams.java | 1421 ++++++
 .../gfac/core/x2012/x12/PostJobCommands.java    |  166 +
 .../gfac/core/x2012/x12/PreJobCommands.java     |  166 +
 .../core/x2012/x12/impl/AfterAnyListImpl.java   |  235 +
 .../core/x2012/x12/impl/AfterOKListImpl.java    |  235 +
 .../x2012/x12/impl/ExportPropertiesImpl.java    |  233 +
 .../gfac/core/x2012/x12/impl/InputListImpl.java |  235 +
 .../x12/impl/JobDescriptorDocumentImpl.java     |   77 +
 .../x2012/x12/impl/ModuleLoadCommandsImpl.java  |  235 +
 .../gfac/core/x2012/x12/impl/PbsParamsImpl.java | 4174 ++++++++++++++++++
 .../x2012/x12/impl/PostJobCommandsImpl.java     |  235 +
 .../core/x2012/x12/impl/PreJobCommandsImpl.java |  235 +
 .../src/main/resources/PBSJobDescriptor.xsd     |  114 +
 .../src/main/resources/gsissh-schemas.xsdconfig |   14 +
 modules/gfac/gfac-impl/pom.xml                  |   32 +-
 .../java/com/jcraft/jsch/ExtendedSession.java   |   42 +
 .../com/jcraft/jsch/GSISSHIdentityFile.java     |  126 +
 .../jcraft/jsch/GSISSHIdentityRepository.java   |   29 +
 .../UserAuthGSSAPIWithMICGSSCredentials.java    |  308 ++
 .../airavata/gfac/gsi/ssh/GSSContextX509.java   |    2 +-
 .../airavata/gfac/gsi/ssh/api/Cluster.java      |  162 -
 .../gfac/gsi/ssh/api/CommandExecutor.java       |   33 +-
 .../airavata/gfac/gsi/ssh/api/CommandInfo.java  |   34 -
 .../gfac/gsi/ssh/api/CommandOutput.java         |   49 -
 .../apache/airavata/gfac/gsi/ssh/api/Core.java  |    4 +-
 .../apache/airavata/gfac/gsi/ssh/api/Node.java  |    2 +-
 .../gfac/gsi/ssh/api/SSHApiException.java       |   36 -
 .../airavata/gfac/gsi/ssh/api/ServerInfo.java   |   65 -
 .../gfac/gsi/ssh/api/job/JobDescriptor.java     |  473 --
 .../ssh/api/job/JobManagerConfiguration.java    |   51 -
 .../airavata/gfac/gsi/ssh/api/job/JobType.java  |   32 -
 .../gsi/ssh/api/job/LSFJobConfiguration.java    |    6 +-
 .../gfac/gsi/ssh/api/job/LSFOutputParser.java   |    8 +-
 .../gfac/gsi/ssh/api/job/OutputParser.java      |   67 -
 .../gsi/ssh/api/job/PBSJobConfiguration.java    |    6 +-
 .../gfac/gsi/ssh/api/job/PBSOutputParser.java   |    8 +-
 .../gsi/ssh/api/job/SlurmJobConfiguration.java  |    8 +-
 .../gfac/gsi/ssh/api/job/SlurmOutputParser.java |    8 +-
 .../gsi/ssh/api/job/UGEJobConfiguration.java    |    6 +-
 .../gfac/gsi/ssh/api/job/UGEOutputParser.java   |   10 +-
 .../gfac/gsi/ssh/config/ConfigReader.java       |    2 +-
 .../ssh/impl/DefaultJobSubmissionListener.java  |    9 +-
 .../gsi/ssh/impl/GSISSHAbstractCluster.java     |   80 +-
 .../airavata/gfac/gsi/ssh/impl/JobStatus.java   |  110 -
 .../airavata/gfac/gsi/ssh/impl/PBSCluster.java  |    9 +-
 .../gfac/gsi/ssh/impl/RawCommandInfo.java       |   55 -
 .../airavata/gfac/gsi/ssh/impl/SSHUserInfo.java |    2 +-
 .../gfac/gsi/ssh/impl/StandardOutReader.java    |    4 +-
 .../gfac/gsi/ssh/impl/SystemCommandOutput.java  |    4 +-
 .../DefaultPasswordAuthenticationInfo.java      |    2 +-
 .../DefaultPublicKeyAuthentication.java         |    2 +-
 .../DefaultPublicKeyFileAuthentication.java     |    2 +-
 .../MyProxyAuthenticationInfo.java              |    2 +-
 .../gfac/gsi/ssh/jsch/ExtendedJSch.java         |    2 +-
 .../gsi/ssh/listener/JobSubmissionListener.java |    8 +-
 .../airavata/gfac/gsi/ssh/util/CommonUtils.java |    8 +-
 .../ssh/util/SSHAPIUIKeyboardInteractive.java   |    2 +-
 .../gsi/ssh/util/SSHKeyPasswordHandler.java     |    2 +-
 .../airavata/gfac/gsi/ssh/util/SSHUtils.java    |   61 +-
 .../handler/GSISSHDirectorySetupHandler.java    |    2 +-
 .../gfac/gsissh/handler/GSISSHInputHandler.java |    2 +-
 .../gsissh/handler/GSISSHOutputHandler.java     |    2 +-
 .../gsissh/handler/NewGSISSHOutputHandler.java  |    2 +-
 .../gsissh/provider/impl/GSISSHProvider.java    |    8 +-
 .../gsissh/security/GSISecurityContext.java     |    9 +-
 .../gfac/gsissh/util/GFACGSISSHUtils.java       |   14 +-
 .../gfac/local/provider/impl/LocalProvider.java |    2 -
 .../airavata/gfac/monitor/HPCMonitorID.java     |    6 +-
 .../handlers/GridPullMonitorHandler.java        |    4 +-
 .../handlers/GridPushMonitorHandler.java        |    4 +-
 .../monitor/impl/pull/qstat/HPCPullMonitor.java |    6 +-
 .../impl/pull/qstat/ResourceConnection.java     |    8 +-
 .../impl/push/amqp/ComputingActivity.java       |   19 +
 .../impl/push/amqp/JSONMessageParser.java       |    1 -
 .../gfac/ssh/context/SSHAuthWrapper.java        |    2 +-
 .../ssh/handler/AdvancedSCPInputHandler.java    |    8 +-
 .../ssh/handler/AdvancedSCPOutputHandler.java   |    8 +-
 .../gfac/ssh/handler/NewSSHOutputHandler.java   |    2 +-
 .../ssh/handler/SSHDirectorySetupHandler.java   |    2 +-
 .../gfac/ssh/handler/SSHInputHandler.java       |    2 +-
 .../gfac/ssh/handler/SSHOutputHandler.java      |    2 +-
 .../gfac/ssh/provider/impl/SSHProvider.java     |   16 +-
 .../gfac/ssh/security/SSHSecurityContext.java   |    2 +-
 .../airavata/gfac/ssh/util/GFACSSHUtils.java    |   15 +-
 .../airavata/gfac/ssh/util/HandleOutputs.java   |    2 +-
 .../impl/DefaultSSHApiTestWithMyProxyAuth.java  |    1 +
 modules/gfac/gfac-service/pom.xml               |   11 +-
 .../airavata/gfac/server/GfacServerHandler.java |    4 +-
 modules/orchestrator/orchestrator-core/pom.xml  |   22 +-
 modules/workflow-model/workflow-engine/pom.xml  |    4 +-
 modules/xbaya-gui/pom.xml                       |    7 +-
 115 files changed, 10720 insertions(+), 1456 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/distribution/gfac-server/pom.xml
----------------------------------------------------------------------
diff --git a/modules/distribution/gfac-server/pom.xml b/modules/distribution/gfac-server/pom.xml
index 2496ae7..6e80212 100644
--- a/modules/distribution/gfac-server/pom.xml
+++ b/modules/distribution/gfac-server/pom.xml
@@ -133,49 +133,24 @@
 			<artifactId>airavata-standalone-server</artifactId>
 			<version>${project.version}</version>
 	   </dependency>
-      <!--<dependency>-->
-            <!--<groupId>org.apache.airavata</groupId>-->
-            <!--<artifactId>airavata-gfac-gram</artifactId>-->
-            <!--<version>${project.version}</version>-->
-        <!--</dependency>-->
-        <!--<dependency>-->
-            <!--<groupId>org.apache.airavata</groupId>-->
-            <!--<artifactId>airavata-gfac-bes</artifactId>-->
-            <!--<version>${project.version}</version>-->
-        <!--</dependency>-->
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-gsissh</artifactId>
+            <artifactId>gfac-impl</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-hpc-monitor</artifactId>
+            <artifactId>gfac-core</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-local</artifactId>
+            <artifactId>gfac-service</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <!--<dependency>-->
-            <!--<groupId>org.apache.airavata</groupId>-->
-            <!--<artifactId>airavata-gfac-hadoop</artifactId>-->
-            <!--<version>${project.version}</version>-->
-        <!--</dependency>-->
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-service</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-application-specific-handlers</artifactId>
+            <artifactId>gfac-application-specific-handlers</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/distribution/server/pom.xml
----------------------------------------------------------------------
diff --git a/modules/distribution/server/pom.xml b/modules/distribution/server/pom.xml
index fc2df04..cf8a73c 100644
--- a/modules/distribution/server/pom.xml
+++ b/modules/distribution/server/pom.xml
@@ -268,7 +268,7 @@
 		</dependency>
 		<dependency>
 			<groupId>org.apache.airavata</groupId>
-			<artifactId>airavata-gfac-stubs</artifactId>
+			<artifactId>gfac-client</artifactId>
 			<version>${project.version}</version>
 		</dependency>
 		<dependency>
@@ -298,47 +298,22 @@
 		</dependency>
 		<dependency>
 			<groupId>org.apache.airavata</groupId>
-			<artifactId>airavata-gfac-ssh</artifactId>
-			<version>${project.version}</version>
-		</dependency>
-		<!--<dependency> -->
-		<!--<groupId>org.apache.airavata</groupId> -->
-		<!--<artifactId>airavata-gfac-gram</artifactId> -->
-		<!--<version>${project.version}</version> -->
-		<!--</dependency> -->
-		<dependency>
-			<groupId>org.apache.airavata</groupId>
-			<artifactId>airavata-gfac-bes</artifactId>
-			<version>${project.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.airavata</groupId>
-			<artifactId>airavata-gfac-gsissh</artifactId>
+			<artifactId>gfac-impl</artifactId>
 			<version>${project.version}</version>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.airavata</groupId>
-			<artifactId>airavata-gfac-hpc-monitor</artifactId>
+			<artifactId>gfac-bes</artifactId>
 			<version>${project.version}</version>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.airavata</groupId>
-			<artifactId>airavata-gfac-local</artifactId>
-			<version>${project.version}</version>
-		</dependency>
-		<!--<dependency> -->
-		<!--<groupId>org.apache.airavata</groupId> -->
-		<!--<artifactId>airavata-gfac-hadoop</artifactId> -->
-		<!--<version>${project.version}</version> -->
-		<!--</dependency> -->
-		<dependency>
-			<groupId>org.apache.airavata</groupId>
-			<artifactId>airavata-gfac-core</artifactId>
+			<artifactId>gfac-core</artifactId>
 			<version>${project.version}</version>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.airavata</groupId>
-			<artifactId>airavata-gfac-service</artifactId>
+			<artifactId>gfac-service</artifactId>
 			<version>${project.version}</version>
 		</dependency>
 		<!--<dependency> -->
@@ -351,26 +326,6 @@
 			<artifactId>airavata-workflow-model-core</artifactId>
 			<version>${project.version}</version>
 		</dependency>
-		<!--<dependency> -->
-		<!--<groupId>org.apache.airavata</groupId> -->
-		<!--<artifactId>airavata-messenger-commons</artifactId> -->
-		<!--<version>${project.version}</version> -->
-		<!--</dependency> -->
-		<!--<dependency> -->
-		<!--<groupId>org.apache.airavata</groupId> -->
-		<!--<artifactId>airavata-messenger-client</artifactId> -->
-		<!--<version>${project.version}</version> -->
-		<!--</dependency> -->
-		<!--<dependency> -->
-		<!--<groupId>org.apache.airavata</groupId> -->
-		<!--<artifactId>airavata-workflow-tracking</artifactId> -->
-		<!--<version>${project.version}</version> -->
-		<!--</dependency> -->
-		<dependency>
-			<groupId>org.apache.airavata</groupId>
-			<artifactId>gsissh</artifactId>
-			<version>${project.version}</version>
-		</dependency>
 		<dependency>
 			<groupId>org.apache.airavata</groupId>
 			<artifactId>airavata-model-utils</artifactId>

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-application-specific-handlers/pom.xml
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-application-specific-handlers/pom.xml b/modules/gfac/gfac-application-specific-handlers/pom.xml
index 801313d..638c81f 100644
--- a/modules/gfac/gfac-application-specific-handlers/pom.xml
+++ b/modules/gfac/gfac-application-specific-handlers/pom.xml
@@ -7,11 +7,11 @@
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
-    <artifactId>airavata-gfac-application-specific-handlers</artifactId>
+    <artifactId>gfac-application-specific-handlers</artifactId>
     <dependencies>
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-core</artifactId>
+            <artifactId>gfac-core</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-bes/pom.xml
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-bes/pom.xml b/modules/gfac/gfac-bes/pom.xml
index 7335d53..4e61ae0 100644
--- a/modules/gfac/gfac-bes/pom.xml
+++ b/modules/gfac/gfac-bes/pom.xml
@@ -20,7 +20,7 @@
 	</parent>
 
 	<modelVersion>4.0.0</modelVersion>
-	<artifactId>airavata-gfac-bes</artifactId>
+	<artifactId>gfac-bes</artifactId>
 	<name>Airavata GFac BES implementation</name>
 	<description>This is the extension of GFAC to use GRAM </description>
 	<url>http://airavata.apache.org/</url>
@@ -36,7 +36,7 @@
 		<!-- GFAC schemas -->
 		<dependency>
 			<groupId>org.apache.airavata</groupId>
-			<artifactId>airavata-gfac-core</artifactId>
+			<artifactId>gfac-core</artifactId>
 			<version>${project.version}</version>
 		</dependency>
 		<!-- Credential Store -->

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-client/pom.xml
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-client/pom.xml b/modules/gfac/gfac-client/pom.xml
index f94d85b..20423e0 100644
--- a/modules/gfac/gfac-client/pom.xml
+++ b/modules/gfac/gfac-client/pom.xml
@@ -20,7 +20,7 @@
     </parent>
 
     <name>Airavata Gfac Client SDK</name>
-    <artifactId>airavata-gfac-stubs</artifactId>
+    <artifactId>gfac-client</artifactId>
     <packaging>jar</packaging>
     <url>http://airavata.apache.org/</url>
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/pom.xml
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/pom.xml b/modules/gfac/gfac-core/pom.xml
index 2169734..0203865 100644
--- a/modules/gfac/gfac-core/pom.xml
+++ b/modules/gfac/gfac-core/pom.xml
@@ -17,7 +17,7 @@
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
-    <artifactId>airavata-gfac-core</artifactId>
+    <artifactId>gfac-core</artifactId>
     <name>Airavata GFac Core</name>
     <description>The core GFAC functionality independent from any webservice implementation.</description>
     <url>http://airavata.apache.org/</url>
@@ -50,6 +50,11 @@
             <artifactId>airavata-jpa-registry</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.xmlbeans</groupId>
+            <artifactId>xmlbeans</artifactId>
+            <version>${xmlbeans.version}</version>
+        </dependency>
         <!-- Credential Store -->
         <dependency>
             <groupId>org.apache.airavata</groupId>
@@ -112,6 +117,7 @@
             <groupId>org.apache.xmlbeans</groupId>
             <artifactId>xmlbeans</artifactId>
             <version>${xmlbeans.version}</version>
+            <scope>compile</scope>
         </dependency>
         <!-- this is the dependency for amqp implementation -->
         <!-- zookeeper dependencies -->
@@ -125,6 +131,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.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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 407db94..b716099 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
@@ -139,6 +139,45 @@ public class GFacUtils {
 	}
 
 	/**
+	 * This returns true if the give job is finished
+	 * otherwise false
+	 *
+	 * @param job
+	 * @return
+	 */
+	public static boolean isJobFinished(JobDescriptor job) {
+		if (org.apache.airavata.gfac.core.cluster.JobStatus.C.toString().equals(job.getStatus())) {
+			return true;
+		} else {
+			return false;
+		}
+	}
+
+	/**
+	 * This will read
+	 *
+	 * @param maxWalltime
+	 * @return
+	 */
+	public static String maxWallTimeCalculator(int maxWalltime) {
+		if (maxWalltime < 60) {
+			return "00:" + maxWalltime + ":00";
+		} else {
+			int minutes = maxWalltime % 60;
+			int hours = maxWalltime / 60;
+			return hours + ":" + minutes + ":00";
+		}
+	}
+	public static String maxWallTimeCalculatorForLSF(int maxWalltime) {
+		if (maxWalltime < 60) {
+			return "00:" + maxWalltime;
+		} else {
+			int minutes = maxWalltime % 60;
+			int hours = maxWalltime / 60;
+			return hours + ":" + minutes;
+		}
+	}
+	/**
 	 * this can be used to do framework opertaions specific to different modes
 	 * 
 	 * @param jobExecutionContext

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..678f41f
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/JobDescriptor.java
@@ -0,0 +1,475 @@
+/*
+ *
+ * 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);
+    }
+    
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/JobManagerConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/JobManagerConfiguration.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/JobManagerConfiguration.java
new file mode 100644
index 0000000..661aba0
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/JobManagerConfiguration.java
@@ -0,0 +1,52 @@
+/*
+ *
+ * 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.OutputParser;
+import org.apache.airavata.gfac.core.cluster.RawCommandInfo;
+
+public interface JobManagerConfiguration {
+
+	public RawCommandInfo getCancelCommand(String jobID);
+
+	public String getJobDescriptionTemplateName();
+
+	public RawCommandInfo getMonitorCommand(String jobID);
+
+	public RawCommandInfo getUserBasedMonitorCommand(String userName);
+
+    public RawCommandInfo getJobIdMonitorCommand(String jobName , String userName);
+
+	public String getScriptExtension();
+
+	public RawCommandInfo getSubmitCommand(String workingDirectory, String pbsFilePath);
+
+	public OutputParser getParser();
+
+	public String getInstalledPath();
+
+	public String getBaseCancelCommand();
+
+	public String getBaseMonitorCommand();
+
+	public String getBaseSubmitCommand();
+
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/SSHApiException.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/SSHApiException.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/SSHApiException.java
new file mode 100644
index 0000000..a2db122
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/SSHApiException.java
@@ -0,0 +1,36 @@
+/*
+ *
+ * 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;
+
+/**
+ * An exception class to wrap SSH command execution related errors.
+ */
+public class SSHApiException extends Exception {
+
+    public SSHApiException(String message) {
+        super(message);
+    }
+
+    public SSHApiException(String message, Exception e) {
+        super(message, e);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/Cluster.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/Cluster.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/Cluster.java
new file mode 100644
index 0000000..b116bdc
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/Cluster.java
@@ -0,0 +1,161 @@
+/*
+ *
+ * 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.cluster;
+
+import com.jcraft.jsch.Session;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.SSHApiException;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * This interface represents a Cluster machine
+ * End users of the API can implement this and come up with their own
+ * implementations, but mostly this interface is for internal usage.
+ */
+public interface Cluster {
+
+    /**
+     * This will submit a job to the cluster with a given pbs file and some parameters
+     *
+     * @param pbsFilePath  path of the pbs file
+     * @param workingDirectory working directory where pbs should has to copy
+     * @return jobId after successful job submission
+     * @throws SSHApiException throws exception during error
+     */
+    public String submitBatchJobWithScript(String pbsFilePath, String workingDirectory) throws SSHApiException;
+
+    /**
+     * This will submit the given job and not performing any monitoring
+     *
+     * @param jobDescriptor  job descriptor to submit to cluster, this contains all the parameter
+     * @return jobID after successful job submission.
+     * @throws SSHApiException  throws exception during error
+     */
+    public String submitBatchJob(JobDescriptor jobDescriptor) throws SSHApiException;
+
+    /**
+     * This will copy the localFile to remoteFile location in configured cluster
+     *
+     * @param remoteFile remote file location, this can be a directory too
+     * @param localFile local file path of the file which needs to copy to remote location
+     * @throws SSHApiException throws exception during error
+     */
+    public void scpTo(String remoteFile, String localFile) throws SSHApiException;
+
+    /**
+     * This will copy a remote file in path rFile to local file lFile
+     * @param remoteFile remote file path, this has to be a full qualified path
+     * @param localFile This is the local file to copy, this can be a directory too
+     * @throws SSHApiException
+     */
+    public void scpFrom(String remoteFile, String localFile) throws SSHApiException;
+
+    /**
+     * This will copy a remote file in path rFile to local file lFile
+     * @param remoteFile remote file path, this has to be a full qualified path
+     * @param localFile This is the local file to copy, this can be a directory too
+     * @throws SSHApiException
+     */
+    public void scpThirdParty(String remoteFileSorce, String remoteFileTarget) throws SSHApiException;
+    
+    /**
+     * This will create directories in computing resources
+     * @param directoryPath the full qualified path for the directory user wants to create
+     * @throws SSHApiException throws during error
+     */
+    public void makeDirectory(String directoryPath) throws SSHApiException;
+
+
+    /**
+     * This will get the job description of a job which is there in the cluster
+     * if jbo is not available with the given ID it returns
+     * @param jobID jobId has to pass
+     * @return Returns full job description of the job which submitted successfully
+     * @throws SSHApiException throws exception during error
+     */
+    public JobDescriptor getJobDescriptorById(String jobID) throws SSHApiException;
+
+    /**
+     * This will delete the given job from the queue
+     *
+     * @param jobID  jobId of the job which user wants to delete
+     * @return return the description of the deleted job
+     * @throws SSHApiException throws exception during error
+     */
+    public JobDescriptor cancelJob(String jobID) throws SSHApiException;
+
+    /**
+     * This will get the job status of the the job associated with this jobId
+     *
+     * @param jobID jobId of the job user want to get the status
+     * @return job status of the given jobID
+     * @throws SSHApiException throws exception during error
+     */
+    public JobStatus getJobStatus(String jobID) throws SSHApiException;
+    /**
+     * This will get the job status of the the job associated with this jobId
+     *
+     * @param jobName jobName of the job user want to get the status
+     * @return jobId of the given jobName
+     * @throws SSHApiException throws exception during error
+     */
+    public String getJobIdByJobName(String jobName, String userName) throws SSHApiException;
+
+    /**
+     * This method can be used to poll the jobstatuses based on the given
+     * user but we should pass the jobID list otherwise we will get unwanted
+     * job statuses which submitted by different middleware outside apache
+     * airavata with the same uername which we are not considering
+     * @param userName userName of the jobs which required to get the status
+     * @param jobIDs precises set of jobIDs
+     * @return
+     */
+    public void getJobStatuses(String userName,Map<String,JobStatus> jobIDs)throws SSHApiException;
+    /**
+     * This will list directories in computing resources
+     * @param directoryPath the full qualified path for the directory user wants to create
+     * @throws SSHApiException throws during error
+     */
+    public List<String> listDirectory(String directoryPath) throws SSHApiException;
+
+    /**
+     * This method can be used to get created ssh session
+     * to reuse the created session.
+     * @throws SSHApiException
+     */
+    public Session getSession() throws SSHApiException;
+    
+    /**
+     * This method can be used to close the connections initialized
+     * to handle graceful shutdown of the system
+     * @throws SSHApiException
+     */
+    public void disconnect() throws SSHApiException;
+
+    /**
+     * This gives the server Info
+     * @return
+     */
+    public ServerInfo getServerInfo();
+
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/CommandInfo.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/CommandInfo.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/CommandInfo.java
new file mode 100644
index 0000000..18e3e4e
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/CommandInfo.java
@@ -0,0 +1,34 @@
+package org.apache.airavata.gfac.core.cluster;/*
+ *
+ * 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.
+ *
+ */
+
+/**
+ * Encapsulates information about
+ */
+public interface CommandInfo {
+
+    /**
+     * Gets the executable command as a string.
+     * @return String encoded command. Should be able to execute
+     * directly on remote shell. Should includes appropriate parameters.
+     */
+    String getCommand();
+
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/CommandOutput.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/CommandOutput.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/CommandOutput.java
new file mode 100644
index 0000000..e50d25a
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/CommandOutput.java
@@ -0,0 +1,49 @@
+package org.apache.airavata.gfac.core.cluster;/*
+ *
+ * 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 com.jcraft.jsch.Channel;
+
+import java.io.OutputStream;
+
+/**
+ * Output of a certain command. TODO rethink
+ */
+public interface CommandOutput {
+
+    /**
+     * Gets the output of the command as a stream.
+     * @param  channel Command output as a stream.
+     */
+    void onOutput(Channel channel);
+
+    /**
+     * Gets standard error as a output stream.
+     * @return Command error as a stream.
+     */
+    OutputStream getStandardError();
+
+    /**
+     * The command exit code.
+     * @param code The program exit code
+     */
+    void exitCode(int code);
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/JobStatus.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/JobStatus.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/JobStatus.java
new file mode 100644
index 0000000..6e8e144
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/JobStatus.java
@@ -0,0 +1,110 @@
+ /*
+ *
+ * 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.cluster;
+
+ /**
+  * This will contains all the PBS specific job statuses.
+  * C -  Job is completed after having run/
+  * E -  Job is exiting after having run.
+  * H -  Job is held.
+  * Q -  job is queued, eligible to run or routed.
+  * R -  job is running.
+  * T -  job is being moved to new location.
+  * W -  job is waiting for its execution time
+  * (-a option) to be reached.
+  * S -  (Unicos only) job is suspend.
+  */
+ public enum JobStatus {
+     C, E, H, Q, R, T, W, S,U,F,CA,CD,CF,CG,NF,PD,PR,TO,qw,t,r,h,Er,Eqw,PEND,RUN,PSUSP,USUSP,SSUSP,DONE,EXIT,UNKWN,ZOMBI;
+
+     public static JobStatus fromString(String status){
+        if(status != null){
+            if("C".equals(status)){
+                return JobStatus.C;
+            }else if("E".equals(status)){
+                return JobStatus.E;
+            }else if("H".equals(status)){
+                return JobStatus.H;
+            }else if("Q".equals(status)){
+                return JobStatus.Q;
+            }else if("R".equals(status)){
+                return JobStatus.R;
+            }else if("T".equals(status)){
+                return JobStatus.T;
+            }else if("W".equals(status)){
+                return JobStatus.W;
+            }else if("S".equals(status)){
+                return JobStatus.S;
+            }else if("F".equals(status)){
+                return JobStatus.F;
+            }else if("S".equals(status)){
+                return JobStatus.S;
+            }else if("CA".equals(status)){
+                return JobStatus.CA;
+            }else if("CF".equals(status)){
+                return JobStatus.CF;
+            }else if("CD".equals(status)){
+                return JobStatus.CD;
+            }else if("CG".equals(status)){
+                return JobStatus.CG;
+            }else if("NF".equals(status)){
+                return JobStatus.NF;
+            }else if("PD".equals(status)){
+                return JobStatus.PD;
+            }else if("PR".equals(status)){
+                return JobStatus.PR;
+            }else if("TO".equals(status)){
+                return JobStatus.TO;
+            }else if("U".equals(status)){
+                return JobStatus.U;
+            }else if("qw".equals(status)){
+                return JobStatus.qw;
+            }else if("t".equals(status)){
+                return JobStatus.t;
+            }else if("r".equals(status)){
+                return JobStatus.r;
+            }else if("h".equals(status)){
+                return JobStatus.h;
+            }else if("Er".equals(status)){
+                return JobStatus.Er;
+            }else if("Eqw".equals(status)){
+                return JobStatus.Er;
+            }else if("RUN".equals(status)){      // LSF starts here
+                return JobStatus.RUN;
+            }else if("PEND".equals(status)){
+                return JobStatus.PEND;
+            }else if("DONE".equals(status)){
+                return JobStatus.DONE;
+            }else if("PSUSP".equals(status)){
+                return JobStatus.PSUSP;
+            }else if("USUSP".equals(status)){
+                return JobStatus.USUSP;
+            }else if("SSUSP".equals(status)){
+                return JobStatus.SSUSP;
+            }else if("EXIT".equals(status)){
+                return JobStatus.EXIT;
+            }else if("ZOMBI".equals(status)){
+                return JobStatus.ZOMBI;
+            }
+        }
+         return JobStatus.U;
+     }
+ }

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..658a5bc
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/OutputParser.java
@@ -0,0 +1,67 @@
+/*
+ *
+ * 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.cluster;
+
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.SSHApiException;
+
+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
+     */
+    public String parseJobSubmission(String rawOutput)throws SSHApiException;
+
+
+    /**
+     * This can be used to get the job status from the output
+     * @param jobID
+     * @param rawOutput
+     */
+    public JobStatus parseJobStatus(String jobID, String rawOutput)throws SSHApiException;
+
+    /**
+     * This can be used to parseSingleJob a big output and get multipleJob statuses
+     * @param statusMap list of status map will return and key will be the job ID
+     * @param rawOutput
+     */
+    public void parseJobStatuses(String userName, Map<String, JobStatus> statusMap, String rawOutput)throws SSHApiException;
+
+    /**
+     * filter the jobId value of given JobName from rawOutput
+     * @param jobName
+     * @param rawOutput
+     * @return
+     * @throws SSHApiException
+     */
+    public String parseJobId(String jobName, String rawOutput) throws SSHApiException;
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/RawCommandInfo.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/RawCommandInfo.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/RawCommandInfo.java
new file mode 100644
index 0000000..80f5d0a
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/RawCommandInfo.java
@@ -0,0 +1,53 @@
+/*
+ *
+ * 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.cluster;
+
+/**
+ * User: AmilaJ (amilaj@apache.org)
+ * Date: 8/14/13
+ * Time: 5:18 PM
+ */
+
+/**
+ * The raw command information. String returned by getCommand is directly executed in SSH
+ * shell. E.g :- getCommand return string set for rawCommand - "/opt/torque/bin/qsub /home/ogce/test.pbs".
+ */
+public class RawCommandInfo implements CommandInfo {
+
+    private String rawCommand;
+
+    public RawCommandInfo(String cmd) {
+        this.rawCommand = cmd;
+    }
+
+    public String getCommand() {
+        return this.rawCommand;
+    }
+
+    public String getRawCommand() {
+        return rawCommand;
+    }
+
+    public void setRawCommand(String rawCommand) {
+        this.rawCommand = rawCommand;
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/ServerInfo.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/ServerInfo.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/ServerInfo.java
new file mode 100644
index 0000000..183f60b
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cluster/ServerInfo.java
@@ -0,0 +1,65 @@
+package org.apache.airavata.gfac.core.cluster;/*
+ *
+ * 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.
+ *
+ */
+
+/**
+ * Encapsulate server information.
+ */
+public class ServerInfo {
+
+    private String host;
+    private String userName;
+    private int port = 22;
+
+    public ServerInfo(String userName, String host) {
+        this.userName = userName;
+        this.host = host;
+    }
+
+    public ServerInfo(String userName,String host,  int port) {
+        this.host = host;
+        this.userName = userName;
+        this.port = port;
+    }
+
+    public String getHost() {
+        return host;
+    }
+
+    public void setHost(String host) {
+        this.host = host;
+    }
+
+    public String getUserName() {
+        return userName;
+    }
+
+    public void setUserName(String userName) {
+        this.userName = userName;
+    }
+
+    public int getPort() {
+        return port;
+    }
+
+    public void setPort(int port) {
+        this.port = port;
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/handler/AbstractHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/handler/AbstractHandler.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/handler/AbstractHandler.java
index aa98ef6..8d2609a 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/handler/AbstractHandler.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/handler/AbstractHandler.java
@@ -22,7 +22,6 @@ package org.apache.airavata.gfac.core.handler;
 
 import org.apache.airavata.common.utils.MonitorPublisher;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
-import org.apache.airavata.gfac.core.cpi.BetterGfacImpl;
 import org.apache.airavata.gfac.core.states.GfacHandlerState;
 import org.apache.airavata.gfac.core.GFacUtils;
 import org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..e552eb7
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterAnyList.java
@@ -0,0 +1,166 @@
+/*
+ * 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.sCF8C40CE6FDA0A41BEE004F5930560FF").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
+    }
+}


[7/8] airavata git commit: Resolve compilation issues in gfac module after module refactoring

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..5ec1ef8
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/AfterOKList.java
@@ -0,0 +1,166 @@
+/*
+ * 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.sCF8C40CE6FDA0A41BEE004F5930560FF").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/19afc7e0/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
new file mode 100644
index 0000000..5ddb3b2
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ExportProperties.java
@@ -0,0 +1,183 @@
+/*
+ * 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.sCF8C40CE6FDA0A41BEE004F5930560FF").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.sCF8C40CE6FDA0A41BEE004F5930560FF").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/19afc7e0/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
new file mode 100644
index 0000000..67bd345
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/InputList.java
@@ -0,0 +1,166 @@
+/*
+ * 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.sCF8C40CE6FDA0A41BEE004F5930560FF").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/19afc7e0/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
new file mode 100644
index 0000000..af3f612
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/JobDescriptorDocument.java
@@ -0,0 +1,112 @@
+/*
+ * 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.sCF8C40CE6FDA0A41BEE004F5930560FF").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
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..b04281a
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/ModuleLoadCommands.java
@@ -0,0 +1,166 @@
+/*
+ * 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.sCF8C40CE6FDA0A41BEE004F5930560FF").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
+    }
+}


[5/8] airavata git commit: Resolve compilation issues in gfac module after module refactoring

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..73ae2bb
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/InputListImpl.java
@@ -0,0 +1,235 @@
+/*
+ * 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/19afc7e0/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
new file mode 100644
index 0000000..98d1650
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/JobDescriptorDocumentImpl.java
@@ -0,0 +1,77 @@
+/*
+ * 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/19afc7e0/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
new file mode 100644
index 0000000..1611ebf
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ModuleLoadCommandsImpl.java
@@ -0,0 +1,235 @@
+/*
+ * 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);
+        }
+    }
+}


[2/8] airavata git commit: Resolve compilation issues in gfac module after module refactoring

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFJobConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFJobConfiguration.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFJobConfiguration.java
index f9c7f33..26941cd 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFJobConfiguration.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFJobConfiguration.java
@@ -18,9 +18,11 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api.job;
+package org.apache.airavata.gfac.gsi.ssh.api.job;
 
-import org.apache.airavata.gfac.ssh.impl.RawCommandInfo;
+import org.apache.airavata.gfac.core.JobManagerConfiguration;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
+import org.apache.airavata.gfac.core.cluster.RawCommandInfo;
 import org.apache.commons.io.FilenameUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFOutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFOutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFOutputParser.java
index c6dea17..76012d6 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFOutputParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/LSFOutputParser.java
@@ -18,10 +18,12 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api.job;
+package org.apache.airavata.gfac.gsi.ssh.api.job;
 
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
+import org.apache.airavata.gfac.core.SSHApiException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/OutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/OutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/OutputParser.java
deleted file mode 100644
index 9730c33..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/OutputParser.java
+++ /dev/null
@@ -1,67 +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.ssh.api.job;
-
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
-
-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
-     */
-    public String parseJobSubmission(String rawOutput)throws SSHApiException;
-
-
-    /**
-     * This can be used to get the job status from the output
-     * @param jobID
-     * @param rawOutput
-     */
-    public JobStatus parseJobStatus(String jobID, String rawOutput)throws SSHApiException;
-
-    /**
-     * This can be used to parseSingleJob a big output and get multipleJob statuses
-     * @param statusMap list of status map will return and key will be the job ID
-     * @param rawOutput
-     */
-    public void parseJobStatuses(String userName, Map<String, JobStatus> statusMap, String rawOutput)throws SSHApiException;
-
-    /**
-     * filter the jobId value of given JobName from rawOutput
-     * @param jobName
-     * @param rawOutput
-     * @return
-     * @throws SSHApiException
-     */
-    public String parseJobId(String jobName, String rawOutput) throws SSHApiException;
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSJobConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSJobConfiguration.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSJobConfiguration.java
index 0179e01..d3f6c9c 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSJobConfiguration.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSJobConfiguration.java
@@ -18,9 +18,11 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api.job;
+package org.apache.airavata.gfac.gsi.ssh.api.job;
 
-import org.apache.airavata.gfac.ssh.impl.RawCommandInfo;
+import org.apache.airavata.gfac.core.JobManagerConfiguration;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
+import org.apache.airavata.gfac.core.cluster.RawCommandInfo;
 import org.apache.commons.io.FilenameUtils;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSOutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSOutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSOutputParser.java
index 2f17787..a86d7f0 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSOutputParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/PBSOutputParser.java
@@ -18,10 +18,12 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api.job;
+package org.apache.airavata.gfac.gsi.ssh.api.job;
 
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
+import org.apache.airavata.gfac.core.SSHApiException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmJobConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmJobConfiguration.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmJobConfiguration.java
index 54d8f40..48ba48e 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmJobConfiguration.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmJobConfiguration.java
@@ -18,14 +18,16 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api.job;
+package org.apache.airavata.gfac.gsi.ssh.api.job;
 
-import org.apache.airavata.gfac.ssh.impl.RawCommandInfo;
+import org.apache.airavata.gfac.core.JobManagerConfiguration;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
+import org.apache.airavata.gfac.core.cluster.RawCommandInfo;
 import org.apache.commons.io.FilenameUtils;
 
 import java.io.File;
 
-public class SlurmJobConfiguration implements JobManagerConfiguration{
+public class SlurmJobConfiguration implements JobManagerConfiguration {
 
     private String jobDescriptionTemplateName;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmOutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmOutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmOutputParser.java
index 11fb4ce..3d2dc48 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmOutputParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/SlurmOutputParser.java
@@ -18,10 +18,12 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api.job;
+package org.apache.airavata.gfac.gsi.ssh.api.job;
 
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
+import org.apache.airavata.gfac.core.SSHApiException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEJobConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEJobConfiguration.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEJobConfiguration.java
index 4fbbe30..fddf210 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEJobConfiguration.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEJobConfiguration.java
@@ -18,9 +18,11 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api.job;
+package org.apache.airavata.gfac.gsi.ssh.api.job;
 
-import org.apache.airavata.gfac.ssh.impl.RawCommandInfo;
+import org.apache.airavata.gfac.core.JobManagerConfiguration;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
+import org.apache.airavata.gfac.core.cluster.RawCommandInfo;
 import org.apache.commons.io.FilenameUtils;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEOutputParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEOutputParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEOutputParser.java
index a6cc3ed..3419b3a 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEOutputParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/UGEOutputParser.java
@@ -18,10 +18,12 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api.job;
+package org.apache.airavata.gfac.gsi.ssh.api.job;
 
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
+import org.apache.airavata.gfac.core.SSHApiException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -31,7 +33,7 @@ import java.util.Map;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
-public class UGEOutputParser implements OutputParser{
+public class UGEOutputParser implements OutputParser {
     private static final Logger log = LoggerFactory.getLogger(PBSOutputParser.class);
     public static final String JOB_ID = "jobId";
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/config/ConfigReader.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/config/ConfigReader.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/config/ConfigReader.java
index 9658fba..c40059e 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/config/ConfigReader.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/config/ConfigReader.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.config;
+package org.apache.airavata.gfac.gsi.ssh.config;
 
 import java.io.FileNotFoundException;
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/DefaultJobSubmissionListener.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/DefaultJobSubmissionListener.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/DefaultJobSubmissionListener.java
index d60ea32..18371b1 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/DefaultJobSubmissionListener.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/DefaultJobSubmissionListener.java
@@ -18,11 +18,12 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.impl;
+package org.apache.airavata.gfac.gsi.ssh.impl;
 
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.api.job.JobDescriptor;
-import org.apache.airavata.gfac.ssh.listener.JobSubmissionListener;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
+import org.apache.airavata.gfac.gsi.ssh.listener.JobSubmissionListener;
 
 public class DefaultJobSubmissionListener extends JobSubmissionListener {
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/GSISSHAbstractCluster.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/GSISSHAbstractCluster.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/GSISSHAbstractCluster.java
index 814a7e1..f89cb98 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/GSISSHAbstractCluster.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/GSISSHAbstractCluster.java
@@ -18,56 +18,56 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.impl;
+package org.apache.airavata.gfac.gsi.ssh.impl;
 
-import java.io.ByteArrayInputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.StringWriter;
-import java.net.URL;
-import java.security.SecureRandom;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.transform.Source;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-
-import org.apache.airavata.gfac.ssh.api.Cluster;
-import org.apache.airavata.gfac.ssh.api.CommandExecutor;
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.api.ServerInfo;
+import com.jcraft.jsch.ExtendedSession;
+import com.jcraft.jsch.GSISSHIdentityFile;
+import com.jcraft.jsch.GSISSHIdentityRepository;
+import com.jcraft.jsch.Identity;
+import com.jcraft.jsch.JSch;
+import com.jcraft.jsch.JSchException;
+import com.jcraft.jsch.Session;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.JobManagerConfiguration;
+import org.apache.airavata.gfac.core.SSHApiException;
 import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
 import org.apache.airavata.gfac.core.authentication.GSIAuthenticationInfo;
 import org.apache.airavata.gfac.core.authentication.SSHKeyAuthentication;
 import org.apache.airavata.gfac.core.authentication.SSHPasswordAuthentication;
 import org.apache.airavata.gfac.core.authentication.SSHPublicKeyAuthentication;
 import org.apache.airavata.gfac.core.authentication.SSHPublicKeyFileAuthentication;
-import org.apache.airavata.gfac.ssh.api.job.JobDescriptor;
-import org.apache.airavata.gfac.ssh.api.job.JobManagerConfiguration;
-import org.apache.airavata.gfac.ssh.api.job.OutputParser;
-import org.apache.airavata.gfac.ssh.config.ConfigReader;
-import org.apache.airavata.gfac.ssh.jsch.ExtendedJSch;
-import org.apache.airavata.gfac.ssh.util.SSHAPIUIKeyboardInteractive;
-import org.apache.airavata.gfac.ssh.util.SSHKeyPasswordHandler;
-import org.apache.airavata.gfac.ssh.util.SSHUtils;
+import org.apache.airavata.gfac.core.cluster.Cluster;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
+import org.apache.airavata.gfac.core.cluster.OutputParser;
+import org.apache.airavata.gfac.core.cluster.RawCommandInfo;
+import org.apache.airavata.gfac.core.cluster.ServerInfo;
+import org.apache.airavata.gfac.gsi.ssh.api.CommandExecutor;
+import org.apache.airavata.gfac.gsi.ssh.config.ConfigReader;
+import org.apache.airavata.gfac.gsi.ssh.jsch.ExtendedJSch;
+import org.apache.airavata.gfac.gsi.ssh.util.SSHAPIUIKeyboardInteractive;
+import org.apache.airavata.gfac.gsi.ssh.util.SSHKeyPasswordHandler;
+import org.apache.airavata.gfac.gsi.ssh.util.SSHUtils;
 import org.apache.commons.io.FileUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import com.jcraft.jsch.ExtendedSession;
-import com.jcraft.jsch.GSISSHIdentityFile;
-import com.jcraft.jsch.GSISSHIdentityRepository;
-import com.jcraft.jsch.Identity;
-import com.jcraft.jsch.JSch;
-import com.jcraft.jsch.JSchException;
-import com.jcraft.jsch.Session;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import java.io.ByteArrayInputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.StringWriter;
+import java.net.URL;
+import java.security.SecureRandom;
+import java.util.List;
+import java.util.Map;
 
 public class GSISSHAbstractCluster implements Cluster {
 
@@ -278,6 +278,8 @@ public class GSISSHAbstractCluster implements Cluster {
         return  outputParser.parseJobSubmission(outputifAvailable);
     }
 
+
+    @Override
     public synchronized String submitBatchJob(JobDescriptor jobDescriptor) throws SSHApiException {
         TransformerFactory factory = TransformerFactory.newInstance();
         URL resource = this.getClass().getClassLoader().getResource(jobManagerConfiguration.getJobDescriptionTemplateName());

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/JobStatus.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/JobStatus.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/JobStatus.java
deleted file mode 100644
index 648d955..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/JobStatus.java
+++ /dev/null
@@ -1,110 +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.ssh.impl;
-
- /**
-  * This will contains all the PBS specific job statuses.
-  * C -  Job is completed after having run/
-  * E -  Job is exiting after having run.
-  * H -  Job is held.
-  * Q -  job is queued, eligible to run or routed.
-  * R -  job is running.
-  * T -  job is being moved to new location.
-  * W -  job is waiting for its execution time
-  * (-a option) to be reached.
-  * S -  (Unicos only) job is suspend.
-  */
- public enum JobStatus {
-     C, E, H, Q, R, T, W, S,U,F,CA,CD,CF,CG,NF,PD,PR,TO,qw,t,r,h,Er,Eqw,PEND,RUN,PSUSP,USUSP,SSUSP,DONE,EXIT,UNKWN,ZOMBI;
-
-     public static JobStatus fromString(String status){
-        if(status != null){
-            if("C".equals(status)){
-                return JobStatus.C;
-            }else if("E".equals(status)){
-                return JobStatus.E;
-            }else if("H".equals(status)){
-                return JobStatus.H;
-            }else if("Q".equals(status)){
-                return JobStatus.Q;
-            }else if("R".equals(status)){
-                return JobStatus.R;
-            }else if("T".equals(status)){
-                return JobStatus.T;
-            }else if("W".equals(status)){
-                return JobStatus.W;
-            }else if("S".equals(status)){
-                return JobStatus.S;
-            }else if("F".equals(status)){
-                return JobStatus.F;
-            }else if("S".equals(status)){
-                return JobStatus.S;
-            }else if("CA".equals(status)){
-                return JobStatus.CA;
-            }else if("CF".equals(status)){
-                return JobStatus.CF;
-            }else if("CD".equals(status)){
-                return JobStatus.CD;
-            }else if("CG".equals(status)){
-                return JobStatus.CG;
-            }else if("NF".equals(status)){
-                return JobStatus.NF;
-            }else if("PD".equals(status)){
-                return JobStatus.PD;
-            }else if("PR".equals(status)){
-                return JobStatus.PR;
-            }else if("TO".equals(status)){
-                return JobStatus.TO;
-            }else if("U".equals(status)){
-                return JobStatus.U;
-            }else if("qw".equals(status)){
-                return JobStatus.qw;
-            }else if("t".equals(status)){
-                return JobStatus.t;
-            }else if("r".equals(status)){
-                return JobStatus.r;
-            }else if("h".equals(status)){
-                return JobStatus.h;
-            }else if("Er".equals(status)){
-                return JobStatus.Er;
-            }else if("Eqw".equals(status)){
-                return JobStatus.Er;
-            }else if("RUN".equals(status)){      // LSF starts here
-                return JobStatus.RUN;
-            }else if("PEND".equals(status)){
-                return JobStatus.PEND;
-            }else if("DONE".equals(status)){
-                return JobStatus.DONE;
-            }else if("PSUSP".equals(status)){
-                return JobStatus.PSUSP;
-            }else if("USUSP".equals(status)){
-                return JobStatus.USUSP;
-            }else if("SSUSP".equals(status)){
-                return JobStatus.SSUSP;
-            }else if("EXIT".equals(status)){
-                return JobStatus.EXIT;
-            }else if("ZOMBI".equals(status)){
-                return JobStatus.ZOMBI;
-            }
-        }
-         return JobStatus.U;
-     }
- }

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/PBSCluster.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/PBSCluster.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/PBSCluster.java
index def84d5..1d514f8 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/PBSCluster.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/PBSCluster.java
@@ -18,11 +18,12 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.impl;
+package org.apache.airavata.gfac.gsi.ssh.impl;
 
-import org.apache.airavata.gfac.ssh.api.*;
-import org.apache.airavata.gfac.ssh.api.authentication.*;
-import org.apache.airavata.gfac.ssh.api.job.JobManagerConfiguration;
+import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.ServerInfo;
+import org.apache.airavata.gfac.core.JobManagerConfiguration;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/RawCommandInfo.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/RawCommandInfo.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/RawCommandInfo.java
deleted file mode 100644
index 9ac2ba0..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/RawCommandInfo.java
+++ /dev/null
@@ -1,55 +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.ssh.impl;
-
-import org.apache.airavata.gfac.ssh.api.CommandInfo;
-
-/**
- * User: AmilaJ (amilaj@apache.org)
- * Date: 8/14/13
- * Time: 5:18 PM
- */
-
-/**
- * The raw command information. String returned by getCommand is directly executed in SSH
- * shell. E.g :- getCommand return string set for rawCommand - "/opt/torque/bin/qsub /home/ogce/test.pbs".
- */
-public class RawCommandInfo implements CommandInfo {
-
-    private String rawCommand;
-
-    public RawCommandInfo(String cmd) {
-        this.rawCommand = cmd;
-    }
-
-    public String getCommand() {
-        return this.rawCommand;
-    }
-
-    public String getRawCommand() {
-        return rawCommand;
-    }
-
-    public void setRawCommand(String rawCommand) {
-        this.rawCommand = rawCommand;
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SSHUserInfo.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SSHUserInfo.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SSHUserInfo.java
index e878dff..ee630cf 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SSHUserInfo.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SSHUserInfo.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.impl;
+package org.apache.airavata.gfac.gsi.ssh.impl;
 
 import com.jcraft.jsch.UserInfo;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/StandardOutReader.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/StandardOutReader.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/StandardOutReader.java
index 265a57d..6a2d11a 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/StandardOutReader.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/StandardOutReader.java
@@ -18,11 +18,11 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.impl;
+package org.apache.airavata.gfac.gsi.ssh.impl;
 
 import com.jcraft.jsch.Channel;
 
-import org.apache.airavata.gfac.ssh.api.CommandOutput;
+import org.apache.airavata.gfac.core.cluster.CommandOutput;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SystemCommandOutput.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SystemCommandOutput.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SystemCommandOutput.java
index 24d218b..e2bfd84 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SystemCommandOutput.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/SystemCommandOutput.java
@@ -19,10 +19,10 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.impl;
+package org.apache.airavata.gfac.gsi.ssh.impl;
 
 import com.jcraft.jsch.Channel;
-import org.apache.airavata.gfac.ssh.api.CommandOutput;
+import org.apache.airavata.gfac.core.cluster.CommandOutput;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPasswordAuthenticationInfo.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPasswordAuthenticationInfo.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPasswordAuthenticationInfo.java
index 29cd154..e56cae3 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPasswordAuthenticationInfo.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPasswordAuthenticationInfo.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.impl.authentication;
+package org.apache.airavata.gfac.gsi.ssh.impl.authentication;
 
 /**
  * User: AmilaJ (amilaj@apache.org)

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyAuthentication.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyAuthentication.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyAuthentication.java
index 35595ed..529cccc 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyAuthentication.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyAuthentication.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.impl.authentication;
+package org.apache.airavata.gfac.gsi.ssh.impl.authentication;
 
 import org.apache.airavata.gfac.core.authentication.SSHPublicKeyAuthentication;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyFileAuthentication.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyFileAuthentication.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyFileAuthentication.java
index 480213c..67c56cd 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyFileAuthentication.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/DefaultPublicKeyFileAuthentication.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.impl.authentication;
+package org.apache.airavata.gfac.gsi.ssh.impl.authentication;
 
 import org.apache.airavata.gfac.core.authentication.SSHPublicKeyFileAuthentication;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/MyProxyAuthenticationInfo.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/MyProxyAuthenticationInfo.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/MyProxyAuthenticationInfo.java
index 23fb06b..a2e2f42 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/MyProxyAuthenticationInfo.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/impl/authentication/MyProxyAuthenticationInfo.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.impl.authentication;
+package org.apache.airavata.gfac.gsi.ssh.impl.authentication;
 
 import org.apache.airavata.gfac.core.authentication.GSIAuthenticationInfo;
 import org.globus.myproxy.MyProxy;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/jsch/ExtendedJSch.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/jsch/ExtendedJSch.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/jsch/ExtendedJSch.java
index de99b24..617d7cd 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/jsch/ExtendedJSch.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/jsch/ExtendedJSch.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.jsch;
+package org.apache.airavata.gfac.gsi.ssh.jsch;
 
 import com.jcraft.jsch.ExtendedSession;
 import com.jcraft.jsch.JSch;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/listener/JobSubmissionListener.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/listener/JobSubmissionListener.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/listener/JobSubmissionListener.java
index 21aa1e3..dd492ad 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/listener/JobSubmissionListener.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/listener/JobSubmissionListener.java
@@ -18,11 +18,11 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.listener;
+package org.apache.airavata.gfac.gsi.ssh.listener;
 
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.api.job.JobDescriptor;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
 
 /**
  * This interface can be implemented by the end user of the API

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/CommonUtils.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/CommonUtils.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/CommonUtils.java
index 6ff4fa6..216459e 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/CommonUtils.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/CommonUtils.java
@@ -18,10 +18,12 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.util;
+package org.apache.airavata.gfac.gsi.ssh.util;
 
-import org.apache.airavata.gfac.ssh.api.job.*;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.JobManagerConfiguration;
+import org.apache.airavata.gfac.gsi.ssh.api.job.*;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
 
 public class CommonUtils {
     /**

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHAPIUIKeyboardInteractive.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHAPIUIKeyboardInteractive.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHAPIUIKeyboardInteractive.java
index bd700e9..3f60a59 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHAPIUIKeyboardInteractive.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHAPIUIKeyboardInteractive.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.util;
+package org.apache.airavata.gfac.gsi.ssh.util;
 
 import com.jcraft.jsch.UIKeyboardInteractive;
 import com.jcraft.jsch.UserInfo;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHKeyPasswordHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHKeyPasswordHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHKeyPasswordHandler.java
index 1def97c..ad9a5d5 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHKeyPasswordHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHKeyPasswordHandler.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh.util;
+package org.apache.airavata.gfac.gsi.ssh.util;
 
 import com.jcraft.jsch.UserInfo;
 import org.apache.airavata.gfac.core.authentication.SSHKeyAuthentication;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHUtils.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHUtils.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHUtils.java
index b278767..3271744 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHUtils.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/util/SSHUtils.java
@@ -18,18 +18,22 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.util;
+package org.apache.airavata.gfac.gsi.ssh.util;
 
 import com.jcraft.jsch.*;
-
 import org.apache.airavata.gfac.core.authentication.GSIAuthenticationInfo;
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.api.ServerInfo;
-import org.apache.airavata.gfac.ssh.config.ConfigReader;
-import org.apache.airavata.gfac.ssh.impl.StandardOutReader;
-import org.slf4j.*;
-
-import java.io.*;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.ServerInfo;
+import org.apache.airavata.gfac.gsi.ssh.config.ConfigReader;
+import org.apache.airavata.gfac.gsi.ssh.impl.StandardOutReader;
+import org.slf4j.LoggerFactory;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
 import java.util.Arrays;
 import java.util.List;
 
@@ -87,8 +91,7 @@ public class SSHUtils {
      * @param lFile local file path to use in scp
      * @throws IOException
      * @throws JSchException
-     * @throws org.apache.airavata.gfac.ssh.api.SSHApiException
-     *
+     * @throws SSHApiException
      */
     public void scpTo(String rFile, String lFile) throws IOException, JSchException, SSHApiException {
         FileInputStream fis = null;
@@ -161,9 +164,9 @@ public class SSHUtils {
             out.write(command.getBytes());
             out.flush();
             if (checkAck(in) != 0) {
-                 String error = "Error Reading input Stream";
-            log.error(error);
-            throw new SSHApiException(error);
+                String error = "Error Reading input Stream";
+                log.error(error);
+                throw new SSHApiException(error);
             }
         }
 
@@ -199,7 +202,7 @@ public class SSHUtils {
         out.write(buf, 0, 1);
         out.flush();
         if (checkAck(in) != 0) {
-             String error = "Error Reading input Stream";
+            String error = "Error Reading input Stream";
             log.error(error);
             throw new SSHApiException(error);
         }
@@ -250,7 +253,7 @@ public class SSHUtils {
         channel.connect();
 
         if (checkAck(in) != 0) {
-             String error = "Error Reading input Stream";
+            String error = "Error Reading input Stream";
             log.error(error);
             throw new SSHApiException(error);
         }
@@ -265,9 +268,9 @@ public class SSHUtils {
             out.write(command.getBytes());
             out.flush();
             if (checkAck(in) != 0) {
-                 String error = "Error Reading input Stream";
-            log.error(error);
-            throw new SSHApiException(error);
+                String error = "Error Reading input Stream";
+                log.error(error);
+                throw new SSHApiException(error);
             }
         }
 
@@ -421,8 +424,8 @@ public class SSHUtils {
             }
             stdOutReader.onOutput(channel);
             if (stdOutReader.getStdErrorString().contains("scp:")) {
-            throw new SSHApiException(stdOutReader.getStdErrorString());
-        }
+                throw new SSHApiException(stdOutReader.getStdErrorString());
+            }
 
         } catch (Exception e) {
             log.error(e.getMessage(), e);
@@ -593,7 +596,7 @@ public class SSHUtils {
         FileOutputStream fos = null;
         try {
             String prefix = null;
-         
+
             // exec 'scp -f remotefile' remotely
             String command = "scp -3 " + remoteFileSource + " " + remoteFileTarget;
             Channel channel = session.openChannel("exec");
@@ -634,14 +637,14 @@ public class SSHUtils {
                 }
                 int foo;
                 while (true) {
-                	   if (buf.length < filesize) foo = buf.length;
-                       else foo = (int) filesize;
-                    
+                    if (buf.length < filesize) foo = buf.length;
+                    else foo = (int) filesize;
+
                     int len = in.read(buf, 0, foo);
                     if (len <= 0) break;
-                    out.write(buf, 0, len); 
+                    out.write(buf, 0, len);
                 }
-             // send '\0'
+                // send '\0'
                 buf[0] = 0;
                 out.write(buf, 0, 1);
                 out.flush();
@@ -656,8 +659,8 @@ public class SSHUtils {
 
             stdOutReader.onOutput(channel);
             if (stdOutReader.getStdErrorString().contains("scp:")) {
-            throw new SSHApiException(stdOutReader.getStdErrorString());
-        }
+                throw new SSHApiException(stdOutReader.getStdErrorString());
+            }
 
         } catch (Exception e) {
             log.error(e.getMessage(), e);

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHDirectorySetupHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHDirectorySetupHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHDirectorySetupHandler.java
index 2d82278..8151647 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHDirectorySetupHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHDirectorySetupHandler.java
@@ -27,7 +27,7 @@ import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.GFacUtils;
 import org.apache.airavata.gfac.gsissh.security.GSISecurityContext;
 import org.apache.airavata.gfac.gsissh.util.GFACGSISSHUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.model.workspace.experiment.*;
 import org.apache.airavata.registry.cpi.ChildDataType;
 import org.slf4j.Logger;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHInputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHInputHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHInputHandler.java
index 3031bac..72f738f 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHInputHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHInputHandler.java
@@ -29,7 +29,7 @@ import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.GFacUtils;
 import org.apache.airavata.gfac.gsissh.security.GSISecurityContext;
 import org.apache.airavata.gfac.gsissh.util.GFACGSISSHUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;
 import org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType;
 import org.apache.airavata.model.workspace.experiment.CorrectiveAction;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java
index b052a28..4ad4ae5 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java
@@ -31,7 +31,7 @@ import org.apache.airavata.gfac.core.GFacUtils;
 import org.apache.airavata.gfac.impl.OutputUtils;
 import org.apache.airavata.gfac.gsissh.security.GSISecurityContext;
 import org.apache.airavata.gfac.gsissh.util.GFACGSISSHUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;
 import org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType;
 import org.apache.airavata.model.workspace.experiment.CorrectiveAction;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/NewGSISSHOutputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/NewGSISSHOutputHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/NewGSISSHOutputHandler.java
index 864e487..03ebb94 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/NewGSISSHOutputHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/handler/NewGSISSHOutputHandler.java
@@ -12,7 +12,7 @@ import org.apache.airavata.gfac.core.GFacUtils;
 import org.apache.airavata.gfac.gsissh.security.GSISecurityContext;
 import org.apache.airavata.gfac.gsissh.util.GFACGSISSHUtils;
 import org.apache.airavata.gfac.ssh.util.HandleOutputs;
-import org.apache.airavata.gfac.ssh.api.Cluster;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType;
 import org.apache.airavata.model.workspace.experiment.CorrectiveAction;
 import org.apache.airavata.model.workspace.experiment.ErrorCategory;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/provider/impl/GSISSHProvider.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/provider/impl/GSISSHProvider.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/provider/impl/GSISSHProvider.java
index 9f369b1..1578b9d 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/provider/impl/GSISSHProvider.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/provider/impl/GSISSHProvider.java
@@ -26,7 +26,6 @@ import org.apache.airavata.common.exception.ApplicationSettingsException;
 import org.apache.airavata.gfac.GFacException;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
-import org.apache.airavata.gfac.core.notification.events.StartExecutionEvent;
 import org.apache.airavata.gfac.core.provider.AbstractProvider;
 import org.apache.airavata.gfac.core.provider.GFacProviderException;
 import org.apache.airavata.gfac.core.GFacUtils;
@@ -34,9 +33,9 @@ import org.apache.airavata.gfac.gsissh.security.GSISecurityContext;
 import org.apache.airavata.gfac.gsissh.util.GFACGSISSHUtils;
 import org.apache.airavata.gfac.monitor.email.EmailBasedMonitor;
 import org.apache.airavata.gfac.monitor.email.EmailMonitorFactory;
-import org.apache.airavata.gfac.ssh.api.Cluster;
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.api.job.JobDescriptor;
+import org.apache.airavata.gfac.core.cluster.Cluster;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.JobDescriptor;
 import org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription;
 import org.apache.airavata.model.appcatalog.computeresource.ComputeResourceDescription;
 import org.apache.airavata.model.appcatalog.computeresource.JobSubmissionProtocol;
@@ -80,7 +79,6 @@ public class GSISSHProvider extends AbstractProvider {
     public void execute(JobExecutionContext jobExecutionContext) throws GFacProviderException, GFacException {
         log.info("Invoking GSISSH Provider Invoke ...");
         StringBuffer data = new StringBuffer();
-        jobExecutionContext.getNotifier().publish(new StartExecutionEvent());
         ComputeResourceDescription computeResourceDescription = jobExecutionContext.getApplicationContext()
                 .getComputeResourceDescription();
         ApplicationDeploymentDescription appDeployDesc = jobExecutionContext.getApplicationContext()

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/security/GSISecurityContext.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/security/GSISecurityContext.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/security/GSISecurityContext.java
index 85e9e29..2f3956c 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/security/GSISecurityContext.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/security/GSISecurityContext.java
@@ -23,14 +23,7 @@ package org.apache.airavata.gfac.gsissh.security;
 import org.apache.airavata.credential.store.store.CredentialReader;
 import org.apache.airavata.gfac.AbstractSecurityContext;
 import org.apache.airavata.gfac.RequestData;
-import org.apache.airavata.gfac.ssh.api.Cluster;
-import org.globus.gsi.X509Credential;
-import org.globus.gsi.gssapi.GlobusGSSCredentialImpl;
-import org.globus.gsi.provider.GlobusProvider;
-import org.globus.myproxy.GetParams;
-import org.globus.myproxy.MyProxy;
-import org.globus.myproxy.MyProxyException;
-import org.gridforum.jgss.ExtendedGSSCredential;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/util/GFACGSISSHUtils.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/util/GFACGSISSHUtils.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/util/GFACGSISSHUtils.java
index c3978b1..3a9e83e 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/util/GFACGSISSHUtils.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsissh/util/GFACGSISSHUtils.java
@@ -30,15 +30,15 @@ import org.apache.airavata.gfac.RequestData;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.context.MessageContext;
 import org.apache.airavata.gfac.core.GFacUtils;
+import org.apache.airavata.gfac.gsi.ssh.impl.PBSCluster;
 import org.apache.airavata.gfac.gsissh.security.GSISecurityContext;
 import org.apache.airavata.gfac.gsissh.security.TokenizedMyProxyAuthInfo;
-import org.apache.airavata.gfac.ssh.api.Cluster;
-import org.apache.airavata.gfac.ssh.api.ServerInfo;
-import org.apache.airavata.gfac.ssh.api.job.JobDescriptor;
-import org.apache.airavata.gfac.ssh.api.job.JobManagerConfiguration;
-import org.apache.airavata.gfac.ssh.impl.GSISSHAbstractCluster;
-import org.apache.airavata.gfac.ssh.impl.PBSCluster;
-import org.apache.airavata.gfac.ssh.util.CommonUtils;
+import org.apache.airavata.gfac.core.cluster.Cluster;
+import org.apache.airavata.gfac.core.cluster.ServerInfo;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.JobManagerConfiguration;
+import org.apache.airavata.gfac.gsi.ssh.impl.GSISSHAbstractCluster;
+import org.apache.airavata.gfac.gsi.ssh.util.CommonUtils;
 import org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription;
 import org.apache.airavata.model.appcatalog.appdeployment.ApplicationParallelismType;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/local/provider/impl/LocalProvider.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/local/provider/impl/LocalProvider.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/local/provider/impl/LocalProvider.java
index 5519ee0..f00e62a 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/local/provider/impl/LocalProvider.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/local/provider/impl/LocalProvider.java
@@ -32,7 +32,6 @@ import java.util.TreeSet;
 import org.apache.airavata.gfac.Constants;
 import org.apache.airavata.gfac.GFacException;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
-import org.apache.airavata.gfac.core.notification.events.StartExecutionEvent;
 import org.apache.airavata.gfac.core.provider.AbstractProvider;
 import org.apache.airavata.gfac.core.provider.GFacProviderException;
 import org.apache.airavata.gfac.core.GFacUtils;
@@ -128,7 +127,6 @@ public class LocalProvider extends AbstractProvider {
     }
 
     public void execute(JobExecutionContext jobExecutionContext) throws GFacProviderException {
-        jobExecutionContext.getNotifier().publish(new StartExecutionEvent());
         JobDetails jobDetails = new JobDetails();
         try {
         	jobId = jobExecutionContext.getTaskData().getTaskID();

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/HPCMonitorID.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/HPCMonitorID.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/HPCMonitorID.java
index 8eba250..a1a5bd2 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/HPCMonitorID.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/HPCMonitorID.java
@@ -21,13 +21,13 @@ package org.apache.airavata.gfac.monitor;/*
 
 import org.apache.airavata.gfac.GFacException;
 import org.apache.airavata.gfac.SecurityContext;
+import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
+import org.apache.airavata.gfac.core.cluster.ServerInfo;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.monitor.MonitorID;
+import org.apache.airavata.gfac.gsi.ssh.impl.authentication.MyProxyAuthenticationInfo;
 import org.apache.airavata.gfac.gsissh.security.GSISecurityContext;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
-import org.apache.airavata.gfac.ssh.api.ServerInfo;
-import org.apache.airavata.gfac.ssh.api.authentication.AuthenticationInfo;
-import org.apache.airavata.gfac.ssh.impl.authentication.MyProxyAuthenticationInfo;
 import org.apache.airavata.model.appcatalog.computeresource.ComputeResourceDescription;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPullMonitorHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPullMonitorHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPullMonitorHandler.java
index e31458d..58c0946 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPullMonitorHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPullMonitorHandler.java
@@ -24,16 +24,16 @@ import org.apache.airavata.common.exception.ApplicationSettingsException;
 import org.apache.airavata.common.logger.AiravataLogger;
 import org.apache.airavata.common.logger.AiravataLoggerFactory;
 import org.apache.airavata.common.utils.ServerSettings;
+import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.handler.ThreadedHandler;
 import org.apache.airavata.gfac.core.monitor.MonitorID;
+import org.apache.airavata.gfac.gsi.ssh.impl.authentication.MyProxyAuthenticationInfo;
 import org.apache.airavata.gfac.monitor.HPCMonitorID;
 import org.apache.airavata.gfac.monitor.exception.AiravataMonitorException;
 import org.apache.airavata.gfac.monitor.impl.pull.qstat.HPCPullMonitor;
 import org.apache.airavata.gfac.monitor.util.CommonUtils;
-import org.apache.airavata.gfac.ssh.api.authentication.AuthenticationInfo;
-import org.apache.airavata.gfac.ssh.impl.authentication.MyProxyAuthenticationInfo;
 import org.apache.zookeeper.WatchedEvent;
 import org.apache.zookeeper.Watcher;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPushMonitorHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPushMonitorHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPushMonitorHandler.java
index 6db7da5..d6da22a 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPushMonitorHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/handlers/GridPushMonitorHandler.java
@@ -27,14 +27,14 @@ import java.util.concurrent.LinkedBlockingQueue;
 
 import org.apache.airavata.common.exception.ApplicationSettingsException;
 import org.apache.airavata.common.utils.ServerSettings;
+import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.handler.ThreadedHandler;
 import org.apache.airavata.gfac.core.monitor.MonitorID;
+import org.apache.airavata.gfac.gsi.ssh.impl.authentication.MyProxyAuthenticationInfo;
 import org.apache.airavata.gfac.monitor.HPCMonitorID;
 import org.apache.airavata.gfac.monitor.impl.push.amqp.AMQPMonitor;
-import org.apache.airavata.gfac.ssh.api.authentication.AuthenticationInfo;
-import org.apache.airavata.gfac.ssh.impl.authentication.MyProxyAuthenticationInfo;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java
index 553ded9..54dd8e3 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java
@@ -25,18 +25,18 @@ import org.apache.airavata.common.logger.AiravataLogger;
 import org.apache.airavata.common.logger.AiravataLoggerFactory;
 import org.apache.airavata.common.utils.MonitorPublisher;
 import org.apache.airavata.common.utils.ServerSettings;
+import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.impl.OutHandlerWorker;
 import org.apache.airavata.gfac.monitor.util.CommonUtils;
 import org.apache.airavata.gfac.core.GFac;
 import org.apache.airavata.gfac.core.monitor.MonitorID;
 import org.apache.airavata.gfac.core.GFacThreadPoolExecutor;
-import org.apache.airavata.gfac.core.utils.OutHandlerWorker;
 import org.apache.airavata.gfac.monitor.HostMonitorData;
 import org.apache.airavata.gfac.monitor.UserMonitorData;
 import org.apache.airavata.gfac.monitor.core.PullMonitor;
 import org.apache.airavata.gfac.monitor.exception.AiravataMonitorException;
 import org.apache.airavata.gfac.monitor.impl.push.amqp.SimpleJobFinishConsumer;
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.api.authentication.AuthenticationInfo;
 import org.apache.airavata.model.appcatalog.computeresource.JobSubmissionProtocol;
 import org.apache.airavata.model.messaging.event.JobIdentifier;
 import org.apache.airavata.model.messaging.event.JobStatusChangeRequestEvent;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/ResourceConnection.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/ResourceConnection.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/ResourceConnection.java
index 41e9bd2..a159fdf 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/ResourceConnection.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/ResourceConnection.java
@@ -22,14 +22,14 @@ package org.apache.airavata.gfac.monitor.impl.pull.qstat;
 
 import org.apache.airavata.gfac.GFacException;
 import org.apache.airavata.gfac.SecurityContext;
+import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
 import org.apache.airavata.gfac.core.monitor.MonitorID;
+import org.apache.airavata.gfac.gsi.ssh.impl.PBSCluster;
 import org.apache.airavata.gfac.gsissh.security.GSISecurityContext;
 import org.apache.airavata.gfac.monitor.HostMonitorData;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.api.authentication.AuthenticationInfo;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
-import org.apache.airavata.gfac.ssh.impl.PBSCluster;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
 import org.apache.airavata.model.workspace.experiment.JobState;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/push/amqp/ComputingActivity.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/push/amqp/ComputingActivity.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/push/amqp/ComputingActivity.java
new file mode 100644
index 0000000..5a36b4a
--- /dev/null
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/push/amqp/ComputingActivity.java
@@ -0,0 +1,19 @@
+package org.apache.airavata.gfac.monitor.impl.push.amqp;
+
+import java.util.List;
+
+/**
+ * Created by syodage on 6/3/15.
+ */
+public class ComputingActivity {
+    String idFromEndpoint;
+    private List<String> state;
+
+    public String getIDFromEndpoint() {
+        return idFromEndpoint;
+    }
+
+    public List<String> getState() {
+        return state;
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/push/amqp/JSONMessageParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/push/amqp/JSONMessageParser.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/push/amqp/JSONMessageParser.java
index 72c77d5..15cdf4f 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/push/amqp/JSONMessageParser.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/impl/push/amqp/JSONMessageParser.java
@@ -21,7 +21,6 @@
 package org.apache.airavata.gfac.monitor.impl.push.amqp;
 
 import com.fasterxml.jackson.databind.ObjectMapper;
-import org.apache.airavata.ComputingActivity;
 import org.apache.airavata.gfac.monitor.core.MessageParser;
 import org.apache.airavata.gfac.monitor.exception.AiravataMonitorException;
 import org.apache.airavata.model.workspace.experiment.JobState;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/context/SSHAuthWrapper.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/context/SSHAuthWrapper.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/context/SSHAuthWrapper.java
index 74642dc..59c5cf0 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/context/SSHAuthWrapper.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/context/SSHAuthWrapper.java
@@ -20,8 +20,8 @@
 */
 package org.apache.airavata.gfac.ssh.context;
 
-import org.apache.airavata.gfac.ssh.api.ServerInfo;
 import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
+import org.apache.airavata.gfac.core.cluster.ServerInfo;
 
 public class SSHAuthWrapper {
     private ServerInfo serverInfo;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPInputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPInputHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPInputHandler.java
index 9481188..db9522e 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPInputHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPInputHandler.java
@@ -21,18 +21,18 @@
 package org.apache.airavata.gfac.ssh.handler;
 
 import org.apache.airavata.gfac.GFacException;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.context.MessageContext;
 import org.apache.airavata.gfac.core.handler.AbstractHandler;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.GFacUtils;
+import org.apache.airavata.gfac.gsi.ssh.impl.authentication.DefaultPasswordAuthenticationInfo;
+import org.apache.airavata.gfac.gsi.ssh.impl.authentication.DefaultPublicKeyFileAuthentication;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
 import org.apache.airavata.gfac.ssh.util.GFACSSHUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
 import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
-import org.apache.airavata.gfac.ssh.impl.authentication.DefaultPasswordAuthenticationInfo;
-import org.apache.airavata.gfac.ssh.impl.authentication.DefaultPublicKeyFileAuthentication;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;
 import org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType;
 import org.apache.airavata.model.workspace.experiment.*;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java
index 320f236..ad7df41 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java
@@ -22,17 +22,17 @@ package org.apache.airavata.gfac.ssh.handler;
 
 import org.apache.airavata.common.exception.ApplicationSettingsException;
 import org.apache.airavata.gfac.GFacException;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.handler.AbstractHandler;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.GFacUtils;
+import org.apache.airavata.gfac.gsi.ssh.impl.authentication.DefaultPasswordAuthenticationInfo;
+import org.apache.airavata.gfac.gsi.ssh.impl.authentication.DefaultPublicKeyFileAuthentication;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
 import org.apache.airavata.gfac.ssh.util.GFACSSHUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
 import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
-import org.apache.airavata.gfac.ssh.impl.authentication.DefaultPasswordAuthenticationInfo;
-import org.apache.airavata.gfac.ssh.impl.authentication.DefaultPublicKeyFileAuthentication;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;
 import org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType;
 import org.apache.airavata.model.workspace.experiment.CorrectiveAction;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/NewSSHOutputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/NewSSHOutputHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/NewSSHOutputHandler.java
index 61a1805..0df9eab 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/NewSSHOutputHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/NewSSHOutputHandler.java
@@ -6,6 +6,7 @@ import java.util.List;
 import java.util.Properties;
 
 import org.apache.airavata.gfac.GFacException;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.handler.AbstractHandler;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
@@ -14,7 +15,6 @@ import org.apache.airavata.gfac.core.GFacUtils;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
 import org.apache.airavata.gfac.ssh.util.GFACSSHUtils;
 import org.apache.airavata.gfac.ssh.util.HandleOutputs;
-import org.apache.airavata.gfac.ssh.api.Cluster;
 import org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType;
 import org.apache.airavata.model.workspace.experiment.CorrectiveAction;
 import org.apache.airavata.model.workspace.experiment.ErrorCategory;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHDirectorySetupHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHDirectorySetupHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHDirectorySetupHandler.java
index fb86dd3..c96e5d9 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHDirectorySetupHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHDirectorySetupHandler.java
@@ -21,13 +21,13 @@
 package org.apache.airavata.gfac.ssh.handler;
 
 import org.apache.airavata.gfac.GFacException;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.handler.AbstractHandler;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.GFacUtils;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
 import org.apache.airavata.gfac.ssh.util.GFACSSHUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
 import org.apache.airavata.model.workspace.experiment.*;
 import org.apache.airavata.registry.cpi.ChildDataType;
 import org.slf4j.Logger;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHInputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHInputHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHInputHandler.java
index 277ff0e..1c83e88 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHInputHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHInputHandler.java
@@ -22,6 +22,7 @@ package org.apache.airavata.gfac.ssh.handler;
 
 import org.apache.airavata.common.exception.ApplicationSettingsException;
 import org.apache.airavata.gfac.GFacException;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.context.MessageContext;
 import org.apache.airavata.gfac.core.handler.AbstractHandler;
@@ -29,7 +30,6 @@ import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.GFacUtils;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
 import org.apache.airavata.gfac.ssh.util.GFACSSHUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;
 import org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType;
 import org.apache.airavata.model.workspace.experiment.*;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHOutputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHOutputHandler.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHOutputHandler.java
index 7c5538a..17a48e7 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHOutputHandler.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/handler/SSHOutputHandler.java
@@ -23,6 +23,7 @@ package org.apache.airavata.gfac.ssh.handler;
 import org.apache.airavata.common.utils.ServerSettings;
 import org.apache.airavata.gfac.Constants;
 import org.apache.airavata.gfac.GFacException;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.handler.AbstractHandler;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
@@ -31,7 +32,6 @@ import org.apache.airavata.gfac.core.GFacUtils;
 import org.apache.airavata.gfac.impl.OutputUtils;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
 import org.apache.airavata.gfac.ssh.util.GFACSSHUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;
 import org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType;
 import org.apache.airavata.model.workspace.experiment.CorrectiveAction;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java
index 5162e36..44f24fa 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java
@@ -27,27 +27,26 @@ import org.apache.airavata.common.exception.ApplicationSettingsException;
 import org.apache.airavata.common.utils.MonitorPublisher;
 import org.apache.airavata.gfac.Constants;
 import org.apache.airavata.gfac.GFacException;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.cluster.Cluster;
+import org.apache.airavata.gfac.core.cluster.JobStatus;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.context.MessageContext;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.monitor.MonitorID;
 import org.apache.airavata.gfac.core.monitor.state.GfacExperimentStateChangeRequest;
-import org.apache.airavata.gfac.core.notification.events.StartExecutionEvent;
 import org.apache.airavata.gfac.core.provider.AbstractProvider;
 import org.apache.airavata.gfac.core.provider.GFacProviderException;
 import org.apache.airavata.gfac.core.states.GfacExperimentState;
 import org.apache.airavata.gfac.core.GFacUtils;
+import org.apache.airavata.gfac.gsi.ssh.api.CommandExecutor;
+import org.apache.airavata.gfac.gsi.ssh.impl.StandardOutReader;
 import org.apache.airavata.gfac.monitor.email.EmailBasedMonitor;
 import org.apache.airavata.gfac.monitor.email.EmailMonitorFactory;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
 import org.apache.airavata.gfac.ssh.util.GFACSSHUtils;
-import org.apache.airavata.gfac.ssh.api.Cluster;
-import org.apache.airavata.gfac.ssh.api.CommandExecutor;
-import org.apache.airavata.gfac.ssh.api.SSHApiException;
-import org.apache.airavata.gfac.ssh.api.job.JobDescriptor;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
-import org.apache.airavata.gfac.ssh.impl.RawCommandInfo;
-import org.apache.airavata.gfac.ssh.impl.StandardOutReader;
+import org.apache.airavata.gfac.core.cluster.RawCommandInfo;
 import org.apache.airavata.model.appcatalog.appdeployment.SetEnvPaths;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;
 import org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType;
@@ -140,7 +139,6 @@ public class SSHProvider extends AbstractProvider {
         } else {
             try {
                 StringBuffer data = new StringBuffer();
-                jobExecutionContext.getNotifier().publish(new StartExecutionEvent());
                 JobDetails jobDetails = new JobDetails();
                 String hostAddress = jobExecutionContext.getHostName();
                 MonitorPublisher monitorPublisher = jobExecutionContext.getMonitorPublisher();

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/security/SSHSecurityContext.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/security/SSHSecurityContext.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/security/SSHSecurityContext.java
index c6cac79..4b41d9c 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/security/SSHSecurityContext.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/security/SSHSecurityContext.java
@@ -27,7 +27,7 @@ import net.schmizz.sshj.connection.channel.direct.Session;
 import net.schmizz.sshj.userauth.keyprovider.KeyProvider;
 
 import org.apache.airavata.gfac.SecurityContext;
-import org.apache.airavata.gfac.ssh.api.Cluster;
+import org.apache.airavata.gfac.core.cluster.Cluster;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/GFACSSHUtils.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/GFACSSHUtils.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/GFACSSHUtils.java
index f2afedc..307d8c3 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/GFACSSHUtils.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/ssh/util/GFACSSHUtils.java
@@ -28,21 +28,22 @@ import org.apache.airavata.credential.store.credential.impl.ssh.SSHCredential;
 import org.apache.airavata.gfac.Constants;
 import org.apache.airavata.gfac.GFacException;
 import org.apache.airavata.gfac.RequestData;
+import org.apache.airavata.gfac.core.JobDescriptor;
+import org.apache.airavata.gfac.core.JobManagerConfiguration;
+import org.apache.airavata.gfac.core.cluster.Cluster;
+import org.apache.airavata.gfac.core.cluster.ServerInfo;
 import org.apache.airavata.gfac.core.context.JobExecutionContext;
 import org.apache.airavata.gfac.core.context.MessageContext;
 import org.apache.airavata.gfac.core.handler.GFacHandlerException;
 import org.apache.airavata.gfac.core.GFacUtils;
+import org.apache.airavata.gfac.gsi.ssh.impl.GSISSHAbstractCluster;
+import org.apache.airavata.gfac.gsi.ssh.impl.PBSCluster;
+import org.apache.airavata.gfac.gsi.ssh.impl.authentication.DefaultPasswordAuthenticationInfo;
+import org.apache.airavata.gfac.gsi.ssh.util.CommonUtils;
 import org.apache.airavata.gfac.ssh.context.SSHAuthWrapper;
 import org.apache.airavata.gfac.ssh.security.SSHSecurityContext;
 import org.apache.airavata.gfac.ssh.security.TokenizedSSHAuthInfo;
-import org.apache.airavata.gfac.ssh.api.Cluster;
-import org.apache.airavata.gfac.ssh.api.ServerInfo;
 import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
-import org.apache.airavata.gfac.ssh.api.job.JobDescriptor;
-import org.apache.airavata.gfac.ssh.api.job.JobManagerConfiguration;
-import org.apache.airavata.gfac.ssh.impl.GSISSHAbstractCluster;
-import org.apache.airavata.gfac.ssh.impl.PBSCluster;
-import org.apache.airavata.gfac.ssh.impl.authentication.DefaultPasswordAuthenticationInfo;
 import org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription;
 import org.apache.airavata.model.appcatalog.appdeployment.ApplicationParallelismType;
 import org.apache.airavata.model.appcatalog.appinterface.DataType;


[6/8] airavata git commit: Resolve compilation issues in gfac module after module refactoring

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..5a80c25
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PbsParams.java
@@ -0,0 +1,1421 @@
+/*
+ * 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.sCF8C40CE6FDA0A41BEE004F5930560FF").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();
+    
+    /**
+     * 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/19afc7e0/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
new file mode 100644
index 0000000..1e288bd
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PostJobCommands.java
@@ -0,0 +1,166 @@
+/*
+ * 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.sCF8C40CE6FDA0A41BEE004F5930560FF").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/19afc7e0/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
new file mode 100644
index 0000000..520da34
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/PreJobCommands.java
@@ -0,0 +1,166 @@
+/*
+ * 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.sCF8C40CE6FDA0A41BEE004F5930560FF").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/19afc7e0/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
new file mode 100644
index 0000000..4cdcb57
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterAnyListImpl.java
@@ -0,0 +1,235 @@
+/*
+ * 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);
+        }
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..ce61221
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/AfterOKListImpl.java
@@ -0,0 +1,235 @@
+/*
+ * 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/19afc7e0/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
new file mode 100644
index 0000000..cca50a8
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/ExportPropertiesImpl.java
@@ -0,0 +1,233 @@
+/*
+ * 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);
+            }
+        }
+    }
+}


[3/8] airavata git commit: Resolve compilation issues in gfac module after module refactoring

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..0696232
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PostJobCommandsImpl.java
@@ -0,0 +1,235 @@
+/*
+ * 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/19afc7e0/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
new file mode 100644
index 0000000..e061462
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PreJobCommandsImpl.java
@@ -0,0 +1,235 @@
+/*
+ * 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/19afc7e0/modules/gfac/gfac-core/src/main/resources/PBSJobDescriptor.xsd
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/resources/PBSJobDescriptor.xsd b/modules/gfac/gfac-core/src/main/resources/PBSJobDescriptor.xsd
new file mode 100644
index 0000000..966dafb
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/resources/PBSJobDescriptor.xsd
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--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. -->
+
+<schema targetNamespace="http://airavata.apache.org/gfac/core/2012/12" xmlns:gsissh="http://airavata.apache.org/gfac/core/2012/12"
+	xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+
+	<element name="JobDescriptor" type="gsissh:pbsParams" />
+
+	<complexType name="pbsParams">
+		<sequence>
+            <element name="jobID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="userName" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+			<element name="shellName" type="xsd:string" minOccurs="0" maxOccurs="1" default="/bin/bash"/>
+            <element name="queueName" type="xsd:string" minOccurs="0" maxOccurs="1" default="normal"/>
+            <element name="jobName" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="allEnvExport" type="xsd:boolean" minOccurs="0 " maxOccurs="1" default="true"/>
+			<element name="mailOptions" type="xsd:string" minOccurs="0" maxOccurs="1" />
+            <element name="mailAddress" type="xsd:string" minOccurs="0" maxOccurs="1" />
+            <element name="partition" type="xsd:string" minOccurs="0" maxOccurs="1" />
+            <element name="mailType" type="xsd:string" minOccurs="0" maxOccurs="1" />
+			<element name="acountString" type="xsd:string" minOccurs="0" maxOccurs="1" />
+			<element name="maxWallTime" type="xsd:string" minOccurs="0" maxOccurs="1" default="1:00:00"/>
+            <element name="standardOutFile" type="xsd:string" minOccurs="0" maxOccurs="1" />
+            <element name="standardErrorFile" type="xsd:string" minOccurs="0" maxOccurs="1" />
+			<element name="outputDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" />
+            <element name="inputDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" />
+            <element name="nodes" type="xsd:int" minOccurs="0" maxOccurs="1" default="1"/>
+            <element name="processesPerNode" type="xsd:int" minOccurs="0" maxOccurs="1" default="1" />
+            <element name="cpuCount" type="xsd:int" minOccurs="0" maxOccurs="1" default="1" />
+            <element name="nodeList" type="xsd:string" minOccurs="0" maxOccurs="1" default="1" />
+            <element name="workingDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" />
+            <element name="executablePath" type="xsd:string" minOccurs="0" maxOccurs="1" />
+            <element name="inputs" type="gsissh:inputList" minOccurs="1" maxOccurs="1"/>
+            <element name="exports" type="gsissh:exportProperties" minOccurs="1" maxOccurs="1"/>
+            <element name="status" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="afterAny" type="gsissh:afterAnyList" minOccurs="0" maxOccurs="1"/>
+            <element name="afterOKList" type="gsissh:afterOKList" minOccurs="0" maxOccurs="1"/>
+            <element name="cTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="qTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="mTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="sTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="compTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="owner" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="executeNode" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="ellapsedTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="usedCPUTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="usedMem" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="submitArgs" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="variableList" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="preJobCommands" type="gsissh:preJobCommands" minOccurs="0" maxOccurs="1"/>
+            <element name="moduleLoadCommands" type="gsissh:moduleLoadCommands" minOccurs="0" maxOccurs="1"/>
+            <element name="postJobCommands" type="gsissh:postJobCommands" minOccurs="0" maxOccurs="1"/>
+            <element name="jobSubmitterCommand" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="callBackIp" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="callBackPort" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+            <element name="chassisName" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+        </sequence>
+	</complexType>
+
+    <complexType name="moduleLoadCommands">
+        <sequence>
+			<element name="command" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+		</sequence>
+    </complexType>
+    <complexType name="preJobCommands">
+        <sequence>
+			<element name="command" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+		</sequence>
+    </complexType>
+
+    <complexType name="postJobCommands">
+        <sequence>
+			<element name="command" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+		</sequence>
+    </complexType>
+    <complexType name="inputList">
+        <sequence>
+			<element name="input" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+		</sequence>
+    </complexType>
+    <complexType name="afterAnyList">
+        <sequence>
+			<element name="afterAny" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+		</sequence>
+    </complexType>
+
+    <complexType name="afterOKList">
+        <sequence>
+			<element name="afterOKList" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+		</sequence>
+    </complexType>
+
+    <complexType name="exportProperties">
+		<sequence>
+
+			<element name="name" minOccurs="1" maxOccurs="unbounded">
+				<complexType>
+					<simpleContent>
+						<extension base="xsd:string">
+							<attribute name="value" type="xsd:string" use="required" />
+						</extension>
+					</simpleContent>
+				</complexType>
+			</element>
+
+		</sequence>
+	</complexType>
+</schema>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-core/src/main/resources/gsissh-schemas.xsdconfig
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/resources/gsissh-schemas.xsdconfig b/modules/gfac/gfac-core/src/main/resources/gsissh-schemas.xsdconfig
new file mode 100644
index 0000000..201d3b1
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/resources/gsissh-schemas.xsdconfig
@@ -0,0 +1,14 @@
+<!--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. -->
+
+<xb:config  xmlns:xb="http://www.bea.com/2002/09/xbean/config">
+
+    <xb:namespace uri="http://airavata.apache.org/schemas/gfac/core/2012/12">
+        <xb:package>org.apache.airavata.gfac.core</xb:package>
+    </xb:namespace>
+</xb:config>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/pom.xml
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/pom.xml b/modules/gfac/gfac-impl/pom.xml
index 72a9f34..4733253 100644
--- a/modules/gfac/gfac-impl/pom.xml
+++ b/modules/gfac/gfac-impl/pom.xml
@@ -33,9 +33,39 @@
         <!-- GFAC schemas -->
         <dependency>
             <groupId>org.apache.airavata</groupId>
-            <artifactId>airavata-gfac-core</artifactId>
+            <artifactId>gfac-core</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.jglobus</groupId>
+            <artifactId>gss</artifactId>
+            <version>${jglobus.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.jglobus</groupId>
+            <artifactId>myproxy</artifactId>
+            <version>${jglobus.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.jcraft</groupId>
+            <artifactId>jsch</artifactId>
+            <version>0.1.50</version>
+        </dependency>
+        <dependency>
+            <groupId>net.schmizz</groupId>
+            <artifactId>sshj</artifactId>
+            <version>0.6.1</version>
+        </dependency>
+        <dependency>
+            <groupId>net.schmizz</groupId>
+            <artifactId>sshj</artifactId>
+            <version>0.6.1</version>
+        </dependency>
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-databind</artifactId>
+            <version>2.4.4</version>
+        </dependency>
 
         <!-- Test -->
         <dependency>

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/ExtendedSession.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/ExtendedSession.java b/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/ExtendedSession.java
new file mode 100644
index 0000000..79ecb61
--- /dev/null
+++ b/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/ExtendedSession.java
@@ -0,0 +1,42 @@
+/*
+ *
+ * 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 com.jcraft.jsch;
+
+
+import org.apache.airavata.gfac.core.authentication.GSIAuthenticationInfo;
+
+public class ExtendedSession extends Session {
+
+    private GSIAuthenticationInfo authenticationInfo;
+
+    public ExtendedSession(JSch jsch, String username, String host, int port) throws JSchException {
+        super(jsch, username, host, port);
+    }
+
+    public GSIAuthenticationInfo getAuthenticationInfo() {
+        return authenticationInfo;
+    }
+
+    public void setAuthenticationInfo(GSIAuthenticationInfo authenticationInfo) {
+        this.authenticationInfo = authenticationInfo;
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/GSISSHIdentityFile.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/GSISSHIdentityFile.java b/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/GSISSHIdentityFile.java
new file mode 100644
index 0000000..379eb8c
--- /dev/null
+++ b/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/GSISSHIdentityFile.java
@@ -0,0 +1,126 @@
+/*
+ *
+ * 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 com.jcraft.jsch;
+
+/**
+ * NOTE : This is class is directly created using com.jcraft.jsch.IdentityFile
+ * IdentityFile has private access. Therefore to suit our requirements we modify IdentityFile
+ * with public access.
+ */
+public class GSISSHIdentityFile implements Identity {
+    private JSch jsch;
+    private KeyPair kpair;
+    private String identity;
+
+    public static GSISSHIdentityFile newInstance(String prvfile, String pubfile, JSch jsch) throws JSchException{
+        KeyPair kpair = KeyPair.load(jsch, prvfile, pubfile);
+        return new GSISSHIdentityFile(jsch, prvfile, kpair);
+    }
+
+    public static GSISSHIdentityFile newInstance(String name, byte[] prvkey, byte[] pubkey, JSch jsch) throws JSchException{
+        KeyPair kpair = KeyPair.load(jsch, prvkey, pubkey);
+        return new GSISSHIdentityFile(jsch, name, kpair);
+    }
+
+    private GSISSHIdentityFile(JSch jsch, String name, KeyPair kpair) throws JSchException{
+        this.jsch = jsch;
+        this.identity = name;
+        this.kpair = kpair;
+    }
+
+    /**
+     * Decrypts this identity with the specified pass-phrase.
+     * @param passphrase the pass-phrase for this identity.
+     * @return <tt>true</tt> if the decryption is succeeded
+     * or this identity is not cyphered.
+     */
+    public boolean setPassphrase(byte[] passphrase) throws JSchException{
+        return kpair.decrypt(passphrase);
+    }
+
+    /**
+     * Returns the public-key blob.
+     * @return the public-key blob
+     */
+    public byte[] getPublicKeyBlob(){
+        return kpair.getPublicKeyBlob();
+    }
+
+    /**
+     * Signs on data with this identity, and returns the result.
+     * @param data data to be signed
+     * @return the signature
+     */
+    public byte[] getSignature(byte[] data){
+        return kpair.getSignature(data);
+    }
+
+    /**
+     * @deprecated This method should not be invoked.
+     * @see #setPassphrase(byte[] passphrase)
+     */
+    public boolean decrypt(){
+        throw new RuntimeException("not implemented");
+    }
+
+    /**
+     * Returns the name of the key algorithm.
+     * @return "ssh-rsa" or "ssh-dss"
+     */
+    public String getAlgName(){
+        return new String(kpair.getKeyTypeName());
+    }
+
+    /**
+     * Returns the name of this identity.
+     * It will be useful to identify this object in the {@link IdentityRepository}.
+     */
+    public String getName(){
+        return identity;
+    }
+
+    /**
+     * Returns <tt>true</tt> if this identity is cyphered.
+     * @return <tt>true</tt> if this identity is cyphered.
+     */
+    public boolean isEncrypted(){
+        return kpair.isEncrypted();
+    }
+
+    /**
+     * Disposes internally allocated data, like byte array for the private key.
+     */
+    public void clear(){
+        kpair.dispose();
+        kpair = null;
+    }
+
+    /**
+     * Returns an instance of {@link KeyPair} used in this {@link Identity}.
+     * @return an instance of {@link KeyPair} used in this {@link Identity}.
+     */
+    public KeyPair getKeyPair(){
+        return kpair;
+    }
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/GSISSHIdentityRepository.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/GSISSHIdentityRepository.java b/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/GSISSHIdentityRepository.java
new file mode 100644
index 0000000..89646c5
--- /dev/null
+++ b/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/GSISSHIdentityRepository.java
@@ -0,0 +1,29 @@
+/*
+ *
+ * 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 com.jcraft.jsch;
+
+public class GSISSHIdentityRepository extends LocalIdentityRepository {
+
+    public GSISSHIdentityRepository(JSch jsch) {
+        super(jsch);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMICGSSCredentials.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMICGSSCredentials.java b/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMICGSSCredentials.java
new file mode 100644
index 0000000..d0e98db
--- /dev/null
+++ b/modules/gfac/gfac-impl/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMICGSSCredentials.java
@@ -0,0 +1,308 @@
+/*
+ *
+ * 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 com.jcraft.jsch;
+
+import org.apache.airavata.gfac.core.authentication.GSIAuthenticationInfo;
+import org.apache.airavata.gfac.gsi.ssh.GSSContextX509;
+import org.globus.gsi.gssapi.GSSConstants;
+import org.ietf.jgss.GSSException;
+import org.ietf.jgss.Oid;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
+/*
+ * Copyright(c)2004,2005,2006 ymnk, JCraft,Inc. All rights reserved.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer. 2. Redistributions in
+ * binary form must reproduce the above copyright notice, this list of
+ * conditions and the following disclaimer in the documentation and/or other
+ * materials provided with the distribution. 3. The names of the authors may not
+ * be used to endorse or promote products derived from this software without
+ * specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND
+ * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT, INC. OR ANY CONTRIBUTORS TO THIS
+ * SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ * OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION)HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE)ARISING
+ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/**
+ * This class now supports two mappings to the gssapi-with-mic method: x509
+ * (preferred) and krb5.
+ *
+ * @author Al Rossi
+ * @author Jeff Overbey
+ */
+public class UserAuthGSSAPIWithMICGSSCredentials extends UserAuth {
+
+    private static final int SSH_MSG_USERAUTH_GSSAPI_RESPONSE = 60;
+    private static final int SSH_MSG_USERAUTH_GSSAPI_TOKEN = 61;
+    // private static final int SSH_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE = 63;
+    private static final int SSH_MSG_USERAUTH_GSSAPI_ERROR = 64;
+    private static final int SSH_MSG_USERAUTH_GSSAPI_ERRTOK = 65;
+    private static final int SSH_MSG_USERAUTH_GSSAPI_MIC = 66;
+
+    // this is the preferred order
+    private static String[] supportedMethods = { "gssapi-with-mic.x509",
+            "gssapi-with-mic.krb5" };
+    private static byte[][] supportedOids;
+
+    static {
+        try {
+            supportedOids = new byte[][] {
+                    GSSConstants.MECH_OID.getDER(),
+                    new Oid("1.2.840.113554.1.2.2").getDER() };
+        } catch (GSSException gsse) {
+            gsse.printStackTrace();
+        }
+    }
+
+    @Override
+    public boolean start(Session session) throws Exception {
+
+        // this.userinfo = userinfo;
+        Packet packet = session.packet;
+        Buffer buf = session.buf;
+        final String username = session.username;
+        byte[] _username = Util.str2byte(username);
+
+        // checkForSupportedOIDs
+        List methods = new ArrayList();
+        boolean found = false;
+        for (int i = 0; i < supportedOids.length; i++) {
+            found = found
+                    || checkForSupportedOIDs(methods, packet, buf, i,
+                    _username, session);
+        }
+
+        if (!found)
+            return false;
+
+        // logger.debug( "supported methods " + methods );
+
+        boolean success = false;
+        for (Iterator it = methods.iterator(); it.hasNext();) {
+            String method = (String) it.next();
+            success = tryMethod(username, _username, method, session, packet,
+                    buf);
+            if (success)
+                break;
+        }
+        return success;
+
+    }
+
+    private boolean checkForSupportedOIDs(List methods, Packet packet,
+                                          Buffer buf, int index, byte[] _username, Session session)
+            throws Exception {
+        packet.reset();
+
+        // byte SSH_MSG_USERAUTH_REQUEST(50)
+        // string user name(in ISO-10646 UTF-8 encoding)
+        // string service name(in US-ASCII)
+        // string "gssapi"(US-ASCII)
+        // uint32 n, the number of OIDs client supports
+        // string[n] mechanism OIDS
+        buf.putByte((byte) SSH_MSG_USERAUTH_REQUEST);
+        buf.putString(_username);
+        buf.putString("ssh-connection".getBytes());
+        buf.putString("gssapi-with-mic".getBytes());
+        buf.putInt(1);
+        buf.putString(supportedOids[index]);
+        session.write(packet);
+
+        while (true) {
+            buf = session.read(buf);
+
+            if (buf.buffer[5] == SSH_MSG_USERAUTH_FAILURE) {
+                return false;
+            }
+
+            if (buf.buffer[5] == SSH_MSG_USERAUTH_GSSAPI_RESPONSE) {
+                buf.getInt();
+                buf.getByte();
+                buf.getByte();
+                byte[] message = buf.getString();
+                // logger.debug( "OID " + supportedOids[index] );
+                if (Util.array_equals(message, supportedOids[index])) {
+                    methods.add(supportedMethods[index]);
+                    // logger.debug( "OID MATCH, method is " + methods );
+                    return true;
+                }
+            }
+
+            if (buf.buffer[5] == SSH_MSG_USERAUTH_BANNER) {
+                buf.getInt();
+                buf.getByte();
+                buf.getByte();
+                byte[] _message = buf.getString();
+                buf.getString();
+                String message = Util.byte2str(_message);
+                if (userinfo != null) {
+                    userinfo.showMessage(message);
+                }
+                continue;
+            }
+            return false;
+        }
+    }
+
+    private boolean tryMethod(String username, byte[] _username, String method,
+                              Session session, Packet packet, Buffer buf) throws Exception {
+        GSSContext context = null;
+        try {
+            Class c = Class.forName(session.getConfig(method));
+            context = (GSSContext) (c.newInstance());
+
+        } catch (Exception e) {
+            // logger.error( "could not instantiate GSSContext", e );
+            return false;
+        }
+
+        // Get the credentials and set them
+        // Not a good way, but we dont have any choice
+        if (session instanceof ExtendedSession) {
+            GSIAuthenticationInfo authenticationInfo = ((ExtendedSession) session).getAuthenticationInfo();
+
+            if (context instanceof GSSContextX509) {
+                ((GSSContextX509) context).setCredential(authenticationInfo.getCredentials());
+            }
+        }
+
+        // logger.debug( "GOT CONTEXT: " + context );
+
+
+        // FIXME
+        // if ( userinfo instanceof IX509UserInfo ) {
+        // if ( context instanceof GSSContextX509 ) {
+        // GSSCredential credential = ( ( IX509UserInfo )userinfo
+        // ).getCredential();
+        // logger.debug( "user info credential = " + credential );
+        // ( ( GSSContextX509 )context ).setCredential( credential );
+        // }
+        // }
+
+        try {
+            context.create(username, session.host);
+        } catch (JSchException e) {
+            // logger.error( "context creation failed", e );
+            return false;
+        }
+
+        byte[] token = new byte[0];
+
+        while (!context.isEstablished()) {
+            try {
+                token = context.init(token, 0, token.length);
+            } catch (JSchException e) {
+                // logger.error( "context initialization failed", e );
+                // TODO
+                // ERRTOK should be sent?
+                // byte SSH_MSG_USERAUTH_GSSAPI_ERRTOK
+                // string error token
+                return false;
+            }
+
+            if (token != null) {
+                packet.reset();
+                buf.putByte((byte) SSH_MSG_USERAUTH_GSSAPI_TOKEN);
+                buf.putString(token);
+                session.write(packet);
+            }
+
+            if (!context.isEstablished()) {
+                buf = session.read(buf);
+
+                if (buf.buffer[5] == SSH_MSG_USERAUTH_GSSAPI_ERROR) {
+                    // uint32 major_status
+                    // uint32 minor_status
+                    // string message
+                    // string language tag
+                    buf = session.read(buf);
+                } else if (buf.buffer[5] == SSH_MSG_USERAUTH_GSSAPI_ERRTOK) {
+                    buf = session.read(buf);
+                }
+
+                if (buf.buffer[5] == SSH_MSG_USERAUTH_FAILURE) {
+                    return false;
+                }
+
+                buf.getInt();
+                buf.getByte();
+                buf.getByte();
+                token = buf.getString();
+            }
+        }
+
+        Buffer mbuf = new Buffer();
+        // string session identifier
+        // byte SSH_MSG_USERAUTH_REQUEST
+        // string user name
+        // string service
+        // string "gssapi-with-mic"
+        mbuf.putString(session.getSessionId());
+        mbuf.putByte((byte) SSH_MSG_USERAUTH_REQUEST);
+        mbuf.putString(_username);
+        mbuf.putString("ssh-connection".getBytes());
+        mbuf.putString("gssapi-with-mic".getBytes());
+
+        byte[] mic = context.getMIC(mbuf.buffer, 0, mbuf.getLength());
+
+        if (mic == null) { // there was an error in the getMIC call
+            return false;
+        }
+
+        packet.reset();
+        buf.putByte((byte) SSH_MSG_USERAUTH_GSSAPI_MIC);
+        buf.putString(mic);
+        session.write(packet);
+
+        context.dispose();
+
+        buf = session.read(buf);
+        if (buf.buffer[5] == SSH_MSG_USERAUTH_SUCCESS) {
+            return true;
+        }
+        if (buf.buffer[5] == SSH_MSG_USERAUTH_FAILURE) {
+            buf.getInt();
+            buf.getByte();
+            buf.getByte();
+            byte[] foo = buf.getString();
+            int partial_success = buf.getByte();
+            if (partial_success != 0) {
+                throw new JSchPartialAuthException(new String(foo));
+            }
+        }
+        return false;
+    }
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/GSSContextX509.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/GSSContextX509.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/GSSContextX509.java
index 1c07a39..a6eea6f 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/GSSContextX509.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/GSSContextX509.java
@@ -19,7 +19,7 @@
  *
  */
 
-package org.apache.airavata.gfac.ssh;
+package org.apache.airavata.gfac.gsi.ssh;
 
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Cluster.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Cluster.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Cluster.java
deleted file mode 100644
index beb5b37..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Cluster.java
+++ /dev/null
@@ -1,162 +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.ssh.api;
-
-import java.util.List;
-import java.util.Map;
-
-import org.apache.airavata.gfac.ssh.api.job.JobDescriptor;
-import org.apache.airavata.gfac.ssh.impl.JobStatus;
-
-import com.jcraft.jsch.Session;
-
-/**
- * This interface represents a Cluster machine
- * End users of the API can implement this and come up with their own
- * implementations, but mostly this interface is for internal usage.
- */
-public interface Cluster {
-
-    /**
-     * This will submit a job to the cluster with a given pbs file and some parameters
-     *
-     * @param pbsFilePath  path of the pbs file
-     * @param workingDirectory working directory where pbs should has to copy
-     * @return jobId after successful job submission
-     * @throws SSHApiException throws exception during error
-     */
-    public String submitBatchJobWithScript(String pbsFilePath, String workingDirectory) throws SSHApiException;
-
-    /**
-     * This will submit the given job and not performing any monitoring
-     *
-     * @param jobDescriptor  job descriptor to submit to cluster, this contains all the parameter
-     * @return jobID after successful job submission.
-     * @throws SSHApiException  throws exception during error
-     */
-    public String submitBatchJob(JobDescriptor jobDescriptor) throws SSHApiException;
-
-    /**
-     * This will copy the localFile to remoteFile location in configured cluster
-     *
-     * @param remoteFile remote file location, this can be a directory too
-     * @param localFile local file path of the file which needs to copy to remote location
-     * @throws SSHApiException throws exception during error
-     */
-    public void scpTo(String remoteFile, String localFile) throws SSHApiException;
-
-    /**
-     * This will copy a remote file in path rFile to local file lFile
-     * @param remoteFile remote file path, this has to be a full qualified path
-     * @param localFile This is the local file to copy, this can be a directory too
-     * @throws SSHApiException
-     */
-    public void scpFrom(String remoteFile, String localFile) throws SSHApiException;
-
-    /**
-     * This will copy a remote file in path rFile to local file lFile
-     * @param remoteFile remote file path, this has to be a full qualified path
-     * @param localFile This is the local file to copy, this can be a directory too
-     * @throws SSHApiException
-     */
-    public void scpThirdParty(String remoteFileSorce, String remoteFileTarget) throws SSHApiException;
-    
-    /**
-     * This will create directories in computing resources
-     * @param directoryPath the full qualified path for the directory user wants to create
-     * @throws SSHApiException throws during error
-     */
-    public void makeDirectory(String directoryPath) throws SSHApiException;
-
-
-    /**
-     * This will get the job description of a job which is there in the cluster
-     * if jbo is not available with the given ID it returns
-     * @param jobID jobId has to pass
-     * @return Returns full job description of the job which submitted successfully
-     * @throws SSHApiException throws exception during error
-     */
-    public JobDescriptor getJobDescriptorById(String jobID) throws SSHApiException;
-
-    /**
-     * This will delete the given job from the queue
-     *
-     * @param jobID  jobId of the job which user wants to delete
-     * @return return the description of the deleted job
-     * @throws SSHApiException throws exception during error
-     */
-    public JobDescriptor cancelJob(String jobID) throws SSHApiException;
-
-    /**
-     * This will get the job status of the the job associated with this jobId
-     *
-     * @param jobID jobId of the job user want to get the status
-     * @return job status of the given jobID
-     * @throws SSHApiException throws exception during error
-     */
-    public JobStatus getJobStatus(String jobID) throws SSHApiException;
-    /**
-     * This will get the job status of the the job associated with this jobId
-     *
-     * @param jobName jobName of the job user want to get the status
-     * @return jobId of the given jobName
-     * @throws SSHApiException throws exception during error
-     */
-    public String getJobIdByJobName(String jobName, String userName) throws SSHApiException;
-
-    /**
-     * This method can be used to poll the jobstatuses based on the given
-     * user but we should pass the jobID list otherwise we will get unwanted
-     * job statuses which submitted by different middleware outside apache
-     * airavata with the same uername which we are not considering
-     * @param userName userName of the jobs which required to get the status
-     * @param jobIDs precises set of jobIDs
-     * @return
-     */
-    public void getJobStatuses(String userName,Map<String,JobStatus> jobIDs)throws SSHApiException;
-    /**
-     * This will list directories in computing resources
-     * @param directoryPath the full qualified path for the directory user wants to create
-     * @throws SSHApiException throws during error
-     */
-    public List<String> listDirectory(String directoryPath) throws SSHApiException;
-
-    /**
-     * This method can be used to get created ssh session
-     * to reuse the created session.
-     * @throws SSHApiException
-     */
-    public Session getSession() throws SSHApiException;
-    
-    /**
-     * This method can be used to close the connections initialized
-     * to handle graceful shutdown of the system
-     * @throws SSHApiException
-     */
-    public void disconnect() throws SSHApiException;
-
-    /**
-     * This gives the server Info
-     * @return
-     */
-    public ServerInfo getServerInfo();
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandExecutor.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandExecutor.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandExecutor.java
index 024c53d..bf306ef 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandExecutor.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandExecutor.java
@@ -18,14 +18,31 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api;
-
-import com.jcraft.jsch.*;
-import org.apache.airavata.gfac.ssh.api.authentication.*;
-import org.apache.airavata.gfac.ssh.config.ConfigReader;
-import org.apache.airavata.gfac.ssh.jsch.ExtendedJSch;
-import org.apache.airavata.gfac.ssh.util.SSHAPIUIKeyboardInteractive;
-import org.apache.airavata.gfac.ssh.util.SSHKeyPasswordHandler;
+package org.apache.airavata.gfac.gsi.ssh.api;
+
+import com.jcraft.jsch.Channel;
+import com.jcraft.jsch.ChannelExec;
+import com.jcraft.jsch.ExtendedSession;
+import com.jcraft.jsch.GSISSHIdentityFile;
+import com.jcraft.jsch.GSISSHIdentityRepository;
+import com.jcraft.jsch.Identity;
+import com.jcraft.jsch.JSch;
+import com.jcraft.jsch.JSchException;
+import com.jcraft.jsch.Session;
+import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.gfac.core.authentication.AuthenticationInfo;
+import org.apache.airavata.gfac.core.authentication.GSIAuthenticationInfo;
+import org.apache.airavata.gfac.core.authentication.SSHKeyAuthentication;
+import org.apache.airavata.gfac.core.authentication.SSHPublicKeyAuthentication;
+import org.apache.airavata.gfac.core.authentication.SSHPublicKeyFileAuthentication;
+import org.apache.airavata.gfac.core.cluster.CommandInfo;
+import org.apache.airavata.gfac.core.cluster.CommandOutput;
+import org.apache.airavata.gfac.core.authentication.SSHPasswordAuthentication;
+import org.apache.airavata.gfac.core.cluster.ServerInfo;
+import org.apache.airavata.gfac.gsi.ssh.config.ConfigReader;
+import org.apache.airavata.gfac.gsi.ssh.jsch.ExtendedJSch;
+import org.apache.airavata.gfac.gsi.ssh.util.SSHAPIUIKeyboardInteractive;
+import org.apache.airavata.gfac.gsi.ssh.util.SSHKeyPasswordHandler;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandInfo.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandInfo.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandInfo.java
deleted file mode 100644
index e6797ce..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandInfo.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.apache.airavata.gfac.ssh.api;/*
- *
- * 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.
- *
- */
-
-/**
- * Encapsulates information about
- */
-public interface CommandInfo {
-
-    /**
-     * Gets the executable command as a string.
-     * @return String encoded command. Should be able to execute
-     * directly on remote shell. Should includes appropriate parameters.
-     */
-    String getCommand();
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandOutput.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandOutput.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandOutput.java
deleted file mode 100644
index f275ff0..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/CommandOutput.java
+++ /dev/null
@@ -1,49 +0,0 @@
-package org.apache.airavata.gfac.ssh.api;/*
- *
- * 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 com.jcraft.jsch.Channel;
-
-import java.io.OutputStream;
-
-/**
- * Output of a certain command. TODO rethink
- */
-public interface CommandOutput {
-
-    /**
-     * Gets the output of the command as a stream.
-     * @param  channel Command output as a stream.
-     */
-    void onOutput(Channel channel);
-
-    /**
-     * Gets standard error as a output stream.
-     * @return Command error as a stream.
-     */
-    OutputStream getStandardError();
-
-    /**
-     * The command exit code.
-     * @param code The program exit code
-     */
-    void exitCode(int code);
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Core.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Core.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Core.java
index 67dd043..5225552 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Core.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Core.java
@@ -18,9 +18,9 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api;
+package org.apache.airavata.gfac.gsi.ssh.api;
 
-import org.apache.airavata.gfac.ssh.api.job.JobDescriptor;
+import org.apache.airavata.gfac.core.JobDescriptor;
 
 /**
  * This represents a CPU core of a machine in the cluster

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Node.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Node.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Node.java
index 1515f39..4d2a1ca 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Node.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/Node.java
@@ -18,7 +18,7 @@
  * under the License.
  *
 */
-package org.apache.airavata.gfac.ssh.api;
+package org.apache.airavata.gfac.gsi.ssh.api;
 
 import java.util.HashMap;
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/SSHApiException.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/SSHApiException.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/SSHApiException.java
deleted file mode 100644
index f78825b..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/SSHApiException.java
+++ /dev/null
@@ -1,36 +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.ssh.api;
-
-/**
- * An exception class to wrap SSH command execution related errors.
- */
-public class SSHApiException extends Exception {
-
-    public SSHApiException(String message) {
-        super(message);
-    }
-
-    public SSHApiException(String message, Exception e) {
-        super(message, e);
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/ServerInfo.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/ServerInfo.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/ServerInfo.java
deleted file mode 100644
index d3c2160..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/ServerInfo.java
+++ /dev/null
@@ -1,65 +0,0 @@
-package org.apache.airavata.gfac.ssh.api;/*
- *
- * 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.
- *
- */
-
-/**
- * Encapsulate server information.
- */
-public class ServerInfo {
-
-    private String host;
-    private String userName;
-    private int port = 22;
-
-    public ServerInfo(String userName, String host) {
-        this.userName = userName;
-        this.host = host;
-    }
-
-    public ServerInfo(String userName,String host,  int port) {
-        this.host = host;
-        this.userName = userName;
-        this.port = port;
-    }
-
-    public String getHost() {
-        return host;
-    }
-
-    public void setHost(String host) {
-        this.host = host;
-    }
-
-    public String getUserName() {
-        return userName;
-    }
-
-    public void setUserName(String userName) {
-        this.userName = userName;
-    }
-
-    public int getPort() {
-        return port;
-    }
-
-    public void setPort(int port) {
-        this.port = port;
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobDescriptor.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobDescriptor.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobDescriptor.java
deleted file mode 100644
index 7e936ec..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobDescriptor.java
+++ /dev/null
@@ -1,473 +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.ssh.api.job;
-
-import org.apache.airavata.gfac.ssh.api.CommandOutput;
-import org.apache.airavata.gfac.ssh.util.CommonUtils;
-import org.apache.airavata.gfac.ssh.x2012.x12.*;
-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(
-                CommonUtils.maxWallTimeCalculator(Integer.parseInt(minutes)));
-
-    }
-
-
-    public void setMaxWallTimeForLSF(String minutes) {
-        this.getJobDescriptorDocument().getJobDescriptor().setMaxWallTime(
-                CommonUtils.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);
-    }
-    
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobManagerConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobManagerConfiguration.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobManagerConfiguration.java
deleted file mode 100644
index d58a994..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobManagerConfiguration.java
+++ /dev/null
@@ -1,51 +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.ssh.api.job;
-
-import org.apache.airavata.gfac.ssh.impl.RawCommandInfo;
-
-public interface JobManagerConfiguration {
-
-	public RawCommandInfo getCancelCommand(String jobID);
-
-	public String getJobDescriptionTemplateName();
-
-	public RawCommandInfo getMonitorCommand(String jobID);
-
-	public RawCommandInfo getUserBasedMonitorCommand(String userName);
-
-    public RawCommandInfo getJobIdMonitorCommand(String jobName , String userName);
-
-	public String getScriptExtension();
-
-	public RawCommandInfo getSubmitCommand(String workingDirectory, String pbsFilePath);
-
-	public OutputParser getParser();
-
-	public String getInstalledPath();
-
-	public String getBaseCancelCommand();
-
-	public String getBaseMonitorCommand();
-
-	public String getBaseSubmitCommand();
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobType.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobType.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobType.java
deleted file mode 100644
index 556f4ef..0000000
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/gsi/ssh/api/job/JobType.java
+++ /dev/null
@@ -1,32 +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.ssh.api.job;
-
-/**
- * Created by IntelliJ IDEA.
- * User: lahirugunathilake
- * Date: 8/22/13
- * Time: 7:19 AM
- * To change this template use File | Settings | File Templates.
- */
-public enum JobType {
-            SERIAL, SINGLE, MPI, MULTIPLE, CONDOR
-}


[4/8] airavata git commit: Resolve compilation issues in gfac module after module refactoring

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/19afc7e0/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
new file mode 100644
index 0000000..888d3ae
--- /dev/null
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/x2012/x12/impl/PbsParamsImpl.java
@@ -0,0 +1,4174 @@
+/*
+ * 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");
+    
+    
+    /**
+     * 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.XmlString sTime)
+    {
+        synchronized (monitor())
+        {
+            check_orphaned();
+            org.apache.xmlbeans.XmlString target = null;
+            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(STIME$60, 0);
+            if (target == null)
+            {
+                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(STIME$60);
+            }
+            target.set(sTime);
+        }
+    }
+    
+    /**
+     * Unsets the "sTime" element
+     */
+    public void unsetSTime()
+    {
+        synchronized (monitor())
+        {
+            check_orphaned();
+            get_store().remove_element(STIME$60, 0);
+        }
+    }
+    
+    /**
+     * Gets the "compTime" element
+     */
+    public java.lang.String getCompTime()
+    {
+        synchronized (monitor())
+        {
+            check_orphaned();
+            org.apache.xmlbeans.SimpleValue target = null;
+            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMPTIME$62, 0);
+            if (target == null)
+            {
+                return null;
+            }
+            return target.getStringValue(

<TRUNCATED>