airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [28/31] airavata git commit: generated new data model classes.
Date Fri, 12 Jun 2015 23:16:57 GMT
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/airavata_apiConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/airavata_apiConstants.java
b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/airavata_apiConstants.java
new file mode 100644
index 0000000..6a01675
--- /dev/null
+++ b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/airavata_apiConstants.java
@@ -0,0 +1,72 @@
+/**
+ * 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.
+ */
+
+/**
+ * Autogenerated by Thrift Compiler (0.9.2)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+package org.apache.airavata.api;
+
+import org.apache.thrift.scheme.IScheme;
+import org.apache.thrift.scheme.SchemeFactory;
+import org.apache.thrift.scheme.StandardScheme;
+
+import org.apache.thrift.scheme.TupleScheme;
+import org.apache.thrift.protocol.TTupleProtocol;
+import org.apache.thrift.protocol.TProtocolException;
+import org.apache.thrift.EncodingUtils;
+import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.EnumMap;
+import java.util.Set;
+import java.util.HashSet;
+import java.util.EnumSet;
+import java.util.Collections;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import javax.annotation.Generated;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+public class airavata_apiConstants {
+
+  /**
+   * Airavata Interface Versions depend upon this Thrift Interface File. When Making changes,
please edit the
+   *  Version Constants according to Semantic Versioning Specification (SemVer) http://semver.org.
+   * 
+   * Note: The Airavata API version may be different from the Airavata software release versions.
+   * 
+   * The Airavata API version is composed as a dot delimited string with major, minor, and
patch level components.
+   * 
+   *  - Major: Incremented for backward incompatible changes. An example would be changes
to interfaces.
+   *  - Minor: Incremented for backward compatible changes. An example would be the addition
of a new optional methods.
+   *  - Patch: Incremented for bug fixes. The patch level should be increased for every edit
that doesn't result
+   *              in a change to major/minor version numbers.
+   * 
+   */
+  public static final String AIRAVATA_API_VERSION = "0.15.0";
+
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
index 505ae78..6f1bde0 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
@@ -51,7 +51,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
 public class Workflow implements org.apache.thrift.TBase<Workflow, Workflow._Fields>,
java.io.Serializable, Cloneable, Comparable<Workflow> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Workflow");
 
@@ -72,8 +72,8 @@ public class Workflow implements org.apache.thrift.TBase<Workflow, Workflow._Fie
   private String name; // required
   private String graph; // optional
   private ByteBuffer image; // optional
-  private List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>
workflowInputs; // optional
-  private List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>
workflowOutputs; // optional
+  private List<org.apache.airavata.model.application.io.InputDataObjectType> workflowInputs;
// optional
+  private List<org.apache.airavata.model.application.io.OutputDataObjectType> workflowOutputs;
// optional
 
   /** The set of fields this struct contains, along with convenience methods for finding
and manipulating them. */
   public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -163,10 +163,10 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
         new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING
       , true)));
     tmpMap.put(_Fields.WORKFLOW_INPUTS, new org.apache.thrift.meta_data.FieldMetaData("workflowInputs",
org.apache.thrift.TFieldRequirementType.OPTIONAL, 
         new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,

-            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT,
org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType.class))));
+            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT,
org.apache.airavata.model.application.io.InputDataObjectType.class))));
     tmpMap.put(_Fields.WORKFLOW_OUTPUTS, new org.apache.thrift.meta_data.FieldMetaData("workflowOutputs",
org.apache.thrift.TFieldRequirementType.OPTIONAL, 
         new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,

-            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT,
org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType.class))));
+            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT,
org.apache.airavata.model.application.io.OutputDataObjectType.class))));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
     org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Workflow.class, metaDataMap);
   }
@@ -202,16 +202,16 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
       this.image = org.apache.thrift.TBaseHelper.copyBinary(other.image);
     }
     if (other.isSetWorkflowInputs()) {
-      List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> __this__workflowInputs
= new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(other.workflowInputs.size());
-      for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType other_element
: other.workflowInputs) {
-        __this__workflowInputs.add(new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType(other_element));
+      List<org.apache.airavata.model.application.io.InputDataObjectType> __this__workflowInputs
= new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(other.workflowInputs.size());
+      for (org.apache.airavata.model.application.io.InputDataObjectType other_element : other.workflowInputs)
{
+        __this__workflowInputs.add(new org.apache.airavata.model.application.io.InputDataObjectType(other_element));
       }
       this.workflowInputs = __this__workflowInputs;
     }
     if (other.isSetWorkflowOutputs()) {
-      List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>
__this__workflowOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(other.workflowOutputs.size());
-      for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType other_element
: other.workflowOutputs) {
-        __this__workflowOutputs.add(new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType(other_element));
+      List<org.apache.airavata.model.application.io.OutputDataObjectType> __this__workflowOutputs
= new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(other.workflowOutputs.size());
+      for (org.apache.airavata.model.application.io.OutputDataObjectType other_element :
other.workflowOutputs) {
+        __this__workflowOutputs.add(new org.apache.airavata.model.application.io.OutputDataObjectType(other_element));
       }
       this.workflowOutputs = __this__workflowOutputs;
     }
@@ -337,22 +337,22 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
     return (this.workflowInputs == null) ? 0 : this.workflowInputs.size();
   }
 
-  public java.util.Iterator<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>
getWorkflowInputsIterator() {
+  public java.util.Iterator<org.apache.airavata.model.application.io.InputDataObjectType>
getWorkflowInputsIterator() {
     return (this.workflowInputs == null) ? null : this.workflowInputs.iterator();
   }
 
-  public void addToWorkflowInputs(org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType
elem) {
+  public void addToWorkflowInputs(org.apache.airavata.model.application.io.InputDataObjectType
elem) {
     if (this.workflowInputs == null) {
-      this.workflowInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>();
+      this.workflowInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>();
     }
     this.workflowInputs.add(elem);
   }
 
-  public List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>
getWorkflowInputs() {
+  public List<org.apache.airavata.model.application.io.InputDataObjectType> getWorkflowInputs()
{
     return this.workflowInputs;
   }
 
-  public void setWorkflowInputs(List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>
workflowInputs) {
+  public void setWorkflowInputs(List<org.apache.airavata.model.application.io.InputDataObjectType>
workflowInputs) {
     this.workflowInputs = workflowInputs;
   }
 
@@ -375,22 +375,22 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
     return (this.workflowOutputs == null) ? 0 : this.workflowOutputs.size();
   }
 
-  public java.util.Iterator<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>
getWorkflowOutputsIterator() {
+  public java.util.Iterator<org.apache.airavata.model.application.io.OutputDataObjectType>
getWorkflowOutputsIterator() {
     return (this.workflowOutputs == null) ? null : this.workflowOutputs.iterator();
   }
 
-  public void addToWorkflowOutputs(org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType
elem) {
+  public void addToWorkflowOutputs(org.apache.airavata.model.application.io.OutputDataObjectType
elem) {
     if (this.workflowOutputs == null) {
-      this.workflowOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>();
+      this.workflowOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>();
     }
     this.workflowOutputs.add(elem);
   }
 
-  public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>
getWorkflowOutputs() {
+  public List<org.apache.airavata.model.application.io.OutputDataObjectType> getWorkflowOutputs()
{
     return this.workflowOutputs;
   }
 
-  public void setWorkflowOutputs(List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>
workflowOutputs) {
+  public void setWorkflowOutputs(List<org.apache.airavata.model.application.io.OutputDataObjectType>
workflowOutputs) {
     this.workflowOutputs = workflowOutputs;
   }
 
@@ -447,7 +447,7 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
       if (value == null) {
         unsetWorkflowInputs();
       } else {
-        setWorkflowInputs((List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>)value);
+        setWorkflowInputs((List<org.apache.airavata.model.application.io.InputDataObjectType>)value);
       }
       break;
 
@@ -455,7 +455,7 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
       if (value == null) {
         unsetWorkflowOutputs();
       } else {
-        setWorkflowOutputs((List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>)value);
+        setWorkflowOutputs((List<org.apache.airavata.model.application.io.OutputDataObjectType>)value);
       }
       break;
 
@@ -846,11 +846,11 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
                 org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
-                struct.workflowInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(_list0.size);
-                org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem1;
+                struct.workflowInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(_list0.size);
+                org.apache.airavata.model.application.io.InputDataObjectType _elem1;
                 for (int _i2 = 0; _i2 < _list0.size; ++_i2)
                 {
-                  _elem1 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
+                  _elem1 = new org.apache.airavata.model.application.io.InputDataObjectType();
                   _elem1.read(iprot);
                   struct.workflowInputs.add(_elem1);
                 }
@@ -865,11 +865,11 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
                 org.apache.thrift.protocol.TList _list3 = iprot.readListBegin();
-                struct.workflowOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list3.size);
-                org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem4;
+                struct.workflowOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list3.size);
+                org.apache.airavata.model.application.io.OutputDataObjectType _elem4;
                 for (int _i5 = 0; _i5 < _list3.size; ++_i5)
                 {
-                  _elem4 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
+                  _elem4 = new org.apache.airavata.model.application.io.OutputDataObjectType();
                   _elem4.read(iprot);
                   struct.workflowOutputs.add(_elem4);
                 }
@@ -922,7 +922,7 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
           oprot.writeFieldBegin(WORKFLOW_INPUTS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT,
struct.workflowInputs.size()));
-            for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _iter6
: struct.workflowInputs)
+            for (org.apache.airavata.model.application.io.InputDataObjectType _iter6 : struct.workflowInputs)
             {
               _iter6.write(oprot);
             }
@@ -936,7 +936,7 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
           oprot.writeFieldBegin(WORKFLOW_OUTPUTS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT,
struct.workflowOutputs.size()));
-            for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _iter7
: struct.workflowOutputs)
+            for (org.apache.airavata.model.application.io.OutputDataObjectType _iter7 : struct.workflowOutputs)
             {
               _iter7.write(oprot);
             }
@@ -987,7 +987,7 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
       if (struct.isSetWorkflowInputs()) {
         {
           oprot.writeI32(struct.workflowInputs.size());
-          for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _iter8
: struct.workflowInputs)
+          for (org.apache.airavata.model.application.io.InputDataObjectType _iter8 : struct.workflowInputs)
           {
             _iter8.write(oprot);
           }
@@ -996,7 +996,7 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
       if (struct.isSetWorkflowOutputs()) {
         {
           oprot.writeI32(struct.workflowOutputs.size());
-          for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _iter9
: struct.workflowOutputs)
+          for (org.apache.airavata.model.application.io.OutputDataObjectType _iter9 : struct.workflowOutputs)
           {
             _iter9.write(oprot);
           }
@@ -1023,11 +1023,11 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
       if (incoming.get(2)) {
         {
           org.apache.thrift.protocol.TList _list10 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT,
iprot.readI32());
-          struct.workflowInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(_list10.size);
-          org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem11;
+          struct.workflowInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(_list10.size);
+          org.apache.airavata.model.application.io.InputDataObjectType _elem11;
           for (int _i12 = 0; _i12 < _list10.size; ++_i12)
           {
-            _elem11 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
+            _elem11 = new org.apache.airavata.model.application.io.InputDataObjectType();
             _elem11.read(iprot);
             struct.workflowInputs.add(_elem11);
           }
@@ -1037,11 +1037,11 @@ public class Workflow implements org.apache.thrift.TBase<Workflow,
Workflow._Fie
       if (incoming.get(3)) {
         {
           org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT,
iprot.readI32());
-          struct.workflowOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list13.size);
-          org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem14;
+          struct.workflowOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list13.size);
+          org.apache.airavata.model.application.io.OutputDataObjectType _elem14;
           for (int _i15 = 0; _i15 < _list13.size; ++_i15)
           {
-            _elem14 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
+            _elem14 = new org.apache.airavata.model.application.io.OutputDataObjectType();
             _elem14.read(iprot);
             struct.workflowOutputs.add(_elem14);
           }

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationDeploymentDescription.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationDeploymentDescription.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationDeploymentDescription.java
index 022d80a..b487511 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationDeploymentDescription.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationDeploymentDescription.java
@@ -77,7 +77,7 @@ import org.slf4j.LoggerFactory;
  *  assigns to the environment variable "NAME" the value
  * 
  */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
 public class ApplicationDeploymentDescription implements org.apache.thrift.TBase<ApplicationDeploymentDescription,
ApplicationDeploymentDescription._Fields>, java.io.Serializable, Cloneable, Comparable<ApplicationDeploymentDescription>
{
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ApplicationDeploymentDescription");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationModule.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationModule.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationModule.java
index 0b19fba..88d7fc8 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationModule.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationModule.java
@@ -66,7 +66,7 @@ import org.slf4j.LoggerFactory;
  *    Descriprion of the Module
  * 
  */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
 public class ApplicationModule implements org.apache.thrift.TBase<ApplicationModule, ApplicationModule._Fields>,
java.io.Serializable, Cloneable, Comparable<ApplicationModule> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ApplicationModule");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/SetEnvPaths.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/SetEnvPaths.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/SetEnvPaths.java
index 8af9964..dbab74e 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/SetEnvPaths.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/SetEnvPaths.java
@@ -60,7 +60,7 @@ import org.slf4j.LoggerFactory;
  * value:
  *   Value of the environment variable to set
  */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
 public class SetEnvPaths implements org.apache.thrift.TBase<SetEnvPaths, SetEnvPaths._Fields>,
java.io.Serializable, Cloneable, Comparable<SetEnvPaths> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SetEnvPaths");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/applicationDeploymentModelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/applicationDeploymentModelConstants.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/applicationDeploymentModelConstants.java
deleted file mode 100644
index 1fdab2c..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/applicationDeploymentModelConstants.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-package org.apache.airavata.model.appcatalog.appdeployment;
-
-import org.apache.thrift.scheme.IScheme;
-import org.apache.thrift.scheme.SchemeFactory;
-import org.apache.thrift.scheme.StandardScheme;
-
-import org.apache.thrift.scheme.TupleScheme;
-import org.apache.thrift.protocol.TTupleProtocol;
-import org.apache.thrift.protocol.TProtocolException;
-import org.apache.thrift.EncodingUtils;
-import org.apache.thrift.TException;
-import org.apache.thrift.async.AsyncMethodCallback;
-import org.apache.thrift.server.AbstractNonblockingServer.*;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.EnumMap;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.EnumSet;
-import java.util.Collections;
-import java.util.BitSet;
-import java.nio.ByteBuffer;
-import java.util.Arrays;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-@SuppressWarnings("all") public class applicationDeploymentModelConstants {
-
-  public static final String DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/application_deployment_modelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/application_deployment_modelConstants.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/application_deployment_modelConstants.java
new file mode 100644
index 0000000..1ec257a
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/application_deployment_modelConstants.java
@@ -0,0 +1,58 @@
+/**
+ * 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.
+ */
+
+/**
+ * Autogenerated by Thrift Compiler (0.9.2)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+package org.apache.airavata.model.appcatalog.appdeployment;
+
+import org.apache.thrift.scheme.IScheme;
+import org.apache.thrift.scheme.SchemeFactory;
+import org.apache.thrift.scheme.StandardScheme;
+
+import org.apache.thrift.scheme.TupleScheme;
+import org.apache.thrift.protocol.TTupleProtocol;
+import org.apache.thrift.protocol.TProtocolException;
+import org.apache.thrift.EncodingUtils;
+import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.EnumMap;
+import java.util.Set;
+import java.util.HashSet;
+import java.util.EnumSet;
+import java.util.Collections;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import javax.annotation.Generated;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+public class application_deployment_modelConstants {
+
+  public static final String DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
+
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
index 0950a38..2a3648a 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
@@ -64,7 +64,7 @@ import org.slf4j.LoggerFactory;
  *   Outputs generated from the application
  * 
  */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
 public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<ApplicationInterfaceDescription,
ApplicationInterfaceDescription._Fields>, java.io.Serializable, Cloneable, Comparable<ApplicationInterfaceDescription>
{
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ApplicationInterfaceDescription");
 
@@ -85,8 +85,8 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
   private String applicationName; // required
   private String applicationDescription; // optional
   private List<String> applicationModules; // optional
-  private List<InputDataObjectType> applicationInputs; // optional
-  private List<OutputDataObjectType> applicationOutputs; // optional
+  private List<org.apache.airavata.model.application.io.InputDataObjectType> applicationInputs;
// optional
+  private List<org.apache.airavata.model.application.io.OutputDataObjectType> applicationOutputs;
// optional
 
   /** The set of fields this struct contains, along with convenience methods for finding
and manipulating them. */
   public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -177,10 +177,10 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
             new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
     tmpMap.put(_Fields.APPLICATION_INPUTS, new org.apache.thrift.meta_data.FieldMetaData("applicationInputs",
org.apache.thrift.TFieldRequirementType.OPTIONAL, 
         new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,

-            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT,
InputDataObjectType.class))));
+            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT,
org.apache.airavata.model.application.io.InputDataObjectType.class))));
     tmpMap.put(_Fields.APPLICATION_OUTPUTS, new org.apache.thrift.meta_data.FieldMetaData("applicationOutputs",
org.apache.thrift.TFieldRequirementType.OPTIONAL, 
         new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,

-            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT,
OutputDataObjectType.class))));
+            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT,
org.apache.airavata.model.application.io.OutputDataObjectType.class))));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
     org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ApplicationInterfaceDescription.class,
metaDataMap);
   }
@@ -217,16 +217,16 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
       this.applicationModules = __this__applicationModules;
     }
     if (other.isSetApplicationInputs()) {
-      List<InputDataObjectType> __this__applicationInputs = new ArrayList<InputDataObjectType>(other.applicationInputs.size());
-      for (InputDataObjectType other_element : other.applicationInputs) {
-        __this__applicationInputs.add(new InputDataObjectType(other_element));
+      List<org.apache.airavata.model.application.io.InputDataObjectType> __this__applicationInputs
= new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(other.applicationInputs.size());
+      for (org.apache.airavata.model.application.io.InputDataObjectType other_element : other.applicationInputs)
{
+        __this__applicationInputs.add(new org.apache.airavata.model.application.io.InputDataObjectType(other_element));
       }
       this.applicationInputs = __this__applicationInputs;
     }
     if (other.isSetApplicationOutputs()) {
-      List<OutputDataObjectType> __this__applicationOutputs = new ArrayList<OutputDataObjectType>(other.applicationOutputs.size());
-      for (OutputDataObjectType other_element : other.applicationOutputs) {
-        __this__applicationOutputs.add(new OutputDataObjectType(other_element));
+      List<org.apache.airavata.model.application.io.OutputDataObjectType> __this__applicationOutputs
= new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(other.applicationOutputs.size());
+      for (org.apache.airavata.model.application.io.OutputDataObjectType other_element :
other.applicationOutputs) {
+        __this__applicationOutputs.add(new org.apache.airavata.model.application.io.OutputDataObjectType(other_element));
       }
       this.applicationOutputs = __this__applicationOutputs;
     }
@@ -358,22 +358,22 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
     return (this.applicationInputs == null) ? 0 : this.applicationInputs.size();
   }
 
-  public java.util.Iterator<InputDataObjectType> getApplicationInputsIterator() {
+  public java.util.Iterator<org.apache.airavata.model.application.io.InputDataObjectType>
getApplicationInputsIterator() {
     return (this.applicationInputs == null) ? null : this.applicationInputs.iterator();
   }
 
-  public void addToApplicationInputs(InputDataObjectType elem) {
+  public void addToApplicationInputs(org.apache.airavata.model.application.io.InputDataObjectType
elem) {
     if (this.applicationInputs == null) {
-      this.applicationInputs = new ArrayList<InputDataObjectType>();
+      this.applicationInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>();
     }
     this.applicationInputs.add(elem);
   }
 
-  public List<InputDataObjectType> getApplicationInputs() {
+  public List<org.apache.airavata.model.application.io.InputDataObjectType> getApplicationInputs()
{
     return this.applicationInputs;
   }
 
-  public void setApplicationInputs(List<InputDataObjectType> applicationInputs) {
+  public void setApplicationInputs(List<org.apache.airavata.model.application.io.InputDataObjectType>
applicationInputs) {
     this.applicationInputs = applicationInputs;
   }
 
@@ -396,22 +396,22 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
     return (this.applicationOutputs == null) ? 0 : this.applicationOutputs.size();
   }
 
-  public java.util.Iterator<OutputDataObjectType> getApplicationOutputsIterator() {
+  public java.util.Iterator<org.apache.airavata.model.application.io.OutputDataObjectType>
getApplicationOutputsIterator() {
     return (this.applicationOutputs == null) ? null : this.applicationOutputs.iterator();
   }
 
-  public void addToApplicationOutputs(OutputDataObjectType elem) {
+  public void addToApplicationOutputs(org.apache.airavata.model.application.io.OutputDataObjectType
elem) {
     if (this.applicationOutputs == null) {
-      this.applicationOutputs = new ArrayList<OutputDataObjectType>();
+      this.applicationOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>();
     }
     this.applicationOutputs.add(elem);
   }
 
-  public List<OutputDataObjectType> getApplicationOutputs() {
+  public List<org.apache.airavata.model.application.io.OutputDataObjectType> getApplicationOutputs()
{
     return this.applicationOutputs;
   }
 
-  public void setApplicationOutputs(List<OutputDataObjectType> applicationOutputs)
{
+  public void setApplicationOutputs(List<org.apache.airavata.model.application.io.OutputDataObjectType>
applicationOutputs) {
     this.applicationOutputs = applicationOutputs;
   }
 
@@ -468,7 +468,7 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
       if (value == null) {
         unsetApplicationInputs();
       } else {
-        setApplicationInputs((List<InputDataObjectType>)value);
+        setApplicationInputs((List<org.apache.airavata.model.application.io.InputDataObjectType>)value);
       }
       break;
 
@@ -476,7 +476,7 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
       if (value == null) {
         unsetApplicationOutputs();
       } else {
-        setApplicationOutputs((List<OutputDataObjectType>)value);
+        setApplicationOutputs((List<org.apache.airavata.model.application.io.OutputDataObjectType>)value);
       }
       break;
 
@@ -877,11 +877,11 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
                 org.apache.thrift.protocol.TList _list3 = iprot.readListBegin();
-                struct.applicationInputs = new ArrayList<InputDataObjectType>(_list3.size);
-                InputDataObjectType _elem4;
+                struct.applicationInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(_list3.size);
+                org.apache.airavata.model.application.io.InputDataObjectType _elem4;
                 for (int _i5 = 0; _i5 < _list3.size; ++_i5)
                 {
-                  _elem4 = new InputDataObjectType();
+                  _elem4 = new org.apache.airavata.model.application.io.InputDataObjectType();
                   _elem4.read(iprot);
                   struct.applicationInputs.add(_elem4);
                 }
@@ -896,11 +896,11 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
                 org.apache.thrift.protocol.TList _list6 = iprot.readListBegin();
-                struct.applicationOutputs = new ArrayList<OutputDataObjectType>(_list6.size);
-                OutputDataObjectType _elem7;
+                struct.applicationOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list6.size);
+                org.apache.airavata.model.application.io.OutputDataObjectType _elem7;
                 for (int _i8 = 0; _i8 < _list6.size; ++_i8)
                 {
-                  _elem7 = new OutputDataObjectType();
+                  _elem7 = new org.apache.airavata.model.application.io.OutputDataObjectType();
                   _elem7.read(iprot);
                   struct.applicationOutputs.add(_elem7);
                 }
@@ -960,7 +960,7 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
           oprot.writeFieldBegin(APPLICATION_INPUTS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT,
struct.applicationInputs.size()));
-            for (InputDataObjectType _iter10 : struct.applicationInputs)
+            for (org.apache.airavata.model.application.io.InputDataObjectType _iter10 : struct.applicationInputs)
             {
               _iter10.write(oprot);
             }
@@ -974,7 +974,7 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
           oprot.writeFieldBegin(APPLICATION_OUTPUTS_FIELD_DESC);
           {
             oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT,
struct.applicationOutputs.size()));
-            for (OutputDataObjectType _iter11 : struct.applicationOutputs)
+            for (org.apache.airavata.model.application.io.OutputDataObjectType _iter11 :
struct.applicationOutputs)
             {
               _iter11.write(oprot);
             }
@@ -1031,7 +1031,7 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
       if (struct.isSetApplicationInputs()) {
         {
           oprot.writeI32(struct.applicationInputs.size());
-          for (InputDataObjectType _iter13 : struct.applicationInputs)
+          for (org.apache.airavata.model.application.io.InputDataObjectType _iter13 : struct.applicationInputs)
           {
             _iter13.write(oprot);
           }
@@ -1040,7 +1040,7 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
       if (struct.isSetApplicationOutputs()) {
         {
           oprot.writeI32(struct.applicationOutputs.size());
-          for (OutputDataObjectType _iter14 : struct.applicationOutputs)
+          for (org.apache.airavata.model.application.io.OutputDataObjectType _iter14 : struct.applicationOutputs)
           {
             _iter14.write(oprot);
           }
@@ -1076,11 +1076,11 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
       if (incoming.get(2)) {
         {
           org.apache.thrift.protocol.TList _list18 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT,
iprot.readI32());
-          struct.applicationInputs = new ArrayList<InputDataObjectType>(_list18.size);
-          InputDataObjectType _elem19;
+          struct.applicationInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(_list18.size);
+          org.apache.airavata.model.application.io.InputDataObjectType _elem19;
           for (int _i20 = 0; _i20 < _list18.size; ++_i20)
           {
-            _elem19 = new InputDataObjectType();
+            _elem19 = new org.apache.airavata.model.application.io.InputDataObjectType();
             _elem19.read(iprot);
             struct.applicationInputs.add(_elem19);
           }
@@ -1090,11 +1090,11 @@ public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<
       if (incoming.get(3)) {
         {
           org.apache.thrift.protocol.TList _list21 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT,
iprot.readI32());
-          struct.applicationOutputs = new ArrayList<OutputDataObjectType>(_list21.size);
-          OutputDataObjectType _elem22;
+          struct.applicationOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list21.size);
+          org.apache.airavata.model.application.io.OutputDataObjectType _elem22;
           for (int _i23 = 0; _i23 < _list21.size; ++_i23)
           {
-            _elem22 = new OutputDataObjectType();
+            _elem22 = new org.apache.airavata.model.application.io.OutputDataObjectType();
             _elem22.read(iprot);
             struct.applicationOutputs.add(_elem22);
           }

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/DataType.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/DataType.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/DataType.java
deleted file mode 100644
index 9a502c9..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/DataType.java
+++ /dev/null
@@ -1,78 +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.
- */
-
-/**
- * Autogenerated by Thrift Compiler (0.9.2)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-package org.apache.airavata.model.appcatalog.appinterface;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-/**
- * Data Types supported in Airavata. The primitive data types
- * 
- */
-public enum DataType implements org.apache.thrift.TEnum {
-  STRING(0),
-  INTEGER(1),
-  FLOAT(2),
-  URI(3),
-  STDOUT(4),
-  STDERR(5);
-
-  private final int value;
-
-  private DataType(int value) {
-    this.value = value;
-  }
-
-  /**
-   * Get the integer value of this enum value, as defined in the Thrift IDL.
-   */
-  public int getValue() {
-    return value;
-  }
-
-  /**
-   * Find a the enum type by its integer value, as defined in the Thrift IDL.
-   * @return null if the value is not found.
-   */
-  public static DataType findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return STRING;
-      case 1:
-        return INTEGER;
-      case 2:
-        return FLOAT;
-      case 3:
-        return URI;
-      case 4:
-        return STDOUT;
-      case 5:
-        return STDERR;
-      default:
-        return null;
-    }
-  }
-}


Mime
View raw message