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/13 01:16:30 UTC

[01/31] airavata git commit: generated new data model classes.

Repository: airavata
Updated Branches:
  refs/heads/master c40488350 -> 51fa27b80


http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeStatus.java
deleted file mode 100644
index ed7a3e2..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeStatus.java
+++ /dev/null
@@ -1,525 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class WorkflowNodeStatus implements org.apache.thrift.TBase<WorkflowNodeStatus, WorkflowNodeStatus._Fields>, java.io.Serializable, Cloneable, Comparable<WorkflowNodeStatus> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("WorkflowNodeStatus");
-
-  private static final org.apache.thrift.protocol.TField WORKFLOW_NODE_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("workflowNodeState", org.apache.thrift.protocol.TType.I32, (short)1);
-  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new WorkflowNodeStatusStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new WorkflowNodeStatusTupleSchemeFactory());
-  }
-
-  private WorkflowNodeState workflowNodeState; // required
-  private long timeOfStateChange; // 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 {
-    /**
-     * 
-     * @see WorkflowNodeState
-     */
-    WORKFLOW_NODE_STATE((short)1, "workflowNodeState"),
-    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // WORKFLOW_NODE_STATE
-          return WORKFLOW_NODE_STATE;
-        case 2: // TIME_OF_STATE_CHANGE
-          return TIME_OF_STATE_CHANGE;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.WORKFLOW_NODE_STATE, new org.apache.thrift.meta_data.FieldMetaData("workflowNodeState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, WorkflowNodeState.class)));
-    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(WorkflowNodeStatus.class, metaDataMap);
-  }
-
-  public WorkflowNodeStatus() {
-  }
-
-  public WorkflowNodeStatus(
-    WorkflowNodeState workflowNodeState)
-  {
-    this();
-    this.workflowNodeState = workflowNodeState;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public WorkflowNodeStatus(WorkflowNodeStatus other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetWorkflowNodeState()) {
-      this.workflowNodeState = other.workflowNodeState;
-    }
-    this.timeOfStateChange = other.timeOfStateChange;
-  }
-
-  public WorkflowNodeStatus deepCopy() {
-    return new WorkflowNodeStatus(this);
-  }
-
-  @Override
-  public void clear() {
-    this.workflowNodeState = null;
-    setTimeOfStateChangeIsSet(false);
-    this.timeOfStateChange = 0;
-  }
-
-  /**
-   * 
-   * @see WorkflowNodeState
-   */
-  public WorkflowNodeState getWorkflowNodeState() {
-    return this.workflowNodeState;
-  }
-
-  /**
-   * 
-   * @see WorkflowNodeState
-   */
-  public void setWorkflowNodeState(WorkflowNodeState workflowNodeState) {
-    this.workflowNodeState = workflowNodeState;
-  }
-
-  public void unsetWorkflowNodeState() {
-    this.workflowNodeState = null;
-  }
-
-  /** Returns true if field workflowNodeState is set (has been assigned a value) and false otherwise */
-  public boolean isSetWorkflowNodeState() {
-    return this.workflowNodeState != null;
-  }
-
-  public void setWorkflowNodeStateIsSet(boolean value) {
-    if (!value) {
-      this.workflowNodeState = null;
-    }
-  }
-
-  public long getTimeOfStateChange() {
-    return this.timeOfStateChange;
-  }
-
-  public void setTimeOfStateChange(long timeOfStateChange) {
-    this.timeOfStateChange = timeOfStateChange;
-    setTimeOfStateChangeIsSet(true);
-  }
-
-  public void unsetTimeOfStateChange() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
-  public boolean isSetTimeOfStateChange() {
-    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  public void setTimeOfStateChangeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case WORKFLOW_NODE_STATE:
-      if (value == null) {
-        unsetWorkflowNodeState();
-      } else {
-        setWorkflowNodeState((WorkflowNodeState)value);
-      }
-      break;
-
-    case TIME_OF_STATE_CHANGE:
-      if (value == null) {
-        unsetTimeOfStateChange();
-      } else {
-        setTimeOfStateChange((Long)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case WORKFLOW_NODE_STATE:
-      return getWorkflowNodeState();
-
-    case TIME_OF_STATE_CHANGE:
-      return Long.valueOf(getTimeOfStateChange());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case WORKFLOW_NODE_STATE:
-      return isSetWorkflowNodeState();
-    case TIME_OF_STATE_CHANGE:
-      return isSetTimeOfStateChange();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof WorkflowNodeStatus)
-      return this.equals((WorkflowNodeStatus)that);
-    return false;
-  }
-
-  public boolean equals(WorkflowNodeStatus that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_workflowNodeState = true && this.isSetWorkflowNodeState();
-    boolean that_present_workflowNodeState = true && that.isSetWorkflowNodeState();
-    if (this_present_workflowNodeState || that_present_workflowNodeState) {
-      if (!(this_present_workflowNodeState && that_present_workflowNodeState))
-        return false;
-      if (!this.workflowNodeState.equals(that.workflowNodeState))
-        return false;
-    }
-
-    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
-    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
-    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
-      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
-        return false;
-      if (this.timeOfStateChange != that.timeOfStateChange)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_workflowNodeState = true && (isSetWorkflowNodeState());
-    list.add(present_workflowNodeState);
-    if (present_workflowNodeState)
-      list.add(workflowNodeState.getValue());
-
-    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
-    list.add(present_timeOfStateChange);
-    if (present_timeOfStateChange)
-      list.add(timeOfStateChange);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(WorkflowNodeStatus other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetWorkflowNodeState()).compareTo(other.isSetWorkflowNodeState());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWorkflowNodeState()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workflowNodeState, other.workflowNodeState);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTimeOfStateChange()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("WorkflowNodeStatus(");
-    boolean first = true;
-
-    sb.append("workflowNodeState:");
-    if (this.workflowNodeState == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.workflowNodeState);
-    }
-    first = false;
-    if (isSetTimeOfStateChange()) {
-      if (!first) sb.append(", ");
-      sb.append("timeOfStateChange:");
-      sb.append(this.timeOfStateChange);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetWorkflowNodeState()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'workflowNodeState' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class WorkflowNodeStatusStandardSchemeFactory implements SchemeFactory {
-    public WorkflowNodeStatusStandardScheme getScheme() {
-      return new WorkflowNodeStatusStandardScheme();
-    }
-  }
-
-  private static class WorkflowNodeStatusStandardScheme extends StandardScheme<WorkflowNodeStatus> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, WorkflowNodeStatus struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // WORKFLOW_NODE_STATE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.workflowNodeState = org.apache.airavata.model.workspace.experiment.WorkflowNodeState.findByValue(iprot.readI32());
-              struct.setWorkflowNodeStateIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // TIME_OF_STATE_CHANGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.timeOfStateChange = iprot.readI64();
-              struct.setTimeOfStateChangeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, WorkflowNodeStatus struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.workflowNodeState != null) {
-        oprot.writeFieldBegin(WORKFLOW_NODE_STATE_FIELD_DESC);
-        oprot.writeI32(struct.workflowNodeState.getValue());
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
-        oprot.writeI64(struct.timeOfStateChange);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class WorkflowNodeStatusTupleSchemeFactory implements SchemeFactory {
-    public WorkflowNodeStatusTupleScheme getScheme() {
-      return new WorkflowNodeStatusTupleScheme();
-    }
-  }
-
-  private static class WorkflowNodeStatusTupleScheme extends TupleScheme<WorkflowNodeStatus> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, WorkflowNodeStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeI32(struct.workflowNodeState.getValue());
-      BitSet optionals = new BitSet();
-      if (struct.isSetTimeOfStateChange()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeI64(struct.timeOfStateChange);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, WorkflowNodeStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.workflowNodeState = org.apache.airavata.model.workspace.experiment.WorkflowNodeState.findByValue(iprot.readI32());
-      struct.setWorkflowNodeStateIsSet(true);
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        struct.timeOfStateChange = iprot.readI64();
-        struct.setTimeOfStateChangeIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/experimentModelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/experimentModelConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/experimentModelConstants.java
deleted file mode 100644
index 388f571..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/experimentModelConstants.java
+++ /dev/null
@@ -1,60 +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.workspace.experiment;
-
-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 experimentModelConstants {
-
-  public static final String DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
-
-  public static final String DEFAULT_PROJECT_NAME = "DEFAULT";
-
-  public static final String SINGLE_APP_NODE_NAME = "SINGLE_APP_NODE";
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/thrift-interface-descriptions/airavata-api/airavata_data_models.thrift
----------------------------------------------------------------------
diff --git a/thrift-interface-descriptions/airavata-api/airavata_data_models.thrift b/thrift-interface-descriptions/airavata-api/airavata_data_models.thrift
index caa747f..349acc3 100644
--- a/thrift-interface-descriptions/airavata-api/airavata_data_models.thrift
+++ b/thrift-interface-descriptions/airavata-api/airavata_data_models.thrift
@@ -22,6 +22,9 @@ include "workspace_model.thrift"
 include "airavata_errors.thrift"
 include "messaging_events.thrift"
 include "security_model.thrift"
+include "job_model.thrift"
+include "task_model.thrift"
+include "process_model.thrift"
 
 namespace java org.apache.airavata.model
 namespace php Airavata.Model


[05/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskDetails.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskDetails.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskDetails.java
deleted file mode 100644
index 6278474..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskDetails.java
+++ /dev/null
@@ -1,2338 +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.workspace.experiment;
-
-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"})
-/**
- * A structure holding the actual execution context decided based on user provided configuration data or system inferred
- *   information from scheduling and QoS parameters. One experiment can have multiple tasks. Each tasks results in
- *   data transfers and jobs
- * 
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class TaskDetails implements org.apache.thrift.TBase<TaskDetails, TaskDetails._Fields>, java.io.Serializable, Cloneable, Comparable<TaskDetails> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskDetails");
-
-  private static final org.apache.thrift.protocol.TField TASK_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("taskID", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)2);
-  private static final org.apache.thrift.protocol.TField APPLICATION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationId", org.apache.thrift.protocol.TType.STRING, (short)3);
-  private static final org.apache.thrift.protocol.TField APPLICATION_VERSION_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationVersion", org.apache.thrift.protocol.TType.STRING, (short)4);
-  private static final org.apache.thrift.protocol.TField APPLICATION_DEPLOYMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationDeploymentId", org.apache.thrift.protocol.TType.STRING, (short)5);
-  private static final org.apache.thrift.protocol.TField APPLICATION_INPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationInputs", org.apache.thrift.protocol.TType.LIST, (short)6);
-  private static final org.apache.thrift.protocol.TField APPLICATION_OUTPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationOutputs", org.apache.thrift.protocol.TType.LIST, (short)7);
-  private static final org.apache.thrift.protocol.TField TASK_SCHEDULING_FIELD_DESC = new org.apache.thrift.protocol.TField("taskScheduling", org.apache.thrift.protocol.TType.STRUCT, (short)8);
-  private static final org.apache.thrift.protocol.TField ADVANCED_INPUT_DATA_HANDLING_FIELD_DESC = new org.apache.thrift.protocol.TField("advancedInputDataHandling", org.apache.thrift.protocol.TType.STRUCT, (short)9);
-  private static final org.apache.thrift.protocol.TField ADVANCED_OUTPUT_DATA_HANDLING_FIELD_DESC = new org.apache.thrift.protocol.TField("advancedOutputDataHandling", org.apache.thrift.protocol.TType.STRUCT, (short)10);
-  private static final org.apache.thrift.protocol.TField TASK_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("taskStatus", org.apache.thrift.protocol.TType.STRUCT, (short)11);
-  private static final org.apache.thrift.protocol.TField JOB_DETAILS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("jobDetailsList", org.apache.thrift.protocol.TType.LIST, (short)12);
-  private static final org.apache.thrift.protocol.TField DATA_TRANSFER_DETAILS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("dataTransferDetailsList", org.apache.thrift.protocol.TType.LIST, (short)13);
-  private static final org.apache.thrift.protocol.TField ERRORS_FIELD_DESC = new org.apache.thrift.protocol.TField("errors", org.apache.thrift.protocol.TType.LIST, (short)14);
-  private static final org.apache.thrift.protocol.TField ENABLE_EMAIL_NOTIFICATION_FIELD_DESC = new org.apache.thrift.protocol.TField("enableEmailNotification", org.apache.thrift.protocol.TType.BOOL, (short)15);
-  private static final org.apache.thrift.protocol.TField EMAIL_ADDRESSES_FIELD_DESC = new org.apache.thrift.protocol.TField("emailAddresses", org.apache.thrift.protocol.TType.LIST, (short)16);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new TaskDetailsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new TaskDetailsTupleSchemeFactory());
-  }
-
-  private String taskID; // required
-  private long creationTime; // optional
-  private String applicationId; // optional
-  private String applicationVersion; // optional
-  private String applicationDeploymentId; // optional
-  private List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> applicationInputs; // optional
-  private List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> applicationOutputs; // optional
-  private ComputationalResourceScheduling taskScheduling; // optional
-  private AdvancedInputDataHandling advancedInputDataHandling; // optional
-  private AdvancedOutputDataHandling advancedOutputDataHandling; // optional
-  private TaskStatus taskStatus; // optional
-  private List<JobDetails> jobDetailsList; // optional
-  private List<DataTransferDetails> dataTransferDetailsList; // optional
-  private List<ErrorDetails> errors; // optional
-  private boolean enableEmailNotification; // optional
-  private List<String> emailAddresses; // 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 {
-    TASK_ID((short)1, "taskID"),
-    CREATION_TIME((short)2, "creationTime"),
-    APPLICATION_ID((short)3, "applicationId"),
-    APPLICATION_VERSION((short)4, "applicationVersion"),
-    APPLICATION_DEPLOYMENT_ID((short)5, "applicationDeploymentId"),
-    APPLICATION_INPUTS((short)6, "applicationInputs"),
-    APPLICATION_OUTPUTS((short)7, "applicationOutputs"),
-    TASK_SCHEDULING((short)8, "taskScheduling"),
-    ADVANCED_INPUT_DATA_HANDLING((short)9, "advancedInputDataHandling"),
-    ADVANCED_OUTPUT_DATA_HANDLING((short)10, "advancedOutputDataHandling"),
-    TASK_STATUS((short)11, "taskStatus"),
-    JOB_DETAILS_LIST((short)12, "jobDetailsList"),
-    DATA_TRANSFER_DETAILS_LIST((short)13, "dataTransferDetailsList"),
-    ERRORS((short)14, "errors"),
-    ENABLE_EMAIL_NOTIFICATION((short)15, "enableEmailNotification"),
-    EMAIL_ADDRESSES((short)16, "emailAddresses");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // TASK_ID
-          return TASK_ID;
-        case 2: // CREATION_TIME
-          return CREATION_TIME;
-        case 3: // APPLICATION_ID
-          return APPLICATION_ID;
-        case 4: // APPLICATION_VERSION
-          return APPLICATION_VERSION;
-        case 5: // APPLICATION_DEPLOYMENT_ID
-          return APPLICATION_DEPLOYMENT_ID;
-        case 6: // APPLICATION_INPUTS
-          return APPLICATION_INPUTS;
-        case 7: // APPLICATION_OUTPUTS
-          return APPLICATION_OUTPUTS;
-        case 8: // TASK_SCHEDULING
-          return TASK_SCHEDULING;
-        case 9: // ADVANCED_INPUT_DATA_HANDLING
-          return ADVANCED_INPUT_DATA_HANDLING;
-        case 10: // ADVANCED_OUTPUT_DATA_HANDLING
-          return ADVANCED_OUTPUT_DATA_HANDLING;
-        case 11: // TASK_STATUS
-          return TASK_STATUS;
-        case 12: // JOB_DETAILS_LIST
-          return JOB_DETAILS_LIST;
-        case 13: // DATA_TRANSFER_DETAILS_LIST
-          return DATA_TRANSFER_DETAILS_LIST;
-        case 14: // ERRORS
-          return ERRORS;
-        case 15: // ENABLE_EMAIL_NOTIFICATION
-          return ENABLE_EMAIL_NOTIFICATION;
-        case 16: // EMAIL_ADDRESSES
-          return EMAIL_ADDRESSES;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __CREATIONTIME_ISSET_ID = 0;
-  private static final int __ENABLEEMAILNOTIFICATION_ISSET_ID = 1;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.APPLICATION_ID,_Fields.APPLICATION_VERSION,_Fields.APPLICATION_DEPLOYMENT_ID,_Fields.APPLICATION_INPUTS,_Fields.APPLICATION_OUTPUTS,_Fields.TASK_SCHEDULING,_Fields.ADVANCED_INPUT_DATA_HANDLING,_Fields.ADVANCED_OUTPUT_DATA_HANDLING,_Fields.TASK_STATUS,_Fields.JOB_DETAILS_LIST,_Fields.DATA_TRANSFER_DETAILS_LIST,_Fields.ERRORS,_Fields.ENABLE_EMAIL_NOTIFICATION,_Fields.EMAIL_ADDRESSES};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.TASK_ID, new org.apache.thrift.meta_data.FieldMetaData("taskID", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    tmpMap.put(_Fields.APPLICATION_ID, new org.apache.thrift.meta_data.FieldMetaData("applicationId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.APPLICATION_VERSION, new org.apache.thrift.meta_data.FieldMetaData("applicationVersion", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.APPLICATION_DEPLOYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("applicationDeploymentId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        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, org.apache.airavata.model.appcatalog.appinterface.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, org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType.class))));
-    tmpMap.put(_Fields.TASK_SCHEDULING, new org.apache.thrift.meta_data.FieldMetaData("taskScheduling", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ComputationalResourceScheduling.class)));
-    tmpMap.put(_Fields.ADVANCED_INPUT_DATA_HANDLING, new org.apache.thrift.meta_data.FieldMetaData("advancedInputDataHandling", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AdvancedInputDataHandling.class)));
-    tmpMap.put(_Fields.ADVANCED_OUTPUT_DATA_HANDLING, new org.apache.thrift.meta_data.FieldMetaData("advancedOutputDataHandling", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AdvancedOutputDataHandling.class)));
-    tmpMap.put(_Fields.TASK_STATUS, new org.apache.thrift.meta_data.FieldMetaData("taskStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TaskStatus.class)));
-    tmpMap.put(_Fields.JOB_DETAILS_LIST, new org.apache.thrift.meta_data.FieldMetaData("jobDetailsList", 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, JobDetails.class))));
-    tmpMap.put(_Fields.DATA_TRANSFER_DETAILS_LIST, new org.apache.thrift.meta_data.FieldMetaData("dataTransferDetailsList", 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, DataTransferDetails.class))));
-    tmpMap.put(_Fields.ERRORS, new org.apache.thrift.meta_data.FieldMetaData("errors", 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, ErrorDetails.class))));
-    tmpMap.put(_Fields.ENABLE_EMAIL_NOTIFICATION, new org.apache.thrift.meta_data.FieldMetaData("enableEmailNotification", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.EMAIL_ADDRESSES, new org.apache.thrift.meta_data.FieldMetaData("emailAddresses", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TaskDetails.class, metaDataMap);
-  }
-
-  public TaskDetails() {
-    this.taskID = "DO_NOT_SET_AT_CLIENTS";
-
-  }
-
-  public TaskDetails(
-    String taskID)
-  {
-    this();
-    this.taskID = taskID;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public TaskDetails(TaskDetails other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetTaskID()) {
-      this.taskID = other.taskID;
-    }
-    this.creationTime = other.creationTime;
-    if (other.isSetApplicationId()) {
-      this.applicationId = other.applicationId;
-    }
-    if (other.isSetApplicationVersion()) {
-      this.applicationVersion = other.applicationVersion;
-    }
-    if (other.isSetApplicationDeploymentId()) {
-      this.applicationDeploymentId = other.applicationDeploymentId;
-    }
-    if (other.isSetApplicationInputs()) {
-      List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> __this__applicationInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(other.applicationInputs.size());
-      for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType other_element : other.applicationInputs) {
-        __this__applicationInputs.add(new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType(other_element));
-      }
-      this.applicationInputs = __this__applicationInputs;
-    }
-    if (other.isSetApplicationOutputs()) {
-      List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> __this__applicationOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(other.applicationOutputs.size());
-      for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType other_element : other.applicationOutputs) {
-        __this__applicationOutputs.add(new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType(other_element));
-      }
-      this.applicationOutputs = __this__applicationOutputs;
-    }
-    if (other.isSetTaskScheduling()) {
-      this.taskScheduling = new ComputationalResourceScheduling(other.taskScheduling);
-    }
-    if (other.isSetAdvancedInputDataHandling()) {
-      this.advancedInputDataHandling = new AdvancedInputDataHandling(other.advancedInputDataHandling);
-    }
-    if (other.isSetAdvancedOutputDataHandling()) {
-      this.advancedOutputDataHandling = new AdvancedOutputDataHandling(other.advancedOutputDataHandling);
-    }
-    if (other.isSetTaskStatus()) {
-      this.taskStatus = new TaskStatus(other.taskStatus);
-    }
-    if (other.isSetJobDetailsList()) {
-      List<JobDetails> __this__jobDetailsList = new ArrayList<JobDetails>(other.jobDetailsList.size());
-      for (JobDetails other_element : other.jobDetailsList) {
-        __this__jobDetailsList.add(new JobDetails(other_element));
-      }
-      this.jobDetailsList = __this__jobDetailsList;
-    }
-    if (other.isSetDataTransferDetailsList()) {
-      List<DataTransferDetails> __this__dataTransferDetailsList = new ArrayList<DataTransferDetails>(other.dataTransferDetailsList.size());
-      for (DataTransferDetails other_element : other.dataTransferDetailsList) {
-        __this__dataTransferDetailsList.add(new DataTransferDetails(other_element));
-      }
-      this.dataTransferDetailsList = __this__dataTransferDetailsList;
-    }
-    if (other.isSetErrors()) {
-      List<ErrorDetails> __this__errors = new ArrayList<ErrorDetails>(other.errors.size());
-      for (ErrorDetails other_element : other.errors) {
-        __this__errors.add(new ErrorDetails(other_element));
-      }
-      this.errors = __this__errors;
-    }
-    this.enableEmailNotification = other.enableEmailNotification;
-    if (other.isSetEmailAddresses()) {
-      List<String> __this__emailAddresses = new ArrayList<String>(other.emailAddresses);
-      this.emailAddresses = __this__emailAddresses;
-    }
-  }
-
-  public TaskDetails deepCopy() {
-    return new TaskDetails(this);
-  }
-
-  @Override
-  public void clear() {
-    this.taskID = "DO_NOT_SET_AT_CLIENTS";
-
-    setCreationTimeIsSet(false);
-    this.creationTime = 0;
-    this.applicationId = null;
-    this.applicationVersion = null;
-    this.applicationDeploymentId = null;
-    this.applicationInputs = null;
-    this.applicationOutputs = null;
-    this.taskScheduling = null;
-    this.advancedInputDataHandling = null;
-    this.advancedOutputDataHandling = null;
-    this.taskStatus = null;
-    this.jobDetailsList = null;
-    this.dataTransferDetailsList = null;
-    this.errors = null;
-    setEnableEmailNotificationIsSet(false);
-    this.enableEmailNotification = false;
-    this.emailAddresses = null;
-  }
-
-  public String getTaskID() {
-    return this.taskID;
-  }
-
-  public void setTaskID(String taskID) {
-    this.taskID = taskID;
-  }
-
-  public void unsetTaskID() {
-    this.taskID = null;
-  }
-
-  /** Returns true if field taskID is set (has been assigned a value) and false otherwise */
-  public boolean isSetTaskID() {
-    return this.taskID != null;
-  }
-
-  public void setTaskIDIsSet(boolean value) {
-    if (!value) {
-      this.taskID = null;
-    }
-  }
-
-  public long getCreationTime() {
-    return this.creationTime;
-  }
-
-  public void setCreationTime(long creationTime) {
-    this.creationTime = creationTime;
-    setCreationTimeIsSet(true);
-  }
-
-  public void unsetCreationTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetCreationTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  public void setCreationTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
-  }
-
-  public String getApplicationId() {
-    return this.applicationId;
-  }
-
-  public void setApplicationId(String applicationId) {
-    this.applicationId = applicationId;
-  }
-
-  public void unsetApplicationId() {
-    this.applicationId = null;
-  }
-
-  /** Returns true if field applicationId is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationId() {
-    return this.applicationId != null;
-  }
-
-  public void setApplicationIdIsSet(boolean value) {
-    if (!value) {
-      this.applicationId = null;
-    }
-  }
-
-  public String getApplicationVersion() {
-    return this.applicationVersion;
-  }
-
-  public void setApplicationVersion(String applicationVersion) {
-    this.applicationVersion = applicationVersion;
-  }
-
-  public void unsetApplicationVersion() {
-    this.applicationVersion = null;
-  }
-
-  /** Returns true if field applicationVersion is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationVersion() {
-    return this.applicationVersion != null;
-  }
-
-  public void setApplicationVersionIsSet(boolean value) {
-    if (!value) {
-      this.applicationVersion = null;
-    }
-  }
-
-  public String getApplicationDeploymentId() {
-    return this.applicationDeploymentId;
-  }
-
-  public void setApplicationDeploymentId(String applicationDeploymentId) {
-    this.applicationDeploymentId = applicationDeploymentId;
-  }
-
-  public void unsetApplicationDeploymentId() {
-    this.applicationDeploymentId = null;
-  }
-
-  /** Returns true if field applicationDeploymentId is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationDeploymentId() {
-    return this.applicationDeploymentId != null;
-  }
-
-  public void setApplicationDeploymentIdIsSet(boolean value) {
-    if (!value) {
-      this.applicationDeploymentId = null;
-    }
-  }
-
-  public int getApplicationInputsSize() {
-    return (this.applicationInputs == null) ? 0 : this.applicationInputs.size();
-  }
-
-  public java.util.Iterator<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> getApplicationInputsIterator() {
-    return (this.applicationInputs == null) ? null : this.applicationInputs.iterator();
-  }
-
-  public void addToApplicationInputs(org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType elem) {
-    if (this.applicationInputs == null) {
-      this.applicationInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>();
-    }
-    this.applicationInputs.add(elem);
-  }
-
-  public List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> getApplicationInputs() {
-    return this.applicationInputs;
-  }
-
-  public void setApplicationInputs(List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> applicationInputs) {
-    this.applicationInputs = applicationInputs;
-  }
-
-  public void unsetApplicationInputs() {
-    this.applicationInputs = null;
-  }
-
-  /** Returns true if field applicationInputs is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationInputs() {
-    return this.applicationInputs != null;
-  }
-
-  public void setApplicationInputsIsSet(boolean value) {
-    if (!value) {
-      this.applicationInputs = null;
-    }
-  }
-
-  public int getApplicationOutputsSize() {
-    return (this.applicationOutputs == null) ? 0 : this.applicationOutputs.size();
-  }
-
-  public java.util.Iterator<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getApplicationOutputsIterator() {
-    return (this.applicationOutputs == null) ? null : this.applicationOutputs.iterator();
-  }
-
-  public void addToApplicationOutputs(org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType elem) {
-    if (this.applicationOutputs == null) {
-      this.applicationOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>();
-    }
-    this.applicationOutputs.add(elem);
-  }
-
-  public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getApplicationOutputs() {
-    return this.applicationOutputs;
-  }
-
-  public void setApplicationOutputs(List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> applicationOutputs) {
-    this.applicationOutputs = applicationOutputs;
-  }
-
-  public void unsetApplicationOutputs() {
-    this.applicationOutputs = null;
-  }
-
-  /** Returns true if field applicationOutputs is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationOutputs() {
-    return this.applicationOutputs != null;
-  }
-
-  public void setApplicationOutputsIsSet(boolean value) {
-    if (!value) {
-      this.applicationOutputs = null;
-    }
-  }
-
-  public ComputationalResourceScheduling getTaskScheduling() {
-    return this.taskScheduling;
-  }
-
-  public void setTaskScheduling(ComputationalResourceScheduling taskScheduling) {
-    this.taskScheduling = taskScheduling;
-  }
-
-  public void unsetTaskScheduling() {
-    this.taskScheduling = null;
-  }
-
-  /** Returns true if field taskScheduling is set (has been assigned a value) and false otherwise */
-  public boolean isSetTaskScheduling() {
-    return this.taskScheduling != null;
-  }
-
-  public void setTaskSchedulingIsSet(boolean value) {
-    if (!value) {
-      this.taskScheduling = null;
-    }
-  }
-
-  public AdvancedInputDataHandling getAdvancedInputDataHandling() {
-    return this.advancedInputDataHandling;
-  }
-
-  public void setAdvancedInputDataHandling(AdvancedInputDataHandling advancedInputDataHandling) {
-    this.advancedInputDataHandling = advancedInputDataHandling;
-  }
-
-  public void unsetAdvancedInputDataHandling() {
-    this.advancedInputDataHandling = null;
-  }
-
-  /** Returns true if field advancedInputDataHandling is set (has been assigned a value) and false otherwise */
-  public boolean isSetAdvancedInputDataHandling() {
-    return this.advancedInputDataHandling != null;
-  }
-
-  public void setAdvancedInputDataHandlingIsSet(boolean value) {
-    if (!value) {
-      this.advancedInputDataHandling = null;
-    }
-  }
-
-  public AdvancedOutputDataHandling getAdvancedOutputDataHandling() {
-    return this.advancedOutputDataHandling;
-  }
-
-  public void setAdvancedOutputDataHandling(AdvancedOutputDataHandling advancedOutputDataHandling) {
-    this.advancedOutputDataHandling = advancedOutputDataHandling;
-  }
-
-  public void unsetAdvancedOutputDataHandling() {
-    this.advancedOutputDataHandling = null;
-  }
-
-  /** Returns true if field advancedOutputDataHandling is set (has been assigned a value) and false otherwise */
-  public boolean isSetAdvancedOutputDataHandling() {
-    return this.advancedOutputDataHandling != null;
-  }
-
-  public void setAdvancedOutputDataHandlingIsSet(boolean value) {
-    if (!value) {
-      this.advancedOutputDataHandling = null;
-    }
-  }
-
-  public TaskStatus getTaskStatus() {
-    return this.taskStatus;
-  }
-
-  public void setTaskStatus(TaskStatus taskStatus) {
-    this.taskStatus = taskStatus;
-  }
-
-  public void unsetTaskStatus() {
-    this.taskStatus = null;
-  }
-
-  /** Returns true if field taskStatus is set (has been assigned a value) and false otherwise */
-  public boolean isSetTaskStatus() {
-    return this.taskStatus != null;
-  }
-
-  public void setTaskStatusIsSet(boolean value) {
-    if (!value) {
-      this.taskStatus = null;
-    }
-  }
-
-  public int getJobDetailsListSize() {
-    return (this.jobDetailsList == null) ? 0 : this.jobDetailsList.size();
-  }
-
-  public java.util.Iterator<JobDetails> getJobDetailsListIterator() {
-    return (this.jobDetailsList == null) ? null : this.jobDetailsList.iterator();
-  }
-
-  public void addToJobDetailsList(JobDetails elem) {
-    if (this.jobDetailsList == null) {
-      this.jobDetailsList = new ArrayList<JobDetails>();
-    }
-    this.jobDetailsList.add(elem);
-  }
-
-  public List<JobDetails> getJobDetailsList() {
-    return this.jobDetailsList;
-  }
-
-  public void setJobDetailsList(List<JobDetails> jobDetailsList) {
-    this.jobDetailsList = jobDetailsList;
-  }
-
-  public void unsetJobDetailsList() {
-    this.jobDetailsList = null;
-  }
-
-  /** Returns true if field jobDetailsList is set (has been assigned a value) and false otherwise */
-  public boolean isSetJobDetailsList() {
-    return this.jobDetailsList != null;
-  }
-
-  public void setJobDetailsListIsSet(boolean value) {
-    if (!value) {
-      this.jobDetailsList = null;
-    }
-  }
-
-  public int getDataTransferDetailsListSize() {
-    return (this.dataTransferDetailsList == null) ? 0 : this.dataTransferDetailsList.size();
-  }
-
-  public java.util.Iterator<DataTransferDetails> getDataTransferDetailsListIterator() {
-    return (this.dataTransferDetailsList == null) ? null : this.dataTransferDetailsList.iterator();
-  }
-
-  public void addToDataTransferDetailsList(DataTransferDetails elem) {
-    if (this.dataTransferDetailsList == null) {
-      this.dataTransferDetailsList = new ArrayList<DataTransferDetails>();
-    }
-    this.dataTransferDetailsList.add(elem);
-  }
-
-  public List<DataTransferDetails> getDataTransferDetailsList() {
-    return this.dataTransferDetailsList;
-  }
-
-  public void setDataTransferDetailsList(List<DataTransferDetails> dataTransferDetailsList) {
-    this.dataTransferDetailsList = dataTransferDetailsList;
-  }
-
-  public void unsetDataTransferDetailsList() {
-    this.dataTransferDetailsList = null;
-  }
-
-  /** Returns true if field dataTransferDetailsList is set (has been assigned a value) and false otherwise */
-  public boolean isSetDataTransferDetailsList() {
-    return this.dataTransferDetailsList != null;
-  }
-
-  public void setDataTransferDetailsListIsSet(boolean value) {
-    if (!value) {
-      this.dataTransferDetailsList = null;
-    }
-  }
-
-  public int getErrorsSize() {
-    return (this.errors == null) ? 0 : this.errors.size();
-  }
-
-  public java.util.Iterator<ErrorDetails> getErrorsIterator() {
-    return (this.errors == null) ? null : this.errors.iterator();
-  }
-
-  public void addToErrors(ErrorDetails elem) {
-    if (this.errors == null) {
-      this.errors = new ArrayList<ErrorDetails>();
-    }
-    this.errors.add(elem);
-  }
-
-  public List<ErrorDetails> getErrors() {
-    return this.errors;
-  }
-
-  public void setErrors(List<ErrorDetails> errors) {
-    this.errors = errors;
-  }
-
-  public void unsetErrors() {
-    this.errors = null;
-  }
-
-  /** Returns true if field errors is set (has been assigned a value) and false otherwise */
-  public boolean isSetErrors() {
-    return this.errors != null;
-  }
-
-  public void setErrorsIsSet(boolean value) {
-    if (!value) {
-      this.errors = null;
-    }
-  }
-
-  public boolean isEnableEmailNotification() {
-    return this.enableEmailNotification;
-  }
-
-  public void setEnableEmailNotification(boolean enableEmailNotification) {
-    this.enableEmailNotification = enableEmailNotification;
-    setEnableEmailNotificationIsSet(true);
-  }
-
-  public void unsetEnableEmailNotification() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ENABLEEMAILNOTIFICATION_ISSET_ID);
-  }
-
-  /** Returns true if field enableEmailNotification is set (has been assigned a value) and false otherwise */
-  public boolean isSetEnableEmailNotification() {
-    return EncodingUtils.testBit(__isset_bitfield, __ENABLEEMAILNOTIFICATION_ISSET_ID);
-  }
-
-  public void setEnableEmailNotificationIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ENABLEEMAILNOTIFICATION_ISSET_ID, value);
-  }
-
-  public int getEmailAddressesSize() {
-    return (this.emailAddresses == null) ? 0 : this.emailAddresses.size();
-  }
-
-  public java.util.Iterator<String> getEmailAddressesIterator() {
-    return (this.emailAddresses == null) ? null : this.emailAddresses.iterator();
-  }
-
-  public void addToEmailAddresses(String elem) {
-    if (this.emailAddresses == null) {
-      this.emailAddresses = new ArrayList<String>();
-    }
-    this.emailAddresses.add(elem);
-  }
-
-  public List<String> getEmailAddresses() {
-    return this.emailAddresses;
-  }
-
-  public void setEmailAddresses(List<String> emailAddresses) {
-    this.emailAddresses = emailAddresses;
-  }
-
-  public void unsetEmailAddresses() {
-    this.emailAddresses = null;
-  }
-
-  /** Returns true if field emailAddresses is set (has been assigned a value) and false otherwise */
-  public boolean isSetEmailAddresses() {
-    return this.emailAddresses != null;
-  }
-
-  public void setEmailAddressesIsSet(boolean value) {
-    if (!value) {
-      this.emailAddresses = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case TASK_ID:
-      if (value == null) {
-        unsetTaskID();
-      } else {
-        setTaskID((String)value);
-      }
-      break;
-
-    case CREATION_TIME:
-      if (value == null) {
-        unsetCreationTime();
-      } else {
-        setCreationTime((Long)value);
-      }
-      break;
-
-    case APPLICATION_ID:
-      if (value == null) {
-        unsetApplicationId();
-      } else {
-        setApplicationId((String)value);
-      }
-      break;
-
-    case APPLICATION_VERSION:
-      if (value == null) {
-        unsetApplicationVersion();
-      } else {
-        setApplicationVersion((String)value);
-      }
-      break;
-
-    case APPLICATION_DEPLOYMENT_ID:
-      if (value == null) {
-        unsetApplicationDeploymentId();
-      } else {
-        setApplicationDeploymentId((String)value);
-      }
-      break;
-
-    case APPLICATION_INPUTS:
-      if (value == null) {
-        unsetApplicationInputs();
-      } else {
-        setApplicationInputs((List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>)value);
-      }
-      break;
-
-    case APPLICATION_OUTPUTS:
-      if (value == null) {
-        unsetApplicationOutputs();
-      } else {
-        setApplicationOutputs((List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>)value);
-      }
-      break;
-
-    case TASK_SCHEDULING:
-      if (value == null) {
-        unsetTaskScheduling();
-      } else {
-        setTaskScheduling((ComputationalResourceScheduling)value);
-      }
-      break;
-
-    case ADVANCED_INPUT_DATA_HANDLING:
-      if (value == null) {
-        unsetAdvancedInputDataHandling();
-      } else {
-        setAdvancedInputDataHandling((AdvancedInputDataHandling)value);
-      }
-      break;
-
-    case ADVANCED_OUTPUT_DATA_HANDLING:
-      if (value == null) {
-        unsetAdvancedOutputDataHandling();
-      } else {
-        setAdvancedOutputDataHandling((AdvancedOutputDataHandling)value);
-      }
-      break;
-
-    case TASK_STATUS:
-      if (value == null) {
-        unsetTaskStatus();
-      } else {
-        setTaskStatus((TaskStatus)value);
-      }
-      break;
-
-    case JOB_DETAILS_LIST:
-      if (value == null) {
-        unsetJobDetailsList();
-      } else {
-        setJobDetailsList((List<JobDetails>)value);
-      }
-      break;
-
-    case DATA_TRANSFER_DETAILS_LIST:
-      if (value == null) {
-        unsetDataTransferDetailsList();
-      } else {
-        setDataTransferDetailsList((List<DataTransferDetails>)value);
-      }
-      break;
-
-    case ERRORS:
-      if (value == null) {
-        unsetErrors();
-      } else {
-        setErrors((List<ErrorDetails>)value);
-      }
-      break;
-
-    case ENABLE_EMAIL_NOTIFICATION:
-      if (value == null) {
-        unsetEnableEmailNotification();
-      } else {
-        setEnableEmailNotification((Boolean)value);
-      }
-      break;
-
-    case EMAIL_ADDRESSES:
-      if (value == null) {
-        unsetEmailAddresses();
-      } else {
-        setEmailAddresses((List<String>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case TASK_ID:
-      return getTaskID();
-
-    case CREATION_TIME:
-      return Long.valueOf(getCreationTime());
-
-    case APPLICATION_ID:
-      return getApplicationId();
-
-    case APPLICATION_VERSION:
-      return getApplicationVersion();
-
-    case APPLICATION_DEPLOYMENT_ID:
-      return getApplicationDeploymentId();
-
-    case APPLICATION_INPUTS:
-      return getApplicationInputs();
-
-    case APPLICATION_OUTPUTS:
-      return getApplicationOutputs();
-
-    case TASK_SCHEDULING:
-      return getTaskScheduling();
-
-    case ADVANCED_INPUT_DATA_HANDLING:
-      return getAdvancedInputDataHandling();
-
-    case ADVANCED_OUTPUT_DATA_HANDLING:
-      return getAdvancedOutputDataHandling();
-
-    case TASK_STATUS:
-      return getTaskStatus();
-
-    case JOB_DETAILS_LIST:
-      return getJobDetailsList();
-
-    case DATA_TRANSFER_DETAILS_LIST:
-      return getDataTransferDetailsList();
-
-    case ERRORS:
-      return getErrors();
-
-    case ENABLE_EMAIL_NOTIFICATION:
-      return Boolean.valueOf(isEnableEmailNotification());
-
-    case EMAIL_ADDRESSES:
-      return getEmailAddresses();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case TASK_ID:
-      return isSetTaskID();
-    case CREATION_TIME:
-      return isSetCreationTime();
-    case APPLICATION_ID:
-      return isSetApplicationId();
-    case APPLICATION_VERSION:
-      return isSetApplicationVersion();
-    case APPLICATION_DEPLOYMENT_ID:
-      return isSetApplicationDeploymentId();
-    case APPLICATION_INPUTS:
-      return isSetApplicationInputs();
-    case APPLICATION_OUTPUTS:
-      return isSetApplicationOutputs();
-    case TASK_SCHEDULING:
-      return isSetTaskScheduling();
-    case ADVANCED_INPUT_DATA_HANDLING:
-      return isSetAdvancedInputDataHandling();
-    case ADVANCED_OUTPUT_DATA_HANDLING:
-      return isSetAdvancedOutputDataHandling();
-    case TASK_STATUS:
-      return isSetTaskStatus();
-    case JOB_DETAILS_LIST:
-      return isSetJobDetailsList();
-    case DATA_TRANSFER_DETAILS_LIST:
-      return isSetDataTransferDetailsList();
-    case ERRORS:
-      return isSetErrors();
-    case ENABLE_EMAIL_NOTIFICATION:
-      return isSetEnableEmailNotification();
-    case EMAIL_ADDRESSES:
-      return isSetEmailAddresses();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof TaskDetails)
-      return this.equals((TaskDetails)that);
-    return false;
-  }
-
-  public boolean equals(TaskDetails that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_taskID = true && this.isSetTaskID();
-    boolean that_present_taskID = true && that.isSetTaskID();
-    if (this_present_taskID || that_present_taskID) {
-      if (!(this_present_taskID && that_present_taskID))
-        return false;
-      if (!this.taskID.equals(that.taskID))
-        return false;
-    }
-
-    boolean this_present_creationTime = true && this.isSetCreationTime();
-    boolean that_present_creationTime = true && that.isSetCreationTime();
-    if (this_present_creationTime || that_present_creationTime) {
-      if (!(this_present_creationTime && that_present_creationTime))
-        return false;
-      if (this.creationTime != that.creationTime)
-        return false;
-    }
-
-    boolean this_present_applicationId = true && this.isSetApplicationId();
-    boolean that_present_applicationId = true && that.isSetApplicationId();
-    if (this_present_applicationId || that_present_applicationId) {
-      if (!(this_present_applicationId && that_present_applicationId))
-        return false;
-      if (!this.applicationId.equals(that.applicationId))
-        return false;
-    }
-
-    boolean this_present_applicationVersion = true && this.isSetApplicationVersion();
-    boolean that_present_applicationVersion = true && that.isSetApplicationVersion();
-    if (this_present_applicationVersion || that_present_applicationVersion) {
-      if (!(this_present_applicationVersion && that_present_applicationVersion))
-        return false;
-      if (!this.applicationVersion.equals(that.applicationVersion))
-        return false;
-    }
-
-    boolean this_present_applicationDeploymentId = true && this.isSetApplicationDeploymentId();
-    boolean that_present_applicationDeploymentId = true && that.isSetApplicationDeploymentId();
-    if (this_present_applicationDeploymentId || that_present_applicationDeploymentId) {
-      if (!(this_present_applicationDeploymentId && that_present_applicationDeploymentId))
-        return false;
-      if (!this.applicationDeploymentId.equals(that.applicationDeploymentId))
-        return false;
-    }
-
-    boolean this_present_applicationInputs = true && this.isSetApplicationInputs();
-    boolean that_present_applicationInputs = true && that.isSetApplicationInputs();
-    if (this_present_applicationInputs || that_present_applicationInputs) {
-      if (!(this_present_applicationInputs && that_present_applicationInputs))
-        return false;
-      if (!this.applicationInputs.equals(that.applicationInputs))
-        return false;
-    }
-
-    boolean this_present_applicationOutputs = true && this.isSetApplicationOutputs();
-    boolean that_present_applicationOutputs = true && that.isSetApplicationOutputs();
-    if (this_present_applicationOutputs || that_present_applicationOutputs) {
-      if (!(this_present_applicationOutputs && that_present_applicationOutputs))
-        return false;
-      if (!this.applicationOutputs.equals(that.applicationOutputs))
-        return false;
-    }
-
-    boolean this_present_taskScheduling = true && this.isSetTaskScheduling();
-    boolean that_present_taskScheduling = true && that.isSetTaskScheduling();
-    if (this_present_taskScheduling || that_present_taskScheduling) {
-      if (!(this_present_taskScheduling && that_present_taskScheduling))
-        return false;
-      if (!this.taskScheduling.equals(that.taskScheduling))
-        return false;
-    }
-
-    boolean this_present_advancedInputDataHandling = true && this.isSetAdvancedInputDataHandling();
-    boolean that_present_advancedInputDataHandling = true && that.isSetAdvancedInputDataHandling();
-    if (this_present_advancedInputDataHandling || that_present_advancedInputDataHandling) {
-      if (!(this_present_advancedInputDataHandling && that_present_advancedInputDataHandling))
-        return false;
-      if (!this.advancedInputDataHandling.equals(that.advancedInputDataHandling))
-        return false;
-    }
-
-    boolean this_present_advancedOutputDataHandling = true && this.isSetAdvancedOutputDataHandling();
-    boolean that_present_advancedOutputDataHandling = true && that.isSetAdvancedOutputDataHandling();
-    if (this_present_advancedOutputDataHandling || that_present_advancedOutputDataHandling) {
-      if (!(this_present_advancedOutputDataHandling && that_present_advancedOutputDataHandling))
-        return false;
-      if (!this.advancedOutputDataHandling.equals(that.advancedOutputDataHandling))
-        return false;
-    }
-
-    boolean this_present_taskStatus = true && this.isSetTaskStatus();
-    boolean that_present_taskStatus = true && that.isSetTaskStatus();
-    if (this_present_taskStatus || that_present_taskStatus) {
-      if (!(this_present_taskStatus && that_present_taskStatus))
-        return false;
-      if (!this.taskStatus.equals(that.taskStatus))
-        return false;
-    }
-
-    boolean this_present_jobDetailsList = true && this.isSetJobDetailsList();
-    boolean that_present_jobDetailsList = true && that.isSetJobDetailsList();
-    if (this_present_jobDetailsList || that_present_jobDetailsList) {
-      if (!(this_present_jobDetailsList && that_present_jobDetailsList))
-        return false;
-      if (!this.jobDetailsList.equals(that.jobDetailsList))
-        return false;
-    }
-
-    boolean this_present_dataTransferDetailsList = true && this.isSetDataTransferDetailsList();
-    boolean that_present_dataTransferDetailsList = true && that.isSetDataTransferDetailsList();
-    if (this_present_dataTransferDetailsList || that_present_dataTransferDetailsList) {
-      if (!(this_present_dataTransferDetailsList && that_present_dataTransferDetailsList))
-        return false;
-      if (!this.dataTransferDetailsList.equals(that.dataTransferDetailsList))
-        return false;
-    }
-
-    boolean this_present_errors = true && this.isSetErrors();
-    boolean that_present_errors = true && that.isSetErrors();
-    if (this_present_errors || that_present_errors) {
-      if (!(this_present_errors && that_present_errors))
-        return false;
-      if (!this.errors.equals(that.errors))
-        return false;
-    }
-
-    boolean this_present_enableEmailNotification = true && this.isSetEnableEmailNotification();
-    boolean that_present_enableEmailNotification = true && that.isSetEnableEmailNotification();
-    if (this_present_enableEmailNotification || that_present_enableEmailNotification) {
-      if (!(this_present_enableEmailNotification && that_present_enableEmailNotification))
-        return false;
-      if (this.enableEmailNotification != that.enableEmailNotification)
-        return false;
-    }
-
-    boolean this_present_emailAddresses = true && this.isSetEmailAddresses();
-    boolean that_present_emailAddresses = true && that.isSetEmailAddresses();
-    if (this_present_emailAddresses || that_present_emailAddresses) {
-      if (!(this_present_emailAddresses && that_present_emailAddresses))
-        return false;
-      if (!this.emailAddresses.equals(that.emailAddresses))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_taskID = true && (isSetTaskID());
-    list.add(present_taskID);
-    if (present_taskID)
-      list.add(taskID);
-
-    boolean present_creationTime = true && (isSetCreationTime());
-    list.add(present_creationTime);
-    if (present_creationTime)
-      list.add(creationTime);
-
-    boolean present_applicationId = true && (isSetApplicationId());
-    list.add(present_applicationId);
-    if (present_applicationId)
-      list.add(applicationId);
-
-    boolean present_applicationVersion = true && (isSetApplicationVersion());
-    list.add(present_applicationVersion);
-    if (present_applicationVersion)
-      list.add(applicationVersion);
-
-    boolean present_applicationDeploymentId = true && (isSetApplicationDeploymentId());
-    list.add(present_applicationDeploymentId);
-    if (present_applicationDeploymentId)
-      list.add(applicationDeploymentId);
-
-    boolean present_applicationInputs = true && (isSetApplicationInputs());
-    list.add(present_applicationInputs);
-    if (present_applicationInputs)
-      list.add(applicationInputs);
-
-    boolean present_applicationOutputs = true && (isSetApplicationOutputs());
-    list.add(present_applicationOutputs);
-    if (present_applicationOutputs)
-      list.add(applicationOutputs);
-
-    boolean present_taskScheduling = true && (isSetTaskScheduling());
-    list.add(present_taskScheduling);
-    if (present_taskScheduling)
-      list.add(taskScheduling);
-
-    boolean present_advancedInputDataHandling = true && (isSetAdvancedInputDataHandling());
-    list.add(present_advancedInputDataHandling);
-    if (present_advancedInputDataHandling)
-      list.add(advancedInputDataHandling);
-
-    boolean present_advancedOutputDataHandling = true && (isSetAdvancedOutputDataHandling());
-    list.add(present_advancedOutputDataHandling);
-    if (present_advancedOutputDataHandling)
-      list.add(advancedOutputDataHandling);
-
-    boolean present_taskStatus = true && (isSetTaskStatus());
-    list.add(present_taskStatus);
-    if (present_taskStatus)
-      list.add(taskStatus);
-
-    boolean present_jobDetailsList = true && (isSetJobDetailsList());
-    list.add(present_jobDetailsList);
-    if (present_jobDetailsList)
-      list.add(jobDetailsList);
-
-    boolean present_dataTransferDetailsList = true && (isSetDataTransferDetailsList());
-    list.add(present_dataTransferDetailsList);
-    if (present_dataTransferDetailsList)
-      list.add(dataTransferDetailsList);
-
-    boolean present_errors = true && (isSetErrors());
-    list.add(present_errors);
-    if (present_errors)
-      list.add(errors);
-
-    boolean present_enableEmailNotification = true && (isSetEnableEmailNotification());
-    list.add(present_enableEmailNotification);
-    if (present_enableEmailNotification)
-      list.add(enableEmailNotification);
-
-    boolean present_emailAddresses = true && (isSetEmailAddresses());
-    list.add(present_emailAddresses);
-    if (present_emailAddresses)
-      list.add(emailAddresses);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(TaskDetails other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetTaskID()).compareTo(other.isSetTaskID());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTaskID()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskID, other.taskID);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCreationTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationId()).compareTo(other.isSetApplicationId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationId, other.applicationId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationVersion()).compareTo(other.isSetApplicationVersion());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationVersion()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationVersion, other.applicationVersion);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationDeploymentId()).compareTo(other.isSetApplicationDeploymentId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationDeploymentId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationDeploymentId, other.applicationDeploymentId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationInputs()).compareTo(other.isSetApplicationInputs());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationInputs()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationInputs, other.applicationInputs);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationOutputs()).compareTo(other.isSetApplicationOutputs());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationOutputs()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationOutputs, other.applicationOutputs);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTaskScheduling()).compareTo(other.isSetTaskScheduling());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTaskScheduling()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskScheduling, other.taskScheduling);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetAdvancedInputDataHandling()).compareTo(other.isSetAdvancedInputDataHandling());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAdvancedInputDataHandling()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.advancedInputDataHandling, other.advancedInputDataHandling);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetAdvancedOutputDataHandling()).compareTo(other.isSetAdvancedOutputDataHandling());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAdvancedOutputDataHandling()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.advancedOutputDataHandling, other.advancedOutputDataHandling);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTaskStatus()).compareTo(other.isSetTaskStatus());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTaskStatus()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskStatus, other.taskStatus);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetJobDetailsList()).compareTo(other.isSetJobDetailsList());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetJobDetailsList()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobDetailsList, other.jobDetailsList);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetDataTransferDetailsList()).compareTo(other.isSetDataTransferDetailsList());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetDataTransferDetailsList()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dataTransferDetailsList, other.dataTransferDetailsList);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetErrors()).compareTo(other.isSetErrors());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetErrors()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errors, other.errors);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetEnableEmailNotification()).compareTo(other.isSetEnableEmailNotification());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetEnableEmailNotification()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.enableEmailNotification, other.enableEmailNotification);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetEmailAddresses()).compareTo(other.isSetEmailAddresses());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetEmailAddresses()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emailAddresses, other.emailAddresses);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("TaskDetails(");
-    boolean first = true;
-
-    sb.append("taskID:");
-    if (this.taskID == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.taskID);
-    }
-    first = false;
-    if (isSetCreationTime()) {
-      if (!first) sb.append(", ");
-      sb.append("creationTime:");
-      sb.append(this.creationTime);
-      first = false;
-    }
-    if (isSetApplicationId()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationId:");
-      if (this.applicationId == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationId);
-      }
-      first = false;
-    }
-    if (isSetApplicationVersion()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationVersion:");
-      if (this.applicationVersion == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationVersion);
-      }
-      first = false;
-    }
-    if (isSetApplicationDeploymentId()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationDeploymentId:");
-      if (this.applicationDeploymentId == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationDeploymentId);
-      }
-      first = false;
-    }
-    if (isSetApplicationInputs()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationInputs:");
-      if (this.applicationInputs == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationInputs);
-      }
-      first = false;
-    }
-    if (isSetApplicationOutputs()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationOutputs:");
-      if (this.applicationOutputs == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationOutputs);
-      }
-      first = false;
-    }
-    if (isSetTaskScheduling()) {
-      if (!first) sb.append(", ");
-      sb.append("taskScheduling:");
-      if (this.taskScheduling == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.taskScheduling);
-      }
-      first = false;
-    }
-    if (isSetAdvancedInputDataHandling()) {
-      if (!first) sb.append(", ");
-      sb.append("advancedInputDataHandling:");
-      if (this.advancedInputDataHandling == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.advancedInputDataHandling);
-      }
-      first = false;
-    }
-    if (isSetAdvancedOutputDataHandling()) {
-      if (!first) sb.append(", ");
-      sb.append("advancedOutputDataHandling:");
-      if (this.advancedOutputDataHandling == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.advancedOutputDataHandling);
-      }
-      first = false;
-    }
-    if (isSetTaskStatus()) {
-      if (!first) sb.append(", ");
-      sb.append("taskStatus:");
-      if (this.taskStatus == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.taskStatus);
-      }
-      first = false;
-    }
-    if (isSetJobDetailsList()) {
-      if (!first) sb.append(", ");
-      sb.append("jobDetailsList:");
-      if (this.jobDetailsList == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.jobDetailsList);
-      }
-      first = false;
-    }
-    if (isSetDataTransferDetailsList()) {
-      if (!first) sb.append(", ");
-      sb.append("dataTransferDetailsList:");
-      if (this.dataTransferDetailsList == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.dataTransferDetailsList);
-      }
-      first = false;
-    }
-    if (isSetErrors()) {
-      if (!first) sb.append(", ");
-      sb.append("errors:");
-      if (this.errors == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.errors);
-      }
-      first = false;
-    }
-    if (isSetEnableEmailNotification()) {
-      if (!first) sb.append(", ");
-      sb.append("enableEmailNotification:");
-      sb.append(this.enableEmailNotification);
-      first = false;
-    }
-    if (isSetEmailAddresses()) {
-      if (!first) sb.append(", ");
-      sb.append("emailAddresses:");
-      if (this.emailAddresses == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.emailAddresses);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetTaskID()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'taskID' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-    if (taskScheduling != null) {
-      taskScheduling.validate();
-    }
-    if (advancedInputDataHandling != null) {
-      advancedInputDataHandling.validate();
-    }
-    if (advancedOutputDataHandling != null) {
-      advancedOutputDataHandling.validate();
-    }
-    if (taskStatus != null) {
-      taskStatus.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class TaskDetailsStandardSchemeFactory implements SchemeFactory {
-    public TaskDetailsStandardScheme getScheme() {
-      return new TaskDetailsStandardScheme();
-    }
-  }
-
-  private static class TaskDetailsStandardScheme extends StandardScheme<TaskDetails> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, TaskDetails struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // TASK_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.taskID = iprot.readString();
-              struct.setTaskIDIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // CREATION_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.creationTime = iprot.readI64();
-              struct.setCreationTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // APPLICATION_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationId = iprot.readString();
-              struct.setApplicationIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // APPLICATION_VERSION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationVersion = iprot.readString();
-              struct.setApplicationVersionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // APPLICATION_DEPLOYMENT_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationDeploymentId = iprot.readString();
-              struct.setApplicationDeploymentIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // APPLICATION_INPUTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list16 = iprot.readListBegin();
-                struct.applicationInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(_list16.size);
-                org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem17;
-                for (int _i18 = 0; _i18 < _list16.size; ++_i18)
-                {
-                  _elem17 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
-                  _elem17.read(iprot);
-                  struct.applicationInputs.add(_elem17);
-                }
-                iprot.readListEnd();
-              }
-              struct.setApplicationInputsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // APPLICATION_OUTPUTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list19 = iprot.readListBegin();
-                struct.applicationOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list19.size);
-                org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem20;
-                for (int _i21 = 0; _i21 < _list19.size; ++_i21)
-                {
-                  _elem20 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
-                  _elem20.read(iprot);
-                  struct.applicationOutputs.add(_elem20);
-                }
-                iprot.readListEnd();
-              }
-              struct.setApplicationOutputsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // TASK_SCHEDULING
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.taskScheduling = new ComputationalResourceScheduling();
-              struct.taskScheduling.read(iprot);
-              struct.setTaskSchedulingIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // ADVANCED_INPUT_DATA_HANDLING
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.advancedInputDataHandling = new AdvancedInputDataHandling();
-              struct.advancedInputDataHandling.read(iprot);
-              struct.setAdvancedInputDataHandlingIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 10: // ADVANCED_OUTPUT_DATA_HANDLING
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.advancedOutputDataHandling = new AdvancedOutputDataHandling();
-              struct.advancedOutputDataHandling.read(iprot);
-              struct.setAdvancedOutputDataHandlingIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 11: // TASK_STATUS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.taskStatus = new TaskStatus();
-              struct.taskStatus.read(iprot);
-              struct.setTaskStatusIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 12: // JOB_DETAILS_LIST
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list22 = iprot.readListBegin();
-                struct.jobDetailsList = new ArrayList<JobDetails>(_list22.size);
-                JobDetails _elem23;
-                for (int _i24 = 0; _i24 < _list22.size; ++_i24)
-                {
-                  _elem23 = new JobDetails();
-                  _elem23.read(iprot);
-                  struct.jobDetailsList.add(_elem23);
-                }
-                iprot.readListEnd();
-              }
-              struct.setJobDetailsListIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 13: // DATA_TRANSFER_DETAILS_LIST
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list25 = iprot.readListBegin();
-                struct.dataTransferDetailsList = new ArrayList<DataTransferDetails>(_list25.size);
-                DataTransferDetails _elem26;
-                for (int _i27 = 0; _i27 < _list25.size; ++_i27)
-                {
-                  _elem26 = new DataTransferDetails();
-                  _elem26.read(iprot);
-                  struct.dataTransferDetailsList.add(_elem26);
-                }
-                iprot.readListEnd();
-              }
-              struct.setDataTransferDetailsListIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 14: // ERRORS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list28 = iprot.readListBegin();
-                struct.errors = new ArrayList<ErrorDetails>(_list28.size);
-                ErrorDetails _elem29;
-                for (int _i30 = 0; _i30 < _list28.size; ++_i30)
-                {
-                  _elem29 = new ErrorDetails();
-                  _elem29.read(iprot);
-                  struct.errors.add(_elem29);
-                }
-                iprot.readListEnd();
-              }
-              struct.setErrorsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 15: // ENABLE_EMAIL_NOTIFICATION
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.enableEmailNotification = iprot.readBool();
-              struct.setEnableEmailNotificationIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 16: // EMAIL_ADDRESSES
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list31 = iprot.readListBegin();
-                struct.emailAddresses = new ArrayList<String>(_list31.size);
-                String _elem32;
-                for (int _i33 = 0; _i33 < _list31.size; ++_i33)
-                {
-                  _elem32 = iprot.readString();
-                  struct.emailAddresses.add(_elem32);
-                }
-                iprot.readListEnd();
-              }
-              struct.setEmailAddressesIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, TaskDetails struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.taskID != null) {
-        oprot.writeFieldBegin(TASK_ID_FIELD_DESC);
-        oprot.writeString(struct.taskID);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetCreationTime()) {
-        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
-        oprot.writeI64(struct.creationTime);
-        oprot.writeFieldEnd();
-      }
-      if (struct.applicationId != null) {
-        if (struct.isSetApplicationId()) {
-          oprot.writeFieldBegin(APPLICATION_ID_FIELD_DESC);
-          oprot.writeString(struct.applicationId);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.applicationVersion != null) {
-        if (struct.isSetApplicationVersion()) {
-          oprot.writeFieldBegin(APPLICATION_VERSION_FIELD_DESC);
-          oprot.writeString(struct.applicationVersion);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.applicationDeploymentId != null) {
-        if (struct.isSetApplicationDeploymentId()) {
-          oprot.writeFieldBegin(APPLICATION_DEPLOYMENT_ID_FIELD_DESC);
-          oprot.writeString(struct.applicationDeploymentId);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.applicationInputs != null) {
-        if (struct.isSetApplicationInputs()) {
-          oprot.writeFieldBegin(APPLICATION_INPUTS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.applicationInputs.size()));
-            for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _iter34 : struct.applicationInputs)
-            {
-              _iter34.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.applicationOutputs != null) {
-        if (struct.isSetApplicationOutputs()) {
-          oprot.writeFieldBegin(APPLICATION_OUTPUTS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.applicationOutputs.size()));
-            for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _iter35 : struct.applicationOutputs)
-            {
-              _iter35.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.taskScheduling != null) {
-        if (struct.isSetTaskScheduling()) {
-          oprot.writeFieldBegin(TASK_SCHEDULING_FIELD_DESC);
-          struct.taskScheduling.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.advancedInputDataHandling != null) {
-        if (struct.isSetAdvancedInputDataHandling()) {
-          oprot.writeFieldBegin(ADVANCED_INPUT_DATA_HANDLING_FIELD_DESC);
-          struct.advancedInputDataHandling.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.advancedOutputDataHandling != null) {
-        if (struct.isSetAdvancedOutputDataHandling()) {
-          oprot.writeFieldBegin(ADVANCED_OUTPUT_DATA_HANDLING_FIELD_DESC);
-          struct.advancedOutputDataHandling.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.taskStatus != null) {
-        if (struct.isSetTaskStatus()) {
-          oprot.writeFieldBegin(TASK_STATUS_FIELD_DESC);
-          struct.taskStatus.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.jobDetailsList != null) {
-        if (struct.isSetJobDetailsList()) {
-          oprot.writeFieldBegin(JOB_DETAILS_LIST_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.jobDetailsList.size()));
-            for (JobDetails _iter36 : struct.jobDetailsList)
-            {
-              _iter36.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.dataTransferDetailsList != null) {
-        if (struct.isSetDataTransferDetailsList()) {
-          oprot.writeFieldBegin(DATA_TRANSFER_DETAILS_LIST_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.dataTransferDetailsList.size()));
-            for (DataTransferDetails _iter37 : struct.dataTransferDetailsList)
-            {
-              _iter37.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.errors != null) {
-        if (struct.isSetErrors()) {
-          oprot.writeFieldBegin(ERRORS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.errors.size()));
-            for (ErrorDetails _iter38 : struct.errors)
-            {
-              _iter38.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetEnableEmailNotification()) {
-        oprot.writeFieldBegin(ENABLE_EMAIL_NOTIFICATION_FIELD_DESC);
-        oprot.writeBool(struct.enableEmailNotification);
-        oprot.writeFieldEnd();
-      }
-      if (struct.emailAddresses != null) {
-        if (struct.isSetEmailAddresses()) {
-          oprot.writeFieldBegin(EMAIL_ADDRESSES_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.emailAddresses.size()));
-            for (String _iter39 : struct.emailAddresses)
-            {
-              oprot.writeString(_iter39);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class TaskDetailsTupleSchemeFactory implements SchemeFactory {
-    public TaskDetailsTupleScheme getScheme() {
-      return new TaskDetailsTupleScheme();
-    }
-  }
-
-  private static class TaskDetailsTupleScheme extends TupleScheme<TaskDetails> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, TaskDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.taskID);
-      BitSet optionals = new BitSet();
-      if (struct.isSetCreationTime()) {
-        optionals.set(0);
-      }
-      if (struct.isSetApplicationId()) {
-        optionals.set(1);
-      }
-      if (struct.isSetApplicationVersion()) {
-        optionals.set(2);
-      }
-      if (struct.isSetApplicationDeploymentId()) {
-        optionals.set(3);
-      }
-      if (struct.isSetApplicationInputs()) {
-        optionals.set(4);
-      }
-      if (struct.isSetApplicationOutputs()) {
-        optionals.set(5);
-      }
-      if (struct.isSetTaskScheduling()) {
-        optionals.set(6);
-      }
-      if (struct.isSetAdvancedInputDataHandling()) {
-        optionals.set(7);
-      }
-      if (struct.isSetAdvancedOutputDataHandling()) {
-        optionals.set(8);
-      }
-      if (struct.isSetTaskStatus()) {
-        optionals.set(9);
-      }
-      if (struct.isSetJobDetailsList()) {
-        optionals.set(10);
-      }
-      if (struct.isSetDataTransferDetailsList()) {
-        optionals.set(11);
-      }
-      if (struct.isSetErrors()) {
-        optionals.set(12);
-      }
-      if (struct.isSetEnableEmailNotification()) {
-        optionals.set(13);
-      }
-      if (struct.isSetEmailAddresses()) {
-        optionals.set(14);
-      }
-      oprot.writeBitSet(optionals, 15);
-      if (struct.isSetCreationTime()) {
-        oprot.writeI64(struct.creationTime);
-      }
-      if (struct.isSetApplicationId()) {
-        oprot.writeString(struct.applicationId);
-      }
-      if (struct.isSetApplicationVersion()) {
-        oprot.writeString(struct.applicationVersion);
-      }
-      if (struct.isSetApplicationDeploymentId()) {
-        oprot.writeString(struct.applicationDeploymentId);
-      }
-      if (struct.isSetApplicationInputs()) {
-        {
-          oprot.writeI32(struct.applicationInputs.size());
-          for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _iter40 : struct.applicationInputs)
-          {
-            _iter40.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetApplicationOutputs()) {
-        {
-          oprot.writeI32(struct.applicationOutputs.size());
-          for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _iter41 : struct.applicationOutputs)
-          {
-            _iter41.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetTaskScheduling()) {
-        struct.taskScheduling.write(oprot);
-      }
-      if (struct.isSetAdvancedInputDataHandling()) {
-        struct.advancedInputDataHandling.write(oprot);
-      }
-      if (struct.isSetAdvancedOutputDataHandling()) {
-        struct.advancedOutputDataHandling.write(oprot);
-      }
-      if (struct.isSetTaskStatus()) {
-        struct.taskStatus.write(oprot);
-      }
-      if (struct.isSetJobDetailsList()) {
-        {
-          oprot.writeI32(struct.jobDetailsList.size());
-          for (JobDetails _iter42 : struct.jobDetailsList)
-          {
-            _iter42.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetDataTransferDetailsList()) {
-        {
-          oprot.writeI32(struct.dataTransferDetailsList.size());
-          for (DataTransferDetails _iter43 : struct.dataTransferDetailsList)
-          {
-            _iter43.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetErrors()) {
-        {
-          oprot.writeI32(struct.errors.size());
-          for (ErrorDetails _iter44 : struct.errors)
-          {
-            _iter44.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetEnableEmailNotification()) {
-        oprot.writeBool(struct.enableEmailNotification);
-      }
-      if (struct.isSetEmailAddresses()) {
-        {
-          oprot.writeI32(struct.emailAddresses.size());
-          for (String _iter45 : struct.emailAddresses)
-          {
-            oprot.writeString(_iter45);
-          }
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, TaskDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.taskID = iprot.readString();
-      struct.setTaskIDIsSet(true);
-      BitSet incoming = iprot.readBitSet(15);
-      if (incoming.get(0)) {
-        struct.creationTime = iprot.readI64();
-        struct.setCreationTimeIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.applicationId = iprot.readString();
-        struct.setApplicationIdIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.applicationVersion = iprot.readString();
-        struct.setApplicationVersionIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.applicationDeploymentId = iprot.readString();
-        struct.setApplicationDeploymentIdIsSet(true);
-      }
-      if (incoming.get(4)) {
-        {
-          org.apache.thrift.protocol.TList _list46 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.applicationInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(_list46.size);
-          org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem47;
-          for (int _i48 = 0; _i48 < _list46.size; ++_i48)
-          {
-            _elem47 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
-            _elem47.read(iprot);
-            struct.applicationInputs.add(_elem47);
-          }
-        }
-        struct.setApplicationInputsIsSet(true);
-      }
-      if (incoming.get(5)) {
-        {
-          org.apache.thrift.protocol.TList _list49 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.applicationOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list49.size);
-          org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem50;
-          for (int _i51 = 0; _i51 < _list49.size; ++_i51)
-          {
-            _elem50 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
-            _elem50.read(iprot);
-            struct.applicationOutputs.add(_elem50);
-          }
-        }
-        struct.setApplicationOutputsIsSet(true);
-      }
-      if (incoming.get(6)) {
-        struct.taskS

<TRUNCATED>

[27/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
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/InputDataObjectType.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/InputDataObjectType.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/InputDataObjectType.java
deleted file mode 100644
index 75e699b..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/InputDataObjectType.java
+++ /dev/null
@@ -1,1481 +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 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"})
-/**
- * Application Inputs. The paramters describe how inputs are passed to the application.
- * 
- * name:
- *   Name of the parameter.
- * 
- * value:
- *   Value of the parameter. A default value could be set during registration.
- * 
- * type:
- *   Data type of the parameter
- * 
- * applicationArguement:
- *   The argument flag sent to the application. Such as -p pressure.
- * 
- * standardInput:
- *   When this value is set, the parameter is sent as standard input rather than a parameter.
- *   Typically this is passed using redirection operator ">".
- * 
- * userFriendlyDescription:
- *   Description to be displayed at the user interface.
- * 
- * metaData:
- *   Any metadat. This is typically ignore by Airavata and is used by gateways for application configuration.
- * 
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class InputDataObjectType implements org.apache.thrift.TBase<InputDataObjectType, InputDataObjectType._Fields>, java.io.Serializable, Cloneable, Comparable<InputDataObjectType> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InputDataObjectType");
-
-  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)3);
-  private static final org.apache.thrift.protocol.TField APPLICATION_ARGUMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationArgument", org.apache.thrift.protocol.TType.STRING, (short)4);
-  private static final org.apache.thrift.protocol.TField STANDARD_INPUT_FIELD_DESC = new org.apache.thrift.protocol.TField("standardInput", org.apache.thrift.protocol.TType.BOOL, (short)5);
-  private static final org.apache.thrift.protocol.TField USER_FRIENDLY_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("userFriendlyDescription", org.apache.thrift.protocol.TType.STRING, (short)6);
-  private static final org.apache.thrift.protocol.TField META_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("metaData", org.apache.thrift.protocol.TType.STRING, (short)7);
-  private static final org.apache.thrift.protocol.TField INPUT_ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField("inputOrder", org.apache.thrift.protocol.TType.I32, (short)8);
-  private static final org.apache.thrift.protocol.TField IS_REQUIRED_FIELD_DESC = new org.apache.thrift.protocol.TField("isRequired", org.apache.thrift.protocol.TType.BOOL, (short)9);
-  private static final org.apache.thrift.protocol.TField REQUIRED_TO_ADDED_TO_COMMAND_LINE_FIELD_DESC = new org.apache.thrift.protocol.TField("requiredToAddedToCommandLine", org.apache.thrift.protocol.TType.BOOL, (short)10);
-  private static final org.apache.thrift.protocol.TField DATA_STAGED_FIELD_DESC = new org.apache.thrift.protocol.TField("dataStaged", org.apache.thrift.protocol.TType.BOOL, (short)11);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new InputDataObjectTypeStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new InputDataObjectTypeTupleSchemeFactory());
-  }
-
-  private String name; // required
-  private String value; // optional
-  private DataType type; // optional
-  private String applicationArgument; // optional
-  private boolean standardInput; // optional
-  private String userFriendlyDescription; // optional
-  private String metaData; // optional
-  private int inputOrder; // optional
-  private boolean isRequired; // optional
-  private boolean requiredToAddedToCommandLine; // optional
-  private boolean dataStaged; // 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 {
-    NAME((short)1, "name"),
-    VALUE((short)2, "value"),
-    /**
-     * 
-     * @see DataType
-     */
-    TYPE((short)3, "type"),
-    APPLICATION_ARGUMENT((short)4, "applicationArgument"),
-    STANDARD_INPUT((short)5, "standardInput"),
-    USER_FRIENDLY_DESCRIPTION((short)6, "userFriendlyDescription"),
-    META_DATA((short)7, "metaData"),
-    INPUT_ORDER((short)8, "inputOrder"),
-    IS_REQUIRED((short)9, "isRequired"),
-    REQUIRED_TO_ADDED_TO_COMMAND_LINE((short)10, "requiredToAddedToCommandLine"),
-    DATA_STAGED((short)11, "dataStaged");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // NAME
-          return NAME;
-        case 2: // VALUE
-          return VALUE;
-        case 3: // TYPE
-          return TYPE;
-        case 4: // APPLICATION_ARGUMENT
-          return APPLICATION_ARGUMENT;
-        case 5: // STANDARD_INPUT
-          return STANDARD_INPUT;
-        case 6: // USER_FRIENDLY_DESCRIPTION
-          return USER_FRIENDLY_DESCRIPTION;
-        case 7: // META_DATA
-          return META_DATA;
-        case 8: // INPUT_ORDER
-          return INPUT_ORDER;
-        case 9: // IS_REQUIRED
-          return IS_REQUIRED;
-        case 10: // REQUIRED_TO_ADDED_TO_COMMAND_LINE
-          return REQUIRED_TO_ADDED_TO_COMMAND_LINE;
-        case 11: // DATA_STAGED
-          return DATA_STAGED;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __STANDARDINPUT_ISSET_ID = 0;
-  private static final int __INPUTORDER_ISSET_ID = 1;
-  private static final int __ISREQUIRED_ISSET_ID = 2;
-  private static final int __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID = 3;
-  private static final int __DATASTAGED_ISSET_ID = 4;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.VALUE,_Fields.TYPE,_Fields.APPLICATION_ARGUMENT,_Fields.STANDARD_INPUT,_Fields.USER_FRIENDLY_DESCRIPTION,_Fields.META_DATA,_Fields.INPUT_ORDER,_Fields.IS_REQUIRED,_Fields.REQUIRED_TO_ADDED_TO_COMMAND_LINE,_Fields.DATA_STAGED};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DataType.class)));
-    tmpMap.put(_Fields.APPLICATION_ARGUMENT, new org.apache.thrift.meta_data.FieldMetaData("applicationArgument", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.STANDARD_INPUT, new org.apache.thrift.meta_data.FieldMetaData("standardInput", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.USER_FRIENDLY_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("userFriendlyDescription", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.META_DATA, new org.apache.thrift.meta_data.FieldMetaData("metaData", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.INPUT_ORDER, new org.apache.thrift.meta_data.FieldMetaData("inputOrder", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.IS_REQUIRED, new org.apache.thrift.meta_data.FieldMetaData("isRequired", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.REQUIRED_TO_ADDED_TO_COMMAND_LINE, new org.apache.thrift.meta_data.FieldMetaData("requiredToAddedToCommandLine", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.DATA_STAGED, new org.apache.thrift.meta_data.FieldMetaData("dataStaged", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(InputDataObjectType.class, metaDataMap);
-  }
-
-  public InputDataObjectType() {
-    this.standardInput = false;
-
-    this.dataStaged = false;
-
-  }
-
-  public InputDataObjectType(
-    String name)
-  {
-    this();
-    this.name = name;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public InputDataObjectType(InputDataObjectType other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetName()) {
-      this.name = other.name;
-    }
-    if (other.isSetValue()) {
-      this.value = other.value;
-    }
-    if (other.isSetType()) {
-      this.type = other.type;
-    }
-    if (other.isSetApplicationArgument()) {
-      this.applicationArgument = other.applicationArgument;
-    }
-    this.standardInput = other.standardInput;
-    if (other.isSetUserFriendlyDescription()) {
-      this.userFriendlyDescription = other.userFriendlyDescription;
-    }
-    if (other.isSetMetaData()) {
-      this.metaData = other.metaData;
-    }
-    this.inputOrder = other.inputOrder;
-    this.isRequired = other.isRequired;
-    this.requiredToAddedToCommandLine = other.requiredToAddedToCommandLine;
-    this.dataStaged = other.dataStaged;
-  }
-
-  public InputDataObjectType deepCopy() {
-    return new InputDataObjectType(this);
-  }
-
-  @Override
-  public void clear() {
-    this.name = null;
-    this.value = null;
-    this.type = null;
-    this.applicationArgument = null;
-    this.standardInput = false;
-
-    this.userFriendlyDescription = null;
-    this.metaData = null;
-    setInputOrderIsSet(false);
-    this.inputOrder = 0;
-    setIsRequiredIsSet(false);
-    this.isRequired = false;
-    setRequiredToAddedToCommandLineIsSet(false);
-    this.requiredToAddedToCommandLine = false;
-    this.dataStaged = false;
-
-  }
-
-  public String getName() {
-    return this.name;
-  }
-
-  public void setName(String name) {
-    this.name = name;
-  }
-
-  public void unsetName() {
-    this.name = null;
-  }
-
-  /** Returns true if field name is set (has been assigned a value) and false otherwise */
-  public boolean isSetName() {
-    return this.name != null;
-  }
-
-  public void setNameIsSet(boolean value) {
-    if (!value) {
-      this.name = null;
-    }
-  }
-
-  public String getValue() {
-    return this.value;
-  }
-
-  public void setValue(String value) {
-    this.value = value;
-  }
-
-  public void unsetValue() {
-    this.value = null;
-  }
-
-  /** Returns true if field value is set (has been assigned a value) and false otherwise */
-  public boolean isSetValue() {
-    return this.value != null;
-  }
-
-  public void setValueIsSet(boolean value) {
-    if (!value) {
-      this.value = null;
-    }
-  }
-
-  /**
-   * 
-   * @see DataType
-   */
-  public DataType getType() {
-    return this.type;
-  }
-
-  /**
-   * 
-   * @see DataType
-   */
-  public void setType(DataType type) {
-    this.type = type;
-  }
-
-  public void unsetType() {
-    this.type = null;
-  }
-
-  /** Returns true if field type is set (has been assigned a value) and false otherwise */
-  public boolean isSetType() {
-    return this.type != null;
-  }
-
-  public void setTypeIsSet(boolean value) {
-    if (!value) {
-      this.type = null;
-    }
-  }
-
-  public String getApplicationArgument() {
-    return this.applicationArgument;
-  }
-
-  public void setApplicationArgument(String applicationArgument) {
-    this.applicationArgument = applicationArgument;
-  }
-
-  public void unsetApplicationArgument() {
-    this.applicationArgument = null;
-  }
-
-  /** Returns true if field applicationArgument is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationArgument() {
-    return this.applicationArgument != null;
-  }
-
-  public void setApplicationArgumentIsSet(boolean value) {
-    if (!value) {
-      this.applicationArgument = null;
-    }
-  }
-
-  public boolean isStandardInput() {
-    return this.standardInput;
-  }
-
-  public void setStandardInput(boolean standardInput) {
-    this.standardInput = standardInput;
-    setStandardInputIsSet(true);
-  }
-
-  public void unsetStandardInput() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __STANDARDINPUT_ISSET_ID);
-  }
-
-  /** Returns true if field standardInput is set (has been assigned a value) and false otherwise */
-  public boolean isSetStandardInput() {
-    return EncodingUtils.testBit(__isset_bitfield, __STANDARDINPUT_ISSET_ID);
-  }
-
-  public void setStandardInputIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __STANDARDINPUT_ISSET_ID, value);
-  }
-
-  public String getUserFriendlyDescription() {
-    return this.userFriendlyDescription;
-  }
-
-  public void setUserFriendlyDescription(String userFriendlyDescription) {
-    this.userFriendlyDescription = userFriendlyDescription;
-  }
-
-  public void unsetUserFriendlyDescription() {
-    this.userFriendlyDescription = null;
-  }
-
-  /** Returns true if field userFriendlyDescription is set (has been assigned a value) and false otherwise */
-  public boolean isSetUserFriendlyDescription() {
-    return this.userFriendlyDescription != null;
-  }
-
-  public void setUserFriendlyDescriptionIsSet(boolean value) {
-    if (!value) {
-      this.userFriendlyDescription = null;
-    }
-  }
-
-  public String getMetaData() {
-    return this.metaData;
-  }
-
-  public void setMetaData(String metaData) {
-    this.metaData = metaData;
-  }
-
-  public void unsetMetaData() {
-    this.metaData = null;
-  }
-
-  /** Returns true if field metaData is set (has been assigned a value) and false otherwise */
-  public boolean isSetMetaData() {
-    return this.metaData != null;
-  }
-
-  public void setMetaDataIsSet(boolean value) {
-    if (!value) {
-      this.metaData = null;
-    }
-  }
-
-  public int getInputOrder() {
-    return this.inputOrder;
-  }
-
-  public void setInputOrder(int inputOrder) {
-    this.inputOrder = inputOrder;
-    setInputOrderIsSet(true);
-  }
-
-  public void unsetInputOrder() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __INPUTORDER_ISSET_ID);
-  }
-
-  /** Returns true if field inputOrder is set (has been assigned a value) and false otherwise */
-  public boolean isSetInputOrder() {
-    return EncodingUtils.testBit(__isset_bitfield, __INPUTORDER_ISSET_ID);
-  }
-
-  public void setInputOrderIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __INPUTORDER_ISSET_ID, value);
-  }
-
-  public boolean isIsRequired() {
-    return this.isRequired;
-  }
-
-  public void setIsRequired(boolean isRequired) {
-    this.isRequired = isRequired;
-    setIsRequiredIsSet(true);
-  }
-
-  public void unsetIsRequired() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ISREQUIRED_ISSET_ID);
-  }
-
-  /** Returns true if field isRequired is set (has been assigned a value) and false otherwise */
-  public boolean isSetIsRequired() {
-    return EncodingUtils.testBit(__isset_bitfield, __ISREQUIRED_ISSET_ID);
-  }
-
-  public void setIsRequiredIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ISREQUIRED_ISSET_ID, value);
-  }
-
-  public boolean isRequiredToAddedToCommandLine() {
-    return this.requiredToAddedToCommandLine;
-  }
-
-  public void setRequiredToAddedToCommandLine(boolean requiredToAddedToCommandLine) {
-    this.requiredToAddedToCommandLine = requiredToAddedToCommandLine;
-    setRequiredToAddedToCommandLineIsSet(true);
-  }
-
-  public void unsetRequiredToAddedToCommandLine() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID);
-  }
-
-  /** Returns true if field requiredToAddedToCommandLine is set (has been assigned a value) and false otherwise */
-  public boolean isSetRequiredToAddedToCommandLine() {
-    return EncodingUtils.testBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID);
-  }
-
-  public void setRequiredToAddedToCommandLineIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID, value);
-  }
-
-  public boolean isDataStaged() {
-    return this.dataStaged;
-  }
-
-  public void setDataStaged(boolean dataStaged) {
-    this.dataStaged = dataStaged;
-    setDataStagedIsSet(true);
-  }
-
-  public void unsetDataStaged() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __DATASTAGED_ISSET_ID);
-  }
-
-  /** Returns true if field dataStaged is set (has been assigned a value) and false otherwise */
-  public boolean isSetDataStaged() {
-    return EncodingUtils.testBit(__isset_bitfield, __DATASTAGED_ISSET_ID);
-  }
-
-  public void setDataStagedIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __DATASTAGED_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case NAME:
-      if (value == null) {
-        unsetName();
-      } else {
-        setName((String)value);
-      }
-      break;
-
-    case VALUE:
-      if (value == null) {
-        unsetValue();
-      } else {
-        setValue((String)value);
-      }
-      break;
-
-    case TYPE:
-      if (value == null) {
-        unsetType();
-      } else {
-        setType((DataType)value);
-      }
-      break;
-
-    case APPLICATION_ARGUMENT:
-      if (value == null) {
-        unsetApplicationArgument();
-      } else {
-        setApplicationArgument((String)value);
-      }
-      break;
-
-    case STANDARD_INPUT:
-      if (value == null) {
-        unsetStandardInput();
-      } else {
-        setStandardInput((Boolean)value);
-      }
-      break;
-
-    case USER_FRIENDLY_DESCRIPTION:
-      if (value == null) {
-        unsetUserFriendlyDescription();
-      } else {
-        setUserFriendlyDescription((String)value);
-      }
-      break;
-
-    case META_DATA:
-      if (value == null) {
-        unsetMetaData();
-      } else {
-        setMetaData((String)value);
-      }
-      break;
-
-    case INPUT_ORDER:
-      if (value == null) {
-        unsetInputOrder();
-      } else {
-        setInputOrder((Integer)value);
-      }
-      break;
-
-    case IS_REQUIRED:
-      if (value == null) {
-        unsetIsRequired();
-      } else {
-        setIsRequired((Boolean)value);
-      }
-      break;
-
-    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
-      if (value == null) {
-        unsetRequiredToAddedToCommandLine();
-      } else {
-        setRequiredToAddedToCommandLine((Boolean)value);
-      }
-      break;
-
-    case DATA_STAGED:
-      if (value == null) {
-        unsetDataStaged();
-      } else {
-        setDataStaged((Boolean)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case NAME:
-      return getName();
-
-    case VALUE:
-      return getValue();
-
-    case TYPE:
-      return getType();
-
-    case APPLICATION_ARGUMENT:
-      return getApplicationArgument();
-
-    case STANDARD_INPUT:
-      return Boolean.valueOf(isStandardInput());
-
-    case USER_FRIENDLY_DESCRIPTION:
-      return getUserFriendlyDescription();
-
-    case META_DATA:
-      return getMetaData();
-
-    case INPUT_ORDER:
-      return Integer.valueOf(getInputOrder());
-
-    case IS_REQUIRED:
-      return Boolean.valueOf(isIsRequired());
-
-    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
-      return Boolean.valueOf(isRequiredToAddedToCommandLine());
-
-    case DATA_STAGED:
-      return Boolean.valueOf(isDataStaged());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case NAME:
-      return isSetName();
-    case VALUE:
-      return isSetValue();
-    case TYPE:
-      return isSetType();
-    case APPLICATION_ARGUMENT:
-      return isSetApplicationArgument();
-    case STANDARD_INPUT:
-      return isSetStandardInput();
-    case USER_FRIENDLY_DESCRIPTION:
-      return isSetUserFriendlyDescription();
-    case META_DATA:
-      return isSetMetaData();
-    case INPUT_ORDER:
-      return isSetInputOrder();
-    case IS_REQUIRED:
-      return isSetIsRequired();
-    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
-      return isSetRequiredToAddedToCommandLine();
-    case DATA_STAGED:
-      return isSetDataStaged();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof InputDataObjectType)
-      return this.equals((InputDataObjectType)that);
-    return false;
-  }
-
-  public boolean equals(InputDataObjectType that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_name = true && this.isSetName();
-    boolean that_present_name = true && that.isSetName();
-    if (this_present_name || that_present_name) {
-      if (!(this_present_name && that_present_name))
-        return false;
-      if (!this.name.equals(that.name))
-        return false;
-    }
-
-    boolean this_present_value = true && this.isSetValue();
-    boolean that_present_value = true && that.isSetValue();
-    if (this_present_value || that_present_value) {
-      if (!(this_present_value && that_present_value))
-        return false;
-      if (!this.value.equals(that.value))
-        return false;
-    }
-
-    boolean this_present_type = true && this.isSetType();
-    boolean that_present_type = true && that.isSetType();
-    if (this_present_type || that_present_type) {
-      if (!(this_present_type && that_present_type))
-        return false;
-      if (!this.type.equals(that.type))
-        return false;
-    }
-
-    boolean this_present_applicationArgument = true && this.isSetApplicationArgument();
-    boolean that_present_applicationArgument = true && that.isSetApplicationArgument();
-    if (this_present_applicationArgument || that_present_applicationArgument) {
-      if (!(this_present_applicationArgument && that_present_applicationArgument))
-        return false;
-      if (!this.applicationArgument.equals(that.applicationArgument))
-        return false;
-    }
-
-    boolean this_present_standardInput = true && this.isSetStandardInput();
-    boolean that_present_standardInput = true && that.isSetStandardInput();
-    if (this_present_standardInput || that_present_standardInput) {
-      if (!(this_present_standardInput && that_present_standardInput))
-        return false;
-      if (this.standardInput != that.standardInput)
-        return false;
-    }
-
-    boolean this_present_userFriendlyDescription = true && this.isSetUserFriendlyDescription();
-    boolean that_present_userFriendlyDescription = true && that.isSetUserFriendlyDescription();
-    if (this_present_userFriendlyDescription || that_present_userFriendlyDescription) {
-      if (!(this_present_userFriendlyDescription && that_present_userFriendlyDescription))
-        return false;
-      if (!this.userFriendlyDescription.equals(that.userFriendlyDescription))
-        return false;
-    }
-
-    boolean this_present_metaData = true && this.isSetMetaData();
-    boolean that_present_metaData = true && that.isSetMetaData();
-    if (this_present_metaData || that_present_metaData) {
-      if (!(this_present_metaData && that_present_metaData))
-        return false;
-      if (!this.metaData.equals(that.metaData))
-        return false;
-    }
-
-    boolean this_present_inputOrder = true && this.isSetInputOrder();
-    boolean that_present_inputOrder = true && that.isSetInputOrder();
-    if (this_present_inputOrder || that_present_inputOrder) {
-      if (!(this_present_inputOrder && that_present_inputOrder))
-        return false;
-      if (this.inputOrder != that.inputOrder)
-        return false;
-    }
-
-    boolean this_present_isRequired = true && this.isSetIsRequired();
-    boolean that_present_isRequired = true && that.isSetIsRequired();
-    if (this_present_isRequired || that_present_isRequired) {
-      if (!(this_present_isRequired && that_present_isRequired))
-        return false;
-      if (this.isRequired != that.isRequired)
-        return false;
-    }
-
-    boolean this_present_requiredToAddedToCommandLine = true && this.isSetRequiredToAddedToCommandLine();
-    boolean that_present_requiredToAddedToCommandLine = true && that.isSetRequiredToAddedToCommandLine();
-    if (this_present_requiredToAddedToCommandLine || that_present_requiredToAddedToCommandLine) {
-      if (!(this_present_requiredToAddedToCommandLine && that_present_requiredToAddedToCommandLine))
-        return false;
-      if (this.requiredToAddedToCommandLine != that.requiredToAddedToCommandLine)
-        return false;
-    }
-
-    boolean this_present_dataStaged = true && this.isSetDataStaged();
-    boolean that_present_dataStaged = true && that.isSetDataStaged();
-    if (this_present_dataStaged || that_present_dataStaged) {
-      if (!(this_present_dataStaged && that_present_dataStaged))
-        return false;
-      if (this.dataStaged != that.dataStaged)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_name = true && (isSetName());
-    list.add(present_name);
-    if (present_name)
-      list.add(name);
-
-    boolean present_value = true && (isSetValue());
-    list.add(present_value);
-    if (present_value)
-      list.add(value);
-
-    boolean present_type = true && (isSetType());
-    list.add(present_type);
-    if (present_type)
-      list.add(type.getValue());
-
-    boolean present_applicationArgument = true && (isSetApplicationArgument());
-    list.add(present_applicationArgument);
-    if (present_applicationArgument)
-      list.add(applicationArgument);
-
-    boolean present_standardInput = true && (isSetStandardInput());
-    list.add(present_standardInput);
-    if (present_standardInput)
-      list.add(standardInput);
-
-    boolean present_userFriendlyDescription = true && (isSetUserFriendlyDescription());
-    list.add(present_userFriendlyDescription);
-    if (present_userFriendlyDescription)
-      list.add(userFriendlyDescription);
-
-    boolean present_metaData = true && (isSetMetaData());
-    list.add(present_metaData);
-    if (present_metaData)
-      list.add(metaData);
-
-    boolean present_inputOrder = true && (isSetInputOrder());
-    list.add(present_inputOrder);
-    if (present_inputOrder)
-      list.add(inputOrder);
-
-    boolean present_isRequired = true && (isSetIsRequired());
-    list.add(present_isRequired);
-    if (present_isRequired)
-      list.add(isRequired);
-
-    boolean present_requiredToAddedToCommandLine = true && (isSetRequiredToAddedToCommandLine());
-    list.add(present_requiredToAddedToCommandLine);
-    if (present_requiredToAddedToCommandLine)
-      list.add(requiredToAddedToCommandLine);
-
-    boolean present_dataStaged = true && (isSetDataStaged());
-    list.add(present_dataStaged);
-    if (present_dataStaged)
-      list.add(dataStaged);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(InputDataObjectType other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetValue()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetType()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationArgument()).compareTo(other.isSetApplicationArgument());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationArgument()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationArgument, other.applicationArgument);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetStandardInput()).compareTo(other.isSetStandardInput());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetStandardInput()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.standardInput, other.standardInput);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetUserFriendlyDescription()).compareTo(other.isSetUserFriendlyDescription());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetUserFriendlyDescription()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userFriendlyDescription, other.userFriendlyDescription);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetMetaData()).compareTo(other.isSetMetaData());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetMetaData()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.metaData, other.metaData);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetInputOrder()).compareTo(other.isSetInputOrder());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetInputOrder()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.inputOrder, other.inputOrder);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetIsRequired()).compareTo(other.isSetIsRequired());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetIsRequired()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isRequired, other.isRequired);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetRequiredToAddedToCommandLine()).compareTo(other.isSetRequiredToAddedToCommandLine());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRequiredToAddedToCommandLine()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.requiredToAddedToCommandLine, other.requiredToAddedToCommandLine);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetDataStaged()).compareTo(other.isSetDataStaged());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetDataStaged()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dataStaged, other.dataStaged);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("InputDataObjectType(");
-    boolean first = true;
-
-    sb.append("name:");
-    if (this.name == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.name);
-    }
-    first = false;
-    if (isSetValue()) {
-      if (!first) sb.append(", ");
-      sb.append("value:");
-      if (this.value == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.value);
-      }
-      first = false;
-    }
-    if (isSetType()) {
-      if (!first) sb.append(", ");
-      sb.append("type:");
-      if (this.type == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.type);
-      }
-      first = false;
-    }
-    if (isSetApplicationArgument()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationArgument:");
-      if (this.applicationArgument == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationArgument);
-      }
-      first = false;
-    }
-    if (isSetStandardInput()) {
-      if (!first) sb.append(", ");
-      sb.append("standardInput:");
-      sb.append(this.standardInput);
-      first = false;
-    }
-    if (isSetUserFriendlyDescription()) {
-      if (!first) sb.append(", ");
-      sb.append("userFriendlyDescription:");
-      if (this.userFriendlyDescription == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.userFriendlyDescription);
-      }
-      first = false;
-    }
-    if (isSetMetaData()) {
-      if (!first) sb.append(", ");
-      sb.append("metaData:");
-      if (this.metaData == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.metaData);
-      }
-      first = false;
-    }
-    if (isSetInputOrder()) {
-      if (!first) sb.append(", ");
-      sb.append("inputOrder:");
-      sb.append(this.inputOrder);
-      first = false;
-    }
-    if (isSetIsRequired()) {
-      if (!first) sb.append(", ");
-      sb.append("isRequired:");
-      sb.append(this.isRequired);
-      first = false;
-    }
-    if (isSetRequiredToAddedToCommandLine()) {
-      if (!first) sb.append(", ");
-      sb.append("requiredToAddedToCommandLine:");
-      sb.append(this.requiredToAddedToCommandLine);
-      first = false;
-    }
-    if (isSetDataStaged()) {
-      if (!first) sb.append(", ");
-      sb.append("dataStaged:");
-      sb.append(this.dataStaged);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetName()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class InputDataObjectTypeStandardSchemeFactory implements SchemeFactory {
-    public InputDataObjectTypeStandardScheme getScheme() {
-      return new InputDataObjectTypeStandardScheme();
-    }
-  }
-
-  private static class InputDataObjectTypeStandardScheme extends StandardScheme<InputDataObjectType> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, InputDataObjectType struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.name = iprot.readString();
-              struct.setNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // VALUE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.value = iprot.readString();
-              struct.setValueIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // TYPE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.type = org.apache.airavata.model.appcatalog.appinterface.DataType.findByValue(iprot.readI32());
-              struct.setTypeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // APPLICATION_ARGUMENT
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationArgument = iprot.readString();
-              struct.setApplicationArgumentIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // STANDARD_INPUT
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.standardInput = iprot.readBool();
-              struct.setStandardInputIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // USER_FRIENDLY_DESCRIPTION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.userFriendlyDescription = iprot.readString();
-              struct.setUserFriendlyDescriptionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // META_DATA
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.metaData = iprot.readString();
-              struct.setMetaDataIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // INPUT_ORDER
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.inputOrder = iprot.readI32();
-              struct.setInputOrderIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // IS_REQUIRED
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.isRequired = iprot.readBool();
-              struct.setIsRequiredIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 10: // REQUIRED_TO_ADDED_TO_COMMAND_LINE
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.requiredToAddedToCommandLine = iprot.readBool();
-              struct.setRequiredToAddedToCommandLineIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 11: // DATA_STAGED
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.dataStaged = iprot.readBool();
-              struct.setDataStagedIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, InputDataObjectType struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.name != null) {
-        oprot.writeFieldBegin(NAME_FIELD_DESC);
-        oprot.writeString(struct.name);
-        oprot.writeFieldEnd();
-      }
-      if (struct.value != null) {
-        if (struct.isSetValue()) {
-          oprot.writeFieldBegin(VALUE_FIELD_DESC);
-          oprot.writeString(struct.value);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.type != null) {
-        if (struct.isSetType()) {
-          oprot.writeFieldBegin(TYPE_FIELD_DESC);
-          oprot.writeI32(struct.type.getValue());
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.applicationArgument != null) {
-        if (struct.isSetApplicationArgument()) {
-          oprot.writeFieldBegin(APPLICATION_ARGUMENT_FIELD_DESC);
-          oprot.writeString(struct.applicationArgument);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetStandardInput()) {
-        oprot.writeFieldBegin(STANDARD_INPUT_FIELD_DESC);
-        oprot.writeBool(struct.standardInput);
-        oprot.writeFieldEnd();
-      }
-      if (struct.userFriendlyDescription != null) {
-        if (struct.isSetUserFriendlyDescription()) {
-          oprot.writeFieldBegin(USER_FRIENDLY_DESCRIPTION_FIELD_DESC);
-          oprot.writeString(struct.userFriendlyDescription);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.metaData != null) {
-        if (struct.isSetMetaData()) {
-          oprot.writeFieldBegin(META_DATA_FIELD_DESC);
-          oprot.writeString(struct.metaData);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetInputOrder()) {
-        oprot.writeFieldBegin(INPUT_ORDER_FIELD_DESC);
-        oprot.writeI32(struct.inputOrder);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetIsRequired()) {
-        oprot.writeFieldBegin(IS_REQUIRED_FIELD_DESC);
-        oprot.writeBool(struct.isRequired);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetRequiredToAddedToCommandLine()) {
-        oprot.writeFieldBegin(REQUIRED_TO_ADDED_TO_COMMAND_LINE_FIELD_DESC);
-        oprot.writeBool(struct.requiredToAddedToCommandLine);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetDataStaged()) {
-        oprot.writeFieldBegin(DATA_STAGED_FIELD_DESC);
-        oprot.writeBool(struct.dataStaged);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class InputDataObjectTypeTupleSchemeFactory implements SchemeFactory {
-    public InputDataObjectTypeTupleScheme getScheme() {
-      return new InputDataObjectTypeTupleScheme();
-    }
-  }
-
-  private static class InputDataObjectTypeTupleScheme extends TupleScheme<InputDataObjectType> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, InputDataObjectType struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.name);
-      BitSet optionals = new BitSet();
-      if (struct.isSetValue()) {
-        optionals.set(0);
-      }
-      if (struct.isSetType()) {
-        optionals.set(1);
-      }
-      if (struct.isSetApplicationArgument()) {
-        optionals.set(2);
-      }
-      if (struct.isSetStandardInput()) {
-        optionals.set(3);
-      }
-      if (struct.isSetUserFriendlyDescription()) {
-        optionals.set(4);
-      }
-      if (struct.isSetMetaData()) {
-        optionals.set(5);
-      }
-      if (struct.isSetInputOrder()) {
-        optionals.set(6);
-      }
-      if (struct.isSetIsRequired()) {
-        optionals.set(7);
-      }
-      if (struct.isSetRequiredToAddedToCommandLine()) {
-        optionals.set(8);
-      }
-      if (struct.isSetDataStaged()) {
-        optionals.set(9);
-      }
-      oprot.writeBitSet(optionals, 10);
-      if (struct.isSetValue()) {
-        oprot.writeString(struct.value);
-      }
-      if (struct.isSetType()) {
-        oprot.writeI32(struct.type.getValue());
-      }
-      if (struct.isSetApplicationArgument()) {
-        oprot.writeString(struct.applicationArgument);
-      }
-      if (struct.isSetStandardInput()) {
-        oprot.writeBool(struct.standardInput);
-      }
-      if (struct.isSetUserFriendlyDescription()) {
-        oprot.writeString(struct.userFriendlyDescription);
-      }
-      if (struct.isSetMetaData()) {
-        oprot.writeString(struct.metaData);
-      }
-      if (struct.isSetInputOrder()) {
-        oprot.writeI32(struct.inputOrder);
-      }
-      if (struct.isSetIsRequired()) {
-        oprot.writeBool(struct.isRequired);
-      }
-      if (struct.isSetRequiredToAddedToCommandLine()) {
-        oprot.writeBool(struct.requiredToAddedToCommandLine);
-      }
-      if (struct.isSetDataStaged()) {
-        oprot.writeBool(struct.dataStaged);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, InputDataObjectType struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.name = iprot.readString();
-      struct.setNameIsSet(true);
-      BitSet incoming = iprot.readBitSet(10);
-      if (incoming.get(0)) {
-        struct.value = iprot.readString();
-        struct.setValueIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.type = org.apache.airavata.model.appcatalog.appinterface.DataType.findByValue(iprot.readI32());
-        struct.setTypeIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.applicationArgument = iprot.readString();
-        struct.setApplicationArgumentIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.standardInput = iprot.readBool();
-        struct.setStandardInputIsSet(true);
-      }
-      if (incoming.get(4)) {
-        struct.userFriendlyDescription = iprot.readString();
-        struct.setUserFriendlyDescriptionIsSet(true);
-      }
-      if (incoming.get(5)) {
-        struct.metaData = iprot.readString();
-        struct.setMetaDataIsSet(true);
-      }
-      if (incoming.get(6)) {
-        struct.inputOrder = iprot.readI32();
-        struct.setInputOrderIsSet(true);
-      }
-      if (incoming.get(7)) {
-        struct.isRequired = iprot.readBool();
-        struct.setIsRequiredIsSet(true);
-      }
-      if (incoming.get(8)) {
-        struct.requiredToAddedToCommandLine = iprot.readBool();
-        struct.setRequiredToAddedToCommandLineIsSet(true);
-      }
-      if (incoming.get(9)) {
-        struct.dataStaged = iprot.readBool();
-        struct.setDataStagedIsSet(true);
-      }
-    }
-  }
-
-}
-

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/InputMetadataType.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/InputMetadataType.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/InputMetadataType.java
deleted file mode 100644
index f0d2a13..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/InputMetadataType.java
+++ /dev/null
@@ -1,62 +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.appinterface;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-@SuppressWarnings("all") public enum InputMetadataType implements org.apache.thrift.TEnum {
-  MEMORY(0),
-  CPU(1);
-
-  private final int value;
-
-  private InputMetadataType(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 InputMetadataType findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return MEMORY;
-      case 1:
-        return CPU;
-      default:
-        return null;
-    }
-  }
-}


[31/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
generated new data model classes.


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

Branch: refs/heads/master
Commit: 51fa27b80779a7a96c61deb08528017134b9224f
Parents: c404883
Author: Shameera Rathanyaka <sh...@gmail.com>
Authored: Fri Jun 12 19:15:58 2015 -0400
Committer: Shameera Rathanyaka <sh...@gmail.com>
Committed: Fri Jun 12 19:15:58 2015 -0400

----------------------------------------------------------------------
 .../server/handler/AiravataServerHandler.java   |  378 +-
 .../java/org/apache/airavata/api/Airavata.java  | 6757 +++++++-----------
 .../airavata/api/airavata_apiConstants.java     |   72 +
 .../org/apache/airavata/model/Workflow.java     |   78 +-
 .../ApplicationDeploymentDescription.java       |    2 +-
 .../appdeployment/ApplicationModule.java        |    2 +-
 .../appcatalog/appdeployment/SetEnvPaths.java   |    2 +-
 .../applicationDeploymentModelConstants.java    |   56 -
 .../application_deployment_modelConstants.java  |   58 +
 .../ApplicationInterfaceDescription.java        |   78 +-
 .../model/appcatalog/appinterface/DataType.java |   78 -
 .../appinterface/InputDataObjectType.java       | 1481 ----
 .../appinterface/InputMetadataType.java         |   62 -
 .../appinterface/OutputDataObjectType.java      | 1279 ----
 .../applicationInterfaceModelConstants.java     |   56 -
 .../application_interface_modelConstants.java   |   58 +
 .../computeresource/AuthenticationMode.java     |   70 -
 .../appcatalog/computeresource/BatchQueue.java  |    2 +-
 .../computeresource/CloudJobSubmission.java     |    2 +-
 .../computeresource/CloundJobSubmission.java    |  908 ---
 .../ComputeResourceDescription.java             |    2 +-
 .../computeresource/DataMovementInterface.java  |    2 +-
 .../computeresource/GlobusJobSubmission.java    |    2 +-
 .../computeresource/GridFTPDataMovement.java    |    2 +-
 .../computeresource/JobSubmissionInterface.java |    2 +-
 .../computeresource/LOCALDataMovement.java      |    2 +-
 .../computeresource/LOCALSubmission.java        |    2 +-
 .../computeresource/ResourceJobManager.java     |    2 +-
 .../computeresource/SCPDataMovement.java        |    2 +-
 .../computeresource/SSHJobSubmission.java       |    2 +-
 .../computeresource/UnicoreDataMovement.java    |    2 +-
 .../computeresource/UnicoreJobSubmission.java   |    2 +-
 .../computeResourceModelConstants.java          |   56 -
 .../compute_resource_modelConstants.java        |   58 +
 .../ComputeResourcePreference.java              |    2 +-
 .../gatewayprofile/GatewayResourceProfile.java  |    2 +-
 .../gatewayResourceProfileModelConstants.java   |   56 -
 .../airavata/model/application/io/DataType.java |   78 +
 .../application/io/InputDataObjectType.java     | 1481 ++++
 .../application/io/OutputDataObjectType.java    | 1279 ++++
 .../airavata/model/commons/ErrorModel.java      |  984 +++
 .../model/commons/ValidationResults.java        |  559 ++
 .../airavata/model/commons/ValidatorResult.java |  521 ++
 .../commons/airavata_commonsConstants.java      |   58 +
 .../error/AiravataClientConnectException.java   |   32 -
 .../model/error/AiravataClientException.java    |    2 +-
 .../model/error/AiravataSystemException.java    |    2 +-
 .../model/error/AuthenticationException.java    |    2 +-
 .../model/error/AuthorizationException.java     |    2 +-
 .../error/ExperimentNotFoundException.java      |    2 +-
 .../model/error/InvalidRequestException.java    |    2 +-
 .../model/error/LaunchValidationException.java  |  521 --
 .../model/error/ProjectNotFoundException.java   |    2 +-
 .../airavata/model/error/TimedOutException.java |    2 +-
 .../airavata/model/error/ValidationResults.java |  559 --
 .../airavata/model/error/ValidatorResult.java   |  514 --
 .../model/experiment/ExperimentModel.java       | 2222 ++++++
 .../experiment/ExperimentSearchFields.java      |   74 +
 .../model/experiment/ExperimentStatistics.java  | 1332 ++++
 .../experiment/ExperimentSummaryModel.java      | 1139 +++
 .../model/experiment/ExperimentType.java        |   62 +
 .../experiment/UserConfigurationDataModel.java  | 1032 +++
 .../org/apache/airavata/model/job/JobModel.java | 1043 +++
 .../event/ExperimentStatusChangeEvent.java      |   24 +-
 .../model/messaging/event/JobIdentifier.java    |    2 +-
 .../messaging/event/JobStatusChangeEvent.java   |   24 +-
 .../event/JobStatusChangeRequestEvent.java      |   24 +-
 .../airavata/model/messaging/event/Message.java |    2 +-
 .../messaging/event/ProcessSubmitEvent.java     |    2 +-
 .../model/messaging/event/TaskIdentifier.java   |    2 +-
 .../messaging/event/TaskOutputChangeEvent.java  |   42 +-
 .../messaging/event/TaskStatusChangeEvent.java  |   24 +-
 .../event/TaskStatusChangeRequestEvent.java     |   24 +-
 .../model/messaging/event/TaskSubmitEvent.java  |    2 +-
 .../messaging/event/TaskTerminateEvent.java     |    2 +-
 .../messaging/event/WorkflowIdentifier.java     |  608 --
 .../event/WorkflowNodeStatusChangeEvent.java    |  524 --
 .../event/messagingEventsConstants.java         |   56 -
 .../event/messaging_eventsConstants.java        |   58 +
 .../airavata/model/process/ProcessModel.java    | 1856 +++++
 .../ComputationalResourceSchedulingModel.java   | 1020 +++
 .../airavata/model/security/AuthzToken.java     |    2 +-
 .../airavata/model/status/ExperimentState.java  |   83 +
 .../airavata/model/status/ExperimentStatus.java |  644 ++
 .../apache/airavata/model/status/JobState.java  |   80 +
 .../apache/airavata/model/status/JobStatus.java |  631 ++
 .../airavata/model/status/ProcessState.java     |   77 +
 .../airavata/model/status/ProcessStatus.java    |  631 ++
 .../apache/airavata/model/status/TaskState.java |   71 +
 .../airavata/model/status/TaskStatus.java       |  631 ++
 .../model/task/DataStagingTaskModel.java        |  826 +++
 .../apache/airavata/model/task/TaskModel.java   | 1252 ++++
 .../apache/airavata/model/task/TaskTypes.java   |   75 +
 .../model/workflowDataModelConstants.java       |   56 -
 .../model/workflow_data_modelConstants.java     |   58 +
 .../airavata/model/workspace/Gateway.java       |    2 +-
 .../apache/airavata/model/workspace/Group.java  |    2 +-
 .../airavata/model/workspace/Project.java       |    7 +-
 .../apache/airavata/model/workspace/User.java   |    2 +-
 .../workspace/experiment/ActionableGroup.java   |   71 -
 .../experiment/AdvancedInputDataHandling.java   |  726 --
 .../experiment/AdvancedOutputDataHandling.java  |  625 --
 .../workspace/experiment/ApplicationStatus.java |  513 --
 .../ComputationalResourceScheduling.java        | 1330 ----
 .../workspace/experiment/CorrectiveAction.java  |   65 -
 .../experiment/DataTransferDetails.java         |  728 --
 .../workspace/experiment/ErrorCategory.java     |   80 -
 .../workspace/experiment/ErrorDetails.java      | 1338 ----
 .../workspace/experiment/ExecutionUnit.java     |   68 -
 .../model/workspace/experiment/Experiment.java  | 2856 --------
 .../experiment/ExperimentSearchFields.java      |   74 -
 .../workspace/experiment/ExperimentState.java   |   89 -
 .../experiment/ExperimentStatistics.java        | 1332 ----
 .../workspace/experiment/ExperimentStatus.java  |  525 --
 .../workspace/experiment/ExperimentSummary.java | 1139 ---
 .../model/workspace/experiment/JobDetails.java  | 1317 ----
 .../model/workspace/experiment/JobState.java    |   92 -
 .../model/workspace/experiment/JobStatus.java   |  525 --
 .../experiment/QualityOfServiceParams.java      |  623 --
 .../model/workspace/experiment/TaskDetails.java | 2338 ------
 .../model/workspace/experiment/TaskState.java   |   95 -
 .../model/workspace/experiment/TaskStatus.java  |  525 --
 .../workspace/experiment/TransferState.java     |   95 -
 .../workspace/experiment/TransferStatus.java    |  525 --
 .../experiment/UserConfigurationData.java       | 1365 ----
 .../workspace/experiment/ValidationResults.java |  559 --
 .../workspace/experiment/ValidatorResult.java   |  521 --
 .../experiment/WorkflowNodeDetails.java         | 1597 -----
 .../workspace/experiment/WorkflowNodeState.java |   80 -
 .../experiment/WorkflowNodeStatus.java          |  525 --
 .../experiment/experimentModelConstants.java    |   60 -
 .../airavata-api/airavata_data_models.thrift    |    3 +
 132 files changed, 23131 insertions(+), 33882 deletions(-)
----------------------------------------------------------------------



[10/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ErrorDetails.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ErrorDetails.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ErrorDetails.java
deleted file mode 100644
index 2e04740..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ErrorDetails.java
+++ /dev/null
@@ -1,1338 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ErrorDetails implements org.apache.thrift.TBase<ErrorDetails, ErrorDetails._Fields>, java.io.Serializable, Cloneable, Comparable<ErrorDetails> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ErrorDetails");
-
-  private static final org.apache.thrift.protocol.TField ERROR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("errorID", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)2);
-  private static final org.apache.thrift.protocol.TField ACTUAL_ERROR_MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("actualErrorMessage", org.apache.thrift.protocol.TType.STRING, (short)3);
-  private static final org.apache.thrift.protocol.TField USER_FRIENDLY_MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("userFriendlyMessage", org.apache.thrift.protocol.TType.STRING, (short)4);
-  private static final org.apache.thrift.protocol.TField ERROR_CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("errorCategory", org.apache.thrift.protocol.TType.I32, (short)5);
-  private static final org.apache.thrift.protocol.TField TRANSIENT_OR_PERSISTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("transientOrPersistent", org.apache.thrift.protocol.TType.BOOL, (short)6);
-  private static final org.apache.thrift.protocol.TField CORRECTIVE_ACTION_FIELD_DESC = new org.apache.thrift.protocol.TField("correctiveAction", org.apache.thrift.protocol.TType.I32, (short)7);
-  private static final org.apache.thrift.protocol.TField ACTIONABLE_GROUP_FIELD_DESC = new org.apache.thrift.protocol.TField("actionableGroup", org.apache.thrift.protocol.TType.I32, (short)8);
-  private static final org.apache.thrift.protocol.TField ROOT_CAUSE_ERROR_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("rootCauseErrorIdList", org.apache.thrift.protocol.TType.LIST, (short)9);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ErrorDetailsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ErrorDetailsTupleSchemeFactory());
-  }
-
-  private String errorID; // required
-  private long creationTime; // optional
-  private String actualErrorMessage; // optional
-  private String userFriendlyMessage; // optional
-  private ErrorCategory errorCategory; // optional
-  private boolean transientOrPersistent; // optional
-  private CorrectiveAction correctiveAction; // optional
-  private ActionableGroup actionableGroup; // optional
-  private List<String> rootCauseErrorIdList; // 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 {
-    ERROR_ID((short)1, "errorID"),
-    CREATION_TIME((short)2, "creationTime"),
-    ACTUAL_ERROR_MESSAGE((short)3, "actualErrorMessage"),
-    USER_FRIENDLY_MESSAGE((short)4, "userFriendlyMessage"),
-    /**
-     * 
-     * @see ErrorCategory
-     */
-    ERROR_CATEGORY((short)5, "errorCategory"),
-    TRANSIENT_OR_PERSISTENT((short)6, "transientOrPersistent"),
-    /**
-     * 
-     * @see CorrectiveAction
-     */
-    CORRECTIVE_ACTION((short)7, "correctiveAction"),
-    /**
-     * 
-     * @see ActionableGroup
-     */
-    ACTIONABLE_GROUP((short)8, "actionableGroup"),
-    ROOT_CAUSE_ERROR_ID_LIST((short)9, "rootCauseErrorIdList");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // ERROR_ID
-          return ERROR_ID;
-        case 2: // CREATION_TIME
-          return CREATION_TIME;
-        case 3: // ACTUAL_ERROR_MESSAGE
-          return ACTUAL_ERROR_MESSAGE;
-        case 4: // USER_FRIENDLY_MESSAGE
-          return USER_FRIENDLY_MESSAGE;
-        case 5: // ERROR_CATEGORY
-          return ERROR_CATEGORY;
-        case 6: // TRANSIENT_OR_PERSISTENT
-          return TRANSIENT_OR_PERSISTENT;
-        case 7: // CORRECTIVE_ACTION
-          return CORRECTIVE_ACTION;
-        case 8: // ACTIONABLE_GROUP
-          return ACTIONABLE_GROUP;
-        case 9: // ROOT_CAUSE_ERROR_ID_LIST
-          return ROOT_CAUSE_ERROR_ID_LIST;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __CREATIONTIME_ISSET_ID = 0;
-  private static final int __TRANSIENTORPERSISTENT_ISSET_ID = 1;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.ACTUAL_ERROR_MESSAGE,_Fields.USER_FRIENDLY_MESSAGE,_Fields.ERROR_CATEGORY,_Fields.TRANSIENT_OR_PERSISTENT,_Fields.CORRECTIVE_ACTION,_Fields.ACTIONABLE_GROUP,_Fields.ROOT_CAUSE_ERROR_ID_LIST};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.ERROR_ID, new org.apache.thrift.meta_data.FieldMetaData("errorID", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    tmpMap.put(_Fields.ACTUAL_ERROR_MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("actualErrorMessage", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.USER_FRIENDLY_MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("userFriendlyMessage", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.ERROR_CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("errorCategory", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ErrorCategory.class)));
-    tmpMap.put(_Fields.TRANSIENT_OR_PERSISTENT, new org.apache.thrift.meta_data.FieldMetaData("transientOrPersistent", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.CORRECTIVE_ACTION, new org.apache.thrift.meta_data.FieldMetaData("correctiveAction", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, CorrectiveAction.class)));
-    tmpMap.put(_Fields.ACTIONABLE_GROUP, new org.apache.thrift.meta_data.FieldMetaData("actionableGroup", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ActionableGroup.class)));
-    tmpMap.put(_Fields.ROOT_CAUSE_ERROR_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("rootCauseErrorIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ErrorDetails.class, metaDataMap);
-  }
-
-  public ErrorDetails() {
-    this.errorID = "DO_NOT_SET_AT_CLIENTS";
-
-    this.transientOrPersistent = false;
-
-  }
-
-  public ErrorDetails(
-    String errorID)
-  {
-    this();
-    this.errorID = errorID;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ErrorDetails(ErrorDetails other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetErrorID()) {
-      this.errorID = other.errorID;
-    }
-    this.creationTime = other.creationTime;
-    if (other.isSetActualErrorMessage()) {
-      this.actualErrorMessage = other.actualErrorMessage;
-    }
-    if (other.isSetUserFriendlyMessage()) {
-      this.userFriendlyMessage = other.userFriendlyMessage;
-    }
-    if (other.isSetErrorCategory()) {
-      this.errorCategory = other.errorCategory;
-    }
-    this.transientOrPersistent = other.transientOrPersistent;
-    if (other.isSetCorrectiveAction()) {
-      this.correctiveAction = other.correctiveAction;
-    }
-    if (other.isSetActionableGroup()) {
-      this.actionableGroup = other.actionableGroup;
-    }
-    if (other.isSetRootCauseErrorIdList()) {
-      List<String> __this__rootCauseErrorIdList = new ArrayList<String>(other.rootCauseErrorIdList);
-      this.rootCauseErrorIdList = __this__rootCauseErrorIdList;
-    }
-  }
-
-  public ErrorDetails deepCopy() {
-    return new ErrorDetails(this);
-  }
-
-  @Override
-  public void clear() {
-    this.errorID = "DO_NOT_SET_AT_CLIENTS";
-
-    setCreationTimeIsSet(false);
-    this.creationTime = 0;
-    this.actualErrorMessage = null;
-    this.userFriendlyMessage = null;
-    this.errorCategory = null;
-    this.transientOrPersistent = false;
-
-    this.correctiveAction = null;
-    this.actionableGroup = null;
-    this.rootCauseErrorIdList = null;
-  }
-
-  public String getErrorID() {
-    return this.errorID;
-  }
-
-  public void setErrorID(String errorID) {
-    this.errorID = errorID;
-  }
-
-  public void unsetErrorID() {
-    this.errorID = null;
-  }
-
-  /** Returns true if field errorID is set (has been assigned a value) and false otherwise */
-  public boolean isSetErrorID() {
-    return this.errorID != null;
-  }
-
-  public void setErrorIDIsSet(boolean value) {
-    if (!value) {
-      this.errorID = null;
-    }
-  }
-
-  public long getCreationTime() {
-    return this.creationTime;
-  }
-
-  public void setCreationTime(long creationTime) {
-    this.creationTime = creationTime;
-    setCreationTimeIsSet(true);
-  }
-
-  public void unsetCreationTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetCreationTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  public void setCreationTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
-  }
-
-  public String getActualErrorMessage() {
-    return this.actualErrorMessage;
-  }
-
-  public void setActualErrorMessage(String actualErrorMessage) {
-    this.actualErrorMessage = actualErrorMessage;
-  }
-
-  public void unsetActualErrorMessage() {
-    this.actualErrorMessage = null;
-  }
-
-  /** Returns true if field actualErrorMessage is set (has been assigned a value) and false otherwise */
-  public boolean isSetActualErrorMessage() {
-    return this.actualErrorMessage != null;
-  }
-
-  public void setActualErrorMessageIsSet(boolean value) {
-    if (!value) {
-      this.actualErrorMessage = null;
-    }
-  }
-
-  public String getUserFriendlyMessage() {
-    return this.userFriendlyMessage;
-  }
-
-  public void setUserFriendlyMessage(String userFriendlyMessage) {
-    this.userFriendlyMessage = userFriendlyMessage;
-  }
-
-  public void unsetUserFriendlyMessage() {
-    this.userFriendlyMessage = null;
-  }
-
-  /** Returns true if field userFriendlyMessage is set (has been assigned a value) and false otherwise */
-  public boolean isSetUserFriendlyMessage() {
-    return this.userFriendlyMessage != null;
-  }
-
-  public void setUserFriendlyMessageIsSet(boolean value) {
-    if (!value) {
-      this.userFriendlyMessage = null;
-    }
-  }
-
-  /**
-   * 
-   * @see ErrorCategory
-   */
-  public ErrorCategory getErrorCategory() {
-    return this.errorCategory;
-  }
-
-  /**
-   * 
-   * @see ErrorCategory
-   */
-  public void setErrorCategory(ErrorCategory errorCategory) {
-    this.errorCategory = errorCategory;
-  }
-
-  public void unsetErrorCategory() {
-    this.errorCategory = null;
-  }
-
-  /** Returns true if field errorCategory is set (has been assigned a value) and false otherwise */
-  public boolean isSetErrorCategory() {
-    return this.errorCategory != null;
-  }
-
-  public void setErrorCategoryIsSet(boolean value) {
-    if (!value) {
-      this.errorCategory = null;
-    }
-  }
-
-  public boolean isTransientOrPersistent() {
-    return this.transientOrPersistent;
-  }
-
-  public void setTransientOrPersistent(boolean transientOrPersistent) {
-    this.transientOrPersistent = transientOrPersistent;
-    setTransientOrPersistentIsSet(true);
-  }
-
-  public void unsetTransientOrPersistent() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TRANSIENTORPERSISTENT_ISSET_ID);
-  }
-
-  /** Returns true if field transientOrPersistent is set (has been assigned a value) and false otherwise */
-  public boolean isSetTransientOrPersistent() {
-    return EncodingUtils.testBit(__isset_bitfield, __TRANSIENTORPERSISTENT_ISSET_ID);
-  }
-
-  public void setTransientOrPersistentIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TRANSIENTORPERSISTENT_ISSET_ID, value);
-  }
-
-  /**
-   * 
-   * @see CorrectiveAction
-   */
-  public CorrectiveAction getCorrectiveAction() {
-    return this.correctiveAction;
-  }
-
-  /**
-   * 
-   * @see CorrectiveAction
-   */
-  public void setCorrectiveAction(CorrectiveAction correctiveAction) {
-    this.correctiveAction = correctiveAction;
-  }
-
-  public void unsetCorrectiveAction() {
-    this.correctiveAction = null;
-  }
-
-  /** Returns true if field correctiveAction is set (has been assigned a value) and false otherwise */
-  public boolean isSetCorrectiveAction() {
-    return this.correctiveAction != null;
-  }
-
-  public void setCorrectiveActionIsSet(boolean value) {
-    if (!value) {
-      this.correctiveAction = null;
-    }
-  }
-
-  /**
-   * 
-   * @see ActionableGroup
-   */
-  public ActionableGroup getActionableGroup() {
-    return this.actionableGroup;
-  }
-
-  /**
-   * 
-   * @see ActionableGroup
-   */
-  public void setActionableGroup(ActionableGroup actionableGroup) {
-    this.actionableGroup = actionableGroup;
-  }
-
-  public void unsetActionableGroup() {
-    this.actionableGroup = null;
-  }
-
-  /** Returns true if field actionableGroup is set (has been assigned a value) and false otherwise */
-  public boolean isSetActionableGroup() {
-    return this.actionableGroup != null;
-  }
-
-  public void setActionableGroupIsSet(boolean value) {
-    if (!value) {
-      this.actionableGroup = null;
-    }
-  }
-
-  public int getRootCauseErrorIdListSize() {
-    return (this.rootCauseErrorIdList == null) ? 0 : this.rootCauseErrorIdList.size();
-  }
-
-  public java.util.Iterator<String> getRootCauseErrorIdListIterator() {
-    return (this.rootCauseErrorIdList == null) ? null : this.rootCauseErrorIdList.iterator();
-  }
-
-  public void addToRootCauseErrorIdList(String elem) {
-    if (this.rootCauseErrorIdList == null) {
-      this.rootCauseErrorIdList = new ArrayList<String>();
-    }
-    this.rootCauseErrorIdList.add(elem);
-  }
-
-  public List<String> getRootCauseErrorIdList() {
-    return this.rootCauseErrorIdList;
-  }
-
-  public void setRootCauseErrorIdList(List<String> rootCauseErrorIdList) {
-    this.rootCauseErrorIdList = rootCauseErrorIdList;
-  }
-
-  public void unsetRootCauseErrorIdList() {
-    this.rootCauseErrorIdList = null;
-  }
-
-  /** Returns true if field rootCauseErrorIdList is set (has been assigned a value) and false otherwise */
-  public boolean isSetRootCauseErrorIdList() {
-    return this.rootCauseErrorIdList != null;
-  }
-
-  public void setRootCauseErrorIdListIsSet(boolean value) {
-    if (!value) {
-      this.rootCauseErrorIdList = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case ERROR_ID:
-      if (value == null) {
-        unsetErrorID();
-      } else {
-        setErrorID((String)value);
-      }
-      break;
-
-    case CREATION_TIME:
-      if (value == null) {
-        unsetCreationTime();
-      } else {
-        setCreationTime((Long)value);
-      }
-      break;
-
-    case ACTUAL_ERROR_MESSAGE:
-      if (value == null) {
-        unsetActualErrorMessage();
-      } else {
-        setActualErrorMessage((String)value);
-      }
-      break;
-
-    case USER_FRIENDLY_MESSAGE:
-      if (value == null) {
-        unsetUserFriendlyMessage();
-      } else {
-        setUserFriendlyMessage((String)value);
-      }
-      break;
-
-    case ERROR_CATEGORY:
-      if (value == null) {
-        unsetErrorCategory();
-      } else {
-        setErrorCategory((ErrorCategory)value);
-      }
-      break;
-
-    case TRANSIENT_OR_PERSISTENT:
-      if (value == null) {
-        unsetTransientOrPersistent();
-      } else {
-        setTransientOrPersistent((Boolean)value);
-      }
-      break;
-
-    case CORRECTIVE_ACTION:
-      if (value == null) {
-        unsetCorrectiveAction();
-      } else {
-        setCorrectiveAction((CorrectiveAction)value);
-      }
-      break;
-
-    case ACTIONABLE_GROUP:
-      if (value == null) {
-        unsetActionableGroup();
-      } else {
-        setActionableGroup((ActionableGroup)value);
-      }
-      break;
-
-    case ROOT_CAUSE_ERROR_ID_LIST:
-      if (value == null) {
-        unsetRootCauseErrorIdList();
-      } else {
-        setRootCauseErrorIdList((List<String>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case ERROR_ID:
-      return getErrorID();
-
-    case CREATION_TIME:
-      return Long.valueOf(getCreationTime());
-
-    case ACTUAL_ERROR_MESSAGE:
-      return getActualErrorMessage();
-
-    case USER_FRIENDLY_MESSAGE:
-      return getUserFriendlyMessage();
-
-    case ERROR_CATEGORY:
-      return getErrorCategory();
-
-    case TRANSIENT_OR_PERSISTENT:
-      return Boolean.valueOf(isTransientOrPersistent());
-
-    case CORRECTIVE_ACTION:
-      return getCorrectiveAction();
-
-    case ACTIONABLE_GROUP:
-      return getActionableGroup();
-
-    case ROOT_CAUSE_ERROR_ID_LIST:
-      return getRootCauseErrorIdList();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case ERROR_ID:
-      return isSetErrorID();
-    case CREATION_TIME:
-      return isSetCreationTime();
-    case ACTUAL_ERROR_MESSAGE:
-      return isSetActualErrorMessage();
-    case USER_FRIENDLY_MESSAGE:
-      return isSetUserFriendlyMessage();
-    case ERROR_CATEGORY:
-      return isSetErrorCategory();
-    case TRANSIENT_OR_PERSISTENT:
-      return isSetTransientOrPersistent();
-    case CORRECTIVE_ACTION:
-      return isSetCorrectiveAction();
-    case ACTIONABLE_GROUP:
-      return isSetActionableGroup();
-    case ROOT_CAUSE_ERROR_ID_LIST:
-      return isSetRootCauseErrorIdList();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ErrorDetails)
-      return this.equals((ErrorDetails)that);
-    return false;
-  }
-
-  public boolean equals(ErrorDetails that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_errorID = true && this.isSetErrorID();
-    boolean that_present_errorID = true && that.isSetErrorID();
-    if (this_present_errorID || that_present_errorID) {
-      if (!(this_present_errorID && that_present_errorID))
-        return false;
-      if (!this.errorID.equals(that.errorID))
-        return false;
-    }
-
-    boolean this_present_creationTime = true && this.isSetCreationTime();
-    boolean that_present_creationTime = true && that.isSetCreationTime();
-    if (this_present_creationTime || that_present_creationTime) {
-      if (!(this_present_creationTime && that_present_creationTime))
-        return false;
-      if (this.creationTime != that.creationTime)
-        return false;
-    }
-
-    boolean this_present_actualErrorMessage = true && this.isSetActualErrorMessage();
-    boolean that_present_actualErrorMessage = true && that.isSetActualErrorMessage();
-    if (this_present_actualErrorMessage || that_present_actualErrorMessage) {
-      if (!(this_present_actualErrorMessage && that_present_actualErrorMessage))
-        return false;
-      if (!this.actualErrorMessage.equals(that.actualErrorMessage))
-        return false;
-    }
-
-    boolean this_present_userFriendlyMessage = true && this.isSetUserFriendlyMessage();
-    boolean that_present_userFriendlyMessage = true && that.isSetUserFriendlyMessage();
-    if (this_present_userFriendlyMessage || that_present_userFriendlyMessage) {
-      if (!(this_present_userFriendlyMessage && that_present_userFriendlyMessage))
-        return false;
-      if (!this.userFriendlyMessage.equals(that.userFriendlyMessage))
-        return false;
-    }
-
-    boolean this_present_errorCategory = true && this.isSetErrorCategory();
-    boolean that_present_errorCategory = true && that.isSetErrorCategory();
-    if (this_present_errorCategory || that_present_errorCategory) {
-      if (!(this_present_errorCategory && that_present_errorCategory))
-        return false;
-      if (!this.errorCategory.equals(that.errorCategory))
-        return false;
-    }
-
-    boolean this_present_transientOrPersistent = true && this.isSetTransientOrPersistent();
-    boolean that_present_transientOrPersistent = true && that.isSetTransientOrPersistent();
-    if (this_present_transientOrPersistent || that_present_transientOrPersistent) {
-      if (!(this_present_transientOrPersistent && that_present_transientOrPersistent))
-        return false;
-      if (this.transientOrPersistent != that.transientOrPersistent)
-        return false;
-    }
-
-    boolean this_present_correctiveAction = true && this.isSetCorrectiveAction();
-    boolean that_present_correctiveAction = true && that.isSetCorrectiveAction();
-    if (this_present_correctiveAction || that_present_correctiveAction) {
-      if (!(this_present_correctiveAction && that_present_correctiveAction))
-        return false;
-      if (!this.correctiveAction.equals(that.correctiveAction))
-        return false;
-    }
-
-    boolean this_present_actionableGroup = true && this.isSetActionableGroup();
-    boolean that_present_actionableGroup = true && that.isSetActionableGroup();
-    if (this_present_actionableGroup || that_present_actionableGroup) {
-      if (!(this_present_actionableGroup && that_present_actionableGroup))
-        return false;
-      if (!this.actionableGroup.equals(that.actionableGroup))
-        return false;
-    }
-
-    boolean this_present_rootCauseErrorIdList = true && this.isSetRootCauseErrorIdList();
-    boolean that_present_rootCauseErrorIdList = true && that.isSetRootCauseErrorIdList();
-    if (this_present_rootCauseErrorIdList || that_present_rootCauseErrorIdList) {
-      if (!(this_present_rootCauseErrorIdList && that_present_rootCauseErrorIdList))
-        return false;
-      if (!this.rootCauseErrorIdList.equals(that.rootCauseErrorIdList))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_errorID = true && (isSetErrorID());
-    list.add(present_errorID);
-    if (present_errorID)
-      list.add(errorID);
-
-    boolean present_creationTime = true && (isSetCreationTime());
-    list.add(present_creationTime);
-    if (present_creationTime)
-      list.add(creationTime);
-
-    boolean present_actualErrorMessage = true && (isSetActualErrorMessage());
-    list.add(present_actualErrorMessage);
-    if (present_actualErrorMessage)
-      list.add(actualErrorMessage);
-
-    boolean present_userFriendlyMessage = true && (isSetUserFriendlyMessage());
-    list.add(present_userFriendlyMessage);
-    if (present_userFriendlyMessage)
-      list.add(userFriendlyMessage);
-
-    boolean present_errorCategory = true && (isSetErrorCategory());
-    list.add(present_errorCategory);
-    if (present_errorCategory)
-      list.add(errorCategory.getValue());
-
-    boolean present_transientOrPersistent = true && (isSetTransientOrPersistent());
-    list.add(present_transientOrPersistent);
-    if (present_transientOrPersistent)
-      list.add(transientOrPersistent);
-
-    boolean present_correctiveAction = true && (isSetCorrectiveAction());
-    list.add(present_correctiveAction);
-    if (present_correctiveAction)
-      list.add(correctiveAction.getValue());
-
-    boolean present_actionableGroup = true && (isSetActionableGroup());
-    list.add(present_actionableGroup);
-    if (present_actionableGroup)
-      list.add(actionableGroup.getValue());
-
-    boolean present_rootCauseErrorIdList = true && (isSetRootCauseErrorIdList());
-    list.add(present_rootCauseErrorIdList);
-    if (present_rootCauseErrorIdList)
-      list.add(rootCauseErrorIdList);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ErrorDetails other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetErrorID()).compareTo(other.isSetErrorID());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetErrorID()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorID, other.errorID);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCreationTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetActualErrorMessage()).compareTo(other.isSetActualErrorMessage());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetActualErrorMessage()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.actualErrorMessage, other.actualErrorMessage);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetUserFriendlyMessage()).compareTo(other.isSetUserFriendlyMessage());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetUserFriendlyMessage()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userFriendlyMessage, other.userFriendlyMessage);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetErrorCategory()).compareTo(other.isSetErrorCategory());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetErrorCategory()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCategory, other.errorCategory);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTransientOrPersistent()).compareTo(other.isSetTransientOrPersistent());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTransientOrPersistent()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transientOrPersistent, other.transientOrPersistent);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCorrectiveAction()).compareTo(other.isSetCorrectiveAction());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCorrectiveAction()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.correctiveAction, other.correctiveAction);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetActionableGroup()).compareTo(other.isSetActionableGroup());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetActionableGroup()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.actionableGroup, other.actionableGroup);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetRootCauseErrorIdList()).compareTo(other.isSetRootCauseErrorIdList());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRootCauseErrorIdList()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rootCauseErrorIdList, other.rootCauseErrorIdList);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ErrorDetails(");
-    boolean first = true;
-
-    sb.append("errorID:");
-    if (this.errorID == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.errorID);
-    }
-    first = false;
-    if (isSetCreationTime()) {
-      if (!first) sb.append(", ");
-      sb.append("creationTime:");
-      sb.append(this.creationTime);
-      first = false;
-    }
-    if (isSetActualErrorMessage()) {
-      if (!first) sb.append(", ");
-      sb.append("actualErrorMessage:");
-      if (this.actualErrorMessage == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.actualErrorMessage);
-      }
-      first = false;
-    }
-    if (isSetUserFriendlyMessage()) {
-      if (!first) sb.append(", ");
-      sb.append("userFriendlyMessage:");
-      if (this.userFriendlyMessage == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.userFriendlyMessage);
-      }
-      first = false;
-    }
-    if (isSetErrorCategory()) {
-      if (!first) sb.append(", ");
-      sb.append("errorCategory:");
-      if (this.errorCategory == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.errorCategory);
-      }
-      first = false;
-    }
-    if (isSetTransientOrPersistent()) {
-      if (!first) sb.append(", ");
-      sb.append("transientOrPersistent:");
-      sb.append(this.transientOrPersistent);
-      first = false;
-    }
-    if (isSetCorrectiveAction()) {
-      if (!first) sb.append(", ");
-      sb.append("correctiveAction:");
-      if (this.correctiveAction == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.correctiveAction);
-      }
-      first = false;
-    }
-    if (isSetActionableGroup()) {
-      if (!first) sb.append(", ");
-      sb.append("actionableGroup:");
-      if (this.actionableGroup == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.actionableGroup);
-      }
-      first = false;
-    }
-    if (isSetRootCauseErrorIdList()) {
-      if (!first) sb.append(", ");
-      sb.append("rootCauseErrorIdList:");
-      if (this.rootCauseErrorIdList == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.rootCauseErrorIdList);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetErrorID()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'errorID' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ErrorDetailsStandardSchemeFactory implements SchemeFactory {
-    public ErrorDetailsStandardScheme getScheme() {
-      return new ErrorDetailsStandardScheme();
-    }
-  }
-
-  private static class ErrorDetailsStandardScheme extends StandardScheme<ErrorDetails> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ErrorDetails struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // ERROR_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.errorID = iprot.readString();
-              struct.setErrorIDIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // CREATION_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.creationTime = iprot.readI64();
-              struct.setCreationTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // ACTUAL_ERROR_MESSAGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.actualErrorMessage = iprot.readString();
-              struct.setActualErrorMessageIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // USER_FRIENDLY_MESSAGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.userFriendlyMessage = iprot.readString();
-              struct.setUserFriendlyMessageIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // ERROR_CATEGORY
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.errorCategory = org.apache.airavata.model.workspace.experiment.ErrorCategory.findByValue(iprot.readI32());
-              struct.setErrorCategoryIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // TRANSIENT_OR_PERSISTENT
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.transientOrPersistent = iprot.readBool();
-              struct.setTransientOrPersistentIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // CORRECTIVE_ACTION
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.correctiveAction = org.apache.airavata.model.workspace.experiment.CorrectiveAction.findByValue(iprot.readI32());
-              struct.setCorrectiveActionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // ACTIONABLE_GROUP
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.actionableGroup = org.apache.airavata.model.workspace.experiment.ActionableGroup.findByValue(iprot.readI32());
-              struct.setActionableGroupIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // ROOT_CAUSE_ERROR_ID_LIST
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
-                struct.rootCauseErrorIdList = new ArrayList<String>(_list0.size);
-                String _elem1;
-                for (int _i2 = 0; _i2 < _list0.size; ++_i2)
-                {
-                  _elem1 = iprot.readString();
-                  struct.rootCauseErrorIdList.add(_elem1);
-                }
-                iprot.readListEnd();
-              }
-              struct.setRootCauseErrorIdListIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ErrorDetails struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.errorID != null) {
-        oprot.writeFieldBegin(ERROR_ID_FIELD_DESC);
-        oprot.writeString(struct.errorID);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetCreationTime()) {
-        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
-        oprot.writeI64(struct.creationTime);
-        oprot.writeFieldEnd();
-      }
-      if (struct.actualErrorMessage != null) {
-        if (struct.isSetActualErrorMessage()) {
-          oprot.writeFieldBegin(ACTUAL_ERROR_MESSAGE_FIELD_DESC);
-          oprot.writeString(struct.actualErrorMessage);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.userFriendlyMessage != null) {
-        if (struct.isSetUserFriendlyMessage()) {
-          oprot.writeFieldBegin(USER_FRIENDLY_MESSAGE_FIELD_DESC);
-          oprot.writeString(struct.userFriendlyMessage);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.errorCategory != null) {
-        if (struct.isSetErrorCategory()) {
-          oprot.writeFieldBegin(ERROR_CATEGORY_FIELD_DESC);
-          oprot.writeI32(struct.errorCategory.getValue());
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetTransientOrPersistent()) {
-        oprot.writeFieldBegin(TRANSIENT_OR_PERSISTENT_FIELD_DESC);
-        oprot.writeBool(struct.transientOrPersistent);
-        oprot.writeFieldEnd();
-      }
-      if (struct.correctiveAction != null) {
-        if (struct.isSetCorrectiveAction()) {
-          oprot.writeFieldBegin(CORRECTIVE_ACTION_FIELD_DESC);
-          oprot.writeI32(struct.correctiveAction.getValue());
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.actionableGroup != null) {
-        if (struct.isSetActionableGroup()) {
-          oprot.writeFieldBegin(ACTIONABLE_GROUP_FIELD_DESC);
-          oprot.writeI32(struct.actionableGroup.getValue());
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.rootCauseErrorIdList != null) {
-        if (struct.isSetRootCauseErrorIdList()) {
-          oprot.writeFieldBegin(ROOT_CAUSE_ERROR_ID_LIST_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.rootCauseErrorIdList.size()));
-            for (String _iter3 : struct.rootCauseErrorIdList)
-            {
-              oprot.writeString(_iter3);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ErrorDetailsTupleSchemeFactory implements SchemeFactory {
-    public ErrorDetailsTupleScheme getScheme() {
-      return new ErrorDetailsTupleScheme();
-    }
-  }
-
-  private static class ErrorDetailsTupleScheme extends TupleScheme<ErrorDetails> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ErrorDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.errorID);
-      BitSet optionals = new BitSet();
-      if (struct.isSetCreationTime()) {
-        optionals.set(0);
-      }
-      if (struct.isSetActualErrorMessage()) {
-        optionals.set(1);
-      }
-      if (struct.isSetUserFriendlyMessage()) {
-        optionals.set(2);
-      }
-      if (struct.isSetErrorCategory()) {
-        optionals.set(3);
-      }
-      if (struct.isSetTransientOrPersistent()) {
-        optionals.set(4);
-      }
-      if (struct.isSetCorrectiveAction()) {
-        optionals.set(5);
-      }
-      if (struct.isSetActionableGroup()) {
-        optionals.set(6);
-      }
-      if (struct.isSetRootCauseErrorIdList()) {
-        optionals.set(7);
-      }
-      oprot.writeBitSet(optionals, 8);
-      if (struct.isSetCreationTime()) {
-        oprot.writeI64(struct.creationTime);
-      }
-      if (struct.isSetActualErrorMessage()) {
-        oprot.writeString(struct.actualErrorMessage);
-      }
-      if (struct.isSetUserFriendlyMessage()) {
-        oprot.writeString(struct.userFriendlyMessage);
-      }
-      if (struct.isSetErrorCategory()) {
-        oprot.writeI32(struct.errorCategory.getValue());
-      }
-      if (struct.isSetTransientOrPersistent()) {
-        oprot.writeBool(struct.transientOrPersistent);
-      }
-      if (struct.isSetCorrectiveAction()) {
-        oprot.writeI32(struct.correctiveAction.getValue());
-      }
-      if (struct.isSetActionableGroup()) {
-        oprot.writeI32(struct.actionableGroup.getValue());
-      }
-      if (struct.isSetRootCauseErrorIdList()) {
-        {
-          oprot.writeI32(struct.rootCauseErrorIdList.size());
-          for (String _iter4 : struct.rootCauseErrorIdList)
-          {
-            oprot.writeString(_iter4);
-          }
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ErrorDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.errorID = iprot.readString();
-      struct.setErrorIDIsSet(true);
-      BitSet incoming = iprot.readBitSet(8);
-      if (incoming.get(0)) {
-        struct.creationTime = iprot.readI64();
-        struct.setCreationTimeIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.actualErrorMessage = iprot.readString();
-        struct.setActualErrorMessageIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.userFriendlyMessage = iprot.readString();
-        struct.setUserFriendlyMessageIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.errorCategory = org.apache.airavata.model.workspace.experiment.ErrorCategory.findByValue(iprot.readI32());
-        struct.setErrorCategoryIsSet(true);
-      }
-      if (incoming.get(4)) {
-        struct.transientOrPersistent = iprot.readBool();
-        struct.setTransientOrPersistentIsSet(true);
-      }
-      if (incoming.get(5)) {
-        struct.correctiveAction = org.apache.airavata.model.workspace.experiment.CorrectiveAction.findByValue(iprot.readI32());
-        struct.setCorrectiveActionIsSet(true);
-      }
-      if (incoming.get(6)) {
-        struct.actionableGroup = org.apache.airavata.model.workspace.experiment.ActionableGroup.findByValue(iprot.readI32());
-        struct.setActionableGroupIsSet(true);
-      }
-      if (incoming.get(7)) {
-        {
-          org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
-          struct.rootCauseErrorIdList = new ArrayList<String>(_list5.size);
-          String _elem6;
-          for (int _i7 = 0; _i7 < _list5.size; ++_i7)
-          {
-            _elem6 = iprot.readString();
-            struct.rootCauseErrorIdList.add(_elem6);
-          }
-        }
-        struct.setRootCauseErrorIdListIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExecutionUnit.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExecutionUnit.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExecutionUnit.java
deleted file mode 100644
index 5efdcc8..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExecutionUnit.java
+++ /dev/null
@@ -1,68 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum ExecutionUnit implements org.apache.thrift.TEnum {
-  INPUT(0),
-  APPLICATION(1),
-  OUTPUT(2),
-  OTHER(3);
-
-  private final int value;
-
-  private ExecutionUnit(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 ExecutionUnit findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return INPUT;
-      case 1:
-        return APPLICATION;
-      case 2:
-        return OUTPUT;
-      case 3:
-        return OTHER;
-      default:
-        return null;
-    }
-  }
-}


[03/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/UserConfigurationData.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/UserConfigurationData.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/UserConfigurationData.java
deleted file mode 100644
index 4b57f85..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/UserConfigurationData.java
+++ /dev/null
@@ -1,1365 +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.workspace.experiment;
-
-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"})
-/**
- * A structure holding the experiment configuration.
- * 
- * 
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class UserConfigurationData implements org.apache.thrift.TBase<UserConfigurationData, UserConfigurationData._Fields>, java.io.Serializable, Cloneable, Comparable<UserConfigurationData> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserConfigurationData");
-
-  private static final org.apache.thrift.protocol.TField AIRAVATA_AUTO_SCHEDULE_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataAutoSchedule", org.apache.thrift.protocol.TType.BOOL, (short)1);
-  private static final org.apache.thrift.protocol.TField OVERRIDE_MANUAL_SCHEDULED_PARAMS_FIELD_DESC = new org.apache.thrift.protocol.TField("overrideManualScheduledParams", org.apache.thrift.protocol.TType.BOOL, (short)2);
-  private static final org.apache.thrift.protocol.TField SHARE_EXPERIMENT_PUBLICLY_FIELD_DESC = new org.apache.thrift.protocol.TField("shareExperimentPublicly", org.apache.thrift.protocol.TType.BOOL, (short)3);
-  private static final org.apache.thrift.protocol.TField COMPUTATIONAL_RESOURCE_SCHEDULING_FIELD_DESC = new org.apache.thrift.protocol.TField("computationalResourceScheduling", org.apache.thrift.protocol.TType.STRUCT, (short)4);
-  private static final org.apache.thrift.protocol.TField ADVANCE_INPUT_DATA_HANDLING_FIELD_DESC = new org.apache.thrift.protocol.TField("advanceInputDataHandling", org.apache.thrift.protocol.TType.STRUCT, (short)5);
-  private static final org.apache.thrift.protocol.TField ADVANCE_OUTPUT_DATA_HANDLING_FIELD_DESC = new org.apache.thrift.protocol.TField("advanceOutputDataHandling", org.apache.thrift.protocol.TType.STRUCT, (short)6);
-  private static final org.apache.thrift.protocol.TField QOS_PARAMS_FIELD_DESC = new org.apache.thrift.protocol.TField("qosParams", org.apache.thrift.protocol.TType.STRUCT, (short)7);
-  private static final org.apache.thrift.protocol.TField THROTTLE_RESOURCES_FIELD_DESC = new org.apache.thrift.protocol.TField("throttleResources", org.apache.thrift.protocol.TType.BOOL, (short)8);
-  private static final org.apache.thrift.protocol.TField USER_DN_FIELD_DESC = new org.apache.thrift.protocol.TField("userDN", org.apache.thrift.protocol.TType.STRING, (short)9);
-  private static final org.apache.thrift.protocol.TField GENERATE_CERT_FIELD_DESC = new org.apache.thrift.protocol.TField("generateCert", org.apache.thrift.protocol.TType.BOOL, (short)10);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new UserConfigurationDataStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new UserConfigurationDataTupleSchemeFactory());
-  }
-
-  private boolean airavataAutoSchedule; // required
-  private boolean overrideManualScheduledParams; // required
-  private boolean shareExperimentPublicly; // optional
-  private ComputationalResourceScheduling computationalResourceScheduling; // optional
-  private AdvancedInputDataHandling advanceInputDataHandling; // optional
-  private AdvancedOutputDataHandling advanceOutputDataHandling; // optional
-  private QualityOfServiceParams qosParams; // optional
-  private boolean throttleResources; // optional
-  private String userDN; // optional
-  private boolean generateCert; // 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 {
-    AIRAVATA_AUTO_SCHEDULE((short)1, "airavataAutoSchedule"),
-    OVERRIDE_MANUAL_SCHEDULED_PARAMS((short)2, "overrideManualScheduledParams"),
-    SHARE_EXPERIMENT_PUBLICLY((short)3, "shareExperimentPublicly"),
-    COMPUTATIONAL_RESOURCE_SCHEDULING((short)4, "computationalResourceScheduling"),
-    ADVANCE_INPUT_DATA_HANDLING((short)5, "advanceInputDataHandling"),
-    ADVANCE_OUTPUT_DATA_HANDLING((short)6, "advanceOutputDataHandling"),
-    QOS_PARAMS((short)7, "qosParams"),
-    THROTTLE_RESOURCES((short)8, "throttleResources"),
-    USER_DN((short)9, "userDN"),
-    GENERATE_CERT((short)10, "generateCert");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // AIRAVATA_AUTO_SCHEDULE
-          return AIRAVATA_AUTO_SCHEDULE;
-        case 2: // OVERRIDE_MANUAL_SCHEDULED_PARAMS
-          return OVERRIDE_MANUAL_SCHEDULED_PARAMS;
-        case 3: // SHARE_EXPERIMENT_PUBLICLY
-          return SHARE_EXPERIMENT_PUBLICLY;
-        case 4: // COMPUTATIONAL_RESOURCE_SCHEDULING
-          return COMPUTATIONAL_RESOURCE_SCHEDULING;
-        case 5: // ADVANCE_INPUT_DATA_HANDLING
-          return ADVANCE_INPUT_DATA_HANDLING;
-        case 6: // ADVANCE_OUTPUT_DATA_HANDLING
-          return ADVANCE_OUTPUT_DATA_HANDLING;
-        case 7: // QOS_PARAMS
-          return QOS_PARAMS;
-        case 8: // THROTTLE_RESOURCES
-          return THROTTLE_RESOURCES;
-        case 9: // USER_DN
-          return USER_DN;
-        case 10: // GENERATE_CERT
-          return GENERATE_CERT;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __AIRAVATAAUTOSCHEDULE_ISSET_ID = 0;
-  private static final int __OVERRIDEMANUALSCHEDULEDPARAMS_ISSET_ID = 1;
-  private static final int __SHAREEXPERIMENTPUBLICLY_ISSET_ID = 2;
-  private static final int __THROTTLERESOURCES_ISSET_ID = 3;
-  private static final int __GENERATECERT_ISSET_ID = 4;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.SHARE_EXPERIMENT_PUBLICLY,_Fields.COMPUTATIONAL_RESOURCE_SCHEDULING,_Fields.ADVANCE_INPUT_DATA_HANDLING,_Fields.ADVANCE_OUTPUT_DATA_HANDLING,_Fields.QOS_PARAMS,_Fields.THROTTLE_RESOURCES,_Fields.USER_DN,_Fields.GENERATE_CERT};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.AIRAVATA_AUTO_SCHEDULE, new org.apache.thrift.meta_data.FieldMetaData("airavataAutoSchedule", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.OVERRIDE_MANUAL_SCHEDULED_PARAMS, new org.apache.thrift.meta_data.FieldMetaData("overrideManualScheduledParams", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.SHARE_EXPERIMENT_PUBLICLY, new org.apache.thrift.meta_data.FieldMetaData("shareExperimentPublicly", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.COMPUTATIONAL_RESOURCE_SCHEDULING, new org.apache.thrift.meta_data.FieldMetaData("computationalResourceScheduling", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ComputationalResourceScheduling.class)));
-    tmpMap.put(_Fields.ADVANCE_INPUT_DATA_HANDLING, new org.apache.thrift.meta_data.FieldMetaData("advanceInputDataHandling", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AdvancedInputDataHandling.class)));
-    tmpMap.put(_Fields.ADVANCE_OUTPUT_DATA_HANDLING, new org.apache.thrift.meta_data.FieldMetaData("advanceOutputDataHandling", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AdvancedOutputDataHandling.class)));
-    tmpMap.put(_Fields.QOS_PARAMS, new org.apache.thrift.meta_data.FieldMetaData("qosParams", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, QualityOfServiceParams.class)));
-    tmpMap.put(_Fields.THROTTLE_RESOURCES, new org.apache.thrift.meta_data.FieldMetaData("throttleResources", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.USER_DN, new org.apache.thrift.meta_data.FieldMetaData("userDN", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.GENERATE_CERT, new org.apache.thrift.meta_data.FieldMetaData("generateCert", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(UserConfigurationData.class, metaDataMap);
-  }
-
-  public UserConfigurationData() {
-    this.airavataAutoSchedule = false;
-
-    this.overrideManualScheduledParams = false;
-
-    this.shareExperimentPublicly = false;
-
-    this.throttleResources = false;
-
-    this.generateCert = false;
-
-  }
-
-  public UserConfigurationData(
-    boolean airavataAutoSchedule,
-    boolean overrideManualScheduledParams)
-  {
-    this();
-    this.airavataAutoSchedule = airavataAutoSchedule;
-    setAiravataAutoScheduleIsSet(true);
-    this.overrideManualScheduledParams = overrideManualScheduledParams;
-    setOverrideManualScheduledParamsIsSet(true);
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public UserConfigurationData(UserConfigurationData other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.airavataAutoSchedule = other.airavataAutoSchedule;
-    this.overrideManualScheduledParams = other.overrideManualScheduledParams;
-    this.shareExperimentPublicly = other.shareExperimentPublicly;
-    if (other.isSetComputationalResourceScheduling()) {
-      this.computationalResourceScheduling = new ComputationalResourceScheduling(other.computationalResourceScheduling);
-    }
-    if (other.isSetAdvanceInputDataHandling()) {
-      this.advanceInputDataHandling = new AdvancedInputDataHandling(other.advanceInputDataHandling);
-    }
-    if (other.isSetAdvanceOutputDataHandling()) {
-      this.advanceOutputDataHandling = new AdvancedOutputDataHandling(other.advanceOutputDataHandling);
-    }
-    if (other.isSetQosParams()) {
-      this.qosParams = new QualityOfServiceParams(other.qosParams);
-    }
-    this.throttleResources = other.throttleResources;
-    if (other.isSetUserDN()) {
-      this.userDN = other.userDN;
-    }
-    this.generateCert = other.generateCert;
-  }
-
-  public UserConfigurationData deepCopy() {
-    return new UserConfigurationData(this);
-  }
-
-  @Override
-  public void clear() {
-    this.airavataAutoSchedule = false;
-
-    this.overrideManualScheduledParams = false;
-
-    this.shareExperimentPublicly = false;
-
-    this.computationalResourceScheduling = null;
-    this.advanceInputDataHandling = null;
-    this.advanceOutputDataHandling = null;
-    this.qosParams = null;
-    this.throttleResources = false;
-
-    this.userDN = null;
-    this.generateCert = false;
-
-  }
-
-  public boolean isAiravataAutoSchedule() {
-    return this.airavataAutoSchedule;
-  }
-
-  public void setAiravataAutoSchedule(boolean airavataAutoSchedule) {
-    this.airavataAutoSchedule = airavataAutoSchedule;
-    setAiravataAutoScheduleIsSet(true);
-  }
-
-  public void unsetAiravataAutoSchedule() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __AIRAVATAAUTOSCHEDULE_ISSET_ID);
-  }
-
-  /** Returns true if field airavataAutoSchedule is set (has been assigned a value) and false otherwise */
-  public boolean isSetAiravataAutoSchedule() {
-    return EncodingUtils.testBit(__isset_bitfield, __AIRAVATAAUTOSCHEDULE_ISSET_ID);
-  }
-
-  public void setAiravataAutoScheduleIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __AIRAVATAAUTOSCHEDULE_ISSET_ID, value);
-  }
-
-  public boolean isOverrideManualScheduledParams() {
-    return this.overrideManualScheduledParams;
-  }
-
-  public void setOverrideManualScheduledParams(boolean overrideManualScheduledParams) {
-    this.overrideManualScheduledParams = overrideManualScheduledParams;
-    setOverrideManualScheduledParamsIsSet(true);
-  }
-
-  public void unsetOverrideManualScheduledParams() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __OVERRIDEMANUALSCHEDULEDPARAMS_ISSET_ID);
-  }
-
-  /** Returns true if field overrideManualScheduledParams is set (has been assigned a value) and false otherwise */
-  public boolean isSetOverrideManualScheduledParams() {
-    return EncodingUtils.testBit(__isset_bitfield, __OVERRIDEMANUALSCHEDULEDPARAMS_ISSET_ID);
-  }
-
-  public void setOverrideManualScheduledParamsIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __OVERRIDEMANUALSCHEDULEDPARAMS_ISSET_ID, value);
-  }
-
-  public boolean isShareExperimentPublicly() {
-    return this.shareExperimentPublicly;
-  }
-
-  public void setShareExperimentPublicly(boolean shareExperimentPublicly) {
-    this.shareExperimentPublicly = shareExperimentPublicly;
-    setShareExperimentPubliclyIsSet(true);
-  }
-
-  public void unsetShareExperimentPublicly() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SHAREEXPERIMENTPUBLICLY_ISSET_ID);
-  }
-
-  /** Returns true if field shareExperimentPublicly is set (has been assigned a value) and false otherwise */
-  public boolean isSetShareExperimentPublicly() {
-    return EncodingUtils.testBit(__isset_bitfield, __SHAREEXPERIMENTPUBLICLY_ISSET_ID);
-  }
-
-  public void setShareExperimentPubliclyIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SHAREEXPERIMENTPUBLICLY_ISSET_ID, value);
-  }
-
-  public ComputationalResourceScheduling getComputationalResourceScheduling() {
-    return this.computationalResourceScheduling;
-  }
-
-  public void setComputationalResourceScheduling(ComputationalResourceScheduling computationalResourceScheduling) {
-    this.computationalResourceScheduling = computationalResourceScheduling;
-  }
-
-  public void unsetComputationalResourceScheduling() {
-    this.computationalResourceScheduling = null;
-  }
-
-  /** Returns true if field computationalResourceScheduling is set (has been assigned a value) and false otherwise */
-  public boolean isSetComputationalResourceScheduling() {
-    return this.computationalResourceScheduling != null;
-  }
-
-  public void setComputationalResourceSchedulingIsSet(boolean value) {
-    if (!value) {
-      this.computationalResourceScheduling = null;
-    }
-  }
-
-  public AdvancedInputDataHandling getAdvanceInputDataHandling() {
-    return this.advanceInputDataHandling;
-  }
-
-  public void setAdvanceInputDataHandling(AdvancedInputDataHandling advanceInputDataHandling) {
-    this.advanceInputDataHandling = advanceInputDataHandling;
-  }
-
-  public void unsetAdvanceInputDataHandling() {
-    this.advanceInputDataHandling = null;
-  }
-
-  /** Returns true if field advanceInputDataHandling is set (has been assigned a value) and false otherwise */
-  public boolean isSetAdvanceInputDataHandling() {
-    return this.advanceInputDataHandling != null;
-  }
-
-  public void setAdvanceInputDataHandlingIsSet(boolean value) {
-    if (!value) {
-      this.advanceInputDataHandling = null;
-    }
-  }
-
-  public AdvancedOutputDataHandling getAdvanceOutputDataHandling() {
-    return this.advanceOutputDataHandling;
-  }
-
-  public void setAdvanceOutputDataHandling(AdvancedOutputDataHandling advanceOutputDataHandling) {
-    this.advanceOutputDataHandling = advanceOutputDataHandling;
-  }
-
-  public void unsetAdvanceOutputDataHandling() {
-    this.advanceOutputDataHandling = null;
-  }
-
-  /** Returns true if field advanceOutputDataHandling is set (has been assigned a value) and false otherwise */
-  public boolean isSetAdvanceOutputDataHandling() {
-    return this.advanceOutputDataHandling != null;
-  }
-
-  public void setAdvanceOutputDataHandlingIsSet(boolean value) {
-    if (!value) {
-      this.advanceOutputDataHandling = null;
-    }
-  }
-
-  public QualityOfServiceParams getQosParams() {
-    return this.qosParams;
-  }
-
-  public void setQosParams(QualityOfServiceParams qosParams) {
-    this.qosParams = qosParams;
-  }
-
-  public void unsetQosParams() {
-    this.qosParams = null;
-  }
-
-  /** Returns true if field qosParams is set (has been assigned a value) and false otherwise */
-  public boolean isSetQosParams() {
-    return this.qosParams != null;
-  }
-
-  public void setQosParamsIsSet(boolean value) {
-    if (!value) {
-      this.qosParams = null;
-    }
-  }
-
-  public boolean isThrottleResources() {
-    return this.throttleResources;
-  }
-
-  public void setThrottleResources(boolean throttleResources) {
-    this.throttleResources = throttleResources;
-    setThrottleResourcesIsSet(true);
-  }
-
-  public void unsetThrottleResources() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __THROTTLERESOURCES_ISSET_ID);
-  }
-
-  /** Returns true if field throttleResources is set (has been assigned a value) and false otherwise */
-  public boolean isSetThrottleResources() {
-    return EncodingUtils.testBit(__isset_bitfield, __THROTTLERESOURCES_ISSET_ID);
-  }
-
-  public void setThrottleResourcesIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __THROTTLERESOURCES_ISSET_ID, value);
-  }
-
-  public String getUserDN() {
-    return this.userDN;
-  }
-
-  public void setUserDN(String userDN) {
-    this.userDN = userDN;
-  }
-
-  public void unsetUserDN() {
-    this.userDN = null;
-  }
-
-  /** Returns true if field userDN is set (has been assigned a value) and false otherwise */
-  public boolean isSetUserDN() {
-    return this.userDN != null;
-  }
-
-  public void setUserDNIsSet(boolean value) {
-    if (!value) {
-      this.userDN = null;
-    }
-  }
-
-  public boolean isGenerateCert() {
-    return this.generateCert;
-  }
-
-  public void setGenerateCert(boolean generateCert) {
-    this.generateCert = generateCert;
-    setGenerateCertIsSet(true);
-  }
-
-  public void unsetGenerateCert() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __GENERATECERT_ISSET_ID);
-  }
-
-  /** Returns true if field generateCert is set (has been assigned a value) and false otherwise */
-  public boolean isSetGenerateCert() {
-    return EncodingUtils.testBit(__isset_bitfield, __GENERATECERT_ISSET_ID);
-  }
-
-  public void setGenerateCertIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __GENERATECERT_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case AIRAVATA_AUTO_SCHEDULE:
-      if (value == null) {
-        unsetAiravataAutoSchedule();
-      } else {
-        setAiravataAutoSchedule((Boolean)value);
-      }
-      break;
-
-    case OVERRIDE_MANUAL_SCHEDULED_PARAMS:
-      if (value == null) {
-        unsetOverrideManualScheduledParams();
-      } else {
-        setOverrideManualScheduledParams((Boolean)value);
-      }
-      break;
-
-    case SHARE_EXPERIMENT_PUBLICLY:
-      if (value == null) {
-        unsetShareExperimentPublicly();
-      } else {
-        setShareExperimentPublicly((Boolean)value);
-      }
-      break;
-
-    case COMPUTATIONAL_RESOURCE_SCHEDULING:
-      if (value == null) {
-        unsetComputationalResourceScheduling();
-      } else {
-        setComputationalResourceScheduling((ComputationalResourceScheduling)value);
-      }
-      break;
-
-    case ADVANCE_INPUT_DATA_HANDLING:
-      if (value == null) {
-        unsetAdvanceInputDataHandling();
-      } else {
-        setAdvanceInputDataHandling((AdvancedInputDataHandling)value);
-      }
-      break;
-
-    case ADVANCE_OUTPUT_DATA_HANDLING:
-      if (value == null) {
-        unsetAdvanceOutputDataHandling();
-      } else {
-        setAdvanceOutputDataHandling((AdvancedOutputDataHandling)value);
-      }
-      break;
-
-    case QOS_PARAMS:
-      if (value == null) {
-        unsetQosParams();
-      } else {
-        setQosParams((QualityOfServiceParams)value);
-      }
-      break;
-
-    case THROTTLE_RESOURCES:
-      if (value == null) {
-        unsetThrottleResources();
-      } else {
-        setThrottleResources((Boolean)value);
-      }
-      break;
-
-    case USER_DN:
-      if (value == null) {
-        unsetUserDN();
-      } else {
-        setUserDN((String)value);
-      }
-      break;
-
-    case GENERATE_CERT:
-      if (value == null) {
-        unsetGenerateCert();
-      } else {
-        setGenerateCert((Boolean)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case AIRAVATA_AUTO_SCHEDULE:
-      return Boolean.valueOf(isAiravataAutoSchedule());
-
-    case OVERRIDE_MANUAL_SCHEDULED_PARAMS:
-      return Boolean.valueOf(isOverrideManualScheduledParams());
-
-    case SHARE_EXPERIMENT_PUBLICLY:
-      return Boolean.valueOf(isShareExperimentPublicly());
-
-    case COMPUTATIONAL_RESOURCE_SCHEDULING:
-      return getComputationalResourceScheduling();
-
-    case ADVANCE_INPUT_DATA_HANDLING:
-      return getAdvanceInputDataHandling();
-
-    case ADVANCE_OUTPUT_DATA_HANDLING:
-      return getAdvanceOutputDataHandling();
-
-    case QOS_PARAMS:
-      return getQosParams();
-
-    case THROTTLE_RESOURCES:
-      return Boolean.valueOf(isThrottleResources());
-
-    case USER_DN:
-      return getUserDN();
-
-    case GENERATE_CERT:
-      return Boolean.valueOf(isGenerateCert());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case AIRAVATA_AUTO_SCHEDULE:
-      return isSetAiravataAutoSchedule();
-    case OVERRIDE_MANUAL_SCHEDULED_PARAMS:
-      return isSetOverrideManualScheduledParams();
-    case SHARE_EXPERIMENT_PUBLICLY:
-      return isSetShareExperimentPublicly();
-    case COMPUTATIONAL_RESOURCE_SCHEDULING:
-      return isSetComputationalResourceScheduling();
-    case ADVANCE_INPUT_DATA_HANDLING:
-      return isSetAdvanceInputDataHandling();
-    case ADVANCE_OUTPUT_DATA_HANDLING:
-      return isSetAdvanceOutputDataHandling();
-    case QOS_PARAMS:
-      return isSetQosParams();
-    case THROTTLE_RESOURCES:
-      return isSetThrottleResources();
-    case USER_DN:
-      return isSetUserDN();
-    case GENERATE_CERT:
-      return isSetGenerateCert();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof UserConfigurationData)
-      return this.equals((UserConfigurationData)that);
-    return false;
-  }
-
-  public boolean equals(UserConfigurationData that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_airavataAutoSchedule = true;
-    boolean that_present_airavataAutoSchedule = true;
-    if (this_present_airavataAutoSchedule || that_present_airavataAutoSchedule) {
-      if (!(this_present_airavataAutoSchedule && that_present_airavataAutoSchedule))
-        return false;
-      if (this.airavataAutoSchedule != that.airavataAutoSchedule)
-        return false;
-    }
-
-    boolean this_present_overrideManualScheduledParams = true;
-    boolean that_present_overrideManualScheduledParams = true;
-    if (this_present_overrideManualScheduledParams || that_present_overrideManualScheduledParams) {
-      if (!(this_present_overrideManualScheduledParams && that_present_overrideManualScheduledParams))
-        return false;
-      if (this.overrideManualScheduledParams != that.overrideManualScheduledParams)
-        return false;
-    }
-
-    boolean this_present_shareExperimentPublicly = true && this.isSetShareExperimentPublicly();
-    boolean that_present_shareExperimentPublicly = true && that.isSetShareExperimentPublicly();
-    if (this_present_shareExperimentPublicly || that_present_shareExperimentPublicly) {
-      if (!(this_present_shareExperimentPublicly && that_present_shareExperimentPublicly))
-        return false;
-      if (this.shareExperimentPublicly != that.shareExperimentPublicly)
-        return false;
-    }
-
-    boolean this_present_computationalResourceScheduling = true && this.isSetComputationalResourceScheduling();
-    boolean that_present_computationalResourceScheduling = true && that.isSetComputationalResourceScheduling();
-    if (this_present_computationalResourceScheduling || that_present_computationalResourceScheduling) {
-      if (!(this_present_computationalResourceScheduling && that_present_computationalResourceScheduling))
-        return false;
-      if (!this.computationalResourceScheduling.equals(that.computationalResourceScheduling))
-        return false;
-    }
-
-    boolean this_present_advanceInputDataHandling = true && this.isSetAdvanceInputDataHandling();
-    boolean that_present_advanceInputDataHandling = true && that.isSetAdvanceInputDataHandling();
-    if (this_present_advanceInputDataHandling || that_present_advanceInputDataHandling) {
-      if (!(this_present_advanceInputDataHandling && that_present_advanceInputDataHandling))
-        return false;
-      if (!this.advanceInputDataHandling.equals(that.advanceInputDataHandling))
-        return false;
-    }
-
-    boolean this_present_advanceOutputDataHandling = true && this.isSetAdvanceOutputDataHandling();
-    boolean that_present_advanceOutputDataHandling = true && that.isSetAdvanceOutputDataHandling();
-    if (this_present_advanceOutputDataHandling || that_present_advanceOutputDataHandling) {
-      if (!(this_present_advanceOutputDataHandling && that_present_advanceOutputDataHandling))
-        return false;
-      if (!this.advanceOutputDataHandling.equals(that.advanceOutputDataHandling))
-        return false;
-    }
-
-    boolean this_present_qosParams = true && this.isSetQosParams();
-    boolean that_present_qosParams = true && that.isSetQosParams();
-    if (this_present_qosParams || that_present_qosParams) {
-      if (!(this_present_qosParams && that_present_qosParams))
-        return false;
-      if (!this.qosParams.equals(that.qosParams))
-        return false;
-    }
-
-    boolean this_present_throttleResources = true && this.isSetThrottleResources();
-    boolean that_present_throttleResources = true && that.isSetThrottleResources();
-    if (this_present_throttleResources || that_present_throttleResources) {
-      if (!(this_present_throttleResources && that_present_throttleResources))
-        return false;
-      if (this.throttleResources != that.throttleResources)
-        return false;
-    }
-
-    boolean this_present_userDN = true && this.isSetUserDN();
-    boolean that_present_userDN = true && that.isSetUserDN();
-    if (this_present_userDN || that_present_userDN) {
-      if (!(this_present_userDN && that_present_userDN))
-        return false;
-      if (!this.userDN.equals(that.userDN))
-        return false;
-    }
-
-    boolean this_present_generateCert = true && this.isSetGenerateCert();
-    boolean that_present_generateCert = true && that.isSetGenerateCert();
-    if (this_present_generateCert || that_present_generateCert) {
-      if (!(this_present_generateCert && that_present_generateCert))
-        return false;
-      if (this.generateCert != that.generateCert)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_airavataAutoSchedule = true;
-    list.add(present_airavataAutoSchedule);
-    if (present_airavataAutoSchedule)
-      list.add(airavataAutoSchedule);
-
-    boolean present_overrideManualScheduledParams = true;
-    list.add(present_overrideManualScheduledParams);
-    if (present_overrideManualScheduledParams)
-      list.add(overrideManualScheduledParams);
-
-    boolean present_shareExperimentPublicly = true && (isSetShareExperimentPublicly());
-    list.add(present_shareExperimentPublicly);
-    if (present_shareExperimentPublicly)
-      list.add(shareExperimentPublicly);
-
-    boolean present_computationalResourceScheduling = true && (isSetComputationalResourceScheduling());
-    list.add(present_computationalResourceScheduling);
-    if (present_computationalResourceScheduling)
-      list.add(computationalResourceScheduling);
-
-    boolean present_advanceInputDataHandling = true && (isSetAdvanceInputDataHandling());
-    list.add(present_advanceInputDataHandling);
-    if (present_advanceInputDataHandling)
-      list.add(advanceInputDataHandling);
-
-    boolean present_advanceOutputDataHandling = true && (isSetAdvanceOutputDataHandling());
-    list.add(present_advanceOutputDataHandling);
-    if (present_advanceOutputDataHandling)
-      list.add(advanceOutputDataHandling);
-
-    boolean present_qosParams = true && (isSetQosParams());
-    list.add(present_qosParams);
-    if (present_qosParams)
-      list.add(qosParams);
-
-    boolean present_throttleResources = true && (isSetThrottleResources());
-    list.add(present_throttleResources);
-    if (present_throttleResources)
-      list.add(throttleResources);
-
-    boolean present_userDN = true && (isSetUserDN());
-    list.add(present_userDN);
-    if (present_userDN)
-      list.add(userDN);
-
-    boolean present_generateCert = true && (isSetGenerateCert());
-    list.add(present_generateCert);
-    if (present_generateCert)
-      list.add(generateCert);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(UserConfigurationData other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetAiravataAutoSchedule()).compareTo(other.isSetAiravataAutoSchedule());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAiravataAutoSchedule()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airavataAutoSchedule, other.airavataAutoSchedule);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetOverrideManualScheduledParams()).compareTo(other.isSetOverrideManualScheduledParams());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetOverrideManualScheduledParams()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.overrideManualScheduledParams, other.overrideManualScheduledParams);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetShareExperimentPublicly()).compareTo(other.isSetShareExperimentPublicly());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetShareExperimentPublicly()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shareExperimentPublicly, other.shareExperimentPublicly);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetComputationalResourceScheduling()).compareTo(other.isSetComputationalResourceScheduling());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetComputationalResourceScheduling()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.computationalResourceScheduling, other.computationalResourceScheduling);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetAdvanceInputDataHandling()).compareTo(other.isSetAdvanceInputDataHandling());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAdvanceInputDataHandling()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.advanceInputDataHandling, other.advanceInputDataHandling);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetAdvanceOutputDataHandling()).compareTo(other.isSetAdvanceOutputDataHandling());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAdvanceOutputDataHandling()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.advanceOutputDataHandling, other.advanceOutputDataHandling);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetQosParams()).compareTo(other.isSetQosParams());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetQosParams()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qosParams, other.qosParams);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetThrottleResources()).compareTo(other.isSetThrottleResources());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetThrottleResources()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.throttleResources, other.throttleResources);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetUserDN()).compareTo(other.isSetUserDN());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetUserDN()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userDN, other.userDN);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetGenerateCert()).compareTo(other.isSetGenerateCert());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetGenerateCert()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.generateCert, other.generateCert);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("UserConfigurationData(");
-    boolean first = true;
-
-    sb.append("airavataAutoSchedule:");
-    sb.append(this.airavataAutoSchedule);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("overrideManualScheduledParams:");
-    sb.append(this.overrideManualScheduledParams);
-    first = false;
-    if (isSetShareExperimentPublicly()) {
-      if (!first) sb.append(", ");
-      sb.append("shareExperimentPublicly:");
-      sb.append(this.shareExperimentPublicly);
-      first = false;
-    }
-    if (isSetComputationalResourceScheduling()) {
-      if (!first) sb.append(", ");
-      sb.append("computationalResourceScheduling:");
-      if (this.computationalResourceScheduling == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.computationalResourceScheduling);
-      }
-      first = false;
-    }
-    if (isSetAdvanceInputDataHandling()) {
-      if (!first) sb.append(", ");
-      sb.append("advanceInputDataHandling:");
-      if (this.advanceInputDataHandling == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.advanceInputDataHandling);
-      }
-      first = false;
-    }
-    if (isSetAdvanceOutputDataHandling()) {
-      if (!first) sb.append(", ");
-      sb.append("advanceOutputDataHandling:");
-      if (this.advanceOutputDataHandling == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.advanceOutputDataHandling);
-      }
-      first = false;
-    }
-    if (isSetQosParams()) {
-      if (!first) sb.append(", ");
-      sb.append("qosParams:");
-      if (this.qosParams == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.qosParams);
-      }
-      first = false;
-    }
-    if (isSetThrottleResources()) {
-      if (!first) sb.append(", ");
-      sb.append("throttleResources:");
-      sb.append(this.throttleResources);
-      first = false;
-    }
-    if (isSetUserDN()) {
-      if (!first) sb.append(", ");
-      sb.append("userDN:");
-      if (this.userDN == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.userDN);
-      }
-      first = false;
-    }
-    if (isSetGenerateCert()) {
-      if (!first) sb.append(", ");
-      sb.append("generateCert:");
-      sb.append(this.generateCert);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetAiravataAutoSchedule()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'airavataAutoSchedule' is unset! Struct:" + toString());
-    }
-
-    if (!isSetOverrideManualScheduledParams()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'overrideManualScheduledParams' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-    if (computationalResourceScheduling != null) {
-      computationalResourceScheduling.validate();
-    }
-    if (advanceInputDataHandling != null) {
-      advanceInputDataHandling.validate();
-    }
-    if (advanceOutputDataHandling != null) {
-      advanceOutputDataHandling.validate();
-    }
-    if (qosParams != null) {
-      qosParams.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class UserConfigurationDataStandardSchemeFactory implements SchemeFactory {
-    public UserConfigurationDataStandardScheme getScheme() {
-      return new UserConfigurationDataStandardScheme();
-    }
-  }
-
-  private static class UserConfigurationDataStandardScheme extends StandardScheme<UserConfigurationData> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, UserConfigurationData struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // AIRAVATA_AUTO_SCHEDULE
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.airavataAutoSchedule = iprot.readBool();
-              struct.setAiravataAutoScheduleIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // OVERRIDE_MANUAL_SCHEDULED_PARAMS
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.overrideManualScheduledParams = iprot.readBool();
-              struct.setOverrideManualScheduledParamsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // SHARE_EXPERIMENT_PUBLICLY
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.shareExperimentPublicly = iprot.readBool();
-              struct.setShareExperimentPubliclyIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // COMPUTATIONAL_RESOURCE_SCHEDULING
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.computationalResourceScheduling = new ComputationalResourceScheduling();
-              struct.computationalResourceScheduling.read(iprot);
-              struct.setComputationalResourceSchedulingIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // ADVANCE_INPUT_DATA_HANDLING
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.advanceInputDataHandling = new AdvancedInputDataHandling();
-              struct.advanceInputDataHandling.read(iprot);
-              struct.setAdvanceInputDataHandlingIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // ADVANCE_OUTPUT_DATA_HANDLING
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.advanceOutputDataHandling = new AdvancedOutputDataHandling();
-              struct.advanceOutputDataHandling.read(iprot);
-              struct.setAdvanceOutputDataHandlingIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // QOS_PARAMS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.qosParams = new QualityOfServiceParams();
-              struct.qosParams.read(iprot);
-              struct.setQosParamsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // THROTTLE_RESOURCES
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.throttleResources = iprot.readBool();
-              struct.setThrottleResourcesIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // USER_DN
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.userDN = iprot.readString();
-              struct.setUserDNIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 10: // GENERATE_CERT
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.generateCert = iprot.readBool();
-              struct.setGenerateCertIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, UserConfigurationData struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      oprot.writeFieldBegin(AIRAVATA_AUTO_SCHEDULE_FIELD_DESC);
-      oprot.writeBool(struct.airavataAutoSchedule);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(OVERRIDE_MANUAL_SCHEDULED_PARAMS_FIELD_DESC);
-      oprot.writeBool(struct.overrideManualScheduledParams);
-      oprot.writeFieldEnd();
-      if (struct.isSetShareExperimentPublicly()) {
-        oprot.writeFieldBegin(SHARE_EXPERIMENT_PUBLICLY_FIELD_DESC);
-        oprot.writeBool(struct.shareExperimentPublicly);
-        oprot.writeFieldEnd();
-      }
-      if (struct.computationalResourceScheduling != null) {
-        if (struct.isSetComputationalResourceScheduling()) {
-          oprot.writeFieldBegin(COMPUTATIONAL_RESOURCE_SCHEDULING_FIELD_DESC);
-          struct.computationalResourceScheduling.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.advanceInputDataHandling != null) {
-        if (struct.isSetAdvanceInputDataHandling()) {
-          oprot.writeFieldBegin(ADVANCE_INPUT_DATA_HANDLING_FIELD_DESC);
-          struct.advanceInputDataHandling.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.advanceOutputDataHandling != null) {
-        if (struct.isSetAdvanceOutputDataHandling()) {
-          oprot.writeFieldBegin(ADVANCE_OUTPUT_DATA_HANDLING_FIELD_DESC);
-          struct.advanceOutputDataHandling.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.qosParams != null) {
-        if (struct.isSetQosParams()) {
-          oprot.writeFieldBegin(QOS_PARAMS_FIELD_DESC);
-          struct.qosParams.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetThrottleResources()) {
-        oprot.writeFieldBegin(THROTTLE_RESOURCES_FIELD_DESC);
-        oprot.writeBool(struct.throttleResources);
-        oprot.writeFieldEnd();
-      }
-      if (struct.userDN != null) {
-        if (struct.isSetUserDN()) {
-          oprot.writeFieldBegin(USER_DN_FIELD_DESC);
-          oprot.writeString(struct.userDN);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetGenerateCert()) {
-        oprot.writeFieldBegin(GENERATE_CERT_FIELD_DESC);
-        oprot.writeBool(struct.generateCert);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class UserConfigurationDataTupleSchemeFactory implements SchemeFactory {
-    public UserConfigurationDataTupleScheme getScheme() {
-      return new UserConfigurationDataTupleScheme();
-    }
-  }
-
-  private static class UserConfigurationDataTupleScheme extends TupleScheme<UserConfigurationData> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, UserConfigurationData struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeBool(struct.airavataAutoSchedule);
-      oprot.writeBool(struct.overrideManualScheduledParams);
-      BitSet optionals = new BitSet();
-      if (struct.isSetShareExperimentPublicly()) {
-        optionals.set(0);
-      }
-      if (struct.isSetComputationalResourceScheduling()) {
-        optionals.set(1);
-      }
-      if (struct.isSetAdvanceInputDataHandling()) {
-        optionals.set(2);
-      }
-      if (struct.isSetAdvanceOutputDataHandling()) {
-        optionals.set(3);
-      }
-      if (struct.isSetQosParams()) {
-        optionals.set(4);
-      }
-      if (struct.isSetThrottleResources()) {
-        optionals.set(5);
-      }
-      if (struct.isSetUserDN()) {
-        optionals.set(6);
-      }
-      if (struct.isSetGenerateCert()) {
-        optionals.set(7);
-      }
-      oprot.writeBitSet(optionals, 8);
-      if (struct.isSetShareExperimentPublicly()) {
-        oprot.writeBool(struct.shareExperimentPublicly);
-      }
-      if (struct.isSetComputationalResourceScheduling()) {
-        struct.computationalResourceScheduling.write(oprot);
-      }
-      if (struct.isSetAdvanceInputDataHandling()) {
-        struct.advanceInputDataHandling.write(oprot);
-      }
-      if (struct.isSetAdvanceOutputDataHandling()) {
-        struct.advanceOutputDataHandling.write(oprot);
-      }
-      if (struct.isSetQosParams()) {
-        struct.qosParams.write(oprot);
-      }
-      if (struct.isSetThrottleResources()) {
-        oprot.writeBool(struct.throttleResources);
-      }
-      if (struct.isSetUserDN()) {
-        oprot.writeString(struct.userDN);
-      }
-      if (struct.isSetGenerateCert()) {
-        oprot.writeBool(struct.generateCert);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, UserConfigurationData struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.airavataAutoSchedule = iprot.readBool();
-      struct.setAiravataAutoScheduleIsSet(true);
-      struct.overrideManualScheduledParams = iprot.readBool();
-      struct.setOverrideManualScheduledParamsIsSet(true);
-      BitSet incoming = iprot.readBitSet(8);
-      if (incoming.get(0)) {
-        struct.shareExperimentPublicly = iprot.readBool();
-        struct.setShareExperimentPubliclyIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.computationalResourceScheduling = new ComputationalResourceScheduling();
-        struct.computationalResourceScheduling.read(iprot);
-        struct.setComputationalResourceSchedulingIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.advanceInputDataHandling = new AdvancedInputDataHandling();
-        struct.advanceInputDataHandling.read(iprot);
-        struct.setAdvanceInputDataHandlingIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.advanceOutputDataHandling = new AdvancedOutputDataHandling();
-        struct.advanceOutputDataHandling.read(iprot);
-        struct.setAdvanceOutputDataHandlingIsSet(true);
-      }
-      if (incoming.get(4)) {
-        struct.qosParams = new QualityOfServiceParams();
-        struct.qosParams.read(iprot);
-        struct.setQosParamsIsSet(true);
-      }
-      if (incoming.get(5)) {
-        struct.throttleResources = iprot.readBool();
-        struct.setThrottleResourcesIsSet(true);
-      }
-      if (incoming.get(6)) {
-        struct.userDN = iprot.readString();
-        struct.setUserDNIsSet(true);
-      }
-      if (incoming.get(7)) {
-        struct.generateCert = iprot.readBool();
-        struct.setGenerateCertIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ValidationResults.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ValidationResults.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ValidationResults.java
deleted file mode 100644
index fe76ec4..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ValidationResults.java
+++ /dev/null
@@ -1,559 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ValidationResults implements org.apache.thrift.TBase<ValidationResults, ValidationResults._Fields>, java.io.Serializable, Cloneable, Comparable<ValidationResults> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ValidationResults");
-
-  private static final org.apache.thrift.protocol.TField VALIDATION_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("validationState", org.apache.thrift.protocol.TType.BOOL, (short)1);
-  private static final org.apache.thrift.protocol.TField VALIDATION_RESULT_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validationResultList", org.apache.thrift.protocol.TType.LIST, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ValidationResultsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ValidationResultsTupleSchemeFactory());
-  }
-
-  private boolean validationState; // required
-  private List<ValidatorResult> validationResultList; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-    VALIDATION_STATE((short)1, "validationState"),
-    VALIDATION_RESULT_LIST((short)2, "validationResultList");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // VALIDATION_STATE
-          return VALIDATION_STATE;
-        case 2: // VALIDATION_RESULT_LIST
-          return VALIDATION_RESULT_LIST;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __VALIDATIONSTATE_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.VALIDATION_STATE, new org.apache.thrift.meta_data.FieldMetaData("validationState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.VALIDATION_RESULT_LIST, new org.apache.thrift.meta_data.FieldMetaData("validationResultList", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        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, ValidatorResult.class))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ValidationResults.class, metaDataMap);
-  }
-
-  public ValidationResults() {
-  }
-
-  public ValidationResults(
-    boolean validationState,
-    List<ValidatorResult> validationResultList)
-  {
-    this();
-    this.validationState = validationState;
-    setValidationStateIsSet(true);
-    this.validationResultList = validationResultList;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ValidationResults(ValidationResults other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.validationState = other.validationState;
-    if (other.isSetValidationResultList()) {
-      List<ValidatorResult> __this__validationResultList = new ArrayList<ValidatorResult>(other.validationResultList.size());
-      for (ValidatorResult other_element : other.validationResultList) {
-        __this__validationResultList.add(new ValidatorResult(other_element));
-      }
-      this.validationResultList = __this__validationResultList;
-    }
-  }
-
-  public ValidationResults deepCopy() {
-    return new ValidationResults(this);
-  }
-
-  @Override
-  public void clear() {
-    setValidationStateIsSet(false);
-    this.validationState = false;
-    this.validationResultList = null;
-  }
-
-  public boolean isValidationState() {
-    return this.validationState;
-  }
-
-  public void setValidationState(boolean validationState) {
-    this.validationState = validationState;
-    setValidationStateIsSet(true);
-  }
-
-  public void unsetValidationState() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID);
-  }
-
-  /** Returns true if field validationState is set (has been assigned a value) and false otherwise */
-  public boolean isSetValidationState() {
-    return EncodingUtils.testBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID);
-  }
-
-  public void setValidationStateIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID, value);
-  }
-
-  public int getValidationResultListSize() {
-    return (this.validationResultList == null) ? 0 : this.validationResultList.size();
-  }
-
-  public java.util.Iterator<ValidatorResult> getValidationResultListIterator() {
-    return (this.validationResultList == null) ? null : this.validationResultList.iterator();
-  }
-
-  public void addToValidationResultList(ValidatorResult elem) {
-    if (this.validationResultList == null) {
-      this.validationResultList = new ArrayList<ValidatorResult>();
-    }
-    this.validationResultList.add(elem);
-  }
-
-  public List<ValidatorResult> getValidationResultList() {
-    return this.validationResultList;
-  }
-
-  public void setValidationResultList(List<ValidatorResult> validationResultList) {
-    this.validationResultList = validationResultList;
-  }
-
-  public void unsetValidationResultList() {
-    this.validationResultList = null;
-  }
-
-  /** Returns true if field validationResultList is set (has been assigned a value) and false otherwise */
-  public boolean isSetValidationResultList() {
-    return this.validationResultList != null;
-  }
-
-  public void setValidationResultListIsSet(boolean value) {
-    if (!value) {
-      this.validationResultList = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case VALIDATION_STATE:
-      if (value == null) {
-        unsetValidationState();
-      } else {
-        setValidationState((Boolean)value);
-      }
-      break;
-
-    case VALIDATION_RESULT_LIST:
-      if (value == null) {
-        unsetValidationResultList();
-      } else {
-        setValidationResultList((List<ValidatorResult>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case VALIDATION_STATE:
-      return Boolean.valueOf(isValidationState());
-
-    case VALIDATION_RESULT_LIST:
-      return getValidationResultList();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case VALIDATION_STATE:
-      return isSetValidationState();
-    case VALIDATION_RESULT_LIST:
-      return isSetValidationResultList();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ValidationResults)
-      return this.equals((ValidationResults)that);
-    return false;
-  }
-
-  public boolean equals(ValidationResults that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_validationState = true;
-    boolean that_present_validationState = true;
-    if (this_present_validationState || that_present_validationState) {
-      if (!(this_present_validationState && that_present_validationState))
-        return false;
-      if (this.validationState != that.validationState)
-        return false;
-    }
-
-    boolean this_present_validationResultList = true && this.isSetValidationResultList();
-    boolean that_present_validationResultList = true && that.isSetValidationResultList();
-    if (this_present_validationResultList || that_present_validationResultList) {
-      if (!(this_present_validationResultList && that_present_validationResultList))
-        return false;
-      if (!this.validationResultList.equals(that.validationResultList))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_validationState = true;
-    list.add(present_validationState);
-    if (present_validationState)
-      list.add(validationState);
-
-    boolean present_validationResultList = true && (isSetValidationResultList());
-    list.add(present_validationResultList);
-    if (present_validationResultList)
-      list.add(validationResultList);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ValidationResults other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetValidationState()).compareTo(other.isSetValidationState());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetValidationState()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validationState, other.validationState);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetValidationResultList()).compareTo(other.isSetValidationResultList());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetValidationResultList()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validationResultList, other.validationResultList);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ValidationResults(");
-    boolean first = true;
-
-    sb.append("validationState:");
-    sb.append(this.validationState);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("validationResultList:");
-    if (this.validationResultList == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.validationResultList);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetValidationState()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'validationState' is unset! Struct:" + toString());
-    }
-
-    if (!isSetValidationResultList()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'validationResultList' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ValidationResultsStandardSchemeFactory implements SchemeFactory {
-    public ValidationResultsStandardScheme getScheme() {
-      return new ValidationResultsStandardScheme();
-    }
-  }
-
-  private static class ValidationResultsStandardScheme extends StandardScheme<ValidationResults> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ValidationResults struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // VALIDATION_STATE
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.validationState = iprot.readBool();
-              struct.setValidationStateIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // VALIDATION_RESULT_LIST
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
-                struct.validationResultList = new ArrayList<ValidatorResult>(_list96.size);
-                ValidatorResult _elem97;
-                for (int _i98 = 0; _i98 < _list96.size; ++_i98)
-                {
-                  _elem97 = new ValidatorResult();
-                  _elem97.read(iprot);
-                  struct.validationResultList.add(_elem97);
-                }
-                iprot.readListEnd();
-              }
-              struct.setValidationResultListIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ValidationResults struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      oprot.writeFieldBegin(VALIDATION_STATE_FIELD_DESC);
-      oprot.writeBool(struct.validationState);
-      oprot.writeFieldEnd();
-      if (struct.validationResultList != null) {
-        oprot.writeFieldBegin(VALIDATION_RESULT_LIST_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.validationResultList.size()));
-          for (ValidatorResult _iter99 : struct.validationResultList)
-          {
-            _iter99.write(oprot);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ValidationResultsTupleSchemeFactory implements SchemeFactory {
-    public ValidationResultsTupleScheme getScheme() {
-      return new ValidationResultsTupleScheme();
-    }
-  }
-
-  private static class ValidationResultsTupleScheme extends TupleScheme<ValidationResults> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ValidationResults struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeBool(struct.validationState);
-      {
-        oprot.writeI32(struct.validationResultList.size());
-        for (ValidatorResult _iter100 : struct.validationResultList)
-        {
-          _iter100.write(oprot);
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ValidationResults struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.validationState = iprot.readBool();
-      struct.setValidationStateIsSet(true);
-      {
-        org.apache.thrift.protocol.TList _list101 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-        struct.validationResultList = new ArrayList<ValidatorResult>(_list101.size);
-        ValidatorResult _elem102;
-        for (int _i103 = 0; _i103 < _list101.size; ++_i103)
-        {
-          _elem102 = new ValidatorResult();
-          _elem102.read(iprot);
-          struct.validationResultList.add(_elem102);
-        }
-      }
-      struct.setValidationResultListIsSet(true);
-    }
-  }
-
-}
-


[23/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ValidationResults.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ValidationResults.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ValidationResults.java
new file mode 100644
index 0000000..464da75
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ValidationResults.java
@@ -0,0 +1,559 @@
+/**
+ * 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.commons;
+
+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"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ValidationResults implements org.apache.thrift.TBase<ValidationResults, ValidationResults._Fields>, java.io.Serializable, Cloneable, Comparable<ValidationResults> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ValidationResults");
+
+  private static final org.apache.thrift.protocol.TField VALIDATION_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("validationState", org.apache.thrift.protocol.TType.BOOL, (short)1);
+  private static final org.apache.thrift.protocol.TField VALIDATION_RESULT_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validationResultList", org.apache.thrift.protocol.TType.LIST, (short)2);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ValidationResultsStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ValidationResultsTupleSchemeFactory());
+  }
+
+  private boolean validationState; // required
+  private List<ValidatorResult> validationResultList; // required
+
+  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+    VALIDATION_STATE((short)1, "validationState"),
+    VALIDATION_RESULT_LIST((short)2, "validationResultList");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // VALIDATION_STATE
+          return VALIDATION_STATE;
+        case 2: // VALIDATION_RESULT_LIST
+          return VALIDATION_RESULT_LIST;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __VALIDATIONSTATE_ISSET_ID = 0;
+  private byte __isset_bitfield = 0;
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.VALIDATION_STATE, new org.apache.thrift.meta_data.FieldMetaData("validationState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.VALIDATION_RESULT_LIST, new org.apache.thrift.meta_data.FieldMetaData("validationResultList", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        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, ValidatorResult.class))));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ValidationResults.class, metaDataMap);
+  }
+
+  public ValidationResults() {
+  }
+
+  public ValidationResults(
+    boolean validationState,
+    List<ValidatorResult> validationResultList)
+  {
+    this();
+    this.validationState = validationState;
+    setValidationStateIsSet(true);
+    this.validationResultList = validationResultList;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ValidationResults(ValidationResults other) {
+    __isset_bitfield = other.__isset_bitfield;
+    this.validationState = other.validationState;
+    if (other.isSetValidationResultList()) {
+      List<ValidatorResult> __this__validationResultList = new ArrayList<ValidatorResult>(other.validationResultList.size());
+      for (ValidatorResult other_element : other.validationResultList) {
+        __this__validationResultList.add(new ValidatorResult(other_element));
+      }
+      this.validationResultList = __this__validationResultList;
+    }
+  }
+
+  public ValidationResults deepCopy() {
+    return new ValidationResults(this);
+  }
+
+  @Override
+  public void clear() {
+    setValidationStateIsSet(false);
+    this.validationState = false;
+    this.validationResultList = null;
+  }
+
+  public boolean isValidationState() {
+    return this.validationState;
+  }
+
+  public void setValidationState(boolean validationState) {
+    this.validationState = validationState;
+    setValidationStateIsSet(true);
+  }
+
+  public void unsetValidationState() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID);
+  }
+
+  /** Returns true if field validationState is set (has been assigned a value) and false otherwise */
+  public boolean isSetValidationState() {
+    return EncodingUtils.testBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID);
+  }
+
+  public void setValidationStateIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID, value);
+  }
+
+  public int getValidationResultListSize() {
+    return (this.validationResultList == null) ? 0 : this.validationResultList.size();
+  }
+
+  public java.util.Iterator<ValidatorResult> getValidationResultListIterator() {
+    return (this.validationResultList == null) ? null : this.validationResultList.iterator();
+  }
+
+  public void addToValidationResultList(ValidatorResult elem) {
+    if (this.validationResultList == null) {
+      this.validationResultList = new ArrayList<ValidatorResult>();
+    }
+    this.validationResultList.add(elem);
+  }
+
+  public List<ValidatorResult> getValidationResultList() {
+    return this.validationResultList;
+  }
+
+  public void setValidationResultList(List<ValidatorResult> validationResultList) {
+    this.validationResultList = validationResultList;
+  }
+
+  public void unsetValidationResultList() {
+    this.validationResultList = null;
+  }
+
+  /** Returns true if field validationResultList is set (has been assigned a value) and false otherwise */
+  public boolean isSetValidationResultList() {
+    return this.validationResultList != null;
+  }
+
+  public void setValidationResultListIsSet(boolean value) {
+    if (!value) {
+      this.validationResultList = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case VALIDATION_STATE:
+      if (value == null) {
+        unsetValidationState();
+      } else {
+        setValidationState((Boolean)value);
+      }
+      break;
+
+    case VALIDATION_RESULT_LIST:
+      if (value == null) {
+        unsetValidationResultList();
+      } else {
+        setValidationResultList((List<ValidatorResult>)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case VALIDATION_STATE:
+      return Boolean.valueOf(isValidationState());
+
+    case VALIDATION_RESULT_LIST:
+      return getValidationResultList();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case VALIDATION_STATE:
+      return isSetValidationState();
+    case VALIDATION_RESULT_LIST:
+      return isSetValidationResultList();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ValidationResults)
+      return this.equals((ValidationResults)that);
+    return false;
+  }
+
+  public boolean equals(ValidationResults that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_validationState = true;
+    boolean that_present_validationState = true;
+    if (this_present_validationState || that_present_validationState) {
+      if (!(this_present_validationState && that_present_validationState))
+        return false;
+      if (this.validationState != that.validationState)
+        return false;
+    }
+
+    boolean this_present_validationResultList = true && this.isSetValidationResultList();
+    boolean that_present_validationResultList = true && that.isSetValidationResultList();
+    if (this_present_validationResultList || that_present_validationResultList) {
+      if (!(this_present_validationResultList && that_present_validationResultList))
+        return false;
+      if (!this.validationResultList.equals(that.validationResultList))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_validationState = true;
+    list.add(present_validationState);
+    if (present_validationState)
+      list.add(validationState);
+
+    boolean present_validationResultList = true && (isSetValidationResultList());
+    list.add(present_validationResultList);
+    if (present_validationResultList)
+      list.add(validationResultList);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ValidationResults other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetValidationState()).compareTo(other.isSetValidationState());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetValidationState()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validationState, other.validationState);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetValidationResultList()).compareTo(other.isSetValidationResultList());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetValidationResultList()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validationResultList, other.validationResultList);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ValidationResults(");
+    boolean first = true;
+
+    sb.append("validationState:");
+    sb.append(this.validationState);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("validationResultList:");
+    if (this.validationResultList == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.validationResultList);
+    }
+    first = false;
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetValidationState()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'validationState' is unset! Struct:" + toString());
+    }
+
+    if (!isSetValidationResultList()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'validationResultList' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ValidationResultsStandardSchemeFactory implements SchemeFactory {
+    public ValidationResultsStandardScheme getScheme() {
+      return new ValidationResultsStandardScheme();
+    }
+  }
+
+  private static class ValidationResultsStandardScheme extends StandardScheme<ValidationResults> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ValidationResults struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // VALIDATION_STATE
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.validationState = iprot.readBool();
+              struct.setValidationStateIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // VALIDATION_RESULT_LIST
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list8 = iprot.readListBegin();
+                struct.validationResultList = new ArrayList<ValidatorResult>(_list8.size);
+                ValidatorResult _elem9;
+                for (int _i10 = 0; _i10 < _list8.size; ++_i10)
+                {
+                  _elem9 = new ValidatorResult();
+                  _elem9.read(iprot);
+                  struct.validationResultList.add(_elem9);
+                }
+                iprot.readListEnd();
+              }
+              struct.setValidationResultListIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ValidationResults struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      oprot.writeFieldBegin(VALIDATION_STATE_FIELD_DESC);
+      oprot.writeBool(struct.validationState);
+      oprot.writeFieldEnd();
+      if (struct.validationResultList != null) {
+        oprot.writeFieldBegin(VALIDATION_RESULT_LIST_FIELD_DESC);
+        {
+          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.validationResultList.size()));
+          for (ValidatorResult _iter11 : struct.validationResultList)
+          {
+            _iter11.write(oprot);
+          }
+          oprot.writeListEnd();
+        }
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ValidationResultsTupleSchemeFactory implements SchemeFactory {
+    public ValidationResultsTupleScheme getScheme() {
+      return new ValidationResultsTupleScheme();
+    }
+  }
+
+  private static class ValidationResultsTupleScheme extends TupleScheme<ValidationResults> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ValidationResults struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeBool(struct.validationState);
+      {
+        oprot.writeI32(struct.validationResultList.size());
+        for (ValidatorResult _iter12 : struct.validationResultList)
+        {
+          _iter12.write(oprot);
+        }
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ValidationResults struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.validationState = iprot.readBool();
+      struct.setValidationStateIsSet(true);
+      {
+        org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+        struct.validationResultList = new ArrayList<ValidatorResult>(_list13.size);
+        ValidatorResult _elem14;
+        for (int _i15 = 0; _i15 < _list13.size; ++_i15)
+        {
+          _elem14 = new ValidatorResult();
+          _elem14.read(iprot);
+          struct.validationResultList.add(_elem14);
+        }
+      }
+      struct.setValidationResultListIsSet(true);
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ValidatorResult.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ValidatorResult.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ValidatorResult.java
new file mode 100644
index 0000000..14b9bf2
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ValidatorResult.java
@@ -0,0 +1,521 @@
+/**
+ * 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.commons;
+
+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"})
+/**
+ * This data structure can be used to store the validation results
+ * captured during validation step and during the launchExperiment
+ * operation it can be easilly checked to see the errors occured
+ * during the experiment launch operation
+ * 
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ValidatorResult implements org.apache.thrift.TBase<ValidatorResult, ValidatorResult._Fields>, java.io.Serializable, Cloneable, Comparable<ValidatorResult> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ValidatorResult");
+
+  private static final org.apache.thrift.protocol.TField RESULT_FIELD_DESC = new org.apache.thrift.protocol.TField("result", org.apache.thrift.protocol.TType.BOOL, (short)1);
+  private static final org.apache.thrift.protocol.TField ERROR_DETAILS_FIELD_DESC = new org.apache.thrift.protocol.TField("errorDetails", org.apache.thrift.protocol.TType.STRING, (short)2);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ValidatorResultStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ValidatorResultTupleSchemeFactory());
+  }
+
+  private boolean result; // required
+  private String errorDetails; // 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 {
+    RESULT((short)1, "result"),
+    ERROR_DETAILS((short)2, "errorDetails");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // RESULT
+          return RESULT;
+        case 2: // ERROR_DETAILS
+          return ERROR_DETAILS;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __RESULT_ISSET_ID = 0;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.ERROR_DETAILS};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.RESULT, new org.apache.thrift.meta_data.FieldMetaData("result", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.ERROR_DETAILS, new org.apache.thrift.meta_data.FieldMetaData("errorDetails", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ValidatorResult.class, metaDataMap);
+  }
+
+  public ValidatorResult() {
+  }
+
+  public ValidatorResult(
+    boolean result)
+  {
+    this();
+    this.result = result;
+    setResultIsSet(true);
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ValidatorResult(ValidatorResult other) {
+    __isset_bitfield = other.__isset_bitfield;
+    this.result = other.result;
+    if (other.isSetErrorDetails()) {
+      this.errorDetails = other.errorDetails;
+    }
+  }
+
+  public ValidatorResult deepCopy() {
+    return new ValidatorResult(this);
+  }
+
+  @Override
+  public void clear() {
+    setResultIsSet(false);
+    this.result = false;
+    this.errorDetails = null;
+  }
+
+  public boolean isResult() {
+    return this.result;
+  }
+
+  public void setResult(boolean result) {
+    this.result = result;
+    setResultIsSet(true);
+  }
+
+  public void unsetResult() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __RESULT_ISSET_ID);
+  }
+
+  /** Returns true if field result is set (has been assigned a value) and false otherwise */
+  public boolean isSetResult() {
+    return EncodingUtils.testBit(__isset_bitfield, __RESULT_ISSET_ID);
+  }
+
+  public void setResultIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __RESULT_ISSET_ID, value);
+  }
+
+  public String getErrorDetails() {
+    return this.errorDetails;
+  }
+
+  public void setErrorDetails(String errorDetails) {
+    this.errorDetails = errorDetails;
+  }
+
+  public void unsetErrorDetails() {
+    this.errorDetails = null;
+  }
+
+  /** Returns true if field errorDetails is set (has been assigned a value) and false otherwise */
+  public boolean isSetErrorDetails() {
+    return this.errorDetails != null;
+  }
+
+  public void setErrorDetailsIsSet(boolean value) {
+    if (!value) {
+      this.errorDetails = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case RESULT:
+      if (value == null) {
+        unsetResult();
+      } else {
+        setResult((Boolean)value);
+      }
+      break;
+
+    case ERROR_DETAILS:
+      if (value == null) {
+        unsetErrorDetails();
+      } else {
+        setErrorDetails((String)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case RESULT:
+      return Boolean.valueOf(isResult());
+
+    case ERROR_DETAILS:
+      return getErrorDetails();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case RESULT:
+      return isSetResult();
+    case ERROR_DETAILS:
+      return isSetErrorDetails();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ValidatorResult)
+      return this.equals((ValidatorResult)that);
+    return false;
+  }
+
+  public boolean equals(ValidatorResult that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_result = true;
+    boolean that_present_result = true;
+    if (this_present_result || that_present_result) {
+      if (!(this_present_result && that_present_result))
+        return false;
+      if (this.result != that.result)
+        return false;
+    }
+
+    boolean this_present_errorDetails = true && this.isSetErrorDetails();
+    boolean that_present_errorDetails = true && that.isSetErrorDetails();
+    if (this_present_errorDetails || that_present_errorDetails) {
+      if (!(this_present_errorDetails && that_present_errorDetails))
+        return false;
+      if (!this.errorDetails.equals(that.errorDetails))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_result = true;
+    list.add(present_result);
+    if (present_result)
+      list.add(result);
+
+    boolean present_errorDetails = true && (isSetErrorDetails());
+    list.add(present_errorDetails);
+    if (present_errorDetails)
+      list.add(errorDetails);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ValidatorResult other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetResult()).compareTo(other.isSetResult());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetResult()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.result, other.result);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetErrorDetails()).compareTo(other.isSetErrorDetails());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetErrorDetails()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorDetails, other.errorDetails);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ValidatorResult(");
+    boolean first = true;
+
+    sb.append("result:");
+    sb.append(this.result);
+    first = false;
+    if (isSetErrorDetails()) {
+      if (!first) sb.append(", ");
+      sb.append("errorDetails:");
+      if (this.errorDetails == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.errorDetails);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetResult()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'result' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ValidatorResultStandardSchemeFactory implements SchemeFactory {
+    public ValidatorResultStandardScheme getScheme() {
+      return new ValidatorResultStandardScheme();
+    }
+  }
+
+  private static class ValidatorResultStandardScheme extends StandardScheme<ValidatorResult> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ValidatorResult struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // RESULT
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.result = iprot.readBool();
+              struct.setResultIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // ERROR_DETAILS
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.errorDetails = iprot.readString();
+              struct.setErrorDetailsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ValidatorResult struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      oprot.writeFieldBegin(RESULT_FIELD_DESC);
+      oprot.writeBool(struct.result);
+      oprot.writeFieldEnd();
+      if (struct.errorDetails != null) {
+        if (struct.isSetErrorDetails()) {
+          oprot.writeFieldBegin(ERROR_DETAILS_FIELD_DESC);
+          oprot.writeString(struct.errorDetails);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ValidatorResultTupleSchemeFactory implements SchemeFactory {
+    public ValidatorResultTupleScheme getScheme() {
+      return new ValidatorResultTupleScheme();
+    }
+  }
+
+  private static class ValidatorResultTupleScheme extends TupleScheme<ValidatorResult> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ValidatorResult struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeBool(struct.result);
+      BitSet optionals = new BitSet();
+      if (struct.isSetErrorDetails()) {
+        optionals.set(0);
+      }
+      oprot.writeBitSet(optionals, 1);
+      if (struct.isSetErrorDetails()) {
+        oprot.writeString(struct.errorDetails);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ValidatorResult struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.result = iprot.readBool();
+      struct.setResultIsSet(true);
+      BitSet incoming = iprot.readBitSet(1);
+      if (incoming.get(0)) {
+        struct.errorDetails = iprot.readString();
+        struct.setErrorDetailsIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/airavata_commonsConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/airavata_commonsConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/airavata_commonsConstants.java
new file mode 100644
index 0000000..c6b1a85
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/airavata_commonsConstants.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.commons;
+
+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_commonsConstants {
+
+  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/error/AiravataClientConnectException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataClientConnectException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataClientConnectException.java
deleted file mode 100644
index 519df38..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataClientConnectException.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.model.error;
-
-public class AiravataClientConnectException extends Exception {
-
-	private static final long serialVersionUID = 430165455326177755L;
-
-	public AiravataClientConnectException(String message) {
-		super(message);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataClientException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataClientException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataClientException.java
index b7dba91..3ef78c3 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataClientException.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataClientException.java
@@ -66,7 +66,7 @@ import org.slf4j.LoggerFactory;
  * parameter:  If the error applied to a particular input parameter, this will
  *   indicate which parameter.
  */
-@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 AiravataClientException extends TException implements org.apache.thrift.TBase<AiravataClientException, AiravataClientException._Fields>, java.io.Serializable, Cloneable, Comparable<AiravataClientException> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AiravataClientException");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataSystemException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataSystemException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataSystemException.java
index 7d18317..ada14f2 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataSystemException.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AiravataSystemException.java
@@ -61,7 +61,7 @@ import org.slf4j.LoggerFactory;
  * message:  This may contain additional information about the error
  * 
  */
-@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 AiravataSystemException extends TException implements org.apache.thrift.TBase<AiravataSystemException, AiravataSystemException._Fields>, java.io.Serializable, Cloneable, Comparable<AiravataSystemException> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AiravataSystemException");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthenticationException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthenticationException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthenticationException.java
index 6c8680f..88fcc0a 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthenticationException.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthenticationException.java
@@ -56,7 +56,7 @@ import org.slf4j.LoggerFactory;
  * 
  *  message: contains the cause of the authorization failure.
  */
-@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 AuthenticationException extends TException implements org.apache.thrift.TBase<AuthenticationException, AuthenticationException._Fields>, java.io.Serializable, Cloneable, Comparable<AuthenticationException> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AuthenticationException");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthorizationException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthorizationException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthorizationException.java
index 56b1b06..9ca5b07 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthorizationException.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/AuthorizationException.java
@@ -56,7 +56,7 @@ import org.slf4j.LoggerFactory;
  * 
  *  message: contains the authorization failure message
  */
-@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 AuthorizationException extends TException implements org.apache.thrift.TBase<AuthorizationException, AuthorizationException._Fields>, java.io.Serializable, Cloneable, Comparable<AuthorizationException> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AuthorizationException");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ExperimentNotFoundException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ExperimentNotFoundException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ExperimentNotFoundException.java
index ab6880b..af5ba88 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ExperimentNotFoundException.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ExperimentNotFoundException.java
@@ -58,7 +58,7 @@ import org.slf4j.LoggerFactory;
  * 
  * key:  The value passed from the client in the identifier, which was not found.
  */
-@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 ExperimentNotFoundException extends TException implements org.apache.thrift.TBase<ExperimentNotFoundException, ExperimentNotFoundException._Fields>, java.io.Serializable, Cloneable, Comparable<ExperimentNotFoundException> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExperimentNotFoundException");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/InvalidRequestException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/InvalidRequestException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/InvalidRequestException.java
index b7c5179..5bc7f88 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/InvalidRequestException.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/InvalidRequestException.java
@@ -57,7 +57,7 @@ import org.slf4j.LoggerFactory;
  * 
  *  message: contains the associated error message.
  */
-@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 InvalidRequestException extends TException implements org.apache.thrift.TBase<InvalidRequestException, InvalidRequestException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidRequestException> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidRequestException");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/LaunchValidationException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/LaunchValidationException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/LaunchValidationException.java
deleted file mode 100644
index 0f0ae2d..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/LaunchValidationException.java
+++ /dev/null
@@ -1,521 +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.error;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class LaunchValidationException extends TException implements org.apache.thrift.TBase<LaunchValidationException, LaunchValidationException._Fields>, java.io.Serializable, Cloneable, Comparable<LaunchValidationException> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LaunchValidationException");
-
-  private static final org.apache.thrift.protocol.TField VALIDATION_RESULT_FIELD_DESC = new org.apache.thrift.protocol.TField("validationResult", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-  private static final org.apache.thrift.protocol.TField ERROR_MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("errorMessage", org.apache.thrift.protocol.TType.STRING, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new LaunchValidationExceptionStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new LaunchValidationExceptionTupleSchemeFactory());
-  }
-
-  private ValidationResults validationResult; // required
-  private String errorMessage; // 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 {
-    VALIDATION_RESULT((short)1, "validationResult"),
-    ERROR_MESSAGE((short)2, "errorMessage");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // VALIDATION_RESULT
-          return VALIDATION_RESULT;
-        case 2: // ERROR_MESSAGE
-          return ERROR_MESSAGE;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final _Fields optionals[] = {_Fields.ERROR_MESSAGE};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.VALIDATION_RESULT, new org.apache.thrift.meta_data.FieldMetaData("validationResult", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ValidationResults.class)));
-    tmpMap.put(_Fields.ERROR_MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("errorMessage", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LaunchValidationException.class, metaDataMap);
-  }
-
-  public LaunchValidationException() {
-  }
-
-  public LaunchValidationException(
-    ValidationResults validationResult)
-  {
-    this();
-    this.validationResult = validationResult;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public LaunchValidationException(LaunchValidationException other) {
-    if (other.isSetValidationResult()) {
-      this.validationResult = new ValidationResults(other.validationResult);
-    }
-    if (other.isSetErrorMessage()) {
-      this.errorMessage = other.errorMessage;
-    }
-  }
-
-  public LaunchValidationException deepCopy() {
-    return new LaunchValidationException(this);
-  }
-
-  @Override
-  public void clear() {
-    this.validationResult = null;
-    this.errorMessage = null;
-  }
-
-  public ValidationResults getValidationResult() {
-    return this.validationResult;
-  }
-
-  public void setValidationResult(ValidationResults validationResult) {
-    this.validationResult = validationResult;
-  }
-
-  public void unsetValidationResult() {
-    this.validationResult = null;
-  }
-
-  /** Returns true if field validationResult is set (has been assigned a value) and false otherwise */
-  public boolean isSetValidationResult() {
-    return this.validationResult != null;
-  }
-
-  public void setValidationResultIsSet(boolean value) {
-    if (!value) {
-      this.validationResult = null;
-    }
-  }
-
-  public String getErrorMessage() {
-    return this.errorMessage;
-  }
-
-  public void setErrorMessage(String errorMessage) {
-    this.errorMessage = errorMessage;
-  }
-
-  public void unsetErrorMessage() {
-    this.errorMessage = null;
-  }
-
-  /** Returns true if field errorMessage is set (has been assigned a value) and false otherwise */
-  public boolean isSetErrorMessage() {
-    return this.errorMessage != null;
-  }
-
-  public void setErrorMessageIsSet(boolean value) {
-    if (!value) {
-      this.errorMessage = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case VALIDATION_RESULT:
-      if (value == null) {
-        unsetValidationResult();
-      } else {
-        setValidationResult((ValidationResults)value);
-      }
-      break;
-
-    case ERROR_MESSAGE:
-      if (value == null) {
-        unsetErrorMessage();
-      } else {
-        setErrorMessage((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case VALIDATION_RESULT:
-      return getValidationResult();
-
-    case ERROR_MESSAGE:
-      return getErrorMessage();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case VALIDATION_RESULT:
-      return isSetValidationResult();
-    case ERROR_MESSAGE:
-      return isSetErrorMessage();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof LaunchValidationException)
-      return this.equals((LaunchValidationException)that);
-    return false;
-  }
-
-  public boolean equals(LaunchValidationException that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_validationResult = true && this.isSetValidationResult();
-    boolean that_present_validationResult = true && that.isSetValidationResult();
-    if (this_present_validationResult || that_present_validationResult) {
-      if (!(this_present_validationResult && that_present_validationResult))
-        return false;
-      if (!this.validationResult.equals(that.validationResult))
-        return false;
-    }
-
-    boolean this_present_errorMessage = true && this.isSetErrorMessage();
-    boolean that_present_errorMessage = true && that.isSetErrorMessage();
-    if (this_present_errorMessage || that_present_errorMessage) {
-      if (!(this_present_errorMessage && that_present_errorMessage))
-        return false;
-      if (!this.errorMessage.equals(that.errorMessage))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_validationResult = true && (isSetValidationResult());
-    list.add(present_validationResult);
-    if (present_validationResult)
-      list.add(validationResult);
-
-    boolean present_errorMessage = true && (isSetErrorMessage());
-    list.add(present_errorMessage);
-    if (present_errorMessage)
-      list.add(errorMessage);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(LaunchValidationException other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetValidationResult()).compareTo(other.isSetValidationResult());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetValidationResult()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validationResult, other.validationResult);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetErrorMessage()).compareTo(other.isSetErrorMessage());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetErrorMessage()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, other.errorMessage);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("LaunchValidationException(");
-    boolean first = true;
-
-    sb.append("validationResult:");
-    if (this.validationResult == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.validationResult);
-    }
-    first = false;
-    if (isSetErrorMessage()) {
-      if (!first) sb.append(", ");
-      sb.append("errorMessage:");
-      if (this.errorMessage == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.errorMessage);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetValidationResult()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'validationResult' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-    if (validationResult != null) {
-      validationResult.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class LaunchValidationExceptionStandardSchemeFactory implements SchemeFactory {
-    public LaunchValidationExceptionStandardScheme getScheme() {
-      return new LaunchValidationExceptionStandardScheme();
-    }
-  }
-
-  private static class LaunchValidationExceptionStandardScheme extends StandardScheme<LaunchValidationException> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, LaunchValidationException struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // VALIDATION_RESULT
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.validationResult = new ValidationResults();
-              struct.validationResult.read(iprot);
-              struct.setValidationResultIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // ERROR_MESSAGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.errorMessage = iprot.readString();
-              struct.setErrorMessageIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, LaunchValidationException struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.validationResult != null) {
-        oprot.writeFieldBegin(VALIDATION_RESULT_FIELD_DESC);
-        struct.validationResult.write(oprot);
-        oprot.writeFieldEnd();
-      }
-      if (struct.errorMessage != null) {
-        if (struct.isSetErrorMessage()) {
-          oprot.writeFieldBegin(ERROR_MESSAGE_FIELD_DESC);
-          oprot.writeString(struct.errorMessage);
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class LaunchValidationExceptionTupleSchemeFactory implements SchemeFactory {
-    public LaunchValidationExceptionTupleScheme getScheme() {
-      return new LaunchValidationExceptionTupleScheme();
-    }
-  }
-
-  private static class LaunchValidationExceptionTupleScheme extends TupleScheme<LaunchValidationException> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, LaunchValidationException struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      struct.validationResult.write(oprot);
-      BitSet optionals = new BitSet();
-      if (struct.isSetErrorMessage()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetErrorMessage()) {
-        oprot.writeString(struct.errorMessage);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, LaunchValidationException struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.validationResult = new ValidationResults();
-      struct.validationResult.read(iprot);
-      struct.setValidationResultIsSet(true);
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        struct.errorMessage = iprot.readString();
-        struct.setErrorMessageIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ProjectNotFoundException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ProjectNotFoundException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ProjectNotFoundException.java
index 81d715d..bd716f5 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ProjectNotFoundException.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ProjectNotFoundException.java
@@ -56,7 +56,7 @@ import org.slf4j.LoggerFactory;
  * 2:  optional  string key
  * 
  */
-@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 ProjectNotFoundException extends TException implements org.apache.thrift.TBase<ProjectNotFoundException, ProjectNotFoundException._Fields>, java.io.Serializable, Cloneable, Comparable<ProjectNotFoundException> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ProjectNotFoundException");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/TimedOutException.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/TimedOutException.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/TimedOutException.java
index 7b56a30..3bac045 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/TimedOutException.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/TimedOutException.java
@@ -54,7 +54,7 @@ import org.slf4j.LoggerFactory;
 /**
  * This exception is thrown when RPC timeout gets exceeded.
  */
-@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 TimedOutException extends TException implements org.apache.thrift.TBase<TimedOutException, TimedOutException._Fields>, java.io.Serializable, Cloneable, Comparable<TimedOutException> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TimedOutException");
 


[16/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/process/ProcessModel.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/process/ProcessModel.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/process/ProcessModel.java
new file mode 100644
index 0000000..36d4808
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/process/ProcessModel.java
@@ -0,0 +1,1856 @@
+/**
+ * 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.process;
+
+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"})
+/**
+ * ProcessModel: A structure holding the process details. The infromation is derived based on user provided
+ *          configuration data or system inferred information from scheduling and QoS parameters.
+ * 
+ * processDetail:
+ *   A friendly description of the process, usally used to communicate information to users.
+ * 
+ * 
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ProcessModel implements org.apache.thrift.TBase<ProcessModel, ProcessModel._Fields>, java.io.Serializable, Cloneable, Comparable<ProcessModel> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ProcessModel");
+
+  private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
+  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)3);
+  private static final org.apache.thrift.protocol.TField LAST_UPDATE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("lastUpdateTime", org.apache.thrift.protocol.TType.I64, (short)4);
+  private static final org.apache.thrift.protocol.TField PROCESS_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("processStatus", org.apache.thrift.protocol.TType.STRUCT, (short)5);
+  private static final org.apache.thrift.protocol.TField PROCESS_DETAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("processDetail", org.apache.thrift.protocol.TType.STRING, (short)6);
+  private static final org.apache.thrift.protocol.TField APPLICATION_INTERFACE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationInterfaceId", org.apache.thrift.protocol.TType.STRING, (short)7);
+  private static final org.apache.thrift.protocol.TField PROCESS_INPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("processInputs", org.apache.thrift.protocol.TType.LIST, (short)8);
+  private static final org.apache.thrift.protocol.TField PROCESS_OUTPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("processOutputs", org.apache.thrift.protocol.TType.LIST, (short)9);
+  private static final org.apache.thrift.protocol.TField RESOURCE_SCHEDULE_FIELD_DESC = new org.apache.thrift.protocol.TField("resourceSchedule", org.apache.thrift.protocol.TType.STRUCT, (short)10);
+  private static final org.apache.thrift.protocol.TField TASKS_FIELD_DESC = new org.apache.thrift.protocol.TField("tasks", org.apache.thrift.protocol.TType.LIST, (short)11);
+  private static final org.apache.thrift.protocol.TField TASK_DAG_FIELD_DESC = new org.apache.thrift.protocol.TField("taskDag", org.apache.thrift.protocol.TType.STRING, (short)12);
+  private static final org.apache.thrift.protocol.TField PROCESS_ERROR_FIELD_DESC = new org.apache.thrift.protocol.TField("processError", org.apache.thrift.protocol.TType.STRUCT, (short)13);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ProcessModelStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ProcessModelTupleSchemeFactory());
+  }
+
+  private String processId; // required
+  private String experimentId; // required
+  private long creationTime; // optional
+  private long lastUpdateTime; // optional
+  private org.apache.airavata.model.status.ProcessStatus processStatus; // optional
+  private String processDetail; // optional
+  private String applicationInterfaceId; // optional
+  private List<org.apache.airavata.model.application.io.InputDataObjectType> processInputs; // optional
+  private List<org.apache.airavata.model.application.io.OutputDataObjectType> processOutputs; // optional
+  private org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel resourceSchedule; // optional
+  private List<org.apache.airavata.model.task.TaskModel> tasks; // optional
+  private String taskDag; // optional
+  private org.apache.airavata.model.commons.ErrorModel processError; // 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 {
+    PROCESS_ID((short)1, "processId"),
+    EXPERIMENT_ID((short)2, "experimentId"),
+    CREATION_TIME((short)3, "creationTime"),
+    LAST_UPDATE_TIME((short)4, "lastUpdateTime"),
+    PROCESS_STATUS((short)5, "processStatus"),
+    PROCESS_DETAIL((short)6, "processDetail"),
+    APPLICATION_INTERFACE_ID((short)7, "applicationInterfaceId"),
+    PROCESS_INPUTS((short)8, "processInputs"),
+    PROCESS_OUTPUTS((short)9, "processOutputs"),
+    RESOURCE_SCHEDULE((short)10, "resourceSchedule"),
+    TASKS((short)11, "tasks"),
+    TASK_DAG((short)12, "taskDag"),
+    PROCESS_ERROR((short)13, "processError");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // PROCESS_ID
+          return PROCESS_ID;
+        case 2: // EXPERIMENT_ID
+          return EXPERIMENT_ID;
+        case 3: // CREATION_TIME
+          return CREATION_TIME;
+        case 4: // LAST_UPDATE_TIME
+          return LAST_UPDATE_TIME;
+        case 5: // PROCESS_STATUS
+          return PROCESS_STATUS;
+        case 6: // PROCESS_DETAIL
+          return PROCESS_DETAIL;
+        case 7: // APPLICATION_INTERFACE_ID
+          return APPLICATION_INTERFACE_ID;
+        case 8: // PROCESS_INPUTS
+          return PROCESS_INPUTS;
+        case 9: // PROCESS_OUTPUTS
+          return PROCESS_OUTPUTS;
+        case 10: // RESOURCE_SCHEDULE
+          return RESOURCE_SCHEDULE;
+        case 11: // TASKS
+          return TASKS;
+        case 12: // TASK_DAG
+          return TASK_DAG;
+        case 13: // PROCESS_ERROR
+          return PROCESS_ERROR;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __CREATIONTIME_ISSET_ID = 0;
+  private static final int __LASTUPDATETIME_ISSET_ID = 1;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.LAST_UPDATE_TIME,_Fields.PROCESS_STATUS,_Fields.PROCESS_DETAIL,_Fields.APPLICATION_INTERFACE_ID,_Fields.PROCESS_INPUTS,_Fields.PROCESS_OUTPUTS,_Fields.RESOURCE_SCHEDULE,_Fields.TASKS,_Fields.TASK_DAG,_Fields.PROCESS_ERROR};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.LAST_UPDATE_TIME, new org.apache.thrift.meta_data.FieldMetaData("lastUpdateTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.PROCESS_STATUS, new org.apache.thrift.meta_data.FieldMetaData("processStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.status.ProcessStatus.class)));
+    tmpMap.put(_Fields.PROCESS_DETAIL, new org.apache.thrift.meta_data.FieldMetaData("processDetail", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.APPLICATION_INTERFACE_ID, new org.apache.thrift.meta_data.FieldMetaData("applicationInterfaceId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.PROCESS_INPUTS, new org.apache.thrift.meta_data.FieldMetaData("processInputs", 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.application.io.InputDataObjectType.class))));
+    tmpMap.put(_Fields.PROCESS_OUTPUTS, new org.apache.thrift.meta_data.FieldMetaData("processOutputs", 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.application.io.OutputDataObjectType.class))));
+    tmpMap.put(_Fields.RESOURCE_SCHEDULE, new org.apache.thrift.meta_data.FieldMetaData("resourceSchedule", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel.class)));
+    tmpMap.put(_Fields.TASKS, new org.apache.thrift.meta_data.FieldMetaData("tasks", 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.task.TaskModel.class))));
+    tmpMap.put(_Fields.TASK_DAG, new org.apache.thrift.meta_data.FieldMetaData("taskDag", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.PROCESS_ERROR, new org.apache.thrift.meta_data.FieldMetaData("processError", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.commons.ErrorModel.class)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ProcessModel.class, metaDataMap);
+  }
+
+  public ProcessModel() {
+    this.processId = "DO_NOT_SET_AT_CLIENTS";
+
+  }
+
+  public ProcessModel(
+    String processId,
+    String experimentId)
+  {
+    this();
+    this.processId = processId;
+    this.experimentId = experimentId;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ProcessModel(ProcessModel other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetProcessId()) {
+      this.processId = other.processId;
+    }
+    if (other.isSetExperimentId()) {
+      this.experimentId = other.experimentId;
+    }
+    this.creationTime = other.creationTime;
+    this.lastUpdateTime = other.lastUpdateTime;
+    if (other.isSetProcessStatus()) {
+      this.processStatus = new org.apache.airavata.model.status.ProcessStatus(other.processStatus);
+    }
+    if (other.isSetProcessDetail()) {
+      this.processDetail = other.processDetail;
+    }
+    if (other.isSetApplicationInterfaceId()) {
+      this.applicationInterfaceId = other.applicationInterfaceId;
+    }
+    if (other.isSetProcessInputs()) {
+      List<org.apache.airavata.model.application.io.InputDataObjectType> __this__processInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(other.processInputs.size());
+      for (org.apache.airavata.model.application.io.InputDataObjectType other_element : other.processInputs) {
+        __this__processInputs.add(new org.apache.airavata.model.application.io.InputDataObjectType(other_element));
+      }
+      this.processInputs = __this__processInputs;
+    }
+    if (other.isSetProcessOutputs()) {
+      List<org.apache.airavata.model.application.io.OutputDataObjectType> __this__processOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(other.processOutputs.size());
+      for (org.apache.airavata.model.application.io.OutputDataObjectType other_element : other.processOutputs) {
+        __this__processOutputs.add(new org.apache.airavata.model.application.io.OutputDataObjectType(other_element));
+      }
+      this.processOutputs = __this__processOutputs;
+    }
+    if (other.isSetResourceSchedule()) {
+      this.resourceSchedule = new org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel(other.resourceSchedule);
+    }
+    if (other.isSetTasks()) {
+      List<org.apache.airavata.model.task.TaskModel> __this__tasks = new ArrayList<org.apache.airavata.model.task.TaskModel>(other.tasks.size());
+      for (org.apache.airavata.model.task.TaskModel other_element : other.tasks) {
+        __this__tasks.add(new org.apache.airavata.model.task.TaskModel(other_element));
+      }
+      this.tasks = __this__tasks;
+    }
+    if (other.isSetTaskDag()) {
+      this.taskDag = other.taskDag;
+    }
+    if (other.isSetProcessError()) {
+      this.processError = new org.apache.airavata.model.commons.ErrorModel(other.processError);
+    }
+  }
+
+  public ProcessModel deepCopy() {
+    return new ProcessModel(this);
+  }
+
+  @Override
+  public void clear() {
+    this.processId = "DO_NOT_SET_AT_CLIENTS";
+
+    this.experimentId = null;
+    setCreationTimeIsSet(false);
+    this.creationTime = 0;
+    setLastUpdateTimeIsSet(false);
+    this.lastUpdateTime = 0;
+    this.processStatus = null;
+    this.processDetail = null;
+    this.applicationInterfaceId = null;
+    this.processInputs = null;
+    this.processOutputs = null;
+    this.resourceSchedule = null;
+    this.tasks = null;
+    this.taskDag = null;
+    this.processError = null;
+  }
+
+  public String getProcessId() {
+    return this.processId;
+  }
+
+  public void setProcessId(String processId) {
+    this.processId = processId;
+  }
+
+  public void unsetProcessId() {
+    this.processId = null;
+  }
+
+  /** Returns true if field processId is set (has been assigned a value) and false otherwise */
+  public boolean isSetProcessId() {
+    return this.processId != null;
+  }
+
+  public void setProcessIdIsSet(boolean value) {
+    if (!value) {
+      this.processId = null;
+    }
+  }
+
+  public String getExperimentId() {
+    return this.experimentId;
+  }
+
+  public void setExperimentId(String experimentId) {
+    this.experimentId = experimentId;
+  }
+
+  public void unsetExperimentId() {
+    this.experimentId = null;
+  }
+
+  /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
+  public boolean isSetExperimentId() {
+    return this.experimentId != null;
+  }
+
+  public void setExperimentIdIsSet(boolean value) {
+    if (!value) {
+      this.experimentId = null;
+    }
+  }
+
+  public long getCreationTime() {
+    return this.creationTime;
+  }
+
+  public void setCreationTime(long creationTime) {
+    this.creationTime = creationTime;
+    setCreationTimeIsSet(true);
+  }
+
+  public void unsetCreationTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetCreationTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  public void setCreationTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
+  }
+
+  public long getLastUpdateTime() {
+    return this.lastUpdateTime;
+  }
+
+  public void setLastUpdateTime(long lastUpdateTime) {
+    this.lastUpdateTime = lastUpdateTime;
+    setLastUpdateTimeIsSet(true);
+  }
+
+  public void unsetLastUpdateTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __LASTUPDATETIME_ISSET_ID);
+  }
+
+  /** Returns true if field lastUpdateTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetLastUpdateTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __LASTUPDATETIME_ISSET_ID);
+  }
+
+  public void setLastUpdateTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __LASTUPDATETIME_ISSET_ID, value);
+  }
+
+  public org.apache.airavata.model.status.ProcessStatus getProcessStatus() {
+    return this.processStatus;
+  }
+
+  public void setProcessStatus(org.apache.airavata.model.status.ProcessStatus processStatus) {
+    this.processStatus = processStatus;
+  }
+
+  public void unsetProcessStatus() {
+    this.processStatus = null;
+  }
+
+  /** Returns true if field processStatus is set (has been assigned a value) and false otherwise */
+  public boolean isSetProcessStatus() {
+    return this.processStatus != null;
+  }
+
+  public void setProcessStatusIsSet(boolean value) {
+    if (!value) {
+      this.processStatus = null;
+    }
+  }
+
+  public String getProcessDetail() {
+    return this.processDetail;
+  }
+
+  public void setProcessDetail(String processDetail) {
+    this.processDetail = processDetail;
+  }
+
+  public void unsetProcessDetail() {
+    this.processDetail = null;
+  }
+
+  /** Returns true if field processDetail is set (has been assigned a value) and false otherwise */
+  public boolean isSetProcessDetail() {
+    return this.processDetail != null;
+  }
+
+  public void setProcessDetailIsSet(boolean value) {
+    if (!value) {
+      this.processDetail = null;
+    }
+  }
+
+  public String getApplicationInterfaceId() {
+    return this.applicationInterfaceId;
+  }
+
+  public void setApplicationInterfaceId(String applicationInterfaceId) {
+    this.applicationInterfaceId = applicationInterfaceId;
+  }
+
+  public void unsetApplicationInterfaceId() {
+    this.applicationInterfaceId = null;
+  }
+
+  /** Returns true if field applicationInterfaceId is set (has been assigned a value) and false otherwise */
+  public boolean isSetApplicationInterfaceId() {
+    return this.applicationInterfaceId != null;
+  }
+
+  public void setApplicationInterfaceIdIsSet(boolean value) {
+    if (!value) {
+      this.applicationInterfaceId = null;
+    }
+  }
+
+  public int getProcessInputsSize() {
+    return (this.processInputs == null) ? 0 : this.processInputs.size();
+  }
+
+  public java.util.Iterator<org.apache.airavata.model.application.io.InputDataObjectType> getProcessInputsIterator() {
+    return (this.processInputs == null) ? null : this.processInputs.iterator();
+  }
+
+  public void addToProcessInputs(org.apache.airavata.model.application.io.InputDataObjectType elem) {
+    if (this.processInputs == null) {
+      this.processInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>();
+    }
+    this.processInputs.add(elem);
+  }
+
+  public List<org.apache.airavata.model.application.io.InputDataObjectType> getProcessInputs() {
+    return this.processInputs;
+  }
+
+  public void setProcessInputs(List<org.apache.airavata.model.application.io.InputDataObjectType> processInputs) {
+    this.processInputs = processInputs;
+  }
+
+  public void unsetProcessInputs() {
+    this.processInputs = null;
+  }
+
+  /** Returns true if field processInputs is set (has been assigned a value) and false otherwise */
+  public boolean isSetProcessInputs() {
+    return this.processInputs != null;
+  }
+
+  public void setProcessInputsIsSet(boolean value) {
+    if (!value) {
+      this.processInputs = null;
+    }
+  }
+
+  public int getProcessOutputsSize() {
+    return (this.processOutputs == null) ? 0 : this.processOutputs.size();
+  }
+
+  public java.util.Iterator<org.apache.airavata.model.application.io.OutputDataObjectType> getProcessOutputsIterator() {
+    return (this.processOutputs == null) ? null : this.processOutputs.iterator();
+  }
+
+  public void addToProcessOutputs(org.apache.airavata.model.application.io.OutputDataObjectType elem) {
+    if (this.processOutputs == null) {
+      this.processOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>();
+    }
+    this.processOutputs.add(elem);
+  }
+
+  public List<org.apache.airavata.model.application.io.OutputDataObjectType> getProcessOutputs() {
+    return this.processOutputs;
+  }
+
+  public void setProcessOutputs(List<org.apache.airavata.model.application.io.OutputDataObjectType> processOutputs) {
+    this.processOutputs = processOutputs;
+  }
+
+  public void unsetProcessOutputs() {
+    this.processOutputs = null;
+  }
+
+  /** Returns true if field processOutputs is set (has been assigned a value) and false otherwise */
+  public boolean isSetProcessOutputs() {
+    return this.processOutputs != null;
+  }
+
+  public void setProcessOutputsIsSet(boolean value) {
+    if (!value) {
+      this.processOutputs = null;
+    }
+  }
+
+  public org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel getResourceSchedule() {
+    return this.resourceSchedule;
+  }
+
+  public void setResourceSchedule(org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel resourceSchedule) {
+    this.resourceSchedule = resourceSchedule;
+  }
+
+  public void unsetResourceSchedule() {
+    this.resourceSchedule = null;
+  }
+
+  /** Returns true if field resourceSchedule is set (has been assigned a value) and false otherwise */
+  public boolean isSetResourceSchedule() {
+    return this.resourceSchedule != null;
+  }
+
+  public void setResourceScheduleIsSet(boolean value) {
+    if (!value) {
+      this.resourceSchedule = null;
+    }
+  }
+
+  public int getTasksSize() {
+    return (this.tasks == null) ? 0 : this.tasks.size();
+  }
+
+  public java.util.Iterator<org.apache.airavata.model.task.TaskModel> getTasksIterator() {
+    return (this.tasks == null) ? null : this.tasks.iterator();
+  }
+
+  public void addToTasks(org.apache.airavata.model.task.TaskModel elem) {
+    if (this.tasks == null) {
+      this.tasks = new ArrayList<org.apache.airavata.model.task.TaskModel>();
+    }
+    this.tasks.add(elem);
+  }
+
+  public List<org.apache.airavata.model.task.TaskModel> getTasks() {
+    return this.tasks;
+  }
+
+  public void setTasks(List<org.apache.airavata.model.task.TaskModel> tasks) {
+    this.tasks = tasks;
+  }
+
+  public void unsetTasks() {
+    this.tasks = null;
+  }
+
+  /** Returns true if field tasks is set (has been assigned a value) and false otherwise */
+  public boolean isSetTasks() {
+    return this.tasks != null;
+  }
+
+  public void setTasksIsSet(boolean value) {
+    if (!value) {
+      this.tasks = null;
+    }
+  }
+
+  public String getTaskDag() {
+    return this.taskDag;
+  }
+
+  public void setTaskDag(String taskDag) {
+    this.taskDag = taskDag;
+  }
+
+  public void unsetTaskDag() {
+    this.taskDag = null;
+  }
+
+  /** Returns true if field taskDag is set (has been assigned a value) and false otherwise */
+  public boolean isSetTaskDag() {
+    return this.taskDag != null;
+  }
+
+  public void setTaskDagIsSet(boolean value) {
+    if (!value) {
+      this.taskDag = null;
+    }
+  }
+
+  public org.apache.airavata.model.commons.ErrorModel getProcessError() {
+    return this.processError;
+  }
+
+  public void setProcessError(org.apache.airavata.model.commons.ErrorModel processError) {
+    this.processError = processError;
+  }
+
+  public void unsetProcessError() {
+    this.processError = null;
+  }
+
+  /** Returns true if field processError is set (has been assigned a value) and false otherwise */
+  public boolean isSetProcessError() {
+    return this.processError != null;
+  }
+
+  public void setProcessErrorIsSet(boolean value) {
+    if (!value) {
+      this.processError = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case PROCESS_ID:
+      if (value == null) {
+        unsetProcessId();
+      } else {
+        setProcessId((String)value);
+      }
+      break;
+
+    case EXPERIMENT_ID:
+      if (value == null) {
+        unsetExperimentId();
+      } else {
+        setExperimentId((String)value);
+      }
+      break;
+
+    case CREATION_TIME:
+      if (value == null) {
+        unsetCreationTime();
+      } else {
+        setCreationTime((Long)value);
+      }
+      break;
+
+    case LAST_UPDATE_TIME:
+      if (value == null) {
+        unsetLastUpdateTime();
+      } else {
+        setLastUpdateTime((Long)value);
+      }
+      break;
+
+    case PROCESS_STATUS:
+      if (value == null) {
+        unsetProcessStatus();
+      } else {
+        setProcessStatus((org.apache.airavata.model.status.ProcessStatus)value);
+      }
+      break;
+
+    case PROCESS_DETAIL:
+      if (value == null) {
+        unsetProcessDetail();
+      } else {
+        setProcessDetail((String)value);
+      }
+      break;
+
+    case APPLICATION_INTERFACE_ID:
+      if (value == null) {
+        unsetApplicationInterfaceId();
+      } else {
+        setApplicationInterfaceId((String)value);
+      }
+      break;
+
+    case PROCESS_INPUTS:
+      if (value == null) {
+        unsetProcessInputs();
+      } else {
+        setProcessInputs((List<org.apache.airavata.model.application.io.InputDataObjectType>)value);
+      }
+      break;
+
+    case PROCESS_OUTPUTS:
+      if (value == null) {
+        unsetProcessOutputs();
+      } else {
+        setProcessOutputs((List<org.apache.airavata.model.application.io.OutputDataObjectType>)value);
+      }
+      break;
+
+    case RESOURCE_SCHEDULE:
+      if (value == null) {
+        unsetResourceSchedule();
+      } else {
+        setResourceSchedule((org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel)value);
+      }
+      break;
+
+    case TASKS:
+      if (value == null) {
+        unsetTasks();
+      } else {
+        setTasks((List<org.apache.airavata.model.task.TaskModel>)value);
+      }
+      break;
+
+    case TASK_DAG:
+      if (value == null) {
+        unsetTaskDag();
+      } else {
+        setTaskDag((String)value);
+      }
+      break;
+
+    case PROCESS_ERROR:
+      if (value == null) {
+        unsetProcessError();
+      } else {
+        setProcessError((org.apache.airavata.model.commons.ErrorModel)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case PROCESS_ID:
+      return getProcessId();
+
+    case EXPERIMENT_ID:
+      return getExperimentId();
+
+    case CREATION_TIME:
+      return Long.valueOf(getCreationTime());
+
+    case LAST_UPDATE_TIME:
+      return Long.valueOf(getLastUpdateTime());
+
+    case PROCESS_STATUS:
+      return getProcessStatus();
+
+    case PROCESS_DETAIL:
+      return getProcessDetail();
+
+    case APPLICATION_INTERFACE_ID:
+      return getApplicationInterfaceId();
+
+    case PROCESS_INPUTS:
+      return getProcessInputs();
+
+    case PROCESS_OUTPUTS:
+      return getProcessOutputs();
+
+    case RESOURCE_SCHEDULE:
+      return getResourceSchedule();
+
+    case TASKS:
+      return getTasks();
+
+    case TASK_DAG:
+      return getTaskDag();
+
+    case PROCESS_ERROR:
+      return getProcessError();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case PROCESS_ID:
+      return isSetProcessId();
+    case EXPERIMENT_ID:
+      return isSetExperimentId();
+    case CREATION_TIME:
+      return isSetCreationTime();
+    case LAST_UPDATE_TIME:
+      return isSetLastUpdateTime();
+    case PROCESS_STATUS:
+      return isSetProcessStatus();
+    case PROCESS_DETAIL:
+      return isSetProcessDetail();
+    case APPLICATION_INTERFACE_ID:
+      return isSetApplicationInterfaceId();
+    case PROCESS_INPUTS:
+      return isSetProcessInputs();
+    case PROCESS_OUTPUTS:
+      return isSetProcessOutputs();
+    case RESOURCE_SCHEDULE:
+      return isSetResourceSchedule();
+    case TASKS:
+      return isSetTasks();
+    case TASK_DAG:
+      return isSetTaskDag();
+    case PROCESS_ERROR:
+      return isSetProcessError();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ProcessModel)
+      return this.equals((ProcessModel)that);
+    return false;
+  }
+
+  public boolean equals(ProcessModel that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_processId = true && this.isSetProcessId();
+    boolean that_present_processId = true && that.isSetProcessId();
+    if (this_present_processId || that_present_processId) {
+      if (!(this_present_processId && that_present_processId))
+        return false;
+      if (!this.processId.equals(that.processId))
+        return false;
+    }
+
+    boolean this_present_experimentId = true && this.isSetExperimentId();
+    boolean that_present_experimentId = true && that.isSetExperimentId();
+    if (this_present_experimentId || that_present_experimentId) {
+      if (!(this_present_experimentId && that_present_experimentId))
+        return false;
+      if (!this.experimentId.equals(that.experimentId))
+        return false;
+    }
+
+    boolean this_present_creationTime = true && this.isSetCreationTime();
+    boolean that_present_creationTime = true && that.isSetCreationTime();
+    if (this_present_creationTime || that_present_creationTime) {
+      if (!(this_present_creationTime && that_present_creationTime))
+        return false;
+      if (this.creationTime != that.creationTime)
+        return false;
+    }
+
+    boolean this_present_lastUpdateTime = true && this.isSetLastUpdateTime();
+    boolean that_present_lastUpdateTime = true && that.isSetLastUpdateTime();
+    if (this_present_lastUpdateTime || that_present_lastUpdateTime) {
+      if (!(this_present_lastUpdateTime && that_present_lastUpdateTime))
+        return false;
+      if (this.lastUpdateTime != that.lastUpdateTime)
+        return false;
+    }
+
+    boolean this_present_processStatus = true && this.isSetProcessStatus();
+    boolean that_present_processStatus = true && that.isSetProcessStatus();
+    if (this_present_processStatus || that_present_processStatus) {
+      if (!(this_present_processStatus && that_present_processStatus))
+        return false;
+      if (!this.processStatus.equals(that.processStatus))
+        return false;
+    }
+
+    boolean this_present_processDetail = true && this.isSetProcessDetail();
+    boolean that_present_processDetail = true && that.isSetProcessDetail();
+    if (this_present_processDetail || that_present_processDetail) {
+      if (!(this_present_processDetail && that_present_processDetail))
+        return false;
+      if (!this.processDetail.equals(that.processDetail))
+        return false;
+    }
+
+    boolean this_present_applicationInterfaceId = true && this.isSetApplicationInterfaceId();
+    boolean that_present_applicationInterfaceId = true && that.isSetApplicationInterfaceId();
+    if (this_present_applicationInterfaceId || that_present_applicationInterfaceId) {
+      if (!(this_present_applicationInterfaceId && that_present_applicationInterfaceId))
+        return false;
+      if (!this.applicationInterfaceId.equals(that.applicationInterfaceId))
+        return false;
+    }
+
+    boolean this_present_processInputs = true && this.isSetProcessInputs();
+    boolean that_present_processInputs = true && that.isSetProcessInputs();
+    if (this_present_processInputs || that_present_processInputs) {
+      if (!(this_present_processInputs && that_present_processInputs))
+        return false;
+      if (!this.processInputs.equals(that.processInputs))
+        return false;
+    }
+
+    boolean this_present_processOutputs = true && this.isSetProcessOutputs();
+    boolean that_present_processOutputs = true && that.isSetProcessOutputs();
+    if (this_present_processOutputs || that_present_processOutputs) {
+      if (!(this_present_processOutputs && that_present_processOutputs))
+        return false;
+      if (!this.processOutputs.equals(that.processOutputs))
+        return false;
+    }
+
+    boolean this_present_resourceSchedule = true && this.isSetResourceSchedule();
+    boolean that_present_resourceSchedule = true && that.isSetResourceSchedule();
+    if (this_present_resourceSchedule || that_present_resourceSchedule) {
+      if (!(this_present_resourceSchedule && that_present_resourceSchedule))
+        return false;
+      if (!this.resourceSchedule.equals(that.resourceSchedule))
+        return false;
+    }
+
+    boolean this_present_tasks = true && this.isSetTasks();
+    boolean that_present_tasks = true && that.isSetTasks();
+    if (this_present_tasks || that_present_tasks) {
+      if (!(this_present_tasks && that_present_tasks))
+        return false;
+      if (!this.tasks.equals(that.tasks))
+        return false;
+    }
+
+    boolean this_present_taskDag = true && this.isSetTaskDag();
+    boolean that_present_taskDag = true && that.isSetTaskDag();
+    if (this_present_taskDag || that_present_taskDag) {
+      if (!(this_present_taskDag && that_present_taskDag))
+        return false;
+      if (!this.taskDag.equals(that.taskDag))
+        return false;
+    }
+
+    boolean this_present_processError = true && this.isSetProcessError();
+    boolean that_present_processError = true && that.isSetProcessError();
+    if (this_present_processError || that_present_processError) {
+      if (!(this_present_processError && that_present_processError))
+        return false;
+      if (!this.processError.equals(that.processError))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_processId = true && (isSetProcessId());
+    list.add(present_processId);
+    if (present_processId)
+      list.add(processId);
+
+    boolean present_experimentId = true && (isSetExperimentId());
+    list.add(present_experimentId);
+    if (present_experimentId)
+      list.add(experimentId);
+
+    boolean present_creationTime = true && (isSetCreationTime());
+    list.add(present_creationTime);
+    if (present_creationTime)
+      list.add(creationTime);
+
+    boolean present_lastUpdateTime = true && (isSetLastUpdateTime());
+    list.add(present_lastUpdateTime);
+    if (present_lastUpdateTime)
+      list.add(lastUpdateTime);
+
+    boolean present_processStatus = true && (isSetProcessStatus());
+    list.add(present_processStatus);
+    if (present_processStatus)
+      list.add(processStatus);
+
+    boolean present_processDetail = true && (isSetProcessDetail());
+    list.add(present_processDetail);
+    if (present_processDetail)
+      list.add(processDetail);
+
+    boolean present_applicationInterfaceId = true && (isSetApplicationInterfaceId());
+    list.add(present_applicationInterfaceId);
+    if (present_applicationInterfaceId)
+      list.add(applicationInterfaceId);
+
+    boolean present_processInputs = true && (isSetProcessInputs());
+    list.add(present_processInputs);
+    if (present_processInputs)
+      list.add(processInputs);
+
+    boolean present_processOutputs = true && (isSetProcessOutputs());
+    list.add(present_processOutputs);
+    if (present_processOutputs)
+      list.add(processOutputs);
+
+    boolean present_resourceSchedule = true && (isSetResourceSchedule());
+    list.add(present_resourceSchedule);
+    if (present_resourceSchedule)
+      list.add(resourceSchedule);
+
+    boolean present_tasks = true && (isSetTasks());
+    list.add(present_tasks);
+    if (present_tasks)
+      list.add(tasks);
+
+    boolean present_taskDag = true && (isSetTaskDag());
+    list.add(present_taskDag);
+    if (present_taskDag)
+      list.add(taskDag);
+
+    boolean present_processError = true && (isSetProcessError());
+    list.add(present_processError);
+    if (present_processError)
+      list.add(processError);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ProcessModel other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetProcessId()).compareTo(other.isSetProcessId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetProcessId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processId, other.processId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExperimentId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCreationTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetLastUpdateTime()).compareTo(other.isSetLastUpdateTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetLastUpdateTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastUpdateTime, other.lastUpdateTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetProcessStatus()).compareTo(other.isSetProcessStatus());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetProcessStatus()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processStatus, other.processStatus);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetProcessDetail()).compareTo(other.isSetProcessDetail());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetProcessDetail()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processDetail, other.processDetail);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetApplicationInterfaceId()).compareTo(other.isSetApplicationInterfaceId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetApplicationInterfaceId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationInterfaceId, other.applicationInterfaceId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetProcessInputs()).compareTo(other.isSetProcessInputs());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetProcessInputs()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processInputs, other.processInputs);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetProcessOutputs()).compareTo(other.isSetProcessOutputs());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetProcessOutputs()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processOutputs, other.processOutputs);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetResourceSchedule()).compareTo(other.isSetResourceSchedule());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetResourceSchedule()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceSchedule, other.resourceSchedule);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTasks()).compareTo(other.isSetTasks());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTasks()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tasks, other.tasks);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTaskDag()).compareTo(other.isSetTaskDag());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTaskDag()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskDag, other.taskDag);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetProcessError()).compareTo(other.isSetProcessError());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetProcessError()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processError, other.processError);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ProcessModel(");
+    boolean first = true;
+
+    sb.append("processId:");
+    if (this.processId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.processId);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("experimentId:");
+    if (this.experimentId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.experimentId);
+    }
+    first = false;
+    if (isSetCreationTime()) {
+      if (!first) sb.append(", ");
+      sb.append("creationTime:");
+      sb.append(this.creationTime);
+      first = false;
+    }
+    if (isSetLastUpdateTime()) {
+      if (!first) sb.append(", ");
+      sb.append("lastUpdateTime:");
+      sb.append(this.lastUpdateTime);
+      first = false;
+    }
+    if (isSetProcessStatus()) {
+      if (!first) sb.append(", ");
+      sb.append("processStatus:");
+      if (this.processStatus == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.processStatus);
+      }
+      first = false;
+    }
+    if (isSetProcessDetail()) {
+      if (!first) sb.append(", ");
+      sb.append("processDetail:");
+      if (this.processDetail == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.processDetail);
+      }
+      first = false;
+    }
+    if (isSetApplicationInterfaceId()) {
+      if (!first) sb.append(", ");
+      sb.append("applicationInterfaceId:");
+      if (this.applicationInterfaceId == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.applicationInterfaceId);
+      }
+      first = false;
+    }
+    if (isSetProcessInputs()) {
+      if (!first) sb.append(", ");
+      sb.append("processInputs:");
+      if (this.processInputs == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.processInputs);
+      }
+      first = false;
+    }
+    if (isSetProcessOutputs()) {
+      if (!first) sb.append(", ");
+      sb.append("processOutputs:");
+      if (this.processOutputs == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.processOutputs);
+      }
+      first = false;
+    }
+    if (isSetResourceSchedule()) {
+      if (!first) sb.append(", ");
+      sb.append("resourceSchedule:");
+      if (this.resourceSchedule == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.resourceSchedule);
+      }
+      first = false;
+    }
+    if (isSetTasks()) {
+      if (!first) sb.append(", ");
+      sb.append("tasks:");
+      if (this.tasks == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.tasks);
+      }
+      first = false;
+    }
+    if (isSetTaskDag()) {
+      if (!first) sb.append(", ");
+      sb.append("taskDag:");
+      if (this.taskDag == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.taskDag);
+      }
+      first = false;
+    }
+    if (isSetProcessError()) {
+      if (!first) sb.append(", ");
+      sb.append("processError:");
+      if (this.processError == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.processError);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetProcessId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' is unset! Struct:" + toString());
+    }
+
+    if (!isSetExperimentId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+    if (processStatus != null) {
+      processStatus.validate();
+    }
+    if (resourceSchedule != null) {
+      resourceSchedule.validate();
+    }
+    if (processError != null) {
+      processError.validate();
+    }
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ProcessModelStandardSchemeFactory implements SchemeFactory {
+    public ProcessModelStandardScheme getScheme() {
+      return new ProcessModelStandardScheme();
+    }
+  }
+
+  private static class ProcessModelStandardScheme extends StandardScheme<ProcessModel> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ProcessModel struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // PROCESS_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.processId = iprot.readString();
+              struct.setProcessIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // EXPERIMENT_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.experimentId = iprot.readString();
+              struct.setExperimentIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // CREATION_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.creationTime = iprot.readI64();
+              struct.setCreationTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // LAST_UPDATE_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.lastUpdateTime = iprot.readI64();
+              struct.setLastUpdateTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // PROCESS_STATUS
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.processStatus = new org.apache.airavata.model.status.ProcessStatus();
+              struct.processStatus.read(iprot);
+              struct.setProcessStatusIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // PROCESS_DETAIL
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.processDetail = iprot.readString();
+              struct.setProcessDetailIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // APPLICATION_INTERFACE_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.applicationInterfaceId = iprot.readString();
+              struct.setApplicationInterfaceIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 8: // PROCESS_INPUTS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
+                struct.processInputs = 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.application.io.InputDataObjectType();
+                  _elem1.read(iprot);
+                  struct.processInputs.add(_elem1);
+                }
+                iprot.readListEnd();
+              }
+              struct.setProcessInputsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 9: // PROCESS_OUTPUTS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list3 = iprot.readListBegin();
+                struct.processOutputs = 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.application.io.OutputDataObjectType();
+                  _elem4.read(iprot);
+                  struct.processOutputs.add(_elem4);
+                }
+                iprot.readListEnd();
+              }
+              struct.setProcessOutputsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 10: // RESOURCE_SCHEDULE
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.resourceSchedule = new org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel();
+              struct.resourceSchedule.read(iprot);
+              struct.setResourceScheduleIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 11: // TASKS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list6 = iprot.readListBegin();
+                struct.tasks = new ArrayList<org.apache.airavata.model.task.TaskModel>(_list6.size);
+                org.apache.airavata.model.task.TaskModel _elem7;
+                for (int _i8 = 0; _i8 < _list6.size; ++_i8)
+                {
+                  _elem7 = new org.apache.airavata.model.task.TaskModel();
+                  _elem7.read(iprot);
+                  struct.tasks.add(_elem7);
+                }
+                iprot.readListEnd();
+              }
+              struct.setTasksIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 12: // TASK_DAG
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.taskDag = iprot.readString();
+              struct.setTaskDagIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 13: // PROCESS_ERROR
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.processError = new org.apache.airavata.model.commons.ErrorModel();
+              struct.processError.read(iprot);
+              struct.setProcessErrorIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ProcessModel struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.processId != null) {
+        oprot.writeFieldBegin(PROCESS_ID_FIELD_DESC);
+        oprot.writeString(struct.processId);
+        oprot.writeFieldEnd();
+      }
+      if (struct.experimentId != null) {
+        oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
+        oprot.writeString(struct.experimentId);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetCreationTime()) {
+        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
+        oprot.writeI64(struct.creationTime);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetLastUpdateTime()) {
+        oprot.writeFieldBegin(LAST_UPDATE_TIME_FIELD_DESC);
+        oprot.writeI64(struct.lastUpdateTime);
+        oprot.writeFieldEnd();
+      }
+      if (struct.processStatus != null) {
+        if (struct.isSetProcessStatus()) {
+          oprot.writeFieldBegin(PROCESS_STATUS_FIELD_DESC);
+          struct.processStatus.write(oprot);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.processDetail != null) {
+        if (struct.isSetProcessDetail()) {
+          oprot.writeFieldBegin(PROCESS_DETAIL_FIELD_DESC);
+          oprot.writeString(struct.processDetail);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.applicationInterfaceId != null) {
+        if (struct.isSetApplicationInterfaceId()) {
+          oprot.writeFieldBegin(APPLICATION_INTERFACE_ID_FIELD_DESC);
+          oprot.writeString(struct.applicationInterfaceId);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.processInputs != null) {
+        if (struct.isSetProcessInputs()) {
+          oprot.writeFieldBegin(PROCESS_INPUTS_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.processInputs.size()));
+            for (org.apache.airavata.model.application.io.InputDataObjectType _iter9 : struct.processInputs)
+            {
+              _iter9.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.processOutputs != null) {
+        if (struct.isSetProcessOutputs()) {
+          oprot.writeFieldBegin(PROCESS_OUTPUTS_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.processOutputs.size()));
+            for (org.apache.airavata.model.application.io.OutputDataObjectType _iter10 : struct.processOutputs)
+            {
+              _iter10.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.resourceSchedule != null) {
+        if (struct.isSetResourceSchedule()) {
+          oprot.writeFieldBegin(RESOURCE_SCHEDULE_FIELD_DESC);
+          struct.resourceSchedule.write(oprot);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.tasks != null) {
+        if (struct.isSetTasks()) {
+          oprot.writeFieldBegin(TASKS_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tasks.size()));
+            for (org.apache.airavata.model.task.TaskModel _iter11 : struct.tasks)
+            {
+              _iter11.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.taskDag != null) {
+        if (struct.isSetTaskDag()) {
+          oprot.writeFieldBegin(TASK_DAG_FIELD_DESC);
+          oprot.writeString(struct.taskDag);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.processError != null) {
+        if (struct.isSetProcessError()) {
+          oprot.writeFieldBegin(PROCESS_ERROR_FIELD_DESC);
+          struct.processError.write(oprot);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ProcessModelTupleSchemeFactory implements SchemeFactory {
+    public ProcessModelTupleScheme getScheme() {
+      return new ProcessModelTupleScheme();
+    }
+  }
+
+  private static class ProcessModelTupleScheme extends TupleScheme<ProcessModel> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ProcessModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeString(struct.processId);
+      oprot.writeString(struct.experimentId);
+      BitSet optionals = new BitSet();
+      if (struct.isSetCreationTime()) {
+        optionals.set(0);
+      }
+      if (struct.isSetLastUpdateTime()) {
+        optionals.set(1);
+      }
+      if (struct.isSetProcessStatus()) {
+        optionals.set(2);
+      }
+      if (struct.isSetProcessDetail()) {
+        optionals.set(3);
+      }
+      if (struct.isSetApplicationInterfaceId()) {
+        optionals.set(4);
+      }
+      if (struct.isSetProcessInputs()) {
+        optionals.set(5);
+      }
+      if (struct.isSetProcessOutputs()) {
+        optionals.set(6);
+      }
+      if (struct.isSetResourceSchedule()) {
+        optionals.set(7);
+      }
+      if (struct.isSetTasks()) {
+        optionals.set(8);
+      }
+      if (struct.isSetTaskDag()) {
+        optionals.set(9);
+      }
+      if (struct.isSetProcessError()) {
+        optionals.set(10);
+      }
+      oprot.writeBitSet(optionals, 11);
+      if (struct.isSetCreationTime()) {
+        oprot.writeI64(struct.creationTime);
+      }
+      if (struct.isSetLastUpdateTime()) {
+        oprot.writeI64(struct.lastUpdateTime);
+      }
+      if (struct.isSetProcessStatus()) {
+        struct.processStatus.write(oprot);
+      }
+      if (struct.isSetProcessDetail()) {
+        oprot.writeString(struct.processDetail);
+      }
+      if (struct.isSetApplicationInterfaceId()) {
+        oprot.writeString(struct.applicationInterfaceId);
+      }
+      if (struct.isSetProcessInputs()) {
+        {
+          oprot.writeI32(struct.processInputs.size());
+          for (org.apache.airavata.model.application.io.InputDataObjectType _iter12 : struct.processInputs)
+          {
+            _iter12.write(oprot);
+          }
+        }
+      }
+      if (struct.isSetProcessOutputs()) {
+        {
+          oprot.writeI32(struct.processOutputs.size());
+          for (org.apache.airavata.model.application.io.OutputDataObjectType _iter13 : struct.processOutputs)
+          {
+            _iter13.write(oprot);
+          }
+        }
+      }
+      if (struct.isSetResourceSchedule()) {
+        struct.resourceSchedule.write(oprot);
+      }
+      if (struct.isSetTasks()) {
+        {
+          oprot.writeI32(struct.tasks.size());
+          for (org.apache.airavata.model.task.TaskModel _iter14 : struct.tasks)
+          {
+            _iter14.write(oprot);
+          }
+        }
+      }
+      if (struct.isSetTaskDag()) {
+        oprot.writeString(struct.taskDag);
+      }
+      if (struct.isSetProcessError()) {
+        struct.processError.write(oprot);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ProcessModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.processId = iprot.readString();
+      struct.setProcessIdIsSet(true);
+      struct.experimentId = iprot.readString();
+      struct.setExperimentIdIsSet(true);
+      BitSet incoming = iprot.readBitSet(11);
+      if (incoming.get(0)) {
+        struct.creationTime = iprot.readI64();
+        struct.setCreationTimeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.lastUpdateTime = iprot.readI64();
+        struct.setLastUpdateTimeIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.processStatus = new org.apache.airavata.model.status.ProcessStatus();
+        struct.processStatus.read(iprot);
+        struct.setProcessStatusIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.processDetail = iprot.readString();
+        struct.setProcessDetailIsSet(true);
+      }
+      if (incoming.get(4)) {
+        struct.applicationInterfaceId = iprot.readString();
+        struct.setApplicationInterfaceIdIsSet(true);
+      }
+      if (incoming.get(5)) {
+        {
+          org.apache.thrift.protocol.TList _list15 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.processInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(_list15.size);
+          org.apache.airavata.model.application.io.InputDataObjectType _elem16;
+          for (int _i17 = 0; _i17 < _list15.size; ++_i17)
+          {
+            _elem16 = new org.apache.airavata.model.application.io.InputDataObjectType();
+            _elem16.read(iprot);
+            struct.processInputs.add(_elem16);
+          }
+        }
+        struct.setProcessInputsIsSet(true);
+      }
+      if (incoming.get(6)) {
+        {
+          org.apache.thrift.protocol.TList _list18 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.processOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list18.size);
+          org.apache.airavata.model.application.io.OutputDataObjectType _elem19;
+          for (int _i20 = 0; _i20 < _list18.size; ++_i20)
+          {
+            _elem19 = new org.apache.airavata.model.application.io.OutputDataObjectType();
+            _elem19.read(iprot);
+            struct.processOutputs.add(_elem19);
+          }
+        }
+        struct.setProcessOutputsIsSet(true);
+      }
+      if (incoming.get(7)) {
+        struct.resourceSchedule = new org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel();
+        struct.resourceSchedule.read(iprot);
+        struct.setResourceScheduleIsSet(true);
+      }
+      if (incoming.get(8)) {
+        {
+          org.apache.thrift.protocol.TList _list21 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.tasks = new ArrayList<org.apache.airavata.model.task.TaskModel>(_list21.size);
+          org.apache.airavata.model.task.TaskModel _elem22;
+          for (int _i23 = 0; _i23 < _list21.size; ++_i23)
+          {
+            _elem22 = new org.apache.airavata.model.task.TaskModel();
+            _elem22.read(iprot);
+            struct.tasks.add(_elem22);
+          }
+        }
+        struct.setTasksIsSet(true);
+      }
+      if (incoming.get(9)) {
+        struct.taskDag = iprot.readString();
+        struct.setTaskDagIsSet(true);
+      }
+      if (incoming.get(10)) {
+        struct.processError = new org.apache.airavata.model.commons.ErrorModel();
+        struct.processError.read(iprot);
+        struct.setProcessErrorIsSet(true);
+      }
+    }
+  }
+
+}
+


[06/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobStatus.java
deleted file mode 100644
index e2e2761..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobStatus.java
+++ /dev/null
@@ -1,525 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class JobStatus implements org.apache.thrift.TBase<JobStatus, JobStatus._Fields>, java.io.Serializable, Cloneable, Comparable<JobStatus> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("JobStatus");
-
-  private static final org.apache.thrift.protocol.TField JOB_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("jobState", org.apache.thrift.protocol.TType.I32, (short)1);
-  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new JobStatusStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new JobStatusTupleSchemeFactory());
-  }
-
-  private JobState jobState; // required
-  private long timeOfStateChange; // 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 {
-    /**
-     * 
-     * @see JobState
-     */
-    JOB_STATE((short)1, "jobState"),
-    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // JOB_STATE
-          return JOB_STATE;
-        case 2: // TIME_OF_STATE_CHANGE
-          return TIME_OF_STATE_CHANGE;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.JOB_STATE, new org.apache.thrift.meta_data.FieldMetaData("jobState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, JobState.class)));
-    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(JobStatus.class, metaDataMap);
-  }
-
-  public JobStatus() {
-  }
-
-  public JobStatus(
-    JobState jobState)
-  {
-    this();
-    this.jobState = jobState;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public JobStatus(JobStatus other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetJobState()) {
-      this.jobState = other.jobState;
-    }
-    this.timeOfStateChange = other.timeOfStateChange;
-  }
-
-  public JobStatus deepCopy() {
-    return new JobStatus(this);
-  }
-
-  @Override
-  public void clear() {
-    this.jobState = null;
-    setTimeOfStateChangeIsSet(false);
-    this.timeOfStateChange = 0;
-  }
-
-  /**
-   * 
-   * @see JobState
-   */
-  public JobState getJobState() {
-    return this.jobState;
-  }
-
-  /**
-   * 
-   * @see JobState
-   */
-  public void setJobState(JobState jobState) {
-    this.jobState = jobState;
-  }
-
-  public void unsetJobState() {
-    this.jobState = null;
-  }
-
-  /** Returns true if field jobState is set (has been assigned a value) and false otherwise */
-  public boolean isSetJobState() {
-    return this.jobState != null;
-  }
-
-  public void setJobStateIsSet(boolean value) {
-    if (!value) {
-      this.jobState = null;
-    }
-  }
-
-  public long getTimeOfStateChange() {
-    return this.timeOfStateChange;
-  }
-
-  public void setTimeOfStateChange(long timeOfStateChange) {
-    this.timeOfStateChange = timeOfStateChange;
-    setTimeOfStateChangeIsSet(true);
-  }
-
-  public void unsetTimeOfStateChange() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
-  public boolean isSetTimeOfStateChange() {
-    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  public void setTimeOfStateChangeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case JOB_STATE:
-      if (value == null) {
-        unsetJobState();
-      } else {
-        setJobState((JobState)value);
-      }
-      break;
-
-    case TIME_OF_STATE_CHANGE:
-      if (value == null) {
-        unsetTimeOfStateChange();
-      } else {
-        setTimeOfStateChange((Long)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case JOB_STATE:
-      return getJobState();
-
-    case TIME_OF_STATE_CHANGE:
-      return Long.valueOf(getTimeOfStateChange());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case JOB_STATE:
-      return isSetJobState();
-    case TIME_OF_STATE_CHANGE:
-      return isSetTimeOfStateChange();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof JobStatus)
-      return this.equals((JobStatus)that);
-    return false;
-  }
-
-  public boolean equals(JobStatus that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_jobState = true && this.isSetJobState();
-    boolean that_present_jobState = true && that.isSetJobState();
-    if (this_present_jobState || that_present_jobState) {
-      if (!(this_present_jobState && that_present_jobState))
-        return false;
-      if (!this.jobState.equals(that.jobState))
-        return false;
-    }
-
-    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
-    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
-    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
-      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
-        return false;
-      if (this.timeOfStateChange != that.timeOfStateChange)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_jobState = true && (isSetJobState());
-    list.add(present_jobState);
-    if (present_jobState)
-      list.add(jobState.getValue());
-
-    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
-    list.add(present_timeOfStateChange);
-    if (present_timeOfStateChange)
-      list.add(timeOfStateChange);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(JobStatus other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetJobState()).compareTo(other.isSetJobState());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetJobState()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobState, other.jobState);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTimeOfStateChange()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("JobStatus(");
-    boolean first = true;
-
-    sb.append("jobState:");
-    if (this.jobState == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.jobState);
-    }
-    first = false;
-    if (isSetTimeOfStateChange()) {
-      if (!first) sb.append(", ");
-      sb.append("timeOfStateChange:");
-      sb.append(this.timeOfStateChange);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetJobState()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobState' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class JobStatusStandardSchemeFactory implements SchemeFactory {
-    public JobStatusStandardScheme getScheme() {
-      return new JobStatusStandardScheme();
-    }
-  }
-
-  private static class JobStatusStandardScheme extends StandardScheme<JobStatus> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, JobStatus struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // JOB_STATE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.jobState = org.apache.airavata.model.workspace.experiment.JobState.findByValue(iprot.readI32());
-              struct.setJobStateIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // TIME_OF_STATE_CHANGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.timeOfStateChange = iprot.readI64();
-              struct.setTimeOfStateChangeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, JobStatus struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.jobState != null) {
-        oprot.writeFieldBegin(JOB_STATE_FIELD_DESC);
-        oprot.writeI32(struct.jobState.getValue());
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
-        oprot.writeI64(struct.timeOfStateChange);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class JobStatusTupleSchemeFactory implements SchemeFactory {
-    public JobStatusTupleScheme getScheme() {
-      return new JobStatusTupleScheme();
-    }
-  }
-
-  private static class JobStatusTupleScheme extends TupleScheme<JobStatus> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, JobStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeI32(struct.jobState.getValue());
-      BitSet optionals = new BitSet();
-      if (struct.isSetTimeOfStateChange()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeI64(struct.timeOfStateChange);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, JobStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.jobState = org.apache.airavata.model.workspace.experiment.JobState.findByValue(iprot.readI32());
-      struct.setJobStateIsSet(true);
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        struct.timeOfStateChange = iprot.readI64();
-        struct.setTimeOfStateChangeIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/QualityOfServiceParams.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/QualityOfServiceParams.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/QualityOfServiceParams.java
deleted file mode 100644
index 15ca7d3..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/QualityOfServiceParams.java
+++ /dev/null
@@ -1,623 +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.workspace.experiment;
-
-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"})
-/**
- * A structure holding Quality of Service Parameters.
- * 
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class QualityOfServiceParams implements org.apache.thrift.TBase<QualityOfServiceParams, QualityOfServiceParams._Fields>, java.io.Serializable, Cloneable, Comparable<QualityOfServiceParams> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("QualityOfServiceParams");
-
-  private static final org.apache.thrift.protocol.TField START_EXECUTION_AT_FIELD_DESC = new org.apache.thrift.protocol.TField("startExecutionAt", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField EXECUTE_BEFORE_FIELD_DESC = new org.apache.thrift.protocol.TField("executeBefore", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField NUMBEROF_RETRIES_FIELD_DESC = new org.apache.thrift.protocol.TField("numberofRetries", org.apache.thrift.protocol.TType.I32, (short)3);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new QualityOfServiceParamsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new QualityOfServiceParamsTupleSchemeFactory());
-  }
-
-  private String startExecutionAt; // optional
-  private String executeBefore; // optional
-  private int numberofRetries; // 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 {
-    START_EXECUTION_AT((short)1, "startExecutionAt"),
-    EXECUTE_BEFORE((short)2, "executeBefore"),
-    NUMBEROF_RETRIES((short)3, "numberofRetries");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // START_EXECUTION_AT
-          return START_EXECUTION_AT;
-        case 2: // EXECUTE_BEFORE
-          return EXECUTE_BEFORE;
-        case 3: // NUMBEROF_RETRIES
-          return NUMBEROF_RETRIES;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __NUMBEROFRETRIES_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.START_EXECUTION_AT,_Fields.EXECUTE_BEFORE,_Fields.NUMBEROF_RETRIES};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.START_EXECUTION_AT, new org.apache.thrift.meta_data.FieldMetaData("startExecutionAt", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.EXECUTE_BEFORE, new org.apache.thrift.meta_data.FieldMetaData("executeBefore", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.NUMBEROF_RETRIES, new org.apache.thrift.meta_data.FieldMetaData("numberofRetries", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(QualityOfServiceParams.class, metaDataMap);
-  }
-
-  public QualityOfServiceParams() {
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public QualityOfServiceParams(QualityOfServiceParams other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetStartExecutionAt()) {
-      this.startExecutionAt = other.startExecutionAt;
-    }
-    if (other.isSetExecuteBefore()) {
-      this.executeBefore = other.executeBefore;
-    }
-    this.numberofRetries = other.numberofRetries;
-  }
-
-  public QualityOfServiceParams deepCopy() {
-    return new QualityOfServiceParams(this);
-  }
-
-  @Override
-  public void clear() {
-    this.startExecutionAt = null;
-    this.executeBefore = null;
-    setNumberofRetriesIsSet(false);
-    this.numberofRetries = 0;
-  }
-
-  public String getStartExecutionAt() {
-    return this.startExecutionAt;
-  }
-
-  public void setStartExecutionAt(String startExecutionAt) {
-    this.startExecutionAt = startExecutionAt;
-  }
-
-  public void unsetStartExecutionAt() {
-    this.startExecutionAt = null;
-  }
-
-  /** Returns true if field startExecutionAt is set (has been assigned a value) and false otherwise */
-  public boolean isSetStartExecutionAt() {
-    return this.startExecutionAt != null;
-  }
-
-  public void setStartExecutionAtIsSet(boolean value) {
-    if (!value) {
-      this.startExecutionAt = null;
-    }
-  }
-
-  public String getExecuteBefore() {
-    return this.executeBefore;
-  }
-
-  public void setExecuteBefore(String executeBefore) {
-    this.executeBefore = executeBefore;
-  }
-
-  public void unsetExecuteBefore() {
-    this.executeBefore = null;
-  }
-
-  /** Returns true if field executeBefore is set (has been assigned a value) and false otherwise */
-  public boolean isSetExecuteBefore() {
-    return this.executeBefore != null;
-  }
-
-  public void setExecuteBeforeIsSet(boolean value) {
-    if (!value) {
-      this.executeBefore = null;
-    }
-  }
-
-  public int getNumberofRetries() {
-    return this.numberofRetries;
-  }
-
-  public void setNumberofRetries(int numberofRetries) {
-    this.numberofRetries = numberofRetries;
-    setNumberofRetriesIsSet(true);
-  }
-
-  public void unsetNumberofRetries() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __NUMBEROFRETRIES_ISSET_ID);
-  }
-
-  /** Returns true if field numberofRetries is set (has been assigned a value) and false otherwise */
-  public boolean isSetNumberofRetries() {
-    return EncodingUtils.testBit(__isset_bitfield, __NUMBEROFRETRIES_ISSET_ID);
-  }
-
-  public void setNumberofRetriesIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NUMBEROFRETRIES_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case START_EXECUTION_AT:
-      if (value == null) {
-        unsetStartExecutionAt();
-      } else {
-        setStartExecutionAt((String)value);
-      }
-      break;
-
-    case EXECUTE_BEFORE:
-      if (value == null) {
-        unsetExecuteBefore();
-      } else {
-        setExecuteBefore((String)value);
-      }
-      break;
-
-    case NUMBEROF_RETRIES:
-      if (value == null) {
-        unsetNumberofRetries();
-      } else {
-        setNumberofRetries((Integer)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case START_EXECUTION_AT:
-      return getStartExecutionAt();
-
-    case EXECUTE_BEFORE:
-      return getExecuteBefore();
-
-    case NUMBEROF_RETRIES:
-      return Integer.valueOf(getNumberofRetries());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case START_EXECUTION_AT:
-      return isSetStartExecutionAt();
-    case EXECUTE_BEFORE:
-      return isSetExecuteBefore();
-    case NUMBEROF_RETRIES:
-      return isSetNumberofRetries();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof QualityOfServiceParams)
-      return this.equals((QualityOfServiceParams)that);
-    return false;
-  }
-
-  public boolean equals(QualityOfServiceParams that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_startExecutionAt = true && this.isSetStartExecutionAt();
-    boolean that_present_startExecutionAt = true && that.isSetStartExecutionAt();
-    if (this_present_startExecutionAt || that_present_startExecutionAt) {
-      if (!(this_present_startExecutionAt && that_present_startExecutionAt))
-        return false;
-      if (!this.startExecutionAt.equals(that.startExecutionAt))
-        return false;
-    }
-
-    boolean this_present_executeBefore = true && this.isSetExecuteBefore();
-    boolean that_present_executeBefore = true && that.isSetExecuteBefore();
-    if (this_present_executeBefore || that_present_executeBefore) {
-      if (!(this_present_executeBefore && that_present_executeBefore))
-        return false;
-      if (!this.executeBefore.equals(that.executeBefore))
-        return false;
-    }
-
-    boolean this_present_numberofRetries = true && this.isSetNumberofRetries();
-    boolean that_present_numberofRetries = true && that.isSetNumberofRetries();
-    if (this_present_numberofRetries || that_present_numberofRetries) {
-      if (!(this_present_numberofRetries && that_present_numberofRetries))
-        return false;
-      if (this.numberofRetries != that.numberofRetries)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_startExecutionAt = true && (isSetStartExecutionAt());
-    list.add(present_startExecutionAt);
-    if (present_startExecutionAt)
-      list.add(startExecutionAt);
-
-    boolean present_executeBefore = true && (isSetExecuteBefore());
-    list.add(present_executeBefore);
-    if (present_executeBefore)
-      list.add(executeBefore);
-
-    boolean present_numberofRetries = true && (isSetNumberofRetries());
-    list.add(present_numberofRetries);
-    if (present_numberofRetries)
-      list.add(numberofRetries);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(QualityOfServiceParams other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetStartExecutionAt()).compareTo(other.isSetStartExecutionAt());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetStartExecutionAt()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startExecutionAt, other.startExecutionAt);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExecuteBefore()).compareTo(other.isSetExecuteBefore());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExecuteBefore()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.executeBefore, other.executeBefore);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetNumberofRetries()).compareTo(other.isSetNumberofRetries());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetNumberofRetries()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numberofRetries, other.numberofRetries);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("QualityOfServiceParams(");
-    boolean first = true;
-
-    if (isSetStartExecutionAt()) {
-      sb.append("startExecutionAt:");
-      if (this.startExecutionAt == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.startExecutionAt);
-      }
-      first = false;
-    }
-    if (isSetExecuteBefore()) {
-      if (!first) sb.append(", ");
-      sb.append("executeBefore:");
-      if (this.executeBefore == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.executeBefore);
-      }
-      first = false;
-    }
-    if (isSetNumberofRetries()) {
-      if (!first) sb.append(", ");
-      sb.append("numberofRetries:");
-      sb.append(this.numberofRetries);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class QualityOfServiceParamsStandardSchemeFactory implements SchemeFactory {
-    public QualityOfServiceParamsStandardScheme getScheme() {
-      return new QualityOfServiceParamsStandardScheme();
-    }
-  }
-
-  private static class QualityOfServiceParamsStandardScheme extends StandardScheme<QualityOfServiceParams> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, QualityOfServiceParams struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // START_EXECUTION_AT
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.startExecutionAt = iprot.readString();
-              struct.setStartExecutionAtIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // EXECUTE_BEFORE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.executeBefore = iprot.readString();
-              struct.setExecuteBeforeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // NUMBEROF_RETRIES
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.numberofRetries = iprot.readI32();
-              struct.setNumberofRetriesIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, QualityOfServiceParams struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.startExecutionAt != null) {
-        if (struct.isSetStartExecutionAt()) {
-          oprot.writeFieldBegin(START_EXECUTION_AT_FIELD_DESC);
-          oprot.writeString(struct.startExecutionAt);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.executeBefore != null) {
-        if (struct.isSetExecuteBefore()) {
-          oprot.writeFieldBegin(EXECUTE_BEFORE_FIELD_DESC);
-          oprot.writeString(struct.executeBefore);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetNumberofRetries()) {
-        oprot.writeFieldBegin(NUMBEROF_RETRIES_FIELD_DESC);
-        oprot.writeI32(struct.numberofRetries);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class QualityOfServiceParamsTupleSchemeFactory implements SchemeFactory {
-    public QualityOfServiceParamsTupleScheme getScheme() {
-      return new QualityOfServiceParamsTupleScheme();
-    }
-  }
-
-  private static class QualityOfServiceParamsTupleScheme extends TupleScheme<QualityOfServiceParams> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, QualityOfServiceParams struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetStartExecutionAt()) {
-        optionals.set(0);
-      }
-      if (struct.isSetExecuteBefore()) {
-        optionals.set(1);
-      }
-      if (struct.isSetNumberofRetries()) {
-        optionals.set(2);
-      }
-      oprot.writeBitSet(optionals, 3);
-      if (struct.isSetStartExecutionAt()) {
-        oprot.writeString(struct.startExecutionAt);
-      }
-      if (struct.isSetExecuteBefore()) {
-        oprot.writeString(struct.executeBefore);
-      }
-      if (struct.isSetNumberofRetries()) {
-        oprot.writeI32(struct.numberofRetries);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, QualityOfServiceParams struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(3);
-      if (incoming.get(0)) {
-        struct.startExecutionAt = iprot.readString();
-        struct.setStartExecutionAtIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.executeBefore = iprot.readString();
-        struct.setExecuteBeforeIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.numberofRetries = iprot.readI32();
-        struct.setNumberofRetriesIsSet(true);
-      }
-    }
-  }
-
-}
-


[29/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
index 14f64c9..900415e 100644
--- a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
+++ b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.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 Airavata {
 
   public interface Iface {
@@ -268,7 +268,7 @@ public class Airavata {
      * @param userName
      * @param expName
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByName(String gatewayId, String userName, String expName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByName(String gatewayId, String userName, String expName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by experiment name with pagination. Results will be sorted
@@ -291,7 +291,7 @@ public class Airavata {
      * @param limit
      * @param offset
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByNameWithPagination(String gatewayId, String userName, String expName, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByNameWithPagination(String gatewayId, String userName, String expName, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by experiment name
@@ -309,7 +309,7 @@ public class Airavata {
      * @param userName
      * @param description
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByDesc(String gatewayId, String userName, String description) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByDesc(String gatewayId, String userName, String description) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by experiment name with pagination. Results will be sorted
@@ -332,7 +332,7 @@ public class Airavata {
      * @param limit
      * @param offset
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByDescWithPagination(String gatewayId, String userName, String description, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByDescWithPagination(String gatewayId, String userName, String description, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by application id
@@ -350,7 +350,7 @@ public class Airavata {
      * @param userName
      * @param applicationId
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByApplication(String gatewayId, String userName, String applicationId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByApplication(String gatewayId, String userName, String applicationId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by application id with pagination. Results will be sorted
@@ -373,7 +373,7 @@ public class Airavata {
      * @param limit
      * @param offset
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByApplicationWithPagination(String gatewayId, String userName, String applicationId, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByApplicationWithPagination(String gatewayId, String userName, String applicationId, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by experiment status
@@ -391,7 +391,7 @@ public class Airavata {
      * @param userName
      * @param experimentState
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByStatus(String gatewayId, String userName, org.apache.airavata.model.workspace.experiment.ExperimentState experimentState) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByStatus(String gatewayId, String userName, org.apache.airavata.model.status.ExperimentState experimentState) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by experiment status with pagination. Results will be sorted
@@ -414,7 +414,7 @@ public class Airavata {
      * @param limit
      * @param offset
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByStatusWithPagination(String gatewayId, String userName, org.apache.airavata.model.workspace.experiment.ExperimentState experimentState, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByStatusWithPagination(String gatewayId, String userName, org.apache.airavata.model.status.ExperimentState experimentState, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by experiment creation time
@@ -435,7 +435,7 @@ public class Airavata {
      * @param fromTime
      * @param toTime
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByCreationTime(String gatewayId, String userName, long fromTime, long toTime) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByCreationTime(String gatewayId, String userName, long fromTime, long toTime) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by experiment creation time with pagination. Results will be sorted
@@ -461,7 +461,7 @@ public class Airavata {
      * @param limit
      * @param offset
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByCreationTimeWithPagination(String gatewayId, String userName, long fromTime, long toTime, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByCreationTimeWithPagination(String gatewayId, String userName, long fromTime, long toTime, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Search Experiments by using multiple filter criteria with pagination. Results will be sorted
@@ -484,7 +484,7 @@ public class Airavata {
      * @param limit
      * @param offset
      */
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperiments(String gatewayId, String userName, Map<org.apache.airavata.model.workspace.experiment.ExperimentSearchFields,String> filters, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperiments(String gatewayId, String userName, Map<org.apache.airavata.model.experiment.ExperimentSearchFields,String> filters, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Get Experiment Statisitics for the given gateway for a specific time period
@@ -500,7 +500,7 @@ public class Airavata {
      * @param fromTime
      * @param toTime
      */
-    public org.apache.airavata.model.workspace.experiment.ExperimentStatistics getExperimentStatistics(String gatewayId, long fromTime, long toTime) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public org.apache.airavata.model.experiment.ExperimentStatistics getExperimentStatistics(String gatewayId, long fromTime, long toTime) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Get all Experiments within a Project
@@ -512,7 +512,7 @@ public class Airavata {
      * 
      * @param projectId
      */
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> getAllExperimentsInProject(String projectId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentModel> getAllExperimentsInProject(String projectId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException;
 
     /**
      * Get all Experiments within project with pagination. Results will be sorted
@@ -529,7 +529,7 @@ public class Airavata {
      * @param limit
      * @param offset
      */
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> getAllExperimentsInProjectWithPagination(String projectId, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentModel> getAllExperimentsInProjectWithPagination(String projectId, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException;
 
     /**
      * Get all Experiments by user
@@ -544,7 +544,7 @@ public class Airavata {
      * @param gatewayId
      * @param userName
      */
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> getAllUserExperiments(String gatewayId, String userName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentModel> getAllUserExperiments(String gatewayId, String userName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Get all Experiments by user pagination. Results will be sorted
@@ -564,7 +564,7 @@ public class Airavata {
      * @param limit
      * @param offset
      */
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> getAllUserExperimentsWithPagination(String gatewayId, String userName, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.experiment.ExperimentModel> getAllUserExperimentsWithPagination(String gatewayId, String userName, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Create an experiment for the specified user belonging to the gateway. The gateway identity is not explicitly passed
@@ -604,7 +604,7 @@ public class Airavata {
      * @param gatewayId
      * @param experiment
      */
-    public String createExperiment(String gatewayId, org.apache.airavata.model.workspace.experiment.Experiment experiment) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public String createExperiment(String gatewayId, org.apache.airavata.model.experiment.ExperimentModel experiment) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Fetch previously created experiment metadata.
@@ -641,7 +641,7 @@ public class Airavata {
      * 
      * @param airavataExperimentId
      */
-    public org.apache.airavata.model.workspace.experiment.Experiment getExperiment(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public org.apache.airavata.model.experiment.ExperimentModel getExperiment(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Configure a previously created experiment with required inputs, scheduling and other quality of service
@@ -685,11 +685,11 @@ public class Airavata {
      * @param airavataExperimentId
      * @param experiment
      */
-    public void updateExperiment(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.Experiment experiment) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public void updateExperiment(String airavataExperimentId, org.apache.airavata.model.experiment.ExperimentModel experiment) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
-    public void updateExperimentConfiguration(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.UserConfigurationData userConfiguration) throws org.apache.thrift.TException;
+    public void updateExperimentConfiguration(String airavataExperimentId, org.apache.airavata.model.experiment.UserConfigurationDataModel userConfiguration) throws org.apache.thrift.TException;
 
-    public void updateResourceScheduleing(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.ComputationalResourceScheduling resourceScheduling) throws org.apache.thrift.TException;
+    public void updateResourceScheduleing(String airavataExperimentId, org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel resourceScheduling) throws org.apache.thrift.TException;
 
     /**
      *  *
@@ -750,19 +750,17 @@ public class Airavata {
      * @param airavataExperimentId
      * @param airavataCredStoreToken
      */
-    public void launchExperiment(String airavataExperimentId, String airavataCredStoreToken) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.LaunchValidationException, org.apache.thrift.TException;
+    public void launchExperiment(String airavataExperimentId, String airavataCredStoreToken) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
-    public org.apache.airavata.model.workspace.experiment.ExperimentStatus getExperimentStatus(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public org.apache.airavata.model.status.ExperimentStatus getExperimentStatus(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
-    public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getExperimentOutputs(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.application.io.OutputDataObjectType> getExperimentOutputs(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
-    public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getIntermediateOutputs(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.application.io.OutputDataObjectType> getIntermediateOutputs(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
-    public Map<String,org.apache.airavata.model.workspace.experiment.JobStatus> getJobStatuses(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public Map<String,org.apache.airavata.model.status.JobStatus> getJobStatuses(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
-    public List<org.apache.airavata.model.workspace.experiment.JobDetails> getJobDetails(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
-
-    public List<org.apache.airavata.model.workspace.experiment.DataTransferDetails> getDataTransferDetails(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.job.JobModel> getJobDetails(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Clone an specified experiment with a new name. A copy of the experiment configuration is made and is persisted with new metadata.
@@ -1095,7 +1093,7 @@ public class Airavata {
      * 
      * @param appInterfaceId
      */
-    public List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> getApplicationInputs(String appInterfaceId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.application.io.InputDataObjectType> getApplicationInputs(String appInterfaceId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Fetch the list of Application Outputs.
@@ -1109,7 +1107,7 @@ public class Airavata {
      * 
      * @param appInterfaceId
      */
-    public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getApplicationOutputs(String appInterfaceId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+    public List<org.apache.airavata.model.application.io.OutputDataObjectType> getApplicationOutputs(String appInterfaceId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
 
     /**
      * Fetch a list of all deployed Compute Hosts for a given application interfaces.
@@ -1888,15 +1886,15 @@ public class Airavata {
 
     public void searchExperimentsByApplicationWithPagination(String gatewayId, String userName, String applicationId, int limit, int offset, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void searchExperimentsByStatus(String gatewayId, String userName, org.apache.airavata.model.workspace.experiment.ExperimentState experimentState, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void searchExperimentsByStatus(String gatewayId, String userName, org.apache.airavata.model.status.ExperimentState experimentState, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void searchExperimentsByStatusWithPagination(String gatewayId, String userName, org.apache.airavata.model.workspace.experiment.ExperimentState experimentState, int limit, int offset, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void searchExperimentsByStatusWithPagination(String gatewayId, String userName, org.apache.airavata.model.status.ExperimentState experimentState, int limit, int offset, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
     public void searchExperimentsByCreationTime(String gatewayId, String userName, long fromTime, long toTime, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
     public void searchExperimentsByCreationTimeWithPagination(String gatewayId, String userName, long fromTime, long toTime, int limit, int offset, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void searchExperiments(String gatewayId, String userName, Map<org.apache.airavata.model.workspace.experiment.ExperimentSearchFields,String> filters, int limit, int offset, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void searchExperiments(String gatewayId, String userName, Map<org.apache.airavata.model.experiment.ExperimentSearchFields,String> filters, int limit, int offset, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
     public void getExperimentStatistics(String gatewayId, long fromTime, long toTime, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
@@ -1908,15 +1906,15 @@ public class Airavata {
 
     public void getAllUserExperimentsWithPagination(String gatewayId, String userName, int limit, int offset, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void createExperiment(String gatewayId, org.apache.airavata.model.workspace.experiment.Experiment experiment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void createExperiment(String gatewayId, org.apache.airavata.model.experiment.ExperimentModel experiment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
     public void getExperiment(String airavataExperimentId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void updateExperiment(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.Experiment experiment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void updateExperiment(String airavataExperimentId, org.apache.airavata.model.experiment.ExperimentModel experiment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void updateExperimentConfiguration(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.UserConfigurationData userConfiguration, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void updateExperimentConfiguration(String airavataExperimentId, org.apache.airavata.model.experiment.UserConfigurationDataModel userConfiguration, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void updateResourceScheduleing(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.ComputationalResourceScheduling resourceScheduling, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void updateResourceScheduleing(String airavataExperimentId, org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel resourceScheduling, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
     public void validateExperiment(String airavataExperimentId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
@@ -1932,8 +1930,6 @@ public class Airavata {
 
     public void getJobDetails(String airavataExperimentId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void getDataTransferDetails(String airavataExperimentId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
-
     public void cloneExperiment(String existingExperimentID, String newExperimentName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
     public void terminateExperiment(String airavataExperimentId, String tokenId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
@@ -2779,7 +2775,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchProjectsByProjectDescWithPagination failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByName(String gatewayId, String userName, String expName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByName(String gatewayId, String userName, String expName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByName(gatewayId, userName, expName);
       return recv_searchExperimentsByName();
@@ -2794,7 +2790,7 @@ public class Airavata {
       sendBase("searchExperimentsByName", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByName() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByName() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByName_result result = new searchExperimentsByName_result();
       receiveBase(result, "searchExperimentsByName");
@@ -2813,7 +2809,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByName failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByNameWithPagination(String gatewayId, String userName, String expName, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByNameWithPagination(String gatewayId, String userName, String expName, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByNameWithPagination(gatewayId, userName, expName, limit, offset);
       return recv_searchExperimentsByNameWithPagination();
@@ -2830,7 +2826,7 @@ public class Airavata {
       sendBase("searchExperimentsByNameWithPagination", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByNameWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByNameWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByNameWithPagination_result result = new searchExperimentsByNameWithPagination_result();
       receiveBase(result, "searchExperimentsByNameWithPagination");
@@ -2849,7 +2845,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByNameWithPagination failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByDesc(String gatewayId, String userName, String description) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByDesc(String gatewayId, String userName, String description) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByDesc(gatewayId, userName, description);
       return recv_searchExperimentsByDesc();
@@ -2864,7 +2860,7 @@ public class Airavata {
       sendBase("searchExperimentsByDesc", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByDesc() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByDesc() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByDesc_result result = new searchExperimentsByDesc_result();
       receiveBase(result, "searchExperimentsByDesc");
@@ -2883,7 +2879,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByDesc failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByDescWithPagination(String gatewayId, String userName, String description, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByDescWithPagination(String gatewayId, String userName, String description, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByDescWithPagination(gatewayId, userName, description, limit, offset);
       return recv_searchExperimentsByDescWithPagination();
@@ -2900,7 +2896,7 @@ public class Airavata {
       sendBase("searchExperimentsByDescWithPagination", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByDescWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByDescWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByDescWithPagination_result result = new searchExperimentsByDescWithPagination_result();
       receiveBase(result, "searchExperimentsByDescWithPagination");
@@ -2919,7 +2915,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByDescWithPagination failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByApplication(String gatewayId, String userName, String applicationId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByApplication(String gatewayId, String userName, String applicationId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByApplication(gatewayId, userName, applicationId);
       return recv_searchExperimentsByApplication();
@@ -2934,7 +2930,7 @@ public class Airavata {
       sendBase("searchExperimentsByApplication", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByApplication() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByApplication() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByApplication_result result = new searchExperimentsByApplication_result();
       receiveBase(result, "searchExperimentsByApplication");
@@ -2953,7 +2949,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByApplication failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByApplicationWithPagination(String gatewayId, String userName, String applicationId, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByApplicationWithPagination(String gatewayId, String userName, String applicationId, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByApplicationWithPagination(gatewayId, userName, applicationId, limit, offset);
       return recv_searchExperimentsByApplicationWithPagination();
@@ -2970,7 +2966,7 @@ public class Airavata {
       sendBase("searchExperimentsByApplicationWithPagination", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByApplicationWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByApplicationWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByApplicationWithPagination_result result = new searchExperimentsByApplicationWithPagination_result();
       receiveBase(result, "searchExperimentsByApplicationWithPagination");
@@ -2989,13 +2985,13 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByApplicationWithPagination failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByStatus(String gatewayId, String userName, org.apache.airavata.model.workspace.experiment.ExperimentState experimentState) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByStatus(String gatewayId, String userName, org.apache.airavata.model.status.ExperimentState experimentState) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByStatus(gatewayId, userName, experimentState);
       return recv_searchExperimentsByStatus();
     }
 
-    public void send_searchExperimentsByStatus(String gatewayId, String userName, org.apache.airavata.model.workspace.experiment.ExperimentState experimentState) throws org.apache.thrift.TException
+    public void send_searchExperimentsByStatus(String gatewayId, String userName, org.apache.airavata.model.status.ExperimentState experimentState) throws org.apache.thrift.TException
     {
       searchExperimentsByStatus_args args = new searchExperimentsByStatus_args();
       args.setGatewayId(gatewayId);
@@ -3004,7 +3000,7 @@ public class Airavata {
       sendBase("searchExperimentsByStatus", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByStatus() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByStatus() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByStatus_result result = new searchExperimentsByStatus_result();
       receiveBase(result, "searchExperimentsByStatus");
@@ -3023,13 +3019,13 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByStatus failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByStatusWithPagination(String gatewayId, String userName, org.apache.airavata.model.workspace.experiment.ExperimentState experimentState, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByStatusWithPagination(String gatewayId, String userName, org.apache.airavata.model.status.ExperimentState experimentState, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByStatusWithPagination(gatewayId, userName, experimentState, limit, offset);
       return recv_searchExperimentsByStatusWithPagination();
     }
 
-    public void send_searchExperimentsByStatusWithPagination(String gatewayId, String userName, org.apache.airavata.model.workspace.experiment.ExperimentState experimentState, int limit, int offset) throws org.apache.thrift.TException
+    public void send_searchExperimentsByStatusWithPagination(String gatewayId, String userName, org.apache.airavata.model.status.ExperimentState experimentState, int limit, int offset) throws org.apache.thrift.TException
     {
       searchExperimentsByStatusWithPagination_args args = new searchExperimentsByStatusWithPagination_args();
       args.setGatewayId(gatewayId);
@@ -3040,7 +3036,7 @@ public class Airavata {
       sendBase("searchExperimentsByStatusWithPagination", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByStatusWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByStatusWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByStatusWithPagination_result result = new searchExperimentsByStatusWithPagination_result();
       receiveBase(result, "searchExperimentsByStatusWithPagination");
@@ -3059,7 +3055,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByStatusWithPagination failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByCreationTime(String gatewayId, String userName, long fromTime, long toTime) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByCreationTime(String gatewayId, String userName, long fromTime, long toTime) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByCreationTime(gatewayId, userName, fromTime, toTime);
       return recv_searchExperimentsByCreationTime();
@@ -3075,7 +3071,7 @@ public class Airavata {
       sendBase("searchExperimentsByCreationTime", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByCreationTime() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByCreationTime() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByCreationTime_result result = new searchExperimentsByCreationTime_result();
       receiveBase(result, "searchExperimentsByCreationTime");
@@ -3094,7 +3090,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByCreationTime failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperimentsByCreationTimeWithPagination(String gatewayId, String userName, long fromTime, long toTime, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperimentsByCreationTimeWithPagination(String gatewayId, String userName, long fromTime, long toTime, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperimentsByCreationTimeWithPagination(gatewayId, userName, fromTime, toTime, limit, offset);
       return recv_searchExperimentsByCreationTimeWithPagination();
@@ -3112,7 +3108,7 @@ public class Airavata {
       sendBase("searchExperimentsByCreationTimeWithPagination", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperimentsByCreationTimeWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperimentsByCreationTimeWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperimentsByCreationTimeWithPagination_result result = new searchExperimentsByCreationTimeWithPagination_result();
       receiveBase(result, "searchExperimentsByCreationTimeWithPagination");
@@ -3131,13 +3127,13 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperimentsByCreationTimeWithPagination failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> searchExperiments(String gatewayId, String userName, Map<org.apache.airavata.model.workspace.experiment.ExperimentSearchFields,String> filters, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> searchExperiments(String gatewayId, String userName, Map<org.apache.airavata.model.experiment.ExperimentSearchFields,String> filters, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_searchExperiments(gatewayId, userName, filters, limit, offset);
       return recv_searchExperiments();
     }
 
-    public void send_searchExperiments(String gatewayId, String userName, Map<org.apache.airavata.model.workspace.experiment.ExperimentSearchFields,String> filters, int limit, int offset) throws org.apache.thrift.TException
+    public void send_searchExperiments(String gatewayId, String userName, Map<org.apache.airavata.model.experiment.ExperimentSearchFields,String> filters, int limit, int offset) throws org.apache.thrift.TException
     {
       searchExperiments_args args = new searchExperiments_args();
       args.setGatewayId(gatewayId);
@@ -3148,7 +3144,7 @@ public class Airavata {
       sendBase("searchExperiments", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.ExperimentSummary> recv_searchExperiments() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentSummaryModel> recv_searchExperiments() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       searchExperiments_result result = new searchExperiments_result();
       receiveBase(result, "searchExperiments");
@@ -3167,7 +3163,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "searchExperiments failed: unknown result");
     }
 
-    public org.apache.airavata.model.workspace.experiment.ExperimentStatistics getExperimentStatistics(String gatewayId, long fromTime, long toTime) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public org.apache.airavata.model.experiment.ExperimentStatistics getExperimentStatistics(String gatewayId, long fromTime, long toTime) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_getExperimentStatistics(gatewayId, fromTime, toTime);
       return recv_getExperimentStatistics();
@@ -3182,7 +3178,7 @@ public class Airavata {
       sendBase("getExperimentStatistics", args);
     }
 
-    public org.apache.airavata.model.workspace.experiment.ExperimentStatistics recv_getExperimentStatistics() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public org.apache.airavata.model.experiment.ExperimentStatistics recv_getExperimentStatistics() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       getExperimentStatistics_result result = new getExperimentStatistics_result();
       receiveBase(result, "getExperimentStatistics");
@@ -3201,7 +3197,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getExperimentStatistics failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> getAllExperimentsInProject(String projectId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentModel> getAllExperimentsInProject(String projectId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException
     {
       send_getAllExperimentsInProject(projectId);
       return recv_getAllExperimentsInProject();
@@ -3214,7 +3210,7 @@ public class Airavata {
       sendBase("getAllExperimentsInProject", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> recv_getAllExperimentsInProject() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentModel> recv_getAllExperimentsInProject() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException
     {
       getAllExperimentsInProject_result result = new getAllExperimentsInProject_result();
       receiveBase(result, "getAllExperimentsInProject");
@@ -3236,7 +3232,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllExperimentsInProject failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> getAllExperimentsInProjectWithPagination(String projectId, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentModel> getAllExperimentsInProjectWithPagination(String projectId, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException
     {
       send_getAllExperimentsInProjectWithPagination(projectId, limit, offset);
       return recv_getAllExperimentsInProjectWithPagination();
@@ -3251,7 +3247,7 @@ public class Airavata {
       sendBase("getAllExperimentsInProjectWithPagination", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> recv_getAllExperimentsInProjectWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentModel> recv_getAllExperimentsInProjectWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.ProjectNotFoundException, org.apache.thrift.TException
     {
       getAllExperimentsInProjectWithPagination_result result = new getAllExperimentsInProjectWithPagination_result();
       receiveBase(result, "getAllExperimentsInProjectWithPagination");
@@ -3273,7 +3269,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllExperimentsInProjectWithPagination failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> getAllUserExperiments(String gatewayId, String userName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentModel> getAllUserExperiments(String gatewayId, String userName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_getAllUserExperiments(gatewayId, userName);
       return recv_getAllUserExperiments();
@@ -3287,7 +3283,7 @@ public class Airavata {
       sendBase("getAllUserExperiments", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> recv_getAllUserExperiments() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentModel> recv_getAllUserExperiments() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       getAllUserExperiments_result result = new getAllUserExperiments_result();
       receiveBase(result, "getAllUserExperiments");
@@ -3306,7 +3302,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllUserExperiments failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> getAllUserExperimentsWithPagination(String gatewayId, String userName, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentModel> getAllUserExperimentsWithPagination(String gatewayId, String userName, int limit, int offset) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_getAllUserExperimentsWithPagination(gatewayId, userName, limit, offset);
       return recv_getAllUserExperimentsWithPagination();
@@ -3322,7 +3318,7 @@ public class Airavata {
       sendBase("getAllUserExperimentsWithPagination", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.Experiment> recv_getAllUserExperimentsWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.experiment.ExperimentModel> recv_getAllUserExperimentsWithPagination() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       getAllUserExperimentsWithPagination_result result = new getAllUserExperimentsWithPagination_result();
       receiveBase(result, "getAllUserExperimentsWithPagination");
@@ -3341,13 +3337,13 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllUserExperimentsWithPagination failed: unknown result");
     }
 
-    public String createExperiment(String gatewayId, org.apache.airavata.model.workspace.experiment.Experiment experiment) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public String createExperiment(String gatewayId, org.apache.airavata.model.experiment.ExperimentModel experiment) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_createExperiment(gatewayId, experiment);
       return recv_createExperiment();
     }
 
-    public void send_createExperiment(String gatewayId, org.apache.airavata.model.workspace.experiment.Experiment experiment) throws org.apache.thrift.TException
+    public void send_createExperiment(String gatewayId, org.apache.airavata.model.experiment.ExperimentModel experiment) throws org.apache.thrift.TException
     {
       createExperiment_args args = new createExperiment_args();
       args.setGatewayId(gatewayId);
@@ -3374,7 +3370,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createExperiment failed: unknown result");
     }
 
-    public org.apache.airavata.model.workspace.experiment.Experiment getExperiment(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public org.apache.airavata.model.experiment.ExperimentModel getExperiment(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_getExperiment(airavataExperimentId);
       return recv_getExperiment();
@@ -3387,7 +3383,7 @@ public class Airavata {
       sendBase("getExperiment", args);
     }
 
-    public org.apache.airavata.model.workspace.experiment.Experiment recv_getExperiment() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public org.apache.airavata.model.experiment.ExperimentModel recv_getExperiment() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       getExperiment_result result = new getExperiment_result();
       receiveBase(result, "getExperiment");
@@ -3409,13 +3405,13 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getExperiment failed: unknown result");
     }
 
-    public void updateExperiment(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.Experiment experiment) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public void updateExperiment(String airavataExperimentId, org.apache.airavata.model.experiment.ExperimentModel experiment) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_updateExperiment(airavataExperimentId, experiment);
       recv_updateExperiment();
     }
 
-    public void send_updateExperiment(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.Experiment experiment) throws org.apache.thrift.TException
+    public void send_updateExperiment(String airavataExperimentId, org.apache.airavata.model.experiment.ExperimentModel experiment) throws org.apache.thrift.TException
     {
       updateExperiment_args args = new updateExperiment_args();
       args.setAiravataExperimentId(airavataExperimentId);
@@ -3442,13 +3438,13 @@ public class Airavata {
       return;
     }
 
-    public void updateExperimentConfiguration(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.UserConfigurationData userConfiguration) throws org.apache.thrift.TException
+    public void updateExperimentConfiguration(String airavataExperimentId, org.apache.airavata.model.experiment.UserConfigurationDataModel userConfiguration) throws org.apache.thrift.TException
     {
       send_updateExperimentConfiguration(airavataExperimentId, userConfiguration);
       recv_updateExperimentConfiguration();
     }
 
-    public void send_updateExperimentConfiguration(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.UserConfigurationData userConfiguration) throws org.apache.thrift.TException
+    public void send_updateExperimentConfiguration(String airavataExperimentId, org.apache.airavata.model.experiment.UserConfigurationDataModel userConfiguration) throws org.apache.thrift.TException
     {
       updateExperimentConfiguration_args args = new updateExperimentConfiguration_args();
       args.setAiravataExperimentId(airavataExperimentId);
@@ -3463,13 +3459,13 @@ public class Airavata {
       return;
     }
 
-    public void updateResourceScheduleing(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.ComputationalResourceScheduling resourceScheduling) throws org.apache.thrift.TException
+    public void updateResourceScheduleing(String airavataExperimentId, org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel resourceScheduling) throws org.apache.thrift.TException
     {
       send_updateResourceScheduleing(airavataExperimentId, resourceScheduling);
       recv_updateResourceScheduleing();
     }
 
-    public void send_updateResourceScheduleing(String airavataExperimentId, org.apache.airavata.model.workspace.experiment.ComputationalResourceScheduling resourceScheduling) throws org.apache.thrift.TException
+    public void send_updateResourceScheduleing(String airavataExperimentId, org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel resourceScheduling) throws org.apache.thrift.TException
     {
       updateResourceScheduleing_args args = new updateResourceScheduleing_args();
       args.setAiravataExperimentId(airavataExperimentId);
@@ -3519,7 +3515,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validateExperiment failed: unknown result");
     }
 
-    public void launchExperiment(String airavataExperimentId, String airavataCredStoreToken) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.LaunchValidationException, org.apache.thrift.TException
+    public void launchExperiment(String airavataExperimentId, String airavataCredStoreToken) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_launchExperiment(airavataExperimentId, airavataCredStoreToken);
       recv_launchExperiment();
@@ -3533,7 +3529,7 @@ public class Airavata {
       sendBase("launchExperiment", args);
     }
 
-    public void recv_launchExperiment() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.LaunchValidationException, org.apache.thrift.TException
+    public void recv_launchExperiment() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       launchExperiment_result result = new launchExperiment_result();
       receiveBase(result, "launchExperiment");
@@ -3549,13 +3545,10 @@ public class Airavata {
       if (result.ase != null) {
         throw result.ase;
       }
-      if (result.lve != null) {
-        throw result.lve;
-      }
       return;
     }
 
-    public org.apache.airavata.model.workspace.experiment.ExperimentStatus getExperimentStatus(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public org.apache.airavata.model.status.ExperimentStatus getExperimentStatus(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_getExperimentStatus(airavataExperimentId);
       return recv_getExperimentStatus();
@@ -3568,7 +3561,7 @@ public class Airavata {
       sendBase("getExperimentStatus", args);
     }
 
-    public org.apache.airavata.model.workspace.experiment.ExperimentStatus recv_getExperimentStatus() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public org.apache.airavata.model.status.ExperimentStatus recv_getExperimentStatus() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       getExperimentStatus_result result = new getExperimentStatus_result();
       receiveBase(result, "getExperimentStatus");
@@ -3590,7 +3583,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getExperimentStatus failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getExperimentOutputs(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.application.io.OutputDataObjectType> getExperimentOutputs(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_getExperimentOutputs(airavataExperimentId);
       return recv_getExperimentOutputs();
@@ -3603,7 +3596,7 @@ public class Airavata {
       sendBase("getExperimentOutputs", args);
     }
 
-    public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> recv_getExperimentOutputs() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.application.io.OutputDataObjectType> recv_getExperimentOutputs() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       getExperimentOutputs_result result = new getExperimentOutputs_result();
       receiveBase(result, "getExperimentOutputs");
@@ -3625,7 +3618,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getExperimentOutputs failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getIntermediateOutputs(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.application.io.OutputDataObjectType> getIntermediateOutputs(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_getIntermediateOutputs(airavataExperimentId);
       return recv_getIntermediateOutputs();
@@ -3638,7 +3631,7 @@ public class Airavata {
       sendBase("getIntermediateOutputs", args);
     }
 
-    public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> recv_getIntermediateOutputs() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.application.io.OutputDataObjectType> recv_getIntermediateOutputs() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       getIntermediateOutputs_result result = new getIntermediateOutputs_result();
       receiveBase(result, "getIntermediateOutputs");
@@ -3660,7 +3653,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getIntermediateOutputs failed: unknown result");
     }
 
-    public Map<String,org.apache.airavata.model.workspace.experiment.JobStatus> getJobStatuses(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public Map<String,org.apache.airavata.model.status.JobStatus> getJobStatuses(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_getJobStatuses(airavataExperimentId);
       return recv_getJobStatuses();
@@ -3673,7 +3666,7 @@ public class Airavata {
       sendBase("getJobStatuses", args);
     }
 
-    public Map<String,org.apache.airavata.model.workspace.experiment.JobStatus> recv_getJobStatuses() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public Map<String,org.apache.airavata.model.status.JobStatus> recv_getJobStatuses() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       getJobStatuses_result result = new getJobStatuses_result();
       receiveBase(result, "getJobStatuses");
@@ -3695,7 +3688,7 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getJobStatuses failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.JobDetails> getJobDetails(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.job.JobModel> getJobDetails(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       send_getJobDetails(airavataExperimentId);
       return recv_getJobDetails();
@@ -3708,7 +3701,7 @@ public class Airavata {
       sendBase("getJobDetails", args);
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.JobDetails> recv_getJobDetails() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+    public List<org.apache.airavata.model.job.JobModel> recv_getJobDetails() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
     {
       getJobDetails_result result = new getJobDetails_result();
       receiveBase(result, "getJobDetails");
@@ -3730,41 +3723,6 @@ public class Airavata {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getJobDetails failed: unknown result");
     }
 
-    public List<org.apache.airavata.model.workspace.experiment.DataTransferDetails> getDataTransferDetails(String airavataExperimentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
-    {
-      send_getDataTransferDetails(airavataExperimentId);
-      return recv_getDataTransferDetails();
-    }
-
-    public void send_getDataTransferDetails(String airavataExperimentId) throws org.apache.thrift.TException
-    {
-      getDataTransferDetails_args args = new getDataTransferDetails_args();
-      args.setAiravataExperimentId(airavataExperimentId);
-      sendBase("getDataTransferDetails", args);
-    }
-
-    public List<org.apache.airavata.model.workspace.experiment.DataTransferDetails> recv_getDataTransferDetails() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.ExperimentNotFoundException, org.apache.airavata.model

<TRUNCATED>

[18/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/job/JobModel.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/job/JobModel.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/job/JobModel.java
new file mode 100644
index 0000000..bd58d92
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/job/JobModel.java
@@ -0,0 +1,1043 @@
+/**
+ * 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.job;
+
+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"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class JobModel implements org.apache.thrift.TBase<JobModel, JobModel._Fields>, java.io.Serializable, Cloneable, Comparable<JobModel> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("JobModel");
+
+  private static final org.apache.thrift.protocol.TField JOB_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("jobId", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField JOB_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("jobDescription", org.apache.thrift.protocol.TType.STRING, (short)2);
+  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)3);
+  private static final org.apache.thrift.protocol.TField JOB_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("jobStatus", org.apache.thrift.protocol.TType.STRUCT, (short)4);
+  private static final org.apache.thrift.protocol.TField COMPUTE_RESOURCE_CONSUMED_FIELD_DESC = new org.apache.thrift.protocol.TField("computeResourceConsumed", org.apache.thrift.protocol.TType.STRING, (short)7);
+  private static final org.apache.thrift.protocol.TField JOB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("jobName", org.apache.thrift.protocol.TType.STRING, (short)8);
+  private static final org.apache.thrift.protocol.TField WORKING_DIR_FIELD_DESC = new org.apache.thrift.protocol.TField("workingDir", org.apache.thrift.protocol.TType.STRING, (short)9);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new JobModelStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new JobModelTupleSchemeFactory());
+  }
+
+  private String jobId; // required
+  private String jobDescription; // required
+  private long creationTime; // optional
+  private org.apache.airavata.model.status.JobStatus jobStatus; // optional
+  private String computeResourceConsumed; // optional
+  private String jobName; // optional
+  private String workingDir; // 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 {
+    JOB_ID((short)1, "jobId"),
+    JOB_DESCRIPTION((short)2, "jobDescription"),
+    CREATION_TIME((short)3, "creationTime"),
+    JOB_STATUS((short)4, "jobStatus"),
+    COMPUTE_RESOURCE_CONSUMED((short)7, "computeResourceConsumed"),
+    JOB_NAME((short)8, "jobName"),
+    WORKING_DIR((short)9, "workingDir");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // JOB_ID
+          return JOB_ID;
+        case 2: // JOB_DESCRIPTION
+          return JOB_DESCRIPTION;
+        case 3: // CREATION_TIME
+          return CREATION_TIME;
+        case 4: // JOB_STATUS
+          return JOB_STATUS;
+        case 7: // COMPUTE_RESOURCE_CONSUMED
+          return COMPUTE_RESOURCE_CONSUMED;
+        case 8: // JOB_NAME
+          return JOB_NAME;
+        case 9: // WORKING_DIR
+          return WORKING_DIR;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __CREATIONTIME_ISSET_ID = 0;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.JOB_STATUS,_Fields.COMPUTE_RESOURCE_CONSUMED,_Fields.JOB_NAME,_Fields.WORKING_DIR};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.JOB_ID, new org.apache.thrift.meta_data.FieldMetaData("jobId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.JOB_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("jobDescription", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.JOB_STATUS, new org.apache.thrift.meta_data.FieldMetaData("jobStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.status.JobStatus.class)));
+    tmpMap.put(_Fields.COMPUTE_RESOURCE_CONSUMED, new org.apache.thrift.meta_data.FieldMetaData("computeResourceConsumed", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.JOB_NAME, new org.apache.thrift.meta_data.FieldMetaData("jobName", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.WORKING_DIR, new org.apache.thrift.meta_data.FieldMetaData("workingDir", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(JobModel.class, metaDataMap);
+  }
+
+  public JobModel() {
+  }
+
+  public JobModel(
+    String jobId,
+    String jobDescription)
+  {
+    this();
+    this.jobId = jobId;
+    this.jobDescription = jobDescription;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public JobModel(JobModel other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetJobId()) {
+      this.jobId = other.jobId;
+    }
+    if (other.isSetJobDescription()) {
+      this.jobDescription = other.jobDescription;
+    }
+    this.creationTime = other.creationTime;
+    if (other.isSetJobStatus()) {
+      this.jobStatus = new org.apache.airavata.model.status.JobStatus(other.jobStatus);
+    }
+    if (other.isSetComputeResourceConsumed()) {
+      this.computeResourceConsumed = other.computeResourceConsumed;
+    }
+    if (other.isSetJobName()) {
+      this.jobName = other.jobName;
+    }
+    if (other.isSetWorkingDir()) {
+      this.workingDir = other.workingDir;
+    }
+  }
+
+  public JobModel deepCopy() {
+    return new JobModel(this);
+  }
+
+  @Override
+  public void clear() {
+    this.jobId = null;
+    this.jobDescription = null;
+    setCreationTimeIsSet(false);
+    this.creationTime = 0;
+    this.jobStatus = null;
+    this.computeResourceConsumed = null;
+    this.jobName = null;
+    this.workingDir = null;
+  }
+
+  public String getJobId() {
+    return this.jobId;
+  }
+
+  public void setJobId(String jobId) {
+    this.jobId = jobId;
+  }
+
+  public void unsetJobId() {
+    this.jobId = null;
+  }
+
+  /** Returns true if field jobId is set (has been assigned a value) and false otherwise */
+  public boolean isSetJobId() {
+    return this.jobId != null;
+  }
+
+  public void setJobIdIsSet(boolean value) {
+    if (!value) {
+      this.jobId = null;
+    }
+  }
+
+  public String getJobDescription() {
+    return this.jobDescription;
+  }
+
+  public void setJobDescription(String jobDescription) {
+    this.jobDescription = jobDescription;
+  }
+
+  public void unsetJobDescription() {
+    this.jobDescription = null;
+  }
+
+  /** Returns true if field jobDescription is set (has been assigned a value) and false otherwise */
+  public boolean isSetJobDescription() {
+    return this.jobDescription != null;
+  }
+
+  public void setJobDescriptionIsSet(boolean value) {
+    if (!value) {
+      this.jobDescription = null;
+    }
+  }
+
+  public long getCreationTime() {
+    return this.creationTime;
+  }
+
+  public void setCreationTime(long creationTime) {
+    this.creationTime = creationTime;
+    setCreationTimeIsSet(true);
+  }
+
+  public void unsetCreationTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetCreationTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  public void setCreationTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
+  }
+
+  public org.apache.airavata.model.status.JobStatus getJobStatus() {
+    return this.jobStatus;
+  }
+
+  public void setJobStatus(org.apache.airavata.model.status.JobStatus jobStatus) {
+    this.jobStatus = jobStatus;
+  }
+
+  public void unsetJobStatus() {
+    this.jobStatus = null;
+  }
+
+  /** Returns true if field jobStatus is set (has been assigned a value) and false otherwise */
+  public boolean isSetJobStatus() {
+    return this.jobStatus != null;
+  }
+
+  public void setJobStatusIsSet(boolean value) {
+    if (!value) {
+      this.jobStatus = null;
+    }
+  }
+
+  public String getComputeResourceConsumed() {
+    return this.computeResourceConsumed;
+  }
+
+  public void setComputeResourceConsumed(String computeResourceConsumed) {
+    this.computeResourceConsumed = computeResourceConsumed;
+  }
+
+  public void unsetComputeResourceConsumed() {
+    this.computeResourceConsumed = null;
+  }
+
+  /** Returns true if field computeResourceConsumed is set (has been assigned a value) and false otherwise */
+  public boolean isSetComputeResourceConsumed() {
+    return this.computeResourceConsumed != null;
+  }
+
+  public void setComputeResourceConsumedIsSet(boolean value) {
+    if (!value) {
+      this.computeResourceConsumed = null;
+    }
+  }
+
+  public String getJobName() {
+    return this.jobName;
+  }
+
+  public void setJobName(String jobName) {
+    this.jobName = jobName;
+  }
+
+  public void unsetJobName() {
+    this.jobName = null;
+  }
+
+  /** Returns true if field jobName is set (has been assigned a value) and false otherwise */
+  public boolean isSetJobName() {
+    return this.jobName != null;
+  }
+
+  public void setJobNameIsSet(boolean value) {
+    if (!value) {
+      this.jobName = null;
+    }
+  }
+
+  public String getWorkingDir() {
+    return this.workingDir;
+  }
+
+  public void setWorkingDir(String workingDir) {
+    this.workingDir = workingDir;
+  }
+
+  public void unsetWorkingDir() {
+    this.workingDir = null;
+  }
+
+  /** Returns true if field workingDir is set (has been assigned a value) and false otherwise */
+  public boolean isSetWorkingDir() {
+    return this.workingDir != null;
+  }
+
+  public void setWorkingDirIsSet(boolean value) {
+    if (!value) {
+      this.workingDir = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case JOB_ID:
+      if (value == null) {
+        unsetJobId();
+      } else {
+        setJobId((String)value);
+      }
+      break;
+
+    case JOB_DESCRIPTION:
+      if (value == null) {
+        unsetJobDescription();
+      } else {
+        setJobDescription((String)value);
+      }
+      break;
+
+    case CREATION_TIME:
+      if (value == null) {
+        unsetCreationTime();
+      } else {
+        setCreationTime((Long)value);
+      }
+      break;
+
+    case JOB_STATUS:
+      if (value == null) {
+        unsetJobStatus();
+      } else {
+        setJobStatus((org.apache.airavata.model.status.JobStatus)value);
+      }
+      break;
+
+    case COMPUTE_RESOURCE_CONSUMED:
+      if (value == null) {
+        unsetComputeResourceConsumed();
+      } else {
+        setComputeResourceConsumed((String)value);
+      }
+      break;
+
+    case JOB_NAME:
+      if (value == null) {
+        unsetJobName();
+      } else {
+        setJobName((String)value);
+      }
+      break;
+
+    case WORKING_DIR:
+      if (value == null) {
+        unsetWorkingDir();
+      } else {
+        setWorkingDir((String)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case JOB_ID:
+      return getJobId();
+
+    case JOB_DESCRIPTION:
+      return getJobDescription();
+
+    case CREATION_TIME:
+      return Long.valueOf(getCreationTime());
+
+    case JOB_STATUS:
+      return getJobStatus();
+
+    case COMPUTE_RESOURCE_CONSUMED:
+      return getComputeResourceConsumed();
+
+    case JOB_NAME:
+      return getJobName();
+
+    case WORKING_DIR:
+      return getWorkingDir();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case JOB_ID:
+      return isSetJobId();
+    case JOB_DESCRIPTION:
+      return isSetJobDescription();
+    case CREATION_TIME:
+      return isSetCreationTime();
+    case JOB_STATUS:
+      return isSetJobStatus();
+    case COMPUTE_RESOURCE_CONSUMED:
+      return isSetComputeResourceConsumed();
+    case JOB_NAME:
+      return isSetJobName();
+    case WORKING_DIR:
+      return isSetWorkingDir();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof JobModel)
+      return this.equals((JobModel)that);
+    return false;
+  }
+
+  public boolean equals(JobModel that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_jobId = true && this.isSetJobId();
+    boolean that_present_jobId = true && that.isSetJobId();
+    if (this_present_jobId || that_present_jobId) {
+      if (!(this_present_jobId && that_present_jobId))
+        return false;
+      if (!this.jobId.equals(that.jobId))
+        return false;
+    }
+
+    boolean this_present_jobDescription = true && this.isSetJobDescription();
+    boolean that_present_jobDescription = true && that.isSetJobDescription();
+    if (this_present_jobDescription || that_present_jobDescription) {
+      if (!(this_present_jobDescription && that_present_jobDescription))
+        return false;
+      if (!this.jobDescription.equals(that.jobDescription))
+        return false;
+    }
+
+    boolean this_present_creationTime = true && this.isSetCreationTime();
+    boolean that_present_creationTime = true && that.isSetCreationTime();
+    if (this_present_creationTime || that_present_creationTime) {
+      if (!(this_present_creationTime && that_present_creationTime))
+        return false;
+      if (this.creationTime != that.creationTime)
+        return false;
+    }
+
+    boolean this_present_jobStatus = true && this.isSetJobStatus();
+    boolean that_present_jobStatus = true && that.isSetJobStatus();
+    if (this_present_jobStatus || that_present_jobStatus) {
+      if (!(this_present_jobStatus && that_present_jobStatus))
+        return false;
+      if (!this.jobStatus.equals(that.jobStatus))
+        return false;
+    }
+
+    boolean this_present_computeResourceConsumed = true && this.isSetComputeResourceConsumed();
+    boolean that_present_computeResourceConsumed = true && that.isSetComputeResourceConsumed();
+    if (this_present_computeResourceConsumed || that_present_computeResourceConsumed) {
+      if (!(this_present_computeResourceConsumed && that_present_computeResourceConsumed))
+        return false;
+      if (!this.computeResourceConsumed.equals(that.computeResourceConsumed))
+        return false;
+    }
+
+    boolean this_present_jobName = true && this.isSetJobName();
+    boolean that_present_jobName = true && that.isSetJobName();
+    if (this_present_jobName || that_present_jobName) {
+      if (!(this_present_jobName && that_present_jobName))
+        return false;
+      if (!this.jobName.equals(that.jobName))
+        return false;
+    }
+
+    boolean this_present_workingDir = true && this.isSetWorkingDir();
+    boolean that_present_workingDir = true && that.isSetWorkingDir();
+    if (this_present_workingDir || that_present_workingDir) {
+      if (!(this_present_workingDir && that_present_workingDir))
+        return false;
+      if (!this.workingDir.equals(that.workingDir))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_jobId = true && (isSetJobId());
+    list.add(present_jobId);
+    if (present_jobId)
+      list.add(jobId);
+
+    boolean present_jobDescription = true && (isSetJobDescription());
+    list.add(present_jobDescription);
+    if (present_jobDescription)
+      list.add(jobDescription);
+
+    boolean present_creationTime = true && (isSetCreationTime());
+    list.add(present_creationTime);
+    if (present_creationTime)
+      list.add(creationTime);
+
+    boolean present_jobStatus = true && (isSetJobStatus());
+    list.add(present_jobStatus);
+    if (present_jobStatus)
+      list.add(jobStatus);
+
+    boolean present_computeResourceConsumed = true && (isSetComputeResourceConsumed());
+    list.add(present_computeResourceConsumed);
+    if (present_computeResourceConsumed)
+      list.add(computeResourceConsumed);
+
+    boolean present_jobName = true && (isSetJobName());
+    list.add(present_jobName);
+    if (present_jobName)
+      list.add(jobName);
+
+    boolean present_workingDir = true && (isSetWorkingDir());
+    list.add(present_workingDir);
+    if (present_workingDir)
+      list.add(workingDir);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(JobModel other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetJobId()).compareTo(other.isSetJobId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetJobId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobId, other.jobId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetJobDescription()).compareTo(other.isSetJobDescription());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetJobDescription()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobDescription, other.jobDescription);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCreationTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetJobStatus()).compareTo(other.isSetJobStatus());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetJobStatus()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobStatus, other.jobStatus);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetComputeResourceConsumed()).compareTo(other.isSetComputeResourceConsumed());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetComputeResourceConsumed()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.computeResourceConsumed, other.computeResourceConsumed);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetJobName()).compareTo(other.isSetJobName());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetJobName()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobName, other.jobName);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetWorkingDir()).compareTo(other.isSetWorkingDir());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetWorkingDir()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workingDir, other.workingDir);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("JobModel(");
+    boolean first = true;
+
+    sb.append("jobId:");
+    if (this.jobId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.jobId);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("jobDescription:");
+    if (this.jobDescription == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.jobDescription);
+    }
+    first = false;
+    if (isSetCreationTime()) {
+      if (!first) sb.append(", ");
+      sb.append("creationTime:");
+      sb.append(this.creationTime);
+      first = false;
+    }
+    if (isSetJobStatus()) {
+      if (!first) sb.append(", ");
+      sb.append("jobStatus:");
+      if (this.jobStatus == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.jobStatus);
+      }
+      first = false;
+    }
+    if (isSetComputeResourceConsumed()) {
+      if (!first) sb.append(", ");
+      sb.append("computeResourceConsumed:");
+      if (this.computeResourceConsumed == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.computeResourceConsumed);
+      }
+      first = false;
+    }
+    if (isSetJobName()) {
+      if (!first) sb.append(", ");
+      sb.append("jobName:");
+      if (this.jobName == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.jobName);
+      }
+      first = false;
+    }
+    if (isSetWorkingDir()) {
+      if (!first) sb.append(", ");
+      sb.append("workingDir:");
+      if (this.workingDir == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.workingDir);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetJobId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobId' is unset! Struct:" + toString());
+    }
+
+    if (!isSetJobDescription()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobDescription' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+    if (jobStatus != null) {
+      jobStatus.validate();
+    }
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class JobModelStandardSchemeFactory implements SchemeFactory {
+    public JobModelStandardScheme getScheme() {
+      return new JobModelStandardScheme();
+    }
+  }
+
+  private static class JobModelStandardScheme extends StandardScheme<JobModel> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, JobModel struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // JOB_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.jobId = iprot.readString();
+              struct.setJobIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // JOB_DESCRIPTION
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.jobDescription = iprot.readString();
+              struct.setJobDescriptionIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // CREATION_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.creationTime = iprot.readI64();
+              struct.setCreationTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // JOB_STATUS
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.jobStatus = new org.apache.airavata.model.status.JobStatus();
+              struct.jobStatus.read(iprot);
+              struct.setJobStatusIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // COMPUTE_RESOURCE_CONSUMED
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.computeResourceConsumed = iprot.readString();
+              struct.setComputeResourceConsumedIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 8: // JOB_NAME
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.jobName = iprot.readString();
+              struct.setJobNameIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 9: // WORKING_DIR
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.workingDir = iprot.readString();
+              struct.setWorkingDirIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, JobModel struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.jobId != null) {
+        oprot.writeFieldBegin(JOB_ID_FIELD_DESC);
+        oprot.writeString(struct.jobId);
+        oprot.writeFieldEnd();
+      }
+      if (struct.jobDescription != null) {
+        oprot.writeFieldBegin(JOB_DESCRIPTION_FIELD_DESC);
+        oprot.writeString(struct.jobDescription);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetCreationTime()) {
+        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
+        oprot.writeI64(struct.creationTime);
+        oprot.writeFieldEnd();
+      }
+      if (struct.jobStatus != null) {
+        if (struct.isSetJobStatus()) {
+          oprot.writeFieldBegin(JOB_STATUS_FIELD_DESC);
+          struct.jobStatus.write(oprot);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.computeResourceConsumed != null) {
+        if (struct.isSetComputeResourceConsumed()) {
+          oprot.writeFieldBegin(COMPUTE_RESOURCE_CONSUMED_FIELD_DESC);
+          oprot.writeString(struct.computeResourceConsumed);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.jobName != null) {
+        if (struct.isSetJobName()) {
+          oprot.writeFieldBegin(JOB_NAME_FIELD_DESC);
+          oprot.writeString(struct.jobName);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.workingDir != null) {
+        if (struct.isSetWorkingDir()) {
+          oprot.writeFieldBegin(WORKING_DIR_FIELD_DESC);
+          oprot.writeString(struct.workingDir);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class JobModelTupleSchemeFactory implements SchemeFactory {
+    public JobModelTupleScheme getScheme() {
+      return new JobModelTupleScheme();
+    }
+  }
+
+  private static class JobModelTupleScheme extends TupleScheme<JobModel> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, JobModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeString(struct.jobId);
+      oprot.writeString(struct.jobDescription);
+      BitSet optionals = new BitSet();
+      if (struct.isSetCreationTime()) {
+        optionals.set(0);
+      }
+      if (struct.isSetJobStatus()) {
+        optionals.set(1);
+      }
+      if (struct.isSetComputeResourceConsumed()) {
+        optionals.set(2);
+      }
+      if (struct.isSetJobName()) {
+        optionals.set(3);
+      }
+      if (struct.isSetWorkingDir()) {
+        optionals.set(4);
+      }
+      oprot.writeBitSet(optionals, 5);
+      if (struct.isSetCreationTime()) {
+        oprot.writeI64(struct.creationTime);
+      }
+      if (struct.isSetJobStatus()) {
+        struct.jobStatus.write(oprot);
+      }
+      if (struct.isSetComputeResourceConsumed()) {
+        oprot.writeString(struct.computeResourceConsumed);
+      }
+      if (struct.isSetJobName()) {
+        oprot.writeString(struct.jobName);
+      }
+      if (struct.isSetWorkingDir()) {
+        oprot.writeString(struct.workingDir);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, JobModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.jobId = iprot.readString();
+      struct.setJobIdIsSet(true);
+      struct.jobDescription = iprot.readString();
+      struct.setJobDescriptionIsSet(true);
+      BitSet incoming = iprot.readBitSet(5);
+      if (incoming.get(0)) {
+        struct.creationTime = iprot.readI64();
+        struct.setCreationTimeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.jobStatus = new org.apache.airavata.model.status.JobStatus();
+        struct.jobStatus.read(iprot);
+        struct.setJobStatusIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.computeResourceConsumed = iprot.readString();
+        struct.setComputeResourceConsumedIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.jobName = iprot.readString();
+        struct.setJobNameIsSet(true);
+      }
+      if (incoming.get(4)) {
+        struct.workingDir = iprot.readString();
+        struct.setWorkingDirIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ExperimentStatusChangeEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ExperimentStatusChangeEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ExperimentStatusChangeEvent.java
index 3dabc21..c15f7a8 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ExperimentStatusChangeEvent.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ExperimentStatusChangeEvent.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 ExperimentStatusChangeEvent implements org.apache.thrift.TBase<ExperimentStatusChangeEvent, ExperimentStatusChangeEvent._Fields>, java.io.Serializable, Cloneable, Comparable<ExperimentStatusChangeEvent> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExperimentStatusChangeEvent");
 
@@ -65,7 +65,7 @@ public class ExperimentStatusChangeEvent implements org.apache.thrift.TBase<Expe
     schemes.put(TupleScheme.class, new ExperimentStatusChangeEventTupleSchemeFactory());
   }
 
-  private org.apache.airavata.model.workspace.experiment.ExperimentState state; // required
+  private org.apache.airavata.model.status.ExperimentState state; // required
   private String experimentId; // required
   private String gatewayId; // required
 
@@ -73,7 +73,7 @@ public class ExperimentStatusChangeEvent implements org.apache.thrift.TBase<Expe
   public enum _Fields implements org.apache.thrift.TFieldIdEnum {
     /**
      * 
-     * @see org.apache.airavata.model.workspace.experiment.ExperimentState
+     * @see org.apache.airavata.model.status.ExperimentState
      */
     STATE((short)1, "state"),
     EXPERIMENT_ID((short)2, "experimentId"),
@@ -142,7 +142,7 @@ public class ExperimentStatusChangeEvent implements org.apache.thrift.TBase<Expe
   static {
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
     tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.workspace.experiment.ExperimentState.class)));
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.status.ExperimentState.class)));
     tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
         new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
     tmpMap.put(_Fields.GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
@@ -155,7 +155,7 @@ public class ExperimentStatusChangeEvent implements org.apache.thrift.TBase<Expe
   }
 
   public ExperimentStatusChangeEvent(
-    org.apache.airavata.model.workspace.experiment.ExperimentState state,
+    org.apache.airavata.model.status.ExperimentState state,
     String experimentId,
     String gatewayId)
   {
@@ -193,17 +193,17 @@ public class ExperimentStatusChangeEvent implements org.apache.thrift.TBase<Expe
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.ExperimentState
+   * @see org.apache.airavata.model.status.ExperimentState
    */
-  public org.apache.airavata.model.workspace.experiment.ExperimentState getState() {
+  public org.apache.airavata.model.status.ExperimentState getState() {
     return this.state;
   }
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.ExperimentState
+   * @see org.apache.airavata.model.status.ExperimentState
    */
-  public void setState(org.apache.airavata.model.workspace.experiment.ExperimentState state) {
+  public void setState(org.apache.airavata.model.status.ExperimentState state) {
     this.state = state;
   }
 
@@ -274,7 +274,7 @@ public class ExperimentStatusChangeEvent implements org.apache.thrift.TBase<Expe
       if (value == null) {
         unsetState();
       } else {
-        setState((org.apache.airavata.model.workspace.experiment.ExperimentState)value);
+        setState((org.apache.airavata.model.status.ExperimentState)value);
       }
       break;
 
@@ -532,7 +532,7 @@ public class ExperimentStatusChangeEvent implements org.apache.thrift.TBase<Expe
         switch (schemeField.id) {
           case 1: // STATE
             if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.state = org.apache.airavata.model.workspace.experiment.ExperimentState.findByValue(iprot.readI32());
+              struct.state = org.apache.airavata.model.status.ExperimentState.findByValue(iprot.readI32());
               struct.setStateIsSet(true);
             } else { 
               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -607,7 +607,7 @@ public class ExperimentStatusChangeEvent implements org.apache.thrift.TBase<Expe
     @Override
     public void read(org.apache.thrift.protocol.TProtocol prot, ExperimentStatusChangeEvent struct) throws org.apache.thrift.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.state = org.apache.airavata.model.workspace.experiment.ExperimentState.findByValue(iprot.readI32());
+      struct.state = org.apache.airavata.model.status.ExperimentState.findByValue(iprot.readI32());
       struct.setStateIsSet(true);
       struct.experimentId = iprot.readString();
       struct.setExperimentIdIsSet(true);

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobIdentifier.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobIdentifier.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobIdentifier.java
index 51b8b92..d35f9ad 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobIdentifier.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobIdentifier.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 JobIdentifier implements org.apache.thrift.TBase<JobIdentifier, JobIdentifier._Fields>, java.io.Serializable, Cloneable, Comparable<JobIdentifier> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("JobIdentifier");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeEvent.java
index 31f9a5d..4b7724a 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeEvent.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeEvent.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 JobStatusChangeEvent implements org.apache.thrift.TBase<JobStatusChangeEvent, JobStatusChangeEvent._Fields>, java.io.Serializable, Cloneable, Comparable<JobStatusChangeEvent> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("JobStatusChangeEvent");
 
@@ -64,14 +64,14 @@ public class JobStatusChangeEvent implements org.apache.thrift.TBase<JobStatusCh
     schemes.put(TupleScheme.class, new JobStatusChangeEventTupleSchemeFactory());
   }
 
-  private org.apache.airavata.model.workspace.experiment.JobState state; // required
+  private org.apache.airavata.model.status.JobState state; // required
   private JobIdentifier jobIdentity; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.thrift.TFieldIdEnum {
     /**
      * 
-     * @see org.apache.airavata.model.workspace.experiment.JobState
+     * @see org.apache.airavata.model.status.JobState
      */
     STATE((short)1, "state"),
     JOB_IDENTITY((short)2, "jobIdentity");
@@ -137,7 +137,7 @@ public class JobStatusChangeEvent implements org.apache.thrift.TBase<JobStatusCh
   static {
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
     tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.workspace.experiment.JobState.class)));
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.status.JobState.class)));
     tmpMap.put(_Fields.JOB_IDENTITY, new org.apache.thrift.meta_data.FieldMetaData("jobIdentity", org.apache.thrift.TFieldRequirementType.REQUIRED, 
         new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, JobIdentifier.class)));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
@@ -148,7 +148,7 @@ public class JobStatusChangeEvent implements org.apache.thrift.TBase<JobStatusCh
   }
 
   public JobStatusChangeEvent(
-    org.apache.airavata.model.workspace.experiment.JobState state,
+    org.apache.airavata.model.status.JobState state,
     JobIdentifier jobIdentity)
   {
     this();
@@ -180,17 +180,17 @@ public class JobStatusChangeEvent implements org.apache.thrift.TBase<JobStatusCh
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.JobState
+   * @see org.apache.airavata.model.status.JobState
    */
-  public org.apache.airavata.model.workspace.experiment.JobState getState() {
+  public org.apache.airavata.model.status.JobState getState() {
     return this.state;
   }
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.JobState
+   * @see org.apache.airavata.model.status.JobState
    */
-  public void setState(org.apache.airavata.model.workspace.experiment.JobState state) {
+  public void setState(org.apache.airavata.model.status.JobState state) {
     this.state = state;
   }
 
@@ -238,7 +238,7 @@ public class JobStatusChangeEvent implements org.apache.thrift.TBase<JobStatusCh
       if (value == null) {
         unsetState();
       } else {
-        setState((org.apache.airavata.model.workspace.experiment.JobState)value);
+        setState((org.apache.airavata.model.status.JobState)value);
       }
       break;
 
@@ -450,7 +450,7 @@ public class JobStatusChangeEvent implements org.apache.thrift.TBase<JobStatusCh
         switch (schemeField.id) {
           case 1: // STATE
             if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.state = org.apache.airavata.model.workspace.experiment.JobState.findByValue(iprot.readI32());
+              struct.state = org.apache.airavata.model.status.JobState.findByValue(iprot.readI32());
               struct.setStateIsSet(true);
             } else { 
               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -512,7 +512,7 @@ public class JobStatusChangeEvent implements org.apache.thrift.TBase<JobStatusCh
     @Override
     public void read(org.apache.thrift.protocol.TProtocol prot, JobStatusChangeEvent struct) throws org.apache.thrift.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.state = org.apache.airavata.model.workspace.experiment.JobState.findByValue(iprot.readI32());
+      struct.state = org.apache.airavata.model.status.JobState.findByValue(iprot.readI32());
       struct.setStateIsSet(true);
       struct.jobIdentity = new JobIdentifier();
       struct.jobIdentity.read(iprot);

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeRequestEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeRequestEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeRequestEvent.java
index 4fa3477..7665820 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeRequestEvent.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/JobStatusChangeRequestEvent.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 JobStatusChangeRequestEvent implements org.apache.thrift.TBase<JobStatusChangeRequestEvent, JobStatusChangeRequestEvent._Fields>, java.io.Serializable, Cloneable, Comparable<JobStatusChangeRequestEvent> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("JobStatusChangeRequestEvent");
 
@@ -64,14 +64,14 @@ public class JobStatusChangeRequestEvent implements org.apache.thrift.TBase<JobS
     schemes.put(TupleScheme.class, new JobStatusChangeRequestEventTupleSchemeFactory());
   }
 
-  private org.apache.airavata.model.workspace.experiment.JobState state; // required
+  private org.apache.airavata.model.status.JobState state; // required
   private JobIdentifier jobIdentity; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.thrift.TFieldIdEnum {
     /**
      * 
-     * @see org.apache.airavata.model.workspace.experiment.JobState
+     * @see org.apache.airavata.model.status.JobState
      */
     STATE((short)1, "state"),
     JOB_IDENTITY((short)2, "jobIdentity");
@@ -137,7 +137,7 @@ public class JobStatusChangeRequestEvent implements org.apache.thrift.TBase<JobS
   static {
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
     tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.workspace.experiment.JobState.class)));
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.status.JobState.class)));
     tmpMap.put(_Fields.JOB_IDENTITY, new org.apache.thrift.meta_data.FieldMetaData("jobIdentity", org.apache.thrift.TFieldRequirementType.REQUIRED, 
         new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, JobIdentifier.class)));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
@@ -148,7 +148,7 @@ public class JobStatusChangeRequestEvent implements org.apache.thrift.TBase<JobS
   }
 
   public JobStatusChangeRequestEvent(
-    org.apache.airavata.model.workspace.experiment.JobState state,
+    org.apache.airavata.model.status.JobState state,
     JobIdentifier jobIdentity)
   {
     this();
@@ -180,17 +180,17 @@ public class JobStatusChangeRequestEvent implements org.apache.thrift.TBase<JobS
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.JobState
+   * @see org.apache.airavata.model.status.JobState
    */
-  public org.apache.airavata.model.workspace.experiment.JobState getState() {
+  public org.apache.airavata.model.status.JobState getState() {
     return this.state;
   }
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.JobState
+   * @see org.apache.airavata.model.status.JobState
    */
-  public void setState(org.apache.airavata.model.workspace.experiment.JobState state) {
+  public void setState(org.apache.airavata.model.status.JobState state) {
     this.state = state;
   }
 
@@ -238,7 +238,7 @@ public class JobStatusChangeRequestEvent implements org.apache.thrift.TBase<JobS
       if (value == null) {
         unsetState();
       } else {
-        setState((org.apache.airavata.model.workspace.experiment.JobState)value);
+        setState((org.apache.airavata.model.status.JobState)value);
       }
       break;
 
@@ -450,7 +450,7 @@ public class JobStatusChangeRequestEvent implements org.apache.thrift.TBase<JobS
         switch (schemeField.id) {
           case 1: // STATE
             if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.state = org.apache.airavata.model.workspace.experiment.JobState.findByValue(iprot.readI32());
+              struct.state = org.apache.airavata.model.status.JobState.findByValue(iprot.readI32());
               struct.setStateIsSet(true);
             } else { 
               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -512,7 +512,7 @@ public class JobStatusChangeRequestEvent implements org.apache.thrift.TBase<JobS
     @Override
     public void read(org.apache.thrift.protocol.TProtocol prot, JobStatusChangeRequestEvent struct) throws org.apache.thrift.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.state = org.apache.airavata.model.workspace.experiment.JobState.findByValue(iprot.readI32());
+      struct.state = org.apache.airavata.model.status.JobState.findByValue(iprot.readI32());
       struct.setStateIsSet(true);
       struct.jobIdentity = new JobIdentifier();
       struct.jobIdentity.read(iprot);

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/Message.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/Message.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/Message.java
index 85760d6..184dbff 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/Message.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/Message.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 Message implements org.apache.thrift.TBase<Message, Message._Fields>, java.io.Serializable, Cloneable, Comparable<Message> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Message");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ProcessSubmitEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ProcessSubmitEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ProcessSubmitEvent.java
index aed2397..130a4ea 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ProcessSubmitEvent.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/ProcessSubmitEvent.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 ProcessSubmitEvent implements org.apache.thrift.TBase<ProcessSubmitEvent, ProcessSubmitEvent._Fields>, java.io.Serializable, Cloneable, Comparable<ProcessSubmitEvent> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ProcessSubmitEvent");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskIdentifier.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskIdentifier.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskIdentifier.java
index 3b7a7bc..14efa6d 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskIdentifier.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskIdentifier.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 TaskIdentifier implements org.apache.thrift.TBase<TaskIdentifier, TaskIdentifier._Fields>, java.io.Serializable, Cloneable, Comparable<TaskIdentifier> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskIdentifier");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskOutputChangeEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskOutputChangeEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskOutputChangeEvent.java
index 091921d..0971444 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskOutputChangeEvent.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskOutputChangeEvent.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 TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutputChangeEvent, TaskOutputChangeEvent._Fields>, java.io.Serializable, Cloneable, Comparable<TaskOutputChangeEvent> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskOutputChangeEvent");
 
@@ -64,7 +64,7 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
     schemes.put(TupleScheme.class, new TaskOutputChangeEventTupleSchemeFactory());
   }
 
-  private List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> output; // required
+  private List<org.apache.airavata.model.application.io.OutputDataObjectType> output; // required
   private TaskIdentifier taskIdentity; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -134,7 +134,7 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
     tmpMap.put(_Fields.OUTPUT, new org.apache.thrift.meta_data.FieldMetaData("output", org.apache.thrift.TFieldRequirementType.REQUIRED, 
         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))));
     tmpMap.put(_Fields.TASK_IDENTITY, new org.apache.thrift.meta_data.FieldMetaData("taskIdentity", org.apache.thrift.TFieldRequirementType.REQUIRED, 
         new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TaskIdentifier.class)));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
@@ -145,7 +145,7 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
   }
 
   public TaskOutputChangeEvent(
-    List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> output,
+    List<org.apache.airavata.model.application.io.OutputDataObjectType> output,
     TaskIdentifier taskIdentity)
   {
     this();
@@ -158,9 +158,9 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
    */
   public TaskOutputChangeEvent(TaskOutputChangeEvent other) {
     if (other.isSetOutput()) {
-      List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> __this__output = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(other.output.size());
-      for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType other_element : other.output) {
-        __this__output.add(new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType(other_element));
+      List<org.apache.airavata.model.application.io.OutputDataObjectType> __this__output = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(other.output.size());
+      for (org.apache.airavata.model.application.io.OutputDataObjectType other_element : other.output) {
+        __this__output.add(new org.apache.airavata.model.application.io.OutputDataObjectType(other_element));
       }
       this.output = __this__output;
     }
@@ -183,22 +183,22 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
     return (this.output == null) ? 0 : this.output.size();
   }
 
-  public java.util.Iterator<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getOutputIterator() {
+  public java.util.Iterator<org.apache.airavata.model.application.io.OutputDataObjectType> getOutputIterator() {
     return (this.output == null) ? null : this.output.iterator();
   }
 
-  public void addToOutput(org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType elem) {
+  public void addToOutput(org.apache.airavata.model.application.io.OutputDataObjectType elem) {
     if (this.output == null) {
-      this.output = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>();
+      this.output = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>();
     }
     this.output.add(elem);
   }
 
-  public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getOutput() {
+  public List<org.apache.airavata.model.application.io.OutputDataObjectType> getOutput() {
     return this.output;
   }
 
-  public void setOutput(List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> output) {
+  public void setOutput(List<org.apache.airavata.model.application.io.OutputDataObjectType> output) {
     this.output = output;
   }
 
@@ -246,7 +246,7 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
       if (value == null) {
         unsetOutput();
       } else {
-        setOutput((List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>)value);
+        setOutput((List<org.apache.airavata.model.application.io.OutputDataObjectType>)value);
       }
       break;
 
@@ -460,11 +460,11 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
                 org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
-                struct.output = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list0.size);
-                org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem1;
+                struct.output = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list0.size);
+                org.apache.airavata.model.application.io.OutputDataObjectType _elem1;
                 for (int _i2 = 0; _i2 < _list0.size; ++_i2)
                 {
-                  _elem1 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
+                  _elem1 = new org.apache.airavata.model.application.io.OutputDataObjectType();
                   _elem1.read(iprot);
                   struct.output.add(_elem1);
                 }
@@ -501,7 +501,7 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
         oprot.writeFieldBegin(OUTPUT_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.output.size()));
-          for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _iter3 : struct.output)
+          for (org.apache.airavata.model.application.io.OutputDataObjectType _iter3 : struct.output)
           {
             _iter3.write(oprot);
           }
@@ -533,7 +533,7 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
       TTupleProtocol oprot = (TTupleProtocol) prot;
       {
         oprot.writeI32(struct.output.size());
-        for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _iter4 : struct.output)
+        for (org.apache.airavata.model.application.io.OutputDataObjectType _iter4 : struct.output)
         {
           _iter4.write(oprot);
         }
@@ -546,11 +546,11 @@ public class TaskOutputChangeEvent implements org.apache.thrift.TBase<TaskOutput
       TTupleProtocol iprot = (TTupleProtocol) prot;
       {
         org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-        struct.output = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list5.size);
-        org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem6;
+        struct.output = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list5.size);
+        org.apache.airavata.model.application.io.OutputDataObjectType _elem6;
         for (int _i7 = 0; _i7 < _list5.size; ++_i7)
         {
-          _elem6 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
+          _elem6 = new org.apache.airavata.model.application.io.OutputDataObjectType();
           _elem6.read(iprot);
           struct.output.add(_elem6);
         }

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeEvent.java
index 05562f3..74d56c9 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeEvent.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeEvent.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 TaskStatusChangeEvent implements org.apache.thrift.TBase<TaskStatusChangeEvent, TaskStatusChangeEvent._Fields>, java.io.Serializable, Cloneable, Comparable<TaskStatusChangeEvent> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskStatusChangeEvent");
 
@@ -64,14 +64,14 @@ public class TaskStatusChangeEvent implements org.apache.thrift.TBase<TaskStatus
     schemes.put(TupleScheme.class, new TaskStatusChangeEventTupleSchemeFactory());
   }
 
-  private org.apache.airavata.model.workspace.experiment.TaskState state; // required
+  private org.apache.airavata.model.status.TaskState state; // required
   private TaskIdentifier taskIdentity; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.thrift.TFieldIdEnum {
     /**
      * 
-     * @see org.apache.airavata.model.workspace.experiment.TaskState
+     * @see org.apache.airavata.model.status.TaskState
      */
     STATE((short)1, "state"),
     TASK_IDENTITY((short)2, "taskIdentity");
@@ -137,7 +137,7 @@ public class TaskStatusChangeEvent implements org.apache.thrift.TBase<TaskStatus
   static {
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
     tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.workspace.experiment.TaskState.class)));
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.status.TaskState.class)));
     tmpMap.put(_Fields.TASK_IDENTITY, new org.apache.thrift.meta_data.FieldMetaData("taskIdentity", org.apache.thrift.TFieldRequirementType.REQUIRED, 
         new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TaskIdentifier.class)));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
@@ -148,7 +148,7 @@ public class TaskStatusChangeEvent implements org.apache.thrift.TBase<TaskStatus
   }
 
   public TaskStatusChangeEvent(
-    org.apache.airavata.model.workspace.experiment.TaskState state,
+    org.apache.airavata.model.status.TaskState state,
     TaskIdentifier taskIdentity)
   {
     this();
@@ -180,17 +180,17 @@ public class TaskStatusChangeEvent implements org.apache.thrift.TBase<TaskStatus
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.TaskState
+   * @see org.apache.airavata.model.status.TaskState
    */
-  public org.apache.airavata.model.workspace.experiment.TaskState getState() {
+  public org.apache.airavata.model.status.TaskState getState() {
     return this.state;
   }
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.TaskState
+   * @see org.apache.airavata.model.status.TaskState
    */
-  public void setState(org.apache.airavata.model.workspace.experiment.TaskState state) {
+  public void setState(org.apache.airavata.model.status.TaskState state) {
     this.state = state;
   }
 
@@ -238,7 +238,7 @@ public class TaskStatusChangeEvent implements org.apache.thrift.TBase<TaskStatus
       if (value == null) {
         unsetState();
       } else {
-        setState((org.apache.airavata.model.workspace.experiment.TaskState)value);
+        setState((org.apache.airavata.model.status.TaskState)value);
       }
       break;
 
@@ -450,7 +450,7 @@ public class TaskStatusChangeEvent implements org.apache.thrift.TBase<TaskStatus
         switch (schemeField.id) {
           case 1: // STATE
             if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.state = org.apache.airavata.model.workspace.experiment.TaskState.findByValue(iprot.readI32());
+              struct.state = org.apache.airavata.model.status.TaskState.findByValue(iprot.readI32());
               struct.setStateIsSet(true);
             } else { 
               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -512,7 +512,7 @@ public class TaskStatusChangeEvent implements org.apache.thrift.TBase<TaskStatus
     @Override
     public void read(org.apache.thrift.protocol.TProtocol prot, TaskStatusChangeEvent struct) throws org.apache.thrift.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.state = org.apache.airavata.model.workspace.experiment.TaskState.findByValue(iprot.readI32());
+      struct.state = org.apache.airavata.model.status.TaskState.findByValue(iprot.readI32());
       struct.setStateIsSet(true);
       struct.taskIdentity = new TaskIdentifier();
       struct.taskIdentity.read(iprot);

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeRequestEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeRequestEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeRequestEvent.java
index 2fa4dfd..764bb28 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeRequestEvent.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskStatusChangeRequestEvent.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 TaskStatusChangeRequestEvent implements org.apache.thrift.TBase<TaskStatusChangeRequestEvent, TaskStatusChangeRequestEvent._Fields>, java.io.Serializable, Cloneable, Comparable<TaskStatusChangeRequestEvent> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskStatusChangeRequestEvent");
 
@@ -64,14 +64,14 @@ public class TaskStatusChangeRequestEvent implements org.apache.thrift.TBase<Tas
     schemes.put(TupleScheme.class, new TaskStatusChangeRequestEventTupleSchemeFactory());
   }
 
-  private org.apache.airavata.model.workspace.experiment.TaskState state; // required
+  private org.apache.airavata.model.status.TaskState state; // required
   private TaskIdentifier taskIdentity; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.thrift.TFieldIdEnum {
     /**
      * 
-     * @see org.apache.airavata.model.workspace.experiment.TaskState
+     * @see org.apache.airavata.model.status.TaskState
      */
     STATE((short)1, "state"),
     TASK_IDENTITY((short)2, "taskIdentity");
@@ -137,7 +137,7 @@ public class TaskStatusChangeRequestEvent implements org.apache.thrift.TBase<Tas
   static {
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
     tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.workspace.experiment.TaskState.class)));
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.status.TaskState.class)));
     tmpMap.put(_Fields.TASK_IDENTITY, new org.apache.thrift.meta_data.FieldMetaData("taskIdentity", org.apache.thrift.TFieldRequirementType.REQUIRED, 
         new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TaskIdentifier.class)));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
@@ -148,7 +148,7 @@ public class TaskStatusChangeRequestEvent implements org.apache.thrift.TBase<Tas
   }
 
   public TaskStatusChangeRequestEvent(
-    org.apache.airavata.model.workspace.experiment.TaskState state,
+    org.apache.airavata.model.status.TaskState state,
     TaskIdentifier taskIdentity)
   {
     this();
@@ -180,17 +180,17 @@ public class TaskStatusChangeRequestEvent implements org.apache.thrift.TBase<Tas
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.TaskState
+   * @see org.apache.airavata.model.status.TaskState
    */
-  public org.apache.airavata.model.workspace.experiment.TaskState getState() {
+  public org.apache.airavata.model.status.TaskState getState() {
     return this.state;
   }
 
   /**
    * 
-   * @see org.apache.airavata.model.workspace.experiment.TaskState
+   * @see org.apache.airavata.model.status.TaskState
    */
-  public void setState(org.apache.airavata.model.workspace.experiment.TaskState state) {
+  public void setState(org.apache.airavata.model.status.TaskState state) {
     this.state = state;
   }
 
@@ -238,7 +238,7 @@ public class TaskStatusChangeRequestEvent implements org.apache.thrift.TBase<Tas
       if (value == null) {
         unsetState();
       } else {
-        setState((org.apache.airavata.model.workspace.experiment.TaskState)value);
+        setState((org.apache.airavata.model.status.TaskState)value);
       }
       break;
 
@@ -450,7 +450,7 @@ public class TaskStatusChangeRequestEvent implements org.apache.thrift.TBase<Tas
         switch (schemeField.id) {
           case 1: // STATE
             if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.state = org.apache.airavata.model.workspace.experiment.TaskState.findByValue(iprot.readI32());
+              struct.state = org.apache.airavata.model.status.TaskState.findByValue(iprot.readI32());
               struct.setStateIsSet(true);
             } else { 
               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -512,7 +512,7 @@ public class TaskStatusChangeRequestEvent implements org.apache.thrift.TBase<Tas
     @Override
     public void read(org.apache.thrift.protocol.TProtocol prot, TaskStatusChangeRequestEvent struct) throws org.apache.thrift.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.state = org.apache.airavata.model.workspace.experiment.TaskState.findByValue(iprot.readI32());
+      struct.state = org.apache.airavata.model.status.TaskState.findByValue(iprot.readI32());
       struct.setStateIsSet(true);
       struct.taskIdentity = new TaskIdentifier();
       struct.taskIdentity.read(iprot);

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskSubmitEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskSubmitEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskSubmitEvent.java
index 56e42bd..daee823 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskSubmitEvent.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskSubmitEvent.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 TaskSubmitEvent implements org.apache.thrift.TBase<TaskSubmitEvent, TaskSubmitEvent._Fields>, java.io.Serializable, Cloneable, Comparable<TaskSubmitEvent> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskSubmitEvent");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskTerminateEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskTerminateEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskTerminateEvent.java
index 8a26d08..d400c16 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskTerminateEvent.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/TaskTerminateEvent.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 TaskTerminateEvent implements org.apache.thrift.TBase<TaskTerminateEvent, TaskTerminateEvent._Fields>, java.io.Serializable, Cloneable, Comparable<TaskTerminateEvent> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskTerminateEvent");
 


[09/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/Experiment.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/Experiment.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/Experiment.java
deleted file mode 100644
index 9aa03ef..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/Experiment.java
+++ /dev/null
@@ -1,2856 +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.workspace.experiment;
-
-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"})
-/**
- * A structure holding the experiment metadata and its child models.
- * 
- * userName:
- *   The user name of the targeted gateway end user on whose behalf the experiment is being created.
- *     the associated gateway identity can only be inferred from the security hand-shake so as to avoid
- *     authorized Airavata Clients mimicking an unauthorized request. If a gateway is not registered with
- *     Airavata, an authorization exception is thrown.
- * 
- * experimentName:
- *   The name of the experiment as defined by the user. The name need not be unique as uniqueness is enforced
- *      by the generated experiment id.
- * 
- * experimentDescription:
- *    The verbose description of the experiment. This is an optional parameter.
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class Experiment implements org.apache.thrift.TBase<Experiment, Experiment._Fields>, java.io.Serializable, Cloneable, Comparable<Experiment> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Experiment");
-
-  private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentID", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField PROJECT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("projectID", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)3);
-  private static final org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("userName", org.apache.thrift.protocol.TType.STRING, (short)4);
-  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)5);
-  private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)6);
-  private static final org.apache.thrift.protocol.TField APPLICATION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationId", org.apache.thrift.protocol.TType.STRING, (short)7);
-  private static final org.apache.thrift.protocol.TField APPLICATION_VERSION_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationVersion", org.apache.thrift.protocol.TType.STRING, (short)8);
-  private static final org.apache.thrift.protocol.TField WORKFLOW_TEMPLATE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("workflowTemplateId", org.apache.thrift.protocol.TType.STRING, (short)9);
-  private static final org.apache.thrift.protocol.TField WORKFLOW_TEMPLATE_VERSION_FIELD_DESC = new org.apache.thrift.protocol.TField("workflowTemplateVersion", org.apache.thrift.protocol.TType.STRING, (short)10);
-  private static final org.apache.thrift.protocol.TField GATEWAY_EXECUTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayExecutionId", org.apache.thrift.protocol.TType.STRING, (short)11);
-  private static final org.apache.thrift.protocol.TField ENABLE_EMAIL_NOTIFICATION_FIELD_DESC = new org.apache.thrift.protocol.TField("enableEmailNotification", org.apache.thrift.protocol.TType.BOOL, (short)12);
-  private static final org.apache.thrift.protocol.TField EMAIL_ADDRESSES_FIELD_DESC = new org.apache.thrift.protocol.TField("emailAddresses", org.apache.thrift.protocol.TType.LIST, (short)13);
-  private static final org.apache.thrift.protocol.TField USER_CONFIGURATION_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("userConfigurationData", org.apache.thrift.protocol.TType.STRUCT, (short)14);
-  private static final org.apache.thrift.protocol.TField WORKFLOW_EXECUTION_INSTANCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("workflowExecutionInstanceId", org.apache.thrift.protocol.TType.STRING, (short)15);
-  private static final org.apache.thrift.protocol.TField EXPERIMENT_INPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentInputs", org.apache.thrift.protocol.TType.LIST, (short)16);
-  private static final org.apache.thrift.protocol.TField EXPERIMENT_OUTPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentOutputs", org.apache.thrift.protocol.TType.LIST, (short)17);
-  private static final org.apache.thrift.protocol.TField EXPERIMENT_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentStatus", org.apache.thrift.protocol.TType.STRUCT, (short)18);
-  private static final org.apache.thrift.protocol.TField STATE_CHANGE_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("stateChangeList", org.apache.thrift.protocol.TType.LIST, (short)19);
-  private static final org.apache.thrift.protocol.TField WORKFLOW_NODE_DETAILS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("workflowNodeDetailsList", org.apache.thrift.protocol.TType.LIST, (short)20);
-  private static final org.apache.thrift.protocol.TField ERRORS_FIELD_DESC = new org.apache.thrift.protocol.TField("errors", org.apache.thrift.protocol.TType.LIST, (short)21);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ExperimentStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ExperimentTupleSchemeFactory());
-  }
-
-  private String experimentID; // required
-  private String projectID; // required
-  private long creationTime; // optional
-  private String userName; // required
-  private String name; // required
-  private String description; // optional
-  private String applicationId; // optional
-  private String applicationVersion; // optional
-  private String workflowTemplateId; // optional
-  private String workflowTemplateVersion; // optional
-  private String gatewayExecutionId; // optional
-  private boolean enableEmailNotification; // optional
-  private List<String> emailAddresses; // optional
-  private UserConfigurationData userConfigurationData; // optional
-  private String workflowExecutionInstanceId; // optional
-  private List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> experimentInputs; // optional
-  private List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> experimentOutputs; // optional
-  private ExperimentStatus experimentStatus; // optional
-  private List<WorkflowNodeStatus> stateChangeList; // optional
-  private List<WorkflowNodeDetails> workflowNodeDetailsList; // optional
-  private List<ErrorDetails> errors; // 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 {
-    EXPERIMENT_ID((short)1, "experimentID"),
-    PROJECT_ID((short)2, "projectID"),
-    CREATION_TIME((short)3, "creationTime"),
-    USER_NAME((short)4, "userName"),
-    NAME((short)5, "name"),
-    DESCRIPTION((short)6, "description"),
-    APPLICATION_ID((short)7, "applicationId"),
-    APPLICATION_VERSION((short)8, "applicationVersion"),
-    WORKFLOW_TEMPLATE_ID((short)9, "workflowTemplateId"),
-    WORKFLOW_TEMPLATE_VERSION((short)10, "workflowTemplateVersion"),
-    GATEWAY_EXECUTION_ID((short)11, "gatewayExecutionId"),
-    ENABLE_EMAIL_NOTIFICATION((short)12, "enableEmailNotification"),
-    EMAIL_ADDRESSES((short)13, "emailAddresses"),
-    USER_CONFIGURATION_DATA((short)14, "userConfigurationData"),
-    WORKFLOW_EXECUTION_INSTANCE_ID((short)15, "workflowExecutionInstanceId"),
-    EXPERIMENT_INPUTS((short)16, "experimentInputs"),
-    EXPERIMENT_OUTPUTS((short)17, "experimentOutputs"),
-    EXPERIMENT_STATUS((short)18, "experimentStatus"),
-    STATE_CHANGE_LIST((short)19, "stateChangeList"),
-    WORKFLOW_NODE_DETAILS_LIST((short)20, "workflowNodeDetailsList"),
-    ERRORS((short)21, "errors");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // EXPERIMENT_ID
-          return EXPERIMENT_ID;
-        case 2: // PROJECT_ID
-          return PROJECT_ID;
-        case 3: // CREATION_TIME
-          return CREATION_TIME;
-        case 4: // USER_NAME
-          return USER_NAME;
-        case 5: // NAME
-          return NAME;
-        case 6: // DESCRIPTION
-          return DESCRIPTION;
-        case 7: // APPLICATION_ID
-          return APPLICATION_ID;
-        case 8: // APPLICATION_VERSION
-          return APPLICATION_VERSION;
-        case 9: // WORKFLOW_TEMPLATE_ID
-          return WORKFLOW_TEMPLATE_ID;
-        case 10: // WORKFLOW_TEMPLATE_VERSION
-          return WORKFLOW_TEMPLATE_VERSION;
-        case 11: // GATEWAY_EXECUTION_ID
-          return GATEWAY_EXECUTION_ID;
-        case 12: // ENABLE_EMAIL_NOTIFICATION
-          return ENABLE_EMAIL_NOTIFICATION;
-        case 13: // EMAIL_ADDRESSES
-          return EMAIL_ADDRESSES;
-        case 14: // USER_CONFIGURATION_DATA
-          return USER_CONFIGURATION_DATA;
-        case 15: // WORKFLOW_EXECUTION_INSTANCE_ID
-          return WORKFLOW_EXECUTION_INSTANCE_ID;
-        case 16: // EXPERIMENT_INPUTS
-          return EXPERIMENT_INPUTS;
-        case 17: // EXPERIMENT_OUTPUTS
-          return EXPERIMENT_OUTPUTS;
-        case 18: // EXPERIMENT_STATUS
-          return EXPERIMENT_STATUS;
-        case 19: // STATE_CHANGE_LIST
-          return STATE_CHANGE_LIST;
-        case 20: // WORKFLOW_NODE_DETAILS_LIST
-          return WORKFLOW_NODE_DETAILS_LIST;
-        case 21: // ERRORS
-          return ERRORS;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __CREATIONTIME_ISSET_ID = 0;
-  private static final int __ENABLEEMAILNOTIFICATION_ISSET_ID = 1;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.DESCRIPTION,_Fields.APPLICATION_ID,_Fields.APPLICATION_VERSION,_Fields.WORKFLOW_TEMPLATE_ID,_Fields.WORKFLOW_TEMPLATE_VERSION,_Fields.GATEWAY_EXECUTION_ID,_Fields.ENABLE_EMAIL_NOTIFICATION,_Fields.EMAIL_ADDRESSES,_Fields.USER_CONFIGURATION_DATA,_Fields.WORKFLOW_EXECUTION_INSTANCE_ID,_Fields.EXPERIMENT_INPUTS,_Fields.EXPERIMENT_OUTPUTS,_Fields.EXPERIMENT_STATUS,_Fields.STATE_CHANGE_LIST,_Fields.WORKFLOW_NODE_DETAILS_LIST,_Fields.ERRORS};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentID", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.PROJECT_ID, new org.apache.thrift.meta_data.FieldMetaData("projectID", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("userName", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.APPLICATION_ID, new org.apache.thrift.meta_data.FieldMetaData("applicationId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.APPLICATION_VERSION, new org.apache.thrift.meta_data.FieldMetaData("applicationVersion", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.WORKFLOW_TEMPLATE_ID, new org.apache.thrift.meta_data.FieldMetaData("workflowTemplateId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.WORKFLOW_TEMPLATE_VERSION, new org.apache.thrift.meta_data.FieldMetaData("workflowTemplateVersion", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.GATEWAY_EXECUTION_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayExecutionId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.ENABLE_EMAIL_NOTIFICATION, new org.apache.thrift.meta_data.FieldMetaData("enableEmailNotification", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.EMAIL_ADDRESSES, new org.apache.thrift.meta_data.FieldMetaData("emailAddresses", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-    tmpMap.put(_Fields.USER_CONFIGURATION_DATA, new org.apache.thrift.meta_data.FieldMetaData("userConfigurationData", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserConfigurationData.class)));
-    tmpMap.put(_Fields.WORKFLOW_EXECUTION_INSTANCE_ID, new org.apache.thrift.meta_data.FieldMetaData("workflowExecutionInstanceId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.EXPERIMENT_INPUTS, new org.apache.thrift.meta_data.FieldMetaData("experimentInputs", 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))));
-    tmpMap.put(_Fields.EXPERIMENT_OUTPUTS, new org.apache.thrift.meta_data.FieldMetaData("experimentOutputs", 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))));
-    tmpMap.put(_Fields.EXPERIMENT_STATUS, new org.apache.thrift.meta_data.FieldMetaData("experimentStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ExperimentStatus.class)));
-    tmpMap.put(_Fields.STATE_CHANGE_LIST, new org.apache.thrift.meta_data.FieldMetaData("stateChangeList", 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, WorkflowNodeStatus.class))));
-    tmpMap.put(_Fields.WORKFLOW_NODE_DETAILS_LIST, new org.apache.thrift.meta_data.FieldMetaData("workflowNodeDetailsList", 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, WorkflowNodeDetails.class))));
-    tmpMap.put(_Fields.ERRORS, new org.apache.thrift.meta_data.FieldMetaData("errors", 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, ErrorDetails.class))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Experiment.class, metaDataMap);
-  }
-
-  public Experiment() {
-    this.experimentID = "DO_NOT_SET_AT_CLIENTS";
-
-    this.projectID = "DEFAULT";
-
-  }
-
-  public Experiment(
-    String experimentID,
-    String projectID,
-    String userName,
-    String name)
-  {
-    this();
-    this.experimentID = experimentID;
-    this.projectID = projectID;
-    this.userName = userName;
-    this.name = name;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public Experiment(Experiment other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetExperimentID()) {
-      this.experimentID = other.experimentID;
-    }
-    if (other.isSetProjectID()) {
-      this.projectID = other.projectID;
-    }
-    this.creationTime = other.creationTime;
-    if (other.isSetUserName()) {
-      this.userName = other.userName;
-    }
-    if (other.isSetName()) {
-      this.name = other.name;
-    }
-    if (other.isSetDescription()) {
-      this.description = other.description;
-    }
-    if (other.isSetApplicationId()) {
-      this.applicationId = other.applicationId;
-    }
-    if (other.isSetApplicationVersion()) {
-      this.applicationVersion = other.applicationVersion;
-    }
-    if (other.isSetWorkflowTemplateId()) {
-      this.workflowTemplateId = other.workflowTemplateId;
-    }
-    if (other.isSetWorkflowTemplateVersion()) {
-      this.workflowTemplateVersion = other.workflowTemplateVersion;
-    }
-    if (other.isSetGatewayExecutionId()) {
-      this.gatewayExecutionId = other.gatewayExecutionId;
-    }
-    this.enableEmailNotification = other.enableEmailNotification;
-    if (other.isSetEmailAddresses()) {
-      List<String> __this__emailAddresses = new ArrayList<String>(other.emailAddresses);
-      this.emailAddresses = __this__emailAddresses;
-    }
-    if (other.isSetUserConfigurationData()) {
-      this.userConfigurationData = new UserConfigurationData(other.userConfigurationData);
-    }
-    if (other.isSetWorkflowExecutionInstanceId()) {
-      this.workflowExecutionInstanceId = other.workflowExecutionInstanceId;
-    }
-    if (other.isSetExperimentInputs()) {
-      List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> __this__experimentInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(other.experimentInputs.size());
-      for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType other_element : other.experimentInputs) {
-        __this__experimentInputs.add(new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType(other_element));
-      }
-      this.experimentInputs = __this__experimentInputs;
-    }
-    if (other.isSetExperimentOutputs()) {
-      List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> __this__experimentOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(other.experimentOutputs.size());
-      for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType other_element : other.experimentOutputs) {
-        __this__experimentOutputs.add(new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType(other_element));
-      }
-      this.experimentOutputs = __this__experimentOutputs;
-    }
-    if (other.isSetExperimentStatus()) {
-      this.experimentStatus = new ExperimentStatus(other.experimentStatus);
-    }
-    if (other.isSetStateChangeList()) {
-      List<WorkflowNodeStatus> __this__stateChangeList = new ArrayList<WorkflowNodeStatus>(other.stateChangeList.size());
-      for (WorkflowNodeStatus other_element : other.stateChangeList) {
-        __this__stateChangeList.add(new WorkflowNodeStatus(other_element));
-      }
-      this.stateChangeList = __this__stateChangeList;
-    }
-    if (other.isSetWorkflowNodeDetailsList()) {
-      List<WorkflowNodeDetails> __this__workflowNodeDetailsList = new ArrayList<WorkflowNodeDetails>(other.workflowNodeDetailsList.size());
-      for (WorkflowNodeDetails other_element : other.workflowNodeDetailsList) {
-        __this__workflowNodeDetailsList.add(new WorkflowNodeDetails(other_element));
-      }
-      this.workflowNodeDetailsList = __this__workflowNodeDetailsList;
-    }
-    if (other.isSetErrors()) {
-      List<ErrorDetails> __this__errors = new ArrayList<ErrorDetails>(other.errors.size());
-      for (ErrorDetails other_element : other.errors) {
-        __this__errors.add(new ErrorDetails(other_element));
-      }
-      this.errors = __this__errors;
-    }
-  }
-
-  public Experiment deepCopy() {
-    return new Experiment(this);
-  }
-
-  @Override
-  public void clear() {
-    this.experimentID = "DO_NOT_SET_AT_CLIENTS";
-
-    this.projectID = "DEFAULT";
-
-    setCreationTimeIsSet(false);
-    this.creationTime = 0;
-    this.userName = null;
-    this.name = null;
-    this.description = null;
-    this.applicationId = null;
-    this.applicationVersion = null;
-    this.workflowTemplateId = null;
-    this.workflowTemplateVersion = null;
-    this.gatewayExecutionId = null;
-    setEnableEmailNotificationIsSet(false);
-    this.enableEmailNotification = false;
-    this.emailAddresses = null;
-    this.userConfigurationData = null;
-    this.workflowExecutionInstanceId = null;
-    this.experimentInputs = null;
-    this.experimentOutputs = null;
-    this.experimentStatus = null;
-    this.stateChangeList = null;
-    this.workflowNodeDetailsList = null;
-    this.errors = null;
-  }
-
-  public String getExperimentID() {
-    return this.experimentID;
-  }
-
-  public void setExperimentID(String experimentID) {
-    this.experimentID = experimentID;
-  }
-
-  public void unsetExperimentID() {
-    this.experimentID = null;
-  }
-
-  /** Returns true if field experimentID is set (has been assigned a value) and false otherwise */
-  public boolean isSetExperimentID() {
-    return this.experimentID != null;
-  }
-
-  public void setExperimentIDIsSet(boolean value) {
-    if (!value) {
-      this.experimentID = null;
-    }
-  }
-
-  public String getProjectID() {
-    return this.projectID;
-  }
-
-  public void setProjectID(String projectID) {
-    this.projectID = projectID;
-  }
-
-  public void unsetProjectID() {
-    this.projectID = null;
-  }
-
-  /** Returns true if field projectID is set (has been assigned a value) and false otherwise */
-  public boolean isSetProjectID() {
-    return this.projectID != null;
-  }
-
-  public void setProjectIDIsSet(boolean value) {
-    if (!value) {
-      this.projectID = null;
-    }
-  }
-
-  public long getCreationTime() {
-    return this.creationTime;
-  }
-
-  public void setCreationTime(long creationTime) {
-    this.creationTime = creationTime;
-    setCreationTimeIsSet(true);
-  }
-
-  public void unsetCreationTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetCreationTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  public void setCreationTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
-  }
-
-  public String getUserName() {
-    return this.userName;
-  }
-
-  public void setUserName(String userName) {
-    this.userName = userName;
-  }
-
-  public void unsetUserName() {
-    this.userName = null;
-  }
-
-  /** Returns true if field userName is set (has been assigned a value) and false otherwise */
-  public boolean isSetUserName() {
-    return this.userName != null;
-  }
-
-  public void setUserNameIsSet(boolean value) {
-    if (!value) {
-      this.userName = null;
-    }
-  }
-
-  public String getName() {
-    return this.name;
-  }
-
-  public void setName(String name) {
-    this.name = name;
-  }
-
-  public void unsetName() {
-    this.name = null;
-  }
-
-  /** Returns true if field name is set (has been assigned a value) and false otherwise */
-  public boolean isSetName() {
-    return this.name != null;
-  }
-
-  public void setNameIsSet(boolean value) {
-    if (!value) {
-      this.name = null;
-    }
-  }
-
-  public String getDescription() {
-    return this.description;
-  }
-
-  public void setDescription(String description) {
-    this.description = description;
-  }
-
-  public void unsetDescription() {
-    this.description = null;
-  }
-
-  /** Returns true if field description is set (has been assigned a value) and false otherwise */
-  public boolean isSetDescription() {
-    return this.description != null;
-  }
-
-  public void setDescriptionIsSet(boolean value) {
-    if (!value) {
-      this.description = null;
-    }
-  }
-
-  public String getApplicationId() {
-    return this.applicationId;
-  }
-
-  public void setApplicationId(String applicationId) {
-    this.applicationId = applicationId;
-  }
-
-  public void unsetApplicationId() {
-    this.applicationId = null;
-  }
-
-  /** Returns true if field applicationId is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationId() {
-    return this.applicationId != null;
-  }
-
-  public void setApplicationIdIsSet(boolean value) {
-    if (!value) {
-      this.applicationId = null;
-    }
-  }
-
-  public String getApplicationVersion() {
-    return this.applicationVersion;
-  }
-
-  public void setApplicationVersion(String applicationVersion) {
-    this.applicationVersion = applicationVersion;
-  }
-
-  public void unsetApplicationVersion() {
-    this.applicationVersion = null;
-  }
-
-  /** Returns true if field applicationVersion is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationVersion() {
-    return this.applicationVersion != null;
-  }
-
-  public void setApplicationVersionIsSet(boolean value) {
-    if (!value) {
-      this.applicationVersion = null;
-    }
-  }
-
-  public String getWorkflowTemplateId() {
-    return this.workflowTemplateId;
-  }
-
-  public void setWorkflowTemplateId(String workflowTemplateId) {
-    this.workflowTemplateId = workflowTemplateId;
-  }
-
-  public void unsetWorkflowTemplateId() {
-    this.workflowTemplateId = null;
-  }
-
-  /** Returns true if field workflowTemplateId is set (has been assigned a value) and false otherwise */
-  public boolean isSetWorkflowTemplateId() {
-    return this.workflowTemplateId != null;
-  }
-
-  public void setWorkflowTemplateIdIsSet(boolean value) {
-    if (!value) {
-      this.workflowTemplateId = null;
-    }
-  }
-
-  public String getWorkflowTemplateVersion() {
-    return this.workflowTemplateVersion;
-  }
-
-  public void setWorkflowTemplateVersion(String workflowTemplateVersion) {
-    this.workflowTemplateVersion = workflowTemplateVersion;
-  }
-
-  public void unsetWorkflowTemplateVersion() {
-    this.workflowTemplateVersion = null;
-  }
-
-  /** Returns true if field workflowTemplateVersion is set (has been assigned a value) and false otherwise */
-  public boolean isSetWorkflowTemplateVersion() {
-    return this.workflowTemplateVersion != null;
-  }
-
-  public void setWorkflowTemplateVersionIsSet(boolean value) {
-    if (!value) {
-      this.workflowTemplateVersion = null;
-    }
-  }
-
-  public String getGatewayExecutionId() {
-    return this.gatewayExecutionId;
-  }
-
-  public void setGatewayExecutionId(String gatewayExecutionId) {
-    this.gatewayExecutionId = gatewayExecutionId;
-  }
-
-  public void unsetGatewayExecutionId() {
-    this.gatewayExecutionId = null;
-  }
-
-  /** Returns true if field gatewayExecutionId is set (has been assigned a value) and false otherwise */
-  public boolean isSetGatewayExecutionId() {
-    return this.gatewayExecutionId != null;
-  }
-
-  public void setGatewayExecutionIdIsSet(boolean value) {
-    if (!value) {
-      this.gatewayExecutionId = null;
-    }
-  }
-
-  public boolean isEnableEmailNotification() {
-    return this.enableEmailNotification;
-  }
-
-  public void setEnableEmailNotification(boolean enableEmailNotification) {
-    this.enableEmailNotification = enableEmailNotification;
-    setEnableEmailNotificationIsSet(true);
-  }
-
-  public void unsetEnableEmailNotification() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ENABLEEMAILNOTIFICATION_ISSET_ID);
-  }
-
-  /** Returns true if field enableEmailNotification is set (has been assigned a value) and false otherwise */
-  public boolean isSetEnableEmailNotification() {
-    return EncodingUtils.testBit(__isset_bitfield, __ENABLEEMAILNOTIFICATION_ISSET_ID);
-  }
-
-  public void setEnableEmailNotificationIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ENABLEEMAILNOTIFICATION_ISSET_ID, value);
-  }
-
-  public int getEmailAddressesSize() {
-    return (this.emailAddresses == null) ? 0 : this.emailAddresses.size();
-  }
-
-  public java.util.Iterator<String> getEmailAddressesIterator() {
-    return (this.emailAddresses == null) ? null : this.emailAddresses.iterator();
-  }
-
-  public void addToEmailAddresses(String elem) {
-    if (this.emailAddresses == null) {
-      this.emailAddresses = new ArrayList<String>();
-    }
-    this.emailAddresses.add(elem);
-  }
-
-  public List<String> getEmailAddresses() {
-    return this.emailAddresses;
-  }
-
-  public void setEmailAddresses(List<String> emailAddresses) {
-    this.emailAddresses = emailAddresses;
-  }
-
-  public void unsetEmailAddresses() {
-    this.emailAddresses = null;
-  }
-
-  /** Returns true if field emailAddresses is set (has been assigned a value) and false otherwise */
-  public boolean isSetEmailAddresses() {
-    return this.emailAddresses != null;
-  }
-
-  public void setEmailAddressesIsSet(boolean value) {
-    if (!value) {
-      this.emailAddresses = null;
-    }
-  }
-
-  public UserConfigurationData getUserConfigurationData() {
-    return this.userConfigurationData;
-  }
-
-  public void setUserConfigurationData(UserConfigurationData userConfigurationData) {
-    this.userConfigurationData = userConfigurationData;
-  }
-
-  public void unsetUserConfigurationData() {
-    this.userConfigurationData = null;
-  }
-
-  /** Returns true if field userConfigurationData is set (has been assigned a value) and false otherwise */
-  public boolean isSetUserConfigurationData() {
-    return this.userConfigurationData != null;
-  }
-
-  public void setUserConfigurationDataIsSet(boolean value) {
-    if (!value) {
-      this.userConfigurationData = null;
-    }
-  }
-
-  public String getWorkflowExecutionInstanceId() {
-    return this.workflowExecutionInstanceId;
-  }
-
-  public void setWorkflowExecutionInstanceId(String workflowExecutionInstanceId) {
-    this.workflowExecutionInstanceId = workflowExecutionInstanceId;
-  }
-
-  public void unsetWorkflowExecutionInstanceId() {
-    this.workflowExecutionInstanceId = null;
-  }
-
-  /** Returns true if field workflowExecutionInstanceId is set (has been assigned a value) and false otherwise */
-  public boolean isSetWorkflowExecutionInstanceId() {
-    return this.workflowExecutionInstanceId != null;
-  }
-
-  public void setWorkflowExecutionInstanceIdIsSet(boolean value) {
-    if (!value) {
-      this.workflowExecutionInstanceId = null;
-    }
-  }
-
-  public int getExperimentInputsSize() {
-    return (this.experimentInputs == null) ? 0 : this.experimentInputs.size();
-  }
-
-  public java.util.Iterator<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> getExperimentInputsIterator() {
-    return (this.experimentInputs == null) ? null : this.experimentInputs.iterator();
-  }
-
-  public void addToExperimentInputs(org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType elem) {
-    if (this.experimentInputs == null) {
-      this.experimentInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>();
-    }
-    this.experimentInputs.add(elem);
-  }
-
-  public List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> getExperimentInputs() {
-    return this.experimentInputs;
-  }
-
-  public void setExperimentInputs(List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> experimentInputs) {
-    this.experimentInputs = experimentInputs;
-  }
-
-  public void unsetExperimentInputs() {
-    this.experimentInputs = null;
-  }
-
-  /** Returns true if field experimentInputs is set (has been assigned a value) and false otherwise */
-  public boolean isSetExperimentInputs() {
-    return this.experimentInputs != null;
-  }
-
-  public void setExperimentInputsIsSet(boolean value) {
-    if (!value) {
-      this.experimentInputs = null;
-    }
-  }
-
-  public int getExperimentOutputsSize() {
-    return (this.experimentOutputs == null) ? 0 : this.experimentOutputs.size();
-  }
-
-  public java.util.Iterator<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getExperimentOutputsIterator() {
-    return (this.experimentOutputs == null) ? null : this.experimentOutputs.iterator();
-  }
-
-  public void addToExperimentOutputs(org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType elem) {
-    if (this.experimentOutputs == null) {
-      this.experimentOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>();
-    }
-    this.experimentOutputs.add(elem);
-  }
-
-  public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getExperimentOutputs() {
-    return this.experimentOutputs;
-  }
-
-  public void setExperimentOutputs(List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> experimentOutputs) {
-    this.experimentOutputs = experimentOutputs;
-  }
-
-  public void unsetExperimentOutputs() {
-    this.experimentOutputs = null;
-  }
-
-  /** Returns true if field experimentOutputs is set (has been assigned a value) and false otherwise */
-  public boolean isSetExperimentOutputs() {
-    return this.experimentOutputs != null;
-  }
-
-  public void setExperimentOutputsIsSet(boolean value) {
-    if (!value) {
-      this.experimentOutputs = null;
-    }
-  }
-
-  public ExperimentStatus getExperimentStatus() {
-    return this.experimentStatus;
-  }
-
-  public void setExperimentStatus(ExperimentStatus experimentStatus) {
-    this.experimentStatus = experimentStatus;
-  }
-
-  public void unsetExperimentStatus() {
-    this.experimentStatus = null;
-  }
-
-  /** Returns true if field experimentStatus is set (has been assigned a value) and false otherwise */
-  public boolean isSetExperimentStatus() {
-    return this.experimentStatus != null;
-  }
-
-  public void setExperimentStatusIsSet(boolean value) {
-    if (!value) {
-      this.experimentStatus = null;
-    }
-  }
-
-  public int getStateChangeListSize() {
-    return (this.stateChangeList == null) ? 0 : this.stateChangeList.size();
-  }
-
-  public java.util.Iterator<WorkflowNodeStatus> getStateChangeListIterator() {
-    return (this.stateChangeList == null) ? null : this.stateChangeList.iterator();
-  }
-
-  public void addToStateChangeList(WorkflowNodeStatus elem) {
-    if (this.stateChangeList == null) {
-      this.stateChangeList = new ArrayList<WorkflowNodeStatus>();
-    }
-    this.stateChangeList.add(elem);
-  }
-
-  public List<WorkflowNodeStatus> getStateChangeList() {
-    return this.stateChangeList;
-  }
-
-  public void setStateChangeList(List<WorkflowNodeStatus> stateChangeList) {
-    this.stateChangeList = stateChangeList;
-  }
-
-  public void unsetStateChangeList() {
-    this.stateChangeList = null;
-  }
-
-  /** Returns true if field stateChangeList is set (has been assigned a value) and false otherwise */
-  public boolean isSetStateChangeList() {
-    return this.stateChangeList != null;
-  }
-
-  public void setStateChangeListIsSet(boolean value) {
-    if (!value) {
-      this.stateChangeList = null;
-    }
-  }
-
-  public int getWorkflowNodeDetailsListSize() {
-    return (this.workflowNodeDetailsList == null) ? 0 : this.workflowNodeDetailsList.size();
-  }
-
-  public java.util.Iterator<WorkflowNodeDetails> getWorkflowNodeDetailsListIterator() {
-    return (this.workflowNodeDetailsList == null) ? null : this.workflowNodeDetailsList.iterator();
-  }
-
-  public void addToWorkflowNodeDetailsList(WorkflowNodeDetails elem) {
-    if (this.workflowNodeDetailsList == null) {
-      this.workflowNodeDetailsList = new ArrayList<WorkflowNodeDetails>();
-    }
-    this.workflowNodeDetailsList.add(elem);
-  }
-
-  public List<WorkflowNodeDetails> getWorkflowNodeDetailsList() {
-    return this.workflowNodeDetailsList;
-  }
-
-  public void setWorkflowNodeDetailsList(List<WorkflowNodeDetails> workflowNodeDetailsList) {
-    this.workflowNodeDetailsList = workflowNodeDetailsList;
-  }
-
-  public void unsetWorkflowNodeDetailsList() {
-    this.workflowNodeDetailsList = null;
-  }
-
-  /** Returns true if field workflowNodeDetailsList is set (has been assigned a value) and false otherwise */
-  public boolean isSetWorkflowNodeDetailsList() {
-    return this.workflowNodeDetailsList != null;
-  }
-
-  public void setWorkflowNodeDetailsListIsSet(boolean value) {
-    if (!value) {
-      this.workflowNodeDetailsList = null;
-    }
-  }
-
-  public int getErrorsSize() {
-    return (this.errors == null) ? 0 : this.errors.size();
-  }
-
-  public java.util.Iterator<ErrorDetails> getErrorsIterator() {
-    return (this.errors == null) ? null : this.errors.iterator();
-  }
-
-  public void addToErrors(ErrorDetails elem) {
-    if (this.errors == null) {
-      this.errors = new ArrayList<ErrorDetails>();
-    }
-    this.errors.add(elem);
-  }
-
-  public List<ErrorDetails> getErrors() {
-    return this.errors;
-  }
-
-  public void setErrors(List<ErrorDetails> errors) {
-    this.errors = errors;
-  }
-
-  public void unsetErrors() {
-    this.errors = null;
-  }
-
-  /** Returns true if field errors is set (has been assigned a value) and false otherwise */
-  public boolean isSetErrors() {
-    return this.errors != null;
-  }
-
-  public void setErrorsIsSet(boolean value) {
-    if (!value) {
-      this.errors = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case EXPERIMENT_ID:
-      if (value == null) {
-        unsetExperimentID();
-      } else {
-        setExperimentID((String)value);
-      }
-      break;
-
-    case PROJECT_ID:
-      if (value == null) {
-        unsetProjectID();
-      } else {
-        setProjectID((String)value);
-      }
-      break;
-
-    case CREATION_TIME:
-      if (value == null) {
-        unsetCreationTime();
-      } else {
-        setCreationTime((Long)value);
-      }
-      break;
-
-    case USER_NAME:
-      if (value == null) {
-        unsetUserName();
-      } else {
-        setUserName((String)value);
-      }
-      break;
-
-    case NAME:
-      if (value == null) {
-        unsetName();
-      } else {
-        setName((String)value);
-      }
-      break;
-
-    case DESCRIPTION:
-      if (value == null) {
-        unsetDescription();
-      } else {
-        setDescription((String)value);
-      }
-      break;
-
-    case APPLICATION_ID:
-      if (value == null) {
-        unsetApplicationId();
-      } else {
-        setApplicationId((String)value);
-      }
-      break;
-
-    case APPLICATION_VERSION:
-      if (value == null) {
-        unsetApplicationVersion();
-      } else {
-        setApplicationVersion((String)value);
-      }
-      break;
-
-    case WORKFLOW_TEMPLATE_ID:
-      if (value == null) {
-        unsetWorkflowTemplateId();
-      } else {
-        setWorkflowTemplateId((String)value);
-      }
-      break;
-
-    case WORKFLOW_TEMPLATE_VERSION:
-      if (value == null) {
-        unsetWorkflowTemplateVersion();
-      } else {
-        setWorkflowTemplateVersion((String)value);
-      }
-      break;
-
-    case GATEWAY_EXECUTION_ID:
-      if (value == null) {
-        unsetGatewayExecutionId();
-      } else {
-        setGatewayExecutionId((String)value);
-      }
-      break;
-
-    case ENABLE_EMAIL_NOTIFICATION:
-      if (value == null) {
-        unsetEnableEmailNotification();
-      } else {
-        setEnableEmailNotification((Boolean)value);
-      }
-      break;
-
-    case EMAIL_ADDRESSES:
-      if (value == null) {
-        unsetEmailAddresses();
-      } else {
-        setEmailAddresses((List<String>)value);
-      }
-      break;
-
-    case USER_CONFIGURATION_DATA:
-      if (value == null) {
-        unsetUserConfigurationData();
-      } else {
-        setUserConfigurationData((UserConfigurationData)value);
-      }
-      break;
-
-    case WORKFLOW_EXECUTION_INSTANCE_ID:
-      if (value == null) {
-        unsetWorkflowExecutionInstanceId();
-      } else {
-        setWorkflowExecutionInstanceId((String)value);
-      }
-      break;
-
-    case EXPERIMENT_INPUTS:
-      if (value == null) {
-        unsetExperimentInputs();
-      } else {
-        setExperimentInputs((List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>)value);
-      }
-      break;
-
-    case EXPERIMENT_OUTPUTS:
-      if (value == null) {
-        unsetExperimentOutputs();
-      } else {
-        setExperimentOutputs((List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>)value);
-      }
-      break;
-
-    case EXPERIMENT_STATUS:
-      if (value == null) {
-        unsetExperimentStatus();
-      } else {
-        setExperimentStatus((ExperimentStatus)value);
-      }
-      break;
-
-    case STATE_CHANGE_LIST:
-      if (value == null) {
-        unsetStateChangeList();
-      } else {
-        setStateChangeList((List<WorkflowNodeStatus>)value);
-      }
-      break;
-
-    case WORKFLOW_NODE_DETAILS_LIST:
-      if (value == null) {
-        unsetWorkflowNodeDetailsList();
-      } else {
-        setWorkflowNodeDetailsList((List<WorkflowNodeDetails>)value);
-      }
-      break;
-
-    case ERRORS:
-      if (value == null) {
-        unsetErrors();
-      } else {
-        setErrors((List<ErrorDetails>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case EXPERIMENT_ID:
-      return getExperimentID();
-
-    case PROJECT_ID:
-      return getProjectID();
-
-    case CREATION_TIME:
-      return Long.valueOf(getCreationTime());
-
-    case USER_NAME:
-      return getUserName();
-
-    case NAME:
-      return getName();
-
-    case DESCRIPTION:
-      return getDescription();
-
-    case APPLICATION_ID:
-      return getApplicationId();
-
-    case APPLICATION_VERSION:
-      return getApplicationVersion();
-
-    case WORKFLOW_TEMPLATE_ID:
-      return getWorkflowTemplateId();
-
-    case WORKFLOW_TEMPLATE_VERSION:
-      return getWorkflowTemplateVersion();
-
-    case GATEWAY_EXECUTION_ID:
-      return getGatewayExecutionId();
-
-    case ENABLE_EMAIL_NOTIFICATION:
-      return Boolean.valueOf(isEnableEmailNotification());
-
-    case EMAIL_ADDRESSES:
-      return getEmailAddresses();
-
-    case USER_CONFIGURATION_DATA:
-      return getUserConfigurationData();
-
-    case WORKFLOW_EXECUTION_INSTANCE_ID:
-      return getWorkflowExecutionInstanceId();
-
-    case EXPERIMENT_INPUTS:
-      return getExperimentInputs();
-
-    case EXPERIMENT_OUTPUTS:
-      return getExperimentOutputs();
-
-    case EXPERIMENT_STATUS:
-      return getExperimentStatus();
-
-    case STATE_CHANGE_LIST:
-      return getStateChangeList();
-
-    case WORKFLOW_NODE_DETAILS_LIST:
-      return getWorkflowNodeDetailsList();
-
-    case ERRORS:
-      return getErrors();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case EXPERIMENT_ID:
-      return isSetExperimentID();
-    case PROJECT_ID:
-      return isSetProjectID();
-    case CREATION_TIME:
-      return isSetCreationTime();
-    case USER_NAME:
-      return isSetUserName();
-    case NAME:
-      return isSetName();
-    case DESCRIPTION:
-      return isSetDescription();
-    case APPLICATION_ID:
-      return isSetApplicationId();
-    case APPLICATION_VERSION:
-      return isSetApplicationVersion();
-    case WORKFLOW_TEMPLATE_ID:
-      return isSetWorkflowTemplateId();
-    case WORKFLOW_TEMPLATE_VERSION:
-      return isSetWorkflowTemplateVersion();
-    case GATEWAY_EXECUTION_ID:
-      return isSetGatewayExecutionId();
-    case ENABLE_EMAIL_NOTIFICATION:
-      return isSetEnableEmailNotification();
-    case EMAIL_ADDRESSES:
-      return isSetEmailAddresses();
-    case USER_CONFIGURATION_DATA:
-      return isSetUserConfigurationData();
-    case WORKFLOW_EXECUTION_INSTANCE_ID:
-      return isSetWorkflowExecutionInstanceId();
-    case EXPERIMENT_INPUTS:
-      return isSetExperimentInputs();
-    case EXPERIMENT_OUTPUTS:
-      return isSetExperimentOutputs();
-    case EXPERIMENT_STATUS:
-      return isSetExperimentStatus();
-    case STATE_CHANGE_LIST:
-      return isSetStateChangeList();
-    case WORKFLOW_NODE_DETAILS_LIST:
-      return isSetWorkflowNodeDetailsList();
-    case ERRORS:
-      return isSetErrors();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof Experiment)
-      return this.equals((Experiment)that);
-    return false;
-  }
-
-  public boolean equals(Experiment that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_experimentID = true && this.isSetExperimentID();
-    boolean that_present_experimentID = true && that.isSetExperimentID();
-    if (this_present_experimentID || that_present_experimentID) {
-      if (!(this_present_experimentID && that_present_experimentID))
-        return false;
-      if (!this.experimentID.equals(that.experimentID))
-        return false;
-    }
-
-    boolean this_present_projectID = true && this.isSetProjectID();
-    boolean that_present_projectID = true && that.isSetProjectID();
-    if (this_present_projectID || that_present_projectID) {
-      if (!(this_present_projectID && that_present_projectID))
-        return false;
-      if (!this.projectID.equals(that.projectID))
-        return false;
-    }
-
-    boolean this_present_creationTime = true && this.isSetCreationTime();
-    boolean that_present_creationTime = true && that.isSetCreationTime();
-    if (this_present_creationTime || that_present_creationTime) {
-      if (!(this_present_creationTime && that_present_creationTime))
-        return false;
-      if (this.creationTime != that.creationTime)
-        return false;
-    }
-
-    boolean this_present_userName = true && this.isSetUserName();
-    boolean that_present_userName = true && that.isSetUserName();
-    if (this_present_userName || that_present_userName) {
-      if (!(this_present_userName && that_present_userName))
-        return false;
-      if (!this.userName.equals(that.userName))
-        return false;
-    }
-
-    boolean this_present_name = true && this.isSetName();
-    boolean that_present_name = true && that.isSetName();
-    if (this_present_name || that_present_name) {
-      if (!(this_present_name && that_present_name))
-        return false;
-      if (!this.name.equals(that.name))
-        return false;
-    }
-
-    boolean this_present_description = true && this.isSetDescription();
-    boolean that_present_description = true && that.isSetDescription();
-    if (this_present_description || that_present_description) {
-      if (!(this_present_description && that_present_description))
-        return false;
-      if (!this.description.equals(that.description))
-        return false;
-    }
-
-    boolean this_present_applicationId = true && this.isSetApplicationId();
-    boolean that_present_applicationId = true && that.isSetApplicationId();
-    if (this_present_applicationId || that_present_applicationId) {
-      if (!(this_present_applicationId && that_present_applicationId))
-        return false;
-      if (!this.applicationId.equals(that.applicationId))
-        return false;
-    }
-
-    boolean this_present_applicationVersion = true && this.isSetApplicationVersion();
-    boolean that_present_applicationVersion = true && that.isSetApplicationVersion();
-    if (this_present_applicationVersion || that_present_applicationVersion) {
-      if (!(this_present_applicationVersion && that_present_applicationVersion))
-        return false;
-      if (!this.applicationVersion.equals(that.applicationVersion))
-        return false;
-    }
-
-    boolean this_present_workflowTemplateId = true && this.isSetWorkflowTemplateId();
-    boolean that_present_workflowTemplateId = true && that.isSetWorkflowTemplateId();
-    if (this_present_workflowTemplateId || that_present_workflowTemplateId) {
-      if (!(this_present_workflowTemplateId && that_present_workflowTemplateId))
-        return false;
-      if (!this.workflowTemplateId.equals(that.workflowTemplateId))
-        return false;
-    }
-
-    boolean this_present_workflowTemplateVersion = true && this.isSetWorkflowTemplateVersion();
-    boolean that_present_workflowTemplateVersion = true && that.isSetWorkflowTemplateVersion();
-    if (this_present_workflowTemplateVersion || that_present_workflowTemplateVersion) {
-      if (!(this_present_workflowTemplateVersion && that_present_workflowTemplateVersion))
-        return false;
-      if (!this.workflowTemplateVersion.equals(that.workflowTemplateVersion))
-        return false;
-    }
-
-    boolean this_present_gatewayExecutionId = true && this.isSetGatewayExecutionId();
-    boolean that_present_gatewayExecutionId = true && that.isSetGatewayExecutionId();
-    if (this_present_gatewayExecutionId || that_present_gatewayExecutionId) {
-      if (!(this_present_gatewayExecutionId && that_present_gatewayExecutionId))
-        return false;
-      if (!this.gatewayExecutionId.equals(that.gatewayExecutionId))
-        return false;
-    }
-
-    boolean this_present_enableEmailNotification = true && this.isSetEnableEmailNotification();
-    boolean that_present_enableEmailNotification = true && that.isSetEnableEmailNotification();
-    if (this_present_enableEmailNotification || that_present_enableEmailNotification) {
-      if (!(this_present_enableEmailNotification && that_present_enableEmailNotification))
-        return false;
-      if (this.enableEmailNotification != that.enableEmailNotification)
-        return false;
-    }
-
-    boolean this_present_emailAddresses = true && this.isSetEmailAddresses();
-    boolean that_present_emailAddresses = true && that.isSetEmailAddresses();
-    if (this_present_emailAddresses || that_present_emailAddresses) {
-      if (!(this_present_emailAddresses && that_present_emailAddresses))
-        return false;
-      if (!this.emailAddresses.equals(that.emailAddresses))
-        return false;
-    }
-
-    boolean this_present_userConfigurationData = true && this.isSetUserConfigurationData();
-    boolean that_present_userConfigurationData = true && that.isSetUserConfigurationData();
-    if (this_present_userConfigurationData || that_present_userConfigurationData) {
-      if (!(this_present_userConfigurationData && that_present_userConfigurationData))
-        return false;
-      if (!this.userConfigurationData.equals(that.userConfigurationData))
-        return false;
-    }
-
-    boolean this_present_workflowExecutionInstanceId = true && this.isSetWorkflowExecutionInstanceId();
-    boolean that_present_workflowExecutionInstanceId = true && that.isSetWorkflowExecutionInstanceId();
-    if (this_present_workflowExecutionInstanceId || that_present_workflowExecutionInstanceId) {
-      if (!(this_present_workflowExecutionInstanceId && that_present_workflowExecutionInstanceId))
-        return false;
-      if (!this.workflowExecutionInstanceId.equals(that.workflowExecutionInstanceId))
-        return false;
-    }
-
-    boolean this_present_experimentInputs = true && this.isSetExperimentInputs();
-    boolean that_present_experimentInputs = true && that.isSetExperimentInputs();
-    if (this_present_experimentInputs || that_present_experimentInputs) {
-      if (!(this_present_experimentInputs && that_present_experimentInputs))
-        return false;
-      if (!this.experimentInputs.equals(that.experimentInputs))
-        return false;
-    }
-
-    boolean this_present_experimentOutputs = true && this.isSetExperimentOutputs();
-    boolean that_present_experimentOutputs = true && that.isSetExperimentOutputs();
-    if (this_present_experimentOutputs || that_present_experimentOutputs) {
-      if (!(this_present_experimentOutputs && that_present_experimentOutputs))
-        return false;
-      if (!this.experimentOutputs.equals(that.experimentOutputs))
-        return false;
-    }
-
-    boolean this_present_experimentStatus = true && this.isSetExperimentStatus();
-    boolean that_present_experimentStatus = true && that.isSetExperimentStatus();
-    if (this_present_experimentStatus || that_present_experimentStatus) {
-      if (!(this_present_experimentStatus && that_present_experimentStatus))
-        return false;
-      if (!this.experimentStatus.equals(that.experimentStatus))
-        return false;
-    }
-
-    boolean this_present_stateChangeList = true && this.isSetStateChangeList();
-    boolean that_present_stateChangeList = true && that.isSetStateChangeList();
-    if (this_present_stateChangeList || that_present_stateChangeList) {
-      if (!(this_present_stateChangeList && that_present_stateChangeList))
-        return false;
-      if (!this.stateChangeList.equals(that.stateChangeList))
-        return false;
-    }
-
-    boolean this_present_workflowNodeDetailsList = true && this.isSetWorkflowNodeDetailsList();
-    boolean that_present_workflowNodeDetailsList = true && that.isSetWorkflowNodeDetailsList();
-    if (this_present_workflowNodeDetailsList || that_present_workflowNodeDetailsList) {
-      if (!(this_present_workflowNodeDetailsList && that_present_workflowNodeDetailsList))
-        return false;
-      if (!this.workflowNodeDetailsList.equals(that.workflowNodeDetailsList))
-        return false;
-    }
-
-    boolean this_present_errors = true && this.isSetErrors();
-    boolean that_present_errors = true && that.isSetErrors();
-    if (this_present_errors || that_present_errors) {
-      if (!(this_present_errors && that_present_errors))
-        return false;
-      if (!this.errors.equals(that.errors))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_experimentID = true && (isSetExperimentID());
-    list.add(present_experimentID);
-    if (present_experimentID)
-      list.add(experimentID);
-
-    boolean present_projectID = true && (isSetProjectID());
-    list.add(present_projectID);
-    if (present_projectID)
-      list.add(projectID);
-
-    boolean present_creationTime = true && (isSetCreationTime());
-    list.add(present_creationTime);
-    if (present_creationTime)
-      list.add(creationTime);
-
-    boolean present_userName = true && (isSetUserName());
-    list.add(present_userName);
-    if (present_userName)
-      list.add(userName);
-
-    boolean present_name = true && (isSetName());
-    list.add(present_name);
-    if (present_name)
-      list.add(name);
-
-    boolean present_description = true && (isSetDescription());
-    list.add(present_description);
-    if (present_description)
-      list.add(description);
-
-    boolean present_applicationId = true && (isSetApplicationId());
-    list.add(present_applicationId);
-    if (present_applicationId)
-      list.add(applicationId);
-
-    boolean present_applicationVersion = true && (isSetApplicationVersion());
-    list.add(present_applicationVersion);
-    if (present_applicationVersion)
-      list.add(applicationVersion);
-
-    boolean present_workflowTemplateId = true && (isSetWorkflowTemplateId());
-    list.add(present_workflowTemplateId);
-    if (present_workflowTemplateId)
-      list.add(workflowTemplateId);
-
-    boolean present_workflowTemplateVersion = true && (isSetWorkflowTemplateVersion());
-    list.add(present_workflowTemplateVersion);
-    if (present_workflowTemplateVersion)
-      list.add(workflowTemplateVersion);
-
-    boolean present_gatewayExecutionId = true && (isSetGatewayExecutionId());
-    list.add(present_gatewayExecutionId);
-    if (present_gatewayExecutionId)
-      list.add(gatewayExecutionId);
-
-    boolean present_enableEmailNotification = true && (isSetEnableEmailNotification());
-    list.add(present_enableEmailNotification);
-    if (present_enableEmailNotification)
-      list.add(enableEmailNotification);
-
-    boolean present_emailAddresses = true && (isSetEmailAddresses());
-    list.add(present_emailAddresses);
-    if (present_emailAddresses)
-      list.add(emailAddresses);
-
-    boolean present_userConfigurationData = true && (isSetUserConfigurationData());
-    list.add(present_userConfigurationData);
-    if (present_userConfigurationData)
-      list.add(userConfigurationData);
-
-    boolean present_workflowExecutionInstanceId = true && (isSetWorkflowExecutionInstanceId());
-    list.add(present_workflowExecutionInstanceId);
-    if (present_workflowExecutionInstanceId)
-      list.add(workflowExecutionInstanceId);
-
-    boolean present_experimentInputs = true && (isSetExperimentInputs());
-    list.add(present_experimentInputs);
-    if (present_experimentInputs)
-      list.add(experimentInputs);
-
-    boolean present_experimentOutputs = true && (isSetExperimentOutputs());
-    list.add(present_experimentOutputs);
-    if (present_experimentOutputs)
-      list.add(experimentOutputs);
-
-    boolean present_experimentStatus = true && (isSetExperimentStatus());
-    list.add(present_experimentStatus);
-    if (present_experimentStatus)
-      list.add(experimentStatus);
-
-    boolean present_stateChangeList = true && (isSetStateChangeList());
-    list.add(present_stateChangeList);
-    if (present_stateChangeList)
-      list.add(stateChangeList);
-
-    boolean present_workflowNodeDetailsList = true && (isSetWorkflowNodeDetailsList());
-    list.add(present_workflowNodeDetailsList);
-    if (present_workflowNodeDetailsList)
-      list.add(workflowNodeDetailsList);
-
-    boolean present_errors = true && (isSetErrors());
-    list.add(present_errors);
-    if (present_errors)
-      list.add(errors);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(Experiment other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetExperimentID()).compareTo(other.isSetExperimentID());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExperimentID()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentID, other.experimentID);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetProjectID()).compareTo(other.isSetProjectID());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetProjectID()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.projectID, other.projectID);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCreationTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetUserName()).compareTo(other.isSetUserName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetUserName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userName, other.userName);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetDescription()).compareTo(other.isSetDescription());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetDescription()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, other.description);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationId()).compareTo(other.isSetApplicationId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationId, other.applicationId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationVersion()).compareTo(other.isSetApplicationVersion());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationVersion()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationVersion, other.applicationVersion);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetWorkflowTemplateId()).compareTo(other.isSetWorkflowTemplateId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWorkflowTemplateId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workflowTemplateId, other.workflowTemplateId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetWorkflowTemplateVersion()).compareTo(other.isSetWorkflowTemplateVersion());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWorkflowTemplateVersion()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workflowTemplateVersion, other.workflowTemplateVersion);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetGatewayExecutionId()).compareTo(other.isSetGatewayExecutionId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetGatewayExecutionId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gatewayExecutionId, other.gatewayExecutionId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetEnableEmailNotification()).compareTo(other.isSetEnableEmailNotification());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetEnableEmailNotification()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.enableEmailNotification, other.enableEmailNotification);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetEmailAddresses()).compareTo(other.isSetEmailAddresses());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetEmailAddresses()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emailAddresses, other.emailAddresses);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetUserConfigurationData()).compareTo(other.isSetUserConfigurationData());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetUserConfigurationData()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userConfigurationData, other.userConfigurationData);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetWorkflowExecutionInstanceId()).compareTo(other.isSetWorkflowExecutionInstanceId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWorkflowExecutionInstanceId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workflowExecutionInstanceId, other.workflowExecutionInstanceId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExperimentInputs()).compareTo(other.isSetExperimentInputs());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExperimentInputs()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentInputs, other.experimentInputs);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExperimentOutputs()).compareTo(other.isSetExperimentOutputs());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExperimentOutputs()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentOutputs, other.experimentOutputs);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExperimentStatus()).compareTo(other.isSetExperimentStatus());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExperimentStatus()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentStatus, other.experimentStatus);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetStateChangeList()).compareTo(other.isSetStateChangeList());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetStateChangeList()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stateChangeList, other.stateChangeList);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetWorkflowNodeDetailsList()).compareTo(other.isSetWorkflowNodeDetailsList());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWorkflowNodeDetailsList()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workflowNodeDetailsList, other.workflowNodeDetailsList);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetErrors()).compareTo(other.isSetErrors());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetErrors()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errors, other.errors);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("Experiment(");
-    boolean first = true;
-
-    sb.append("experimentID:");
-    if (this.experimentID == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.experimentID);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("projectID:");
-    if (this.projectID == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.projectID);
-    }
-    first = false;
-    if (isSetCreationTime()) {
-      if (!first) sb.append(", ");
-      sb.append("creationTime:");
-      sb.append(this.creationTime);
-      first = false;
-    }
-    if (!first) sb.append(", ");
-    sb.append("userName:");
-    if (this.userName == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.userName);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("name:");
-    if (this.name == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.name);
-    }
-    first = false;
-    if (isSetDescription()) {
-      if (!first) sb.append(", ");
-      sb.append("description:");
-      if (this.description == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.description);
-      }
-      first = false;
-    }
-    if (isSetApplicationId()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationId:");
-      if (this.applicationId == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationId);
-      }
-      first = false;
-    }
-    if (isSetApplicationVersion()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationVersion:");
-      if (this.applicationVersion == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationVersion);
-      }
-      first = false;
-    }
-    if (isSetWorkflowTemplateId()) {
-      if (!first) sb.append(", ");
-      sb.append("workflowTemplateId:");
-      if (this.workflowTemplateId == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.workflowTemplateId);
-      }
-      first = false;
-    }
-    if (isSetWorkflowTemplateVersion()) {
-      if (!first) sb.append(", ");
-      sb.append("workflowTemplateVersion:");
-      if (this.workflowTemplateVersion == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.workflowTemplateVersion);
-      }
-      first = false;
-    }
-    if (isSetGatewayExecutionId()) {
-      if (!first) sb.append(", ");
-      sb.append("gatewayExecutionId:");
-      if (this.gatewayExecutionId == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.gatewayExecutionId);
-      }
-      first = false;
-    }
-    if (isSetEnableEmailNotification()) {
-      if (!first) sb.append(", ");
-      sb.append("enableEmailNotification:");
-      sb.append(this.enableEmailNotification);
-      first = false;
-    }
-    if (isSetEmailAddresses()) {
-      if (!first) sb.append(", ");
-      sb.append("emailAddresses:");
-      if (this.emailAddresses == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.emailAddresses);
-      }
-      first = false;
-    }
-    if (isSetUserConfigurationData()) {
-      if (!first) sb.append(", ");
-      sb.append("userConfigurationData:");
-      if (this.userConfigurationData == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.userConfigurationData);
-      }
-      first = false;
-    }
-    if (isSetWorkflowExecutionInstanceId()) {
-      if (!first) sb.append(", ");
-      sb.append("workflowExecutionInstanceId:");
-      if (this.workflowExecutionInstanceId == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.workflowExecutionInstanceId);
-      }
-      first = false;
-    }
-    if (isSetExperimentInputs()) {
-      if (!first) sb.append(", ");
-      sb.append("experimentInputs:");
-      if (this.experimentInputs == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.experimentInputs);
-      }
-      first = false;
-    }
-    if (isSetExperimentOutputs()) {
-      if (!first) sb.append(", ");
-      sb.append("experimentOutputs:");
-      if (this.experimentOutputs == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.experimentOutputs);
-      }
-      first = false;
-    }
-    if (isSetExperimentStatus()) {
-      if (!first) sb.append(", ");
-      sb.append("experimentStatus:");
-      if (this.experimentStatus == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.experimentStatus);
-      }
-      first = false;
-    }
-    if (isSetStateChangeList()) {
-      if (!first) sb.append(", ");
-      sb.append("stateChangeList:");
-      if (this.stateChangeList == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.stateChangeList);
-      }
-      first = false;
-    }
-    if (isSetWorkflowNodeDetailsList()) {
-      if (!first) sb.append(", ");
-      sb.append("workflowNodeDetailsList:");
-      if (this.workflowNodeDetailsList == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.workflowNodeDetailsList);
-      }
-      first = false;
-    }
-    if (isSetErrors()) {
-      if (!first) sb.append(", ");
-      sb.append("errors:");
-      if (this.errors == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.errors);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetExperimentID()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentID' is unset! Struct:" + toString());
-    }
-
-    if (!isSetProjectID()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'projectID' is unset! Struct:" + toString());
-    }
-
-    if (!isSetUserName()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'userName' is unset! Struct:" + toString());
-    }
-
-    if (!isSetName()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-    if (userConfigurationData != null) {
-      userConfigurationData.validate();
-    }
-    if (experimentStatus != null) {
-      experimentStatus.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ExperimentStandardSchemeFactory implements SchemeFactory {
-    public ExperimentStandardScheme getScheme() {
-      return new ExperimentStandardScheme();
-    }
-  }
-
-  private static class ExperimentStandardScheme extends StandardScheme<Experiment> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, Experiment struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // EXPERIMENT_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.experimentID = iprot.readString();
-              struct.setExperimentIDIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // PROJECT_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.projectID = iprot.readString();
-              struct.setProjectIDIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // CREATION_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.creationTime = iprot.readI64();
-              struct.setCreationTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // USER_NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.userName = iprot.readString();
-              struct.setUserNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.name = iprot.readString();
-              struct.setNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // DESCRIPTION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.description = iprot.readString();
-              struct.setDescriptionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // APPLICATION_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationId = iprot.readString();
-              struct.setApplicationIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // APPLICATION_VERSION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationVersion = iprot.readString();
-              struct.setApplicationVersionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // WORKFLOW_TEMPLATE_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.workflowTemplateId = iprot.readString();
-              struct.setWorkflowTemplateIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 10: // WORKFLOW_TEMPLATE_VERSION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.workflowTemplateVersion = iprot.readString();
-              struct.setWorkflowTemplateVersionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 11: // GATEWAY_EXECUTION_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.gatewayExecutionId = iprot.readString();
-              struct.setGatewayExecutionIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 12: // ENABLE_EMAIL_NOTIFICATION
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.enableEmailNotification = iprot.readBool();
-              struct.setEnableEmailNotificationIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 13: // EMAIL_ADDRESSES
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
-                struct.emailAddresses = new ArrayList<String>(_list104.size);
-                String _elem105;
-                for (int _i106 = 0; _i106 < _list104.size; ++_i106)
-                {
-                  _elem105 = iprot.readString();
-                  struct.emailAddresses.add(_elem105);
-                }
-                iprot.readListEnd();
-              }
-              struct.setEmailAddressesIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 14: // USER_CONFIGURATION_DATA
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.userConfigurationData = new UserConfigurationData();
-              struct.userConfigurationData.read(iprot);
-              struct.setUserConfigurationDataIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 15: // WORKFLOW_EXECUTION_INSTANCE_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.workflowExecutionInstanceId = iprot.readString();
-              struct.setWorkflowExecutionInstanceIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 16: // EXPERIMENT_INPUTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list107 = iprot.readListBegin();
-                struct.experimentInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(_list107.size);
-                org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem108;
-                for (int _i109 = 0; _i109 < _list107.size; ++_i109)
-                {
-                  _elem108 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
-                  _elem108.read(iprot);
-                  struct.experimentInputs.add(_elem108);
-                }
-                iprot.readListEnd();
-              }
-              struct.setExperimentInputsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 17: // EXPERIMENT_OUTPUTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list110 = iprot.readListBegin();
-                struct.experimentOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list110.size);
-                org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem111;
-                for (int _i112 = 0; _i112 < _list110.size; ++_i112)
-                {
-                  _elem111 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
-                  _elem111.read(iprot);
-                  struct.experimentOutputs.add(_elem111);
-                }
-                iprot.readListEnd();
-              }
-              struct.setExperimentOutputsIsSet(true);
-            } else { 

<TRUNCATED>

[02/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ValidatorResult.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ValidatorResult.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ValidatorResult.java
deleted file mode 100644
index 9655c4a..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ValidatorResult.java
+++ /dev/null
@@ -1,521 +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.workspace.experiment;
-
-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"})
-/**
- * This data structure can be used to store the validation results
- * captured during validation step and during the launchExperiment
- * operation it can be easilly checked to see the errors occured
- * during the experiment launch operation
- * 
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ValidatorResult implements org.apache.thrift.TBase<ValidatorResult, ValidatorResult._Fields>, java.io.Serializable, Cloneable, Comparable<ValidatorResult> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ValidatorResult");
-
-  private static final org.apache.thrift.protocol.TField RESULT_FIELD_DESC = new org.apache.thrift.protocol.TField("result", org.apache.thrift.protocol.TType.BOOL, (short)1);
-  private static final org.apache.thrift.protocol.TField ERROR_DETAILS_FIELD_DESC = new org.apache.thrift.protocol.TField("errorDetails", org.apache.thrift.protocol.TType.STRING, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ValidatorResultStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ValidatorResultTupleSchemeFactory());
-  }
-
-  private boolean result; // required
-  private String errorDetails; // 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 {
-    RESULT((short)1, "result"),
-    ERROR_DETAILS((short)2, "errorDetails");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // RESULT
-          return RESULT;
-        case 2: // ERROR_DETAILS
-          return ERROR_DETAILS;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __RESULT_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.ERROR_DETAILS};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.RESULT, new org.apache.thrift.meta_data.FieldMetaData("result", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.ERROR_DETAILS, new org.apache.thrift.meta_data.FieldMetaData("errorDetails", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ValidatorResult.class, metaDataMap);
-  }
-
-  public ValidatorResult() {
-  }
-
-  public ValidatorResult(
-    boolean result)
-  {
-    this();
-    this.result = result;
-    setResultIsSet(true);
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ValidatorResult(ValidatorResult other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.result = other.result;
-    if (other.isSetErrorDetails()) {
-      this.errorDetails = other.errorDetails;
-    }
-  }
-
-  public ValidatorResult deepCopy() {
-    return new ValidatorResult(this);
-  }
-
-  @Override
-  public void clear() {
-    setResultIsSet(false);
-    this.result = false;
-    this.errorDetails = null;
-  }
-
-  public boolean isResult() {
-    return this.result;
-  }
-
-  public void setResult(boolean result) {
-    this.result = result;
-    setResultIsSet(true);
-  }
-
-  public void unsetResult() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __RESULT_ISSET_ID);
-  }
-
-  /** Returns true if field result is set (has been assigned a value) and false otherwise */
-  public boolean isSetResult() {
-    return EncodingUtils.testBit(__isset_bitfield, __RESULT_ISSET_ID);
-  }
-
-  public void setResultIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __RESULT_ISSET_ID, value);
-  }
-
-  public String getErrorDetails() {
-    return this.errorDetails;
-  }
-
-  public void setErrorDetails(String errorDetails) {
-    this.errorDetails = errorDetails;
-  }
-
-  public void unsetErrorDetails() {
-    this.errorDetails = null;
-  }
-
-  /** Returns true if field errorDetails is set (has been assigned a value) and false otherwise */
-  public boolean isSetErrorDetails() {
-    return this.errorDetails != null;
-  }
-
-  public void setErrorDetailsIsSet(boolean value) {
-    if (!value) {
-      this.errorDetails = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case RESULT:
-      if (value == null) {
-        unsetResult();
-      } else {
-        setResult((Boolean)value);
-      }
-      break;
-
-    case ERROR_DETAILS:
-      if (value == null) {
-        unsetErrorDetails();
-      } else {
-        setErrorDetails((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case RESULT:
-      return Boolean.valueOf(isResult());
-
-    case ERROR_DETAILS:
-      return getErrorDetails();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case RESULT:
-      return isSetResult();
-    case ERROR_DETAILS:
-      return isSetErrorDetails();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ValidatorResult)
-      return this.equals((ValidatorResult)that);
-    return false;
-  }
-
-  public boolean equals(ValidatorResult that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_result = true;
-    boolean that_present_result = true;
-    if (this_present_result || that_present_result) {
-      if (!(this_present_result && that_present_result))
-        return false;
-      if (this.result != that.result)
-        return false;
-    }
-
-    boolean this_present_errorDetails = true && this.isSetErrorDetails();
-    boolean that_present_errorDetails = true && that.isSetErrorDetails();
-    if (this_present_errorDetails || that_present_errorDetails) {
-      if (!(this_present_errorDetails && that_present_errorDetails))
-        return false;
-      if (!this.errorDetails.equals(that.errorDetails))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_result = true;
-    list.add(present_result);
-    if (present_result)
-      list.add(result);
-
-    boolean present_errorDetails = true && (isSetErrorDetails());
-    list.add(present_errorDetails);
-    if (present_errorDetails)
-      list.add(errorDetails);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ValidatorResult other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetResult()).compareTo(other.isSetResult());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetResult()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.result, other.result);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetErrorDetails()).compareTo(other.isSetErrorDetails());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetErrorDetails()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorDetails, other.errorDetails);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ValidatorResult(");
-    boolean first = true;
-
-    sb.append("result:");
-    sb.append(this.result);
-    first = false;
-    if (isSetErrorDetails()) {
-      if (!first) sb.append(", ");
-      sb.append("errorDetails:");
-      if (this.errorDetails == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.errorDetails);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetResult()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'result' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ValidatorResultStandardSchemeFactory implements SchemeFactory {
-    public ValidatorResultStandardScheme getScheme() {
-      return new ValidatorResultStandardScheme();
-    }
-  }
-
-  private static class ValidatorResultStandardScheme extends StandardScheme<ValidatorResult> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ValidatorResult struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // RESULT
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.result = iprot.readBool();
-              struct.setResultIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // ERROR_DETAILS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.errorDetails = iprot.readString();
-              struct.setErrorDetailsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ValidatorResult struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      oprot.writeFieldBegin(RESULT_FIELD_DESC);
-      oprot.writeBool(struct.result);
-      oprot.writeFieldEnd();
-      if (struct.errorDetails != null) {
-        if (struct.isSetErrorDetails()) {
-          oprot.writeFieldBegin(ERROR_DETAILS_FIELD_DESC);
-          oprot.writeString(struct.errorDetails);
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ValidatorResultTupleSchemeFactory implements SchemeFactory {
-    public ValidatorResultTupleScheme getScheme() {
-      return new ValidatorResultTupleScheme();
-    }
-  }
-
-  private static class ValidatorResultTupleScheme extends TupleScheme<ValidatorResult> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ValidatorResult struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeBool(struct.result);
-      BitSet optionals = new BitSet();
-      if (struct.isSetErrorDetails()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetErrorDetails()) {
-        oprot.writeString(struct.errorDetails);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ValidatorResult struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.result = iprot.readBool();
-      struct.setResultIsSet(true);
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        struct.errorDetails = iprot.readString();
-        struct.setErrorDetailsIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeDetails.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeDetails.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeDetails.java
deleted file mode 100644
index 2bc47a1..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeDetails.java
+++ /dev/null
@@ -1,1597 +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.workspace.experiment;
-
-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"})
-/**
- * A structure holding the node data.
- * nodeInstanceId - unique node identifier for each run
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class WorkflowNodeDetails implements org.apache.thrift.TBase<WorkflowNodeDetails, WorkflowNodeDetails._Fields>, java.io.Serializable, Cloneable, Comparable<WorkflowNodeDetails> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("WorkflowNodeDetails");
-
-  private static final org.apache.thrift.protocol.TField NODE_INSTANCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("nodeInstanceId", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)2);
-  private static final org.apache.thrift.protocol.TField NODE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("nodeName", org.apache.thrift.protocol.TType.STRING, (short)3);
-  private static final org.apache.thrift.protocol.TField EXECUTION_UNIT_FIELD_DESC = new org.apache.thrift.protocol.TField("executionUnit", org.apache.thrift.protocol.TType.I32, (short)4);
-  private static final org.apache.thrift.protocol.TField EXECUTION_UNIT_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("executionUnitData", org.apache.thrift.protocol.TType.STRING, (short)5);
-  private static final org.apache.thrift.protocol.TField NODE_INPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("nodeInputs", org.apache.thrift.protocol.TType.LIST, (short)6);
-  private static final org.apache.thrift.protocol.TField NODE_OUTPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("nodeOutputs", org.apache.thrift.protocol.TType.LIST, (short)7);
-  private static final org.apache.thrift.protocol.TField WORKFLOW_NODE_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("workflowNodeStatus", org.apache.thrift.protocol.TType.STRUCT, (short)8);
-  private static final org.apache.thrift.protocol.TField TASK_DETAILS_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("taskDetailsList", org.apache.thrift.protocol.TType.LIST, (short)9);
-  private static final org.apache.thrift.protocol.TField ERRORS_FIELD_DESC = new org.apache.thrift.protocol.TField("errors", org.apache.thrift.protocol.TType.LIST, (short)10);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new WorkflowNodeDetailsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new WorkflowNodeDetailsTupleSchemeFactory());
-  }
-
-  private String nodeInstanceId; // required
-  private long creationTime; // optional
-  private String nodeName; // required
-  private ExecutionUnit executionUnit; // required
-  private String executionUnitData; // optional
-  private List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> nodeInputs; // optional
-  private List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> nodeOutputs; // optional
-  private WorkflowNodeStatus workflowNodeStatus; // optional
-  private List<TaskDetails> taskDetailsList; // optional
-  private List<ErrorDetails> errors; // 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 {
-    NODE_INSTANCE_ID((short)1, "nodeInstanceId"),
-    CREATION_TIME((short)2, "creationTime"),
-    NODE_NAME((short)3, "nodeName"),
-    /**
-     * 
-     * @see ExecutionUnit
-     */
-    EXECUTION_UNIT((short)4, "executionUnit"),
-    EXECUTION_UNIT_DATA((short)5, "executionUnitData"),
-    NODE_INPUTS((short)6, "nodeInputs"),
-    NODE_OUTPUTS((short)7, "nodeOutputs"),
-    WORKFLOW_NODE_STATUS((short)8, "workflowNodeStatus"),
-    TASK_DETAILS_LIST((short)9, "taskDetailsList"),
-    ERRORS((short)10, "errors");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // NODE_INSTANCE_ID
-          return NODE_INSTANCE_ID;
-        case 2: // CREATION_TIME
-          return CREATION_TIME;
-        case 3: // NODE_NAME
-          return NODE_NAME;
-        case 4: // EXECUTION_UNIT
-          return EXECUTION_UNIT;
-        case 5: // EXECUTION_UNIT_DATA
-          return EXECUTION_UNIT_DATA;
-        case 6: // NODE_INPUTS
-          return NODE_INPUTS;
-        case 7: // NODE_OUTPUTS
-          return NODE_OUTPUTS;
-        case 8: // WORKFLOW_NODE_STATUS
-          return WORKFLOW_NODE_STATUS;
-        case 9: // TASK_DETAILS_LIST
-          return TASK_DETAILS_LIST;
-        case 10: // ERRORS
-          return ERRORS;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __CREATIONTIME_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.EXECUTION_UNIT_DATA,_Fields.NODE_INPUTS,_Fields.NODE_OUTPUTS,_Fields.WORKFLOW_NODE_STATUS,_Fields.TASK_DETAILS_LIST,_Fields.ERRORS};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.NODE_INSTANCE_ID, new org.apache.thrift.meta_data.FieldMetaData("nodeInstanceId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    tmpMap.put(_Fields.NODE_NAME, new org.apache.thrift.meta_data.FieldMetaData("nodeName", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.EXECUTION_UNIT, new org.apache.thrift.meta_data.FieldMetaData("executionUnit", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ExecutionUnit.class)));
-    tmpMap.put(_Fields.EXECUTION_UNIT_DATA, new org.apache.thrift.meta_data.FieldMetaData("executionUnitData", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.NODE_INPUTS, new org.apache.thrift.meta_data.FieldMetaData("nodeInputs", 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))));
-    tmpMap.put(_Fields.NODE_OUTPUTS, new org.apache.thrift.meta_data.FieldMetaData("nodeOutputs", 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))));
-    tmpMap.put(_Fields.WORKFLOW_NODE_STATUS, new org.apache.thrift.meta_data.FieldMetaData("workflowNodeStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, WorkflowNodeStatus.class)));
-    tmpMap.put(_Fields.TASK_DETAILS_LIST, new org.apache.thrift.meta_data.FieldMetaData("taskDetailsList", 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, TaskDetails.class))));
-    tmpMap.put(_Fields.ERRORS, new org.apache.thrift.meta_data.FieldMetaData("errors", 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, ErrorDetails.class))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(WorkflowNodeDetails.class, metaDataMap);
-  }
-
-  public WorkflowNodeDetails() {
-    this.nodeInstanceId = "DO_NOT_SET_AT_CLIENTS";
-
-    this.nodeName = "SINGLE_APP_NODE";
-
-    this.executionUnit = org.apache.airavata.model.workspace.experiment.ExecutionUnit.APPLICATION;
-
-  }
-
-  public WorkflowNodeDetails(
-    String nodeInstanceId,
-    String nodeName,
-    ExecutionUnit executionUnit)
-  {
-    this();
-    this.nodeInstanceId = nodeInstanceId;
-    this.nodeName = nodeName;
-    this.executionUnit = executionUnit;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public WorkflowNodeDetails(WorkflowNodeDetails other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetNodeInstanceId()) {
-      this.nodeInstanceId = other.nodeInstanceId;
-    }
-    this.creationTime = other.creationTime;
-    if (other.isSetNodeName()) {
-      this.nodeName = other.nodeName;
-    }
-    if (other.isSetExecutionUnit()) {
-      this.executionUnit = other.executionUnit;
-    }
-    if (other.isSetExecutionUnitData()) {
-      this.executionUnitData = other.executionUnitData;
-    }
-    if (other.isSetNodeInputs()) {
-      List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> __this__nodeInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(other.nodeInputs.size());
-      for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType other_element : other.nodeInputs) {
-        __this__nodeInputs.add(new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType(other_element));
-      }
-      this.nodeInputs = __this__nodeInputs;
-    }
-    if (other.isSetNodeOutputs()) {
-      List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> __this__nodeOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(other.nodeOutputs.size());
-      for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType other_element : other.nodeOutputs) {
-        __this__nodeOutputs.add(new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType(other_element));
-      }
-      this.nodeOutputs = __this__nodeOutputs;
-    }
-    if (other.isSetWorkflowNodeStatus()) {
-      this.workflowNodeStatus = new WorkflowNodeStatus(other.workflowNodeStatus);
-    }
-    if (other.isSetTaskDetailsList()) {
-      List<TaskDetails> __this__taskDetailsList = new ArrayList<TaskDetails>(other.taskDetailsList.size());
-      for (TaskDetails other_element : other.taskDetailsList) {
-        __this__taskDetailsList.add(new TaskDetails(other_element));
-      }
-      this.taskDetailsList = __this__taskDetailsList;
-    }
-    if (other.isSetErrors()) {
-      List<ErrorDetails> __this__errors = new ArrayList<ErrorDetails>(other.errors.size());
-      for (ErrorDetails other_element : other.errors) {
-        __this__errors.add(new ErrorDetails(other_element));
-      }
-      this.errors = __this__errors;
-    }
-  }
-
-  public WorkflowNodeDetails deepCopy() {
-    return new WorkflowNodeDetails(this);
-  }
-
-  @Override
-  public void clear() {
-    this.nodeInstanceId = "DO_NOT_SET_AT_CLIENTS";
-
-    setCreationTimeIsSet(false);
-    this.creationTime = 0;
-    this.nodeName = "SINGLE_APP_NODE";
-
-    this.executionUnit = org.apache.airavata.model.workspace.experiment.ExecutionUnit.APPLICATION;
-
-    this.executionUnitData = null;
-    this.nodeInputs = null;
-    this.nodeOutputs = null;
-    this.workflowNodeStatus = null;
-    this.taskDetailsList = null;
-    this.errors = null;
-  }
-
-  public String getNodeInstanceId() {
-    return this.nodeInstanceId;
-  }
-
-  public void setNodeInstanceId(String nodeInstanceId) {
-    this.nodeInstanceId = nodeInstanceId;
-  }
-
-  public void unsetNodeInstanceId() {
-    this.nodeInstanceId = null;
-  }
-
-  /** Returns true if field nodeInstanceId is set (has been assigned a value) and false otherwise */
-  public boolean isSetNodeInstanceId() {
-    return this.nodeInstanceId != null;
-  }
-
-  public void setNodeInstanceIdIsSet(boolean value) {
-    if (!value) {
-      this.nodeInstanceId = null;
-    }
-  }
-
-  public long getCreationTime() {
-    return this.creationTime;
-  }
-
-  public void setCreationTime(long creationTime) {
-    this.creationTime = creationTime;
-    setCreationTimeIsSet(true);
-  }
-
-  public void unsetCreationTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetCreationTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  public void setCreationTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
-  }
-
-  public String getNodeName() {
-    return this.nodeName;
-  }
-
-  public void setNodeName(String nodeName) {
-    this.nodeName = nodeName;
-  }
-
-  public void unsetNodeName() {
-    this.nodeName = null;
-  }
-
-  /** Returns true if field nodeName is set (has been assigned a value) and false otherwise */
-  public boolean isSetNodeName() {
-    return this.nodeName != null;
-  }
-
-  public void setNodeNameIsSet(boolean value) {
-    if (!value) {
-      this.nodeName = null;
-    }
-  }
-
-  /**
-   * 
-   * @see ExecutionUnit
-   */
-  public ExecutionUnit getExecutionUnit() {
-    return this.executionUnit;
-  }
-
-  /**
-   * 
-   * @see ExecutionUnit
-   */
-  public void setExecutionUnit(ExecutionUnit executionUnit) {
-    this.executionUnit = executionUnit;
-  }
-
-  public void unsetExecutionUnit() {
-    this.executionUnit = null;
-  }
-
-  /** Returns true if field executionUnit is set (has been assigned a value) and false otherwise */
-  public boolean isSetExecutionUnit() {
-    return this.executionUnit != null;
-  }
-
-  public void setExecutionUnitIsSet(boolean value) {
-    if (!value) {
-      this.executionUnit = null;
-    }
-  }
-
-  public String getExecutionUnitData() {
-    return this.executionUnitData;
-  }
-
-  public void setExecutionUnitData(String executionUnitData) {
-    this.executionUnitData = executionUnitData;
-  }
-
-  public void unsetExecutionUnitData() {
-    this.executionUnitData = null;
-  }
-
-  /** Returns true if field executionUnitData is set (has been assigned a value) and false otherwise */
-  public boolean isSetExecutionUnitData() {
-    return this.executionUnitData != null;
-  }
-
-  public void setExecutionUnitDataIsSet(boolean value) {
-    if (!value) {
-      this.executionUnitData = null;
-    }
-  }
-
-  public int getNodeInputsSize() {
-    return (this.nodeInputs == null) ? 0 : this.nodeInputs.size();
-  }
-
-  public java.util.Iterator<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> getNodeInputsIterator() {
-    return (this.nodeInputs == null) ? null : this.nodeInputs.iterator();
-  }
-
-  public void addToNodeInputs(org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType elem) {
-    if (this.nodeInputs == null) {
-      this.nodeInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>();
-    }
-    this.nodeInputs.add(elem);
-  }
-
-  public List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> getNodeInputs() {
-    return this.nodeInputs;
-  }
-
-  public void setNodeInputs(List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> nodeInputs) {
-    this.nodeInputs = nodeInputs;
-  }
-
-  public void unsetNodeInputs() {
-    this.nodeInputs = null;
-  }
-
-  /** Returns true if field nodeInputs is set (has been assigned a value) and false otherwise */
-  public boolean isSetNodeInputs() {
-    return this.nodeInputs != null;
-  }
-
-  public void setNodeInputsIsSet(boolean value) {
-    if (!value) {
-      this.nodeInputs = null;
-    }
-  }
-
-  public int getNodeOutputsSize() {
-    return (this.nodeOutputs == null) ? 0 : this.nodeOutputs.size();
-  }
-
-  public java.util.Iterator<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getNodeOutputsIterator() {
-    return (this.nodeOutputs == null) ? null : this.nodeOutputs.iterator();
-  }
-
-  public void addToNodeOutputs(org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType elem) {
-    if (this.nodeOutputs == null) {
-      this.nodeOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>();
-    }
-    this.nodeOutputs.add(elem);
-  }
-
-  public List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> getNodeOutputs() {
-    return this.nodeOutputs;
-  }
-
-  public void setNodeOutputs(List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> nodeOutputs) {
-    this.nodeOutputs = nodeOutputs;
-  }
-
-  public void unsetNodeOutputs() {
-    this.nodeOutputs = null;
-  }
-
-  /** Returns true if field nodeOutputs is set (has been assigned a value) and false otherwise */
-  public boolean isSetNodeOutputs() {
-    return this.nodeOutputs != null;
-  }
-
-  public void setNodeOutputsIsSet(boolean value) {
-    if (!value) {
-      this.nodeOutputs = null;
-    }
-  }
-
-  public WorkflowNodeStatus getWorkflowNodeStatus() {
-    return this.workflowNodeStatus;
-  }
-
-  public void setWorkflowNodeStatus(WorkflowNodeStatus workflowNodeStatus) {
-    this.workflowNodeStatus = workflowNodeStatus;
-  }
-
-  public void unsetWorkflowNodeStatus() {
-    this.workflowNodeStatus = null;
-  }
-
-  /** Returns true if field workflowNodeStatus is set (has been assigned a value) and false otherwise */
-  public boolean isSetWorkflowNodeStatus() {
-    return this.workflowNodeStatus != null;
-  }
-
-  public void setWorkflowNodeStatusIsSet(boolean value) {
-    if (!value) {
-      this.workflowNodeStatus = null;
-    }
-  }
-
-  public int getTaskDetailsListSize() {
-    return (this.taskDetailsList == null) ? 0 : this.taskDetailsList.size();
-  }
-
-  public java.util.Iterator<TaskDetails> getTaskDetailsListIterator() {
-    return (this.taskDetailsList == null) ? null : this.taskDetailsList.iterator();
-  }
-
-  public void addToTaskDetailsList(TaskDetails elem) {
-    if (this.taskDetailsList == null) {
-      this.taskDetailsList = new ArrayList<TaskDetails>();
-    }
-    this.taskDetailsList.add(elem);
-  }
-
-  public List<TaskDetails> getTaskDetailsList() {
-    return this.taskDetailsList;
-  }
-
-  public void setTaskDetailsList(List<TaskDetails> taskDetailsList) {
-    this.taskDetailsList = taskDetailsList;
-  }
-
-  public void unsetTaskDetailsList() {
-    this.taskDetailsList = null;
-  }
-
-  /** Returns true if field taskDetailsList is set (has been assigned a value) and false otherwise */
-  public boolean isSetTaskDetailsList() {
-    return this.taskDetailsList != null;
-  }
-
-  public void setTaskDetailsListIsSet(boolean value) {
-    if (!value) {
-      this.taskDetailsList = null;
-    }
-  }
-
-  public int getErrorsSize() {
-    return (this.errors == null) ? 0 : this.errors.size();
-  }
-
-  public java.util.Iterator<ErrorDetails> getErrorsIterator() {
-    return (this.errors == null) ? null : this.errors.iterator();
-  }
-
-  public void addToErrors(ErrorDetails elem) {
-    if (this.errors == null) {
-      this.errors = new ArrayList<ErrorDetails>();
-    }
-    this.errors.add(elem);
-  }
-
-  public List<ErrorDetails> getErrors() {
-    return this.errors;
-  }
-
-  public void setErrors(List<ErrorDetails> errors) {
-    this.errors = errors;
-  }
-
-  public void unsetErrors() {
-    this.errors = null;
-  }
-
-  /** Returns true if field errors is set (has been assigned a value) and false otherwise */
-  public boolean isSetErrors() {
-    return this.errors != null;
-  }
-
-  public void setErrorsIsSet(boolean value) {
-    if (!value) {
-      this.errors = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case NODE_INSTANCE_ID:
-      if (value == null) {
-        unsetNodeInstanceId();
-      } else {
-        setNodeInstanceId((String)value);
-      }
-      break;
-
-    case CREATION_TIME:
-      if (value == null) {
-        unsetCreationTime();
-      } else {
-        setCreationTime((Long)value);
-      }
-      break;
-
-    case NODE_NAME:
-      if (value == null) {
-        unsetNodeName();
-      } else {
-        setNodeName((String)value);
-      }
-      break;
-
-    case EXECUTION_UNIT:
-      if (value == null) {
-        unsetExecutionUnit();
-      } else {
-        setExecutionUnit((ExecutionUnit)value);
-      }
-      break;
-
-    case EXECUTION_UNIT_DATA:
-      if (value == null) {
-        unsetExecutionUnitData();
-      } else {
-        setExecutionUnitData((String)value);
-      }
-      break;
-
-    case NODE_INPUTS:
-      if (value == null) {
-        unsetNodeInputs();
-      } else {
-        setNodeInputs((List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>)value);
-      }
-      break;
-
-    case NODE_OUTPUTS:
-      if (value == null) {
-        unsetNodeOutputs();
-      } else {
-        setNodeOutputs((List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>)value);
-      }
-      break;
-
-    case WORKFLOW_NODE_STATUS:
-      if (value == null) {
-        unsetWorkflowNodeStatus();
-      } else {
-        setWorkflowNodeStatus((WorkflowNodeStatus)value);
-      }
-      break;
-
-    case TASK_DETAILS_LIST:
-      if (value == null) {
-        unsetTaskDetailsList();
-      } else {
-        setTaskDetailsList((List<TaskDetails>)value);
-      }
-      break;
-
-    case ERRORS:
-      if (value == null) {
-        unsetErrors();
-      } else {
-        setErrors((List<ErrorDetails>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case NODE_INSTANCE_ID:
-      return getNodeInstanceId();
-
-    case CREATION_TIME:
-      return Long.valueOf(getCreationTime());
-
-    case NODE_NAME:
-      return getNodeName();
-
-    case EXECUTION_UNIT:
-      return getExecutionUnit();
-
-    case EXECUTION_UNIT_DATA:
-      return getExecutionUnitData();
-
-    case NODE_INPUTS:
-      return getNodeInputs();
-
-    case NODE_OUTPUTS:
-      return getNodeOutputs();
-
-    case WORKFLOW_NODE_STATUS:
-      return getWorkflowNodeStatus();
-
-    case TASK_DETAILS_LIST:
-      return getTaskDetailsList();
-
-    case ERRORS:
-      return getErrors();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case NODE_INSTANCE_ID:
-      return isSetNodeInstanceId();
-    case CREATION_TIME:
-      return isSetCreationTime();
-    case NODE_NAME:
-      return isSetNodeName();
-    case EXECUTION_UNIT:
-      return isSetExecutionUnit();
-    case EXECUTION_UNIT_DATA:
-      return isSetExecutionUnitData();
-    case NODE_INPUTS:
-      return isSetNodeInputs();
-    case NODE_OUTPUTS:
-      return isSetNodeOutputs();
-    case WORKFLOW_NODE_STATUS:
-      return isSetWorkflowNodeStatus();
-    case TASK_DETAILS_LIST:
-      return isSetTaskDetailsList();
-    case ERRORS:
-      return isSetErrors();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof WorkflowNodeDetails)
-      return this.equals((WorkflowNodeDetails)that);
-    return false;
-  }
-
-  public boolean equals(WorkflowNodeDetails that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_nodeInstanceId = true && this.isSetNodeInstanceId();
-    boolean that_present_nodeInstanceId = true && that.isSetNodeInstanceId();
-    if (this_present_nodeInstanceId || that_present_nodeInstanceId) {
-      if (!(this_present_nodeInstanceId && that_present_nodeInstanceId))
-        return false;
-      if (!this.nodeInstanceId.equals(that.nodeInstanceId))
-        return false;
-    }
-
-    boolean this_present_creationTime = true && this.isSetCreationTime();
-    boolean that_present_creationTime = true && that.isSetCreationTime();
-    if (this_present_creationTime || that_present_creationTime) {
-      if (!(this_present_creationTime && that_present_creationTime))
-        return false;
-      if (this.creationTime != that.creationTime)
-        return false;
-    }
-
-    boolean this_present_nodeName = true && this.isSetNodeName();
-    boolean that_present_nodeName = true && that.isSetNodeName();
-    if (this_present_nodeName || that_present_nodeName) {
-      if (!(this_present_nodeName && that_present_nodeName))
-        return false;
-      if (!this.nodeName.equals(that.nodeName))
-        return false;
-    }
-
-    boolean this_present_executionUnit = true && this.isSetExecutionUnit();
-    boolean that_present_executionUnit = true && that.isSetExecutionUnit();
-    if (this_present_executionUnit || that_present_executionUnit) {
-      if (!(this_present_executionUnit && that_present_executionUnit))
-        return false;
-      if (!this.executionUnit.equals(that.executionUnit))
-        return false;
-    }
-
-    boolean this_present_executionUnitData = true && this.isSetExecutionUnitData();
-    boolean that_present_executionUnitData = true && that.isSetExecutionUnitData();
-    if (this_present_executionUnitData || that_present_executionUnitData) {
-      if (!(this_present_executionUnitData && that_present_executionUnitData))
-        return false;
-      if (!this.executionUnitData.equals(that.executionUnitData))
-        return false;
-    }
-
-    boolean this_present_nodeInputs = true && this.isSetNodeInputs();
-    boolean that_present_nodeInputs = true && that.isSetNodeInputs();
-    if (this_present_nodeInputs || that_present_nodeInputs) {
-      if (!(this_present_nodeInputs && that_present_nodeInputs))
-        return false;
-      if (!this.nodeInputs.equals(that.nodeInputs))
-        return false;
-    }
-
-    boolean this_present_nodeOutputs = true && this.isSetNodeOutputs();
-    boolean that_present_nodeOutputs = true && that.isSetNodeOutputs();
-    if (this_present_nodeOutputs || that_present_nodeOutputs) {
-      if (!(this_present_nodeOutputs && that_present_nodeOutputs))
-        return false;
-      if (!this.nodeOutputs.equals(that.nodeOutputs))
-        return false;
-    }
-
-    boolean this_present_workflowNodeStatus = true && this.isSetWorkflowNodeStatus();
-    boolean that_present_workflowNodeStatus = true && that.isSetWorkflowNodeStatus();
-    if (this_present_workflowNodeStatus || that_present_workflowNodeStatus) {
-      if (!(this_present_workflowNodeStatus && that_present_workflowNodeStatus))
-        return false;
-      if (!this.workflowNodeStatus.equals(that.workflowNodeStatus))
-        return false;
-    }
-
-    boolean this_present_taskDetailsList = true && this.isSetTaskDetailsList();
-    boolean that_present_taskDetailsList = true && that.isSetTaskDetailsList();
-    if (this_present_taskDetailsList || that_present_taskDetailsList) {
-      if (!(this_present_taskDetailsList && that_present_taskDetailsList))
-        return false;
-      if (!this.taskDetailsList.equals(that.taskDetailsList))
-        return false;
-    }
-
-    boolean this_present_errors = true && this.isSetErrors();
-    boolean that_present_errors = true && that.isSetErrors();
-    if (this_present_errors || that_present_errors) {
-      if (!(this_present_errors && that_present_errors))
-        return false;
-      if (!this.errors.equals(that.errors))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_nodeInstanceId = true && (isSetNodeInstanceId());
-    list.add(present_nodeInstanceId);
-    if (present_nodeInstanceId)
-      list.add(nodeInstanceId);
-
-    boolean present_creationTime = true && (isSetCreationTime());
-    list.add(present_creationTime);
-    if (present_creationTime)
-      list.add(creationTime);
-
-    boolean present_nodeName = true && (isSetNodeName());
-    list.add(present_nodeName);
-    if (present_nodeName)
-      list.add(nodeName);
-
-    boolean present_executionUnit = true && (isSetExecutionUnit());
-    list.add(present_executionUnit);
-    if (present_executionUnit)
-      list.add(executionUnit.getValue());
-
-    boolean present_executionUnitData = true && (isSetExecutionUnitData());
-    list.add(present_executionUnitData);
-    if (present_executionUnitData)
-      list.add(executionUnitData);
-
-    boolean present_nodeInputs = true && (isSetNodeInputs());
-    list.add(present_nodeInputs);
-    if (present_nodeInputs)
-      list.add(nodeInputs);
-
-    boolean present_nodeOutputs = true && (isSetNodeOutputs());
-    list.add(present_nodeOutputs);
-    if (present_nodeOutputs)
-      list.add(nodeOutputs);
-
-    boolean present_workflowNodeStatus = true && (isSetWorkflowNodeStatus());
-    list.add(present_workflowNodeStatus);
-    if (present_workflowNodeStatus)
-      list.add(workflowNodeStatus);
-
-    boolean present_taskDetailsList = true && (isSetTaskDetailsList());
-    list.add(present_taskDetailsList);
-    if (present_taskDetailsList)
-      list.add(taskDetailsList);
-
-    boolean present_errors = true && (isSetErrors());
-    list.add(present_errors);
-    if (present_errors)
-      list.add(errors);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(WorkflowNodeDetails other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetNodeInstanceId()).compareTo(other.isSetNodeInstanceId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetNodeInstanceId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nodeInstanceId, other.nodeInstanceId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCreationTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetNodeName()).compareTo(other.isSetNodeName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetNodeName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nodeName, other.nodeName);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExecutionUnit()).compareTo(other.isSetExecutionUnit());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExecutionUnit()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.executionUnit, other.executionUnit);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExecutionUnitData()).compareTo(other.isSetExecutionUnitData());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExecutionUnitData()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.executionUnitData, other.executionUnitData);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetNodeInputs()).compareTo(other.isSetNodeInputs());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetNodeInputs()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nodeInputs, other.nodeInputs);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetNodeOutputs()).compareTo(other.isSetNodeOutputs());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetNodeOutputs()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nodeOutputs, other.nodeOutputs);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetWorkflowNodeStatus()).compareTo(other.isSetWorkflowNodeStatus());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWorkflowNodeStatus()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workflowNodeStatus, other.workflowNodeStatus);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTaskDetailsList()).compareTo(other.isSetTaskDetailsList());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTaskDetailsList()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskDetailsList, other.taskDetailsList);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetErrors()).compareTo(other.isSetErrors());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetErrors()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errors, other.errors);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("WorkflowNodeDetails(");
-    boolean first = true;
-
-    sb.append("nodeInstanceId:");
-    if (this.nodeInstanceId == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.nodeInstanceId);
-    }
-    first = false;
-    if (isSetCreationTime()) {
-      if (!first) sb.append(", ");
-      sb.append("creationTime:");
-      sb.append(this.creationTime);
-      first = false;
-    }
-    if (!first) sb.append(", ");
-    sb.append("nodeName:");
-    if (this.nodeName == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.nodeName);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("executionUnit:");
-    if (this.executionUnit == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.executionUnit);
-    }
-    first = false;
-    if (isSetExecutionUnitData()) {
-      if (!first) sb.append(", ");
-      sb.append("executionUnitData:");
-      if (this.executionUnitData == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.executionUnitData);
-      }
-      first = false;
-    }
-    if (isSetNodeInputs()) {
-      if (!first) sb.append(", ");
-      sb.append("nodeInputs:");
-      if (this.nodeInputs == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.nodeInputs);
-      }
-      first = false;
-    }
-    if (isSetNodeOutputs()) {
-      if (!first) sb.append(", ");
-      sb.append("nodeOutputs:");
-      if (this.nodeOutputs == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.nodeOutputs);
-      }
-      first = false;
-    }
-    if (isSetWorkflowNodeStatus()) {
-      if (!first) sb.append(", ");
-      sb.append("workflowNodeStatus:");
-      if (this.workflowNodeStatus == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.workflowNodeStatus);
-      }
-      first = false;
-    }
-    if (isSetTaskDetailsList()) {
-      if (!first) sb.append(", ");
-      sb.append("taskDetailsList:");
-      if (this.taskDetailsList == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.taskDetailsList);
-      }
-      first = false;
-    }
-    if (isSetErrors()) {
-      if (!first) sb.append(", ");
-      sb.append("errors:");
-      if (this.errors == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.errors);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetNodeInstanceId()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'nodeInstanceId' is unset! Struct:" + toString());
-    }
-
-    if (!isSetNodeName()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'nodeName' is unset! Struct:" + toString());
-    }
-
-    if (!isSetExecutionUnit()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'executionUnit' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-    if (workflowNodeStatus != null) {
-      workflowNodeStatus.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class WorkflowNodeDetailsStandardSchemeFactory implements SchemeFactory {
-    public WorkflowNodeDetailsStandardScheme getScheme() {
-      return new WorkflowNodeDetailsStandardScheme();
-    }
-  }
-
-  private static class WorkflowNodeDetailsStandardScheme extends StandardScheme<WorkflowNodeDetails> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, WorkflowNodeDetails struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // NODE_INSTANCE_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.nodeInstanceId = iprot.readString();
-              struct.setNodeInstanceIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // CREATION_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.creationTime = iprot.readI64();
-              struct.setCreationTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // NODE_NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.nodeName = iprot.readString();
-              struct.setNodeNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // EXECUTION_UNIT
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.executionUnit = org.apache.airavata.model.workspace.experiment.ExecutionUnit.findByValue(iprot.readI32());
-              struct.setExecutionUnitIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // EXECUTION_UNIT_DATA
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.executionUnitData = iprot.readString();
-              struct.setExecutionUnitDataIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // NODE_INPUTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
-                struct.nodeInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(_list64.size);
-                org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem65;
-                for (int _i66 = 0; _i66 < _list64.size; ++_i66)
-                {
-                  _elem65 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
-                  _elem65.read(iprot);
-                  struct.nodeInputs.add(_elem65);
-                }
-                iprot.readListEnd();
-              }
-              struct.setNodeInputsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // NODE_OUTPUTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list67 = iprot.readListBegin();
-                struct.nodeOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list67.size);
-                org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem68;
-                for (int _i69 = 0; _i69 < _list67.size; ++_i69)
-                {
-                  _elem68 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
-                  _elem68.read(iprot);
-                  struct.nodeOutputs.add(_elem68);
-                }
-                iprot.readListEnd();
-              }
-              struct.setNodeOutputsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // WORKFLOW_NODE_STATUS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.workflowNodeStatus = new WorkflowNodeStatus();
-              struct.workflowNodeStatus.read(iprot);
-              struct.setWorkflowNodeStatusIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // TASK_DETAILS_LIST
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list70 = iprot.readListBegin();
-                struct.taskDetailsList = new ArrayList<TaskDetails>(_list70.size);
-                TaskDetails _elem71;
-                for (int _i72 = 0; _i72 < _list70.size; ++_i72)
-                {
-                  _elem71 = new TaskDetails();
-                  _elem71.read(iprot);
-                  struct.taskDetailsList.add(_elem71);
-                }
-                iprot.readListEnd();
-              }
-              struct.setTaskDetailsListIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 10: // ERRORS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list73 = iprot.readListBegin();
-                struct.errors = new ArrayList<ErrorDetails>(_list73.size);
-                ErrorDetails _elem74;
-                for (int _i75 = 0; _i75 < _list73.size; ++_i75)
-                {
-                  _elem74 = new ErrorDetails();
-                  _elem74.read(iprot);
-                  struct.errors.add(_elem74);
-                }
-                iprot.readListEnd();
-              }
-              struct.setErrorsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, WorkflowNodeDetails struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.nodeInstanceId != null) {
-        oprot.writeFieldBegin(NODE_INSTANCE_ID_FIELD_DESC);
-        oprot.writeString(struct.nodeInstanceId);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetCreationTime()) {
-        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
-        oprot.writeI64(struct.creationTime);
-        oprot.writeFieldEnd();
-      }
-      if (struct.nodeName != null) {
-        oprot.writeFieldBegin(NODE_NAME_FIELD_DESC);
-        oprot.writeString(struct.nodeName);
-        oprot.writeFieldEnd();
-      }
-      if (struct.executionUnit != null) {
-        oprot.writeFieldBegin(EXECUTION_UNIT_FIELD_DESC);
-        oprot.writeI32(struct.executionUnit.getValue());
-        oprot.writeFieldEnd();
-      }
-      if (struct.executionUnitData != null) {
-        if (struct.isSetExecutionUnitData()) {
-          oprot.writeFieldBegin(EXECUTION_UNIT_DATA_FIELD_DESC);
-          oprot.writeString(struct.executionUnitData);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.nodeInputs != null) {
-        if (struct.isSetNodeInputs()) {
-          oprot.writeFieldBegin(NODE_INPUTS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.nodeInputs.size()));
-            for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _iter76 : struct.nodeInputs)
-            {
-              _iter76.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.nodeOutputs != null) {
-        if (struct.isSetNodeOutputs()) {
-          oprot.writeFieldBegin(NODE_OUTPUTS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.nodeOutputs.size()));
-            for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _iter77 : struct.nodeOutputs)
-            {
-              _iter77.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.workflowNodeStatus != null) {
-        if (struct.isSetWorkflowNodeStatus()) {
-          oprot.writeFieldBegin(WORKFLOW_NODE_STATUS_FIELD_DESC);
-          struct.workflowNodeStatus.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.taskDetailsList != null) {
-        if (struct.isSetTaskDetailsList()) {
-          oprot.writeFieldBegin(TASK_DETAILS_LIST_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.taskDetailsList.size()));
-            for (TaskDetails _iter78 : struct.taskDetailsList)
-            {
-              _iter78.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.errors != null) {
-        if (struct.isSetErrors()) {
-          oprot.writeFieldBegin(ERRORS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.errors.size()));
-            for (ErrorDetails _iter79 : struct.errors)
-            {
-              _iter79.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class WorkflowNodeDetailsTupleSchemeFactory implements SchemeFactory {
-    public WorkflowNodeDetailsTupleScheme getScheme() {
-      return new WorkflowNodeDetailsTupleScheme();
-    }
-  }
-
-  private static class WorkflowNodeDetailsTupleScheme extends TupleScheme<WorkflowNodeDetails> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, WorkflowNodeDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.nodeInstanceId);
-      oprot.writeString(struct.nodeName);
-      oprot.writeI32(struct.executionUnit.getValue());
-      BitSet optionals = new BitSet();
-      if (struct.isSetCreationTime()) {
-        optionals.set(0);
-      }
-      if (struct.isSetExecutionUnitData()) {
-        optionals.set(1);
-      }
-      if (struct.isSetNodeInputs()) {
-        optionals.set(2);
-      }
-      if (struct.isSetNodeOutputs()) {
-        optionals.set(3);
-      }
-      if (struct.isSetWorkflowNodeStatus()) {
-        optionals.set(4);
-      }
-      if (struct.isSetTaskDetailsList()) {
-        optionals.set(5);
-      }
-      if (struct.isSetErrors()) {
-        optionals.set(6);
-      }
-      oprot.writeBitSet(optionals, 7);
-      if (struct.isSetCreationTime()) {
-        oprot.writeI64(struct.creationTime);
-      }
-      if (struct.isSetExecutionUnitData()) {
-        oprot.writeString(struct.executionUnitData);
-      }
-      if (struct.isSetNodeInputs()) {
-        {
-          oprot.writeI32(struct.nodeInputs.size());
-          for (org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _iter80 : struct.nodeInputs)
-          {
-            _iter80.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetNodeOutputs()) {
-        {
-          oprot.writeI32(struct.nodeOutputs.size());
-          for (org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _iter81 : struct.nodeOutputs)
-          {
-            _iter81.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetWorkflowNodeStatus()) {
-        struct.workflowNodeStatus.write(oprot);
-      }
-      if (struct.isSetTaskDetailsList()) {
-        {
-          oprot.writeI32(struct.taskDetailsList.size());
-          for (TaskDetails _iter82 : struct.taskDetailsList)
-          {
-            _iter82.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetErrors()) {
-        {
-          oprot.writeI32(struct.errors.size());
-          for (ErrorDetails _iter83 : struct.errors)
-          {
-            _iter83.write(oprot);
-          }
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, WorkflowNodeDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.nodeInstanceId = iprot.readString();
-      struct.setNodeInstanceIdIsSet(true);
-      struct.nodeName = iprot.readString();
-      struct.setNodeNameIsSet(true);
-      struct.executionUnit = org.apache.airavata.model.workspace.experiment.ExecutionUnit.findByValue(iprot.readI32());
-      struct.setExecutionUnitIsSet(true);
-      BitSet incoming = iprot.readBitSet(7);
-      if (incoming.get(0)) {
-        struct.creationTime = iprot.readI64();
-        struct.setCreationTimeIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.executionUnitData = iprot.readString();
-        struct.setExecutionUnitDataIsSet(true);
-      }
-      if (incoming.get(2)) {
-        {
-          org.apache.thrift.protocol.TList _list84 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.nodeInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(_list84.size);
-          org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem85;
-          for (int _i86 = 0; _i86 < _list84.size; ++_i86)
-          {
-            _elem85 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
-            _elem85.read(iprot);
-            struct.nodeInputs.add(_elem85);
-          }
-        }
-        struct.setNodeInputsIsSet(true);
-      }
-      if (incoming.get(3)) {
-        {
-          org.apache.thrift.protocol.TList _list87 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.nodeOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list87.size);
-          org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem88;
-          for (int _i89 = 0; _i89 < _list87.size; ++_i89)
-          {
-            _elem88 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
-            _elem88.read(iprot);
-            struct.nodeOutputs.add(_elem88);
-          }
-        }
-        struct.setNodeOutputsIsSet(true);
-      }
-      if (incoming.get(4)) {
-        struct.workflowNodeStatus = new WorkflowNodeStatus();
-        struct.workflowNodeStatus.read(iprot);
-        struct.setWorkflowNodeStatusIsSet(true);
-      }
-      if (incoming.get(5)) {
-        {
-          org.apache.thrift.protocol.TList _list90 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.taskDetailsList = new ArrayList<TaskDetails>(_list90.size);
-          TaskDetails _elem91;
-          for (int _i92 = 0; _i92 < _list90.size; ++_i92)
-          {
-            _elem91 = new TaskDetails();
-            _elem91.read(iprot);
-            struct.taskDetailsList.add(_elem91);
-          }
-        }
-        struct.setTaskDetailsListIsSet(true);
-      }
-      if (incoming.get(6)) {
-        {
-          org.apache.thrift.protocol.TList _list93 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.errors = new ArrayList<ErrorDetails>(_list93.size);
-          ErrorDetails _elem94;
-          for (int _i95 = 0; _i95 < _list93.size; ++_i95)
-          {
-            _elem94 = new ErrorDetails();
-            _elem94.read(iprot);
-            struct.errors.add(_elem94);
-          }
-        }
-        struct.setErrorsIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeState.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeState.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeState.java
deleted file mode 100644
index 88182e2..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/WorkflowNodeState.java
+++ /dev/null
@@ -1,80 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum WorkflowNodeState implements org.apache.thrift.TEnum {
-  INVOKED(0),
-  EXECUTING(1),
-  CANCELING(2),
-  CANCELED(3),
-  SUSPENDED(4),
-  COMPLETED(5),
-  FAILED(6),
-  UNKNOWN(7);
-
-  private final int value;
-
-  private WorkflowNodeState(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 WorkflowNodeState findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return INVOKED;
-      case 1:
-        return EXECUTING;
-      case 2:
-        return CANCELING;
-      case 3:
-        return CANCELED;
-      case 4:
-        return SUSPENDED;
-      case 5:
-        return COMPLETED;
-      case 6:
-        return FAILED;
-      case 7:
-        return UNKNOWN;
-      default:
-        return null;
-    }
-  }
-}


[17/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/WorkflowIdentifier.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/WorkflowIdentifier.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/WorkflowIdentifier.java
deleted file mode 100644
index d1377d0..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/WorkflowIdentifier.java
+++ /dev/null
@@ -1,608 +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.messaging.event;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class WorkflowIdentifier implements org.apache.thrift.TBase<WorkflowIdentifier, WorkflowIdentifier._Fields>, java.io.Serializable, Cloneable, Comparable<WorkflowIdentifier> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("WorkflowIdentifier");
-
-  private static final org.apache.thrift.protocol.TField WORKFLOW_NODE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("workflowNodeId", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.STRING, (short)3);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new WorkflowIdentifierStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new WorkflowIdentifierTupleSchemeFactory());
-  }
-
-  private String workflowNodeId; // required
-  private String experimentId; // required
-  private String gatewayId; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-    WORKFLOW_NODE_ID((short)1, "workflowNodeId"),
-    EXPERIMENT_ID((short)2, "experimentId"),
-    GATEWAY_ID((short)3, "gatewayId");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // WORKFLOW_NODE_ID
-          return WORKFLOW_NODE_ID;
-        case 2: // EXPERIMENT_ID
-          return EXPERIMENT_ID;
-        case 3: // GATEWAY_ID
-          return GATEWAY_ID;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.WORKFLOW_NODE_ID, new org.apache.thrift.meta_data.FieldMetaData("workflowNodeId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(WorkflowIdentifier.class, metaDataMap);
-  }
-
-  public WorkflowIdentifier() {
-  }
-
-  public WorkflowIdentifier(
-    String workflowNodeId,
-    String experimentId,
-    String gatewayId)
-  {
-    this();
-    this.workflowNodeId = workflowNodeId;
-    this.experimentId = experimentId;
-    this.gatewayId = gatewayId;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public WorkflowIdentifier(WorkflowIdentifier other) {
-    if (other.isSetWorkflowNodeId()) {
-      this.workflowNodeId = other.workflowNodeId;
-    }
-    if (other.isSetExperimentId()) {
-      this.experimentId = other.experimentId;
-    }
-    if (other.isSetGatewayId()) {
-      this.gatewayId = other.gatewayId;
-    }
-  }
-
-  public WorkflowIdentifier deepCopy() {
-    return new WorkflowIdentifier(this);
-  }
-
-  @Override
-  public void clear() {
-    this.workflowNodeId = null;
-    this.experimentId = null;
-    this.gatewayId = null;
-  }
-
-  public String getWorkflowNodeId() {
-    return this.workflowNodeId;
-  }
-
-  public void setWorkflowNodeId(String workflowNodeId) {
-    this.workflowNodeId = workflowNodeId;
-  }
-
-  public void unsetWorkflowNodeId() {
-    this.workflowNodeId = null;
-  }
-
-  /** Returns true if field workflowNodeId is set (has been assigned a value) and false otherwise */
-  public boolean isSetWorkflowNodeId() {
-    return this.workflowNodeId != null;
-  }
-
-  public void setWorkflowNodeIdIsSet(boolean value) {
-    if (!value) {
-      this.workflowNodeId = null;
-    }
-  }
-
-  public String getExperimentId() {
-    return this.experimentId;
-  }
-
-  public void setExperimentId(String experimentId) {
-    this.experimentId = experimentId;
-  }
-
-  public void unsetExperimentId() {
-    this.experimentId = null;
-  }
-
-  /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
-  public boolean isSetExperimentId() {
-    return this.experimentId != null;
-  }
-
-  public void setExperimentIdIsSet(boolean value) {
-    if (!value) {
-      this.experimentId = null;
-    }
-  }
-
-  public String getGatewayId() {
-    return this.gatewayId;
-  }
-
-  public void setGatewayId(String gatewayId) {
-    this.gatewayId = gatewayId;
-  }
-
-  public void unsetGatewayId() {
-    this.gatewayId = null;
-  }
-
-  /** Returns true if field gatewayId is set (has been assigned a value) and false otherwise */
-  public boolean isSetGatewayId() {
-    return this.gatewayId != null;
-  }
-
-  public void setGatewayIdIsSet(boolean value) {
-    if (!value) {
-      this.gatewayId = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case WORKFLOW_NODE_ID:
-      if (value == null) {
-        unsetWorkflowNodeId();
-      } else {
-        setWorkflowNodeId((String)value);
-      }
-      break;
-
-    case EXPERIMENT_ID:
-      if (value == null) {
-        unsetExperimentId();
-      } else {
-        setExperimentId((String)value);
-      }
-      break;
-
-    case GATEWAY_ID:
-      if (value == null) {
-        unsetGatewayId();
-      } else {
-        setGatewayId((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case WORKFLOW_NODE_ID:
-      return getWorkflowNodeId();
-
-    case EXPERIMENT_ID:
-      return getExperimentId();
-
-    case GATEWAY_ID:
-      return getGatewayId();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case WORKFLOW_NODE_ID:
-      return isSetWorkflowNodeId();
-    case EXPERIMENT_ID:
-      return isSetExperimentId();
-    case GATEWAY_ID:
-      return isSetGatewayId();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof WorkflowIdentifier)
-      return this.equals((WorkflowIdentifier)that);
-    return false;
-  }
-
-  public boolean equals(WorkflowIdentifier that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_workflowNodeId = true && this.isSetWorkflowNodeId();
-    boolean that_present_workflowNodeId = true && that.isSetWorkflowNodeId();
-    if (this_present_workflowNodeId || that_present_workflowNodeId) {
-      if (!(this_present_workflowNodeId && that_present_workflowNodeId))
-        return false;
-      if (!this.workflowNodeId.equals(that.workflowNodeId))
-        return false;
-    }
-
-    boolean this_present_experimentId = true && this.isSetExperimentId();
-    boolean that_present_experimentId = true && that.isSetExperimentId();
-    if (this_present_experimentId || that_present_experimentId) {
-      if (!(this_present_experimentId && that_present_experimentId))
-        return false;
-      if (!this.experimentId.equals(that.experimentId))
-        return false;
-    }
-
-    boolean this_present_gatewayId = true && this.isSetGatewayId();
-    boolean that_present_gatewayId = true && that.isSetGatewayId();
-    if (this_present_gatewayId || that_present_gatewayId) {
-      if (!(this_present_gatewayId && that_present_gatewayId))
-        return false;
-      if (!this.gatewayId.equals(that.gatewayId))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_workflowNodeId = true && (isSetWorkflowNodeId());
-    list.add(present_workflowNodeId);
-    if (present_workflowNodeId)
-      list.add(workflowNodeId);
-
-    boolean present_experimentId = true && (isSetExperimentId());
-    list.add(present_experimentId);
-    if (present_experimentId)
-      list.add(experimentId);
-
-    boolean present_gatewayId = true && (isSetGatewayId());
-    list.add(present_gatewayId);
-    if (present_gatewayId)
-      list.add(gatewayId);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(WorkflowIdentifier other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetWorkflowNodeId()).compareTo(other.isSetWorkflowNodeId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWorkflowNodeId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workflowNodeId, other.workflowNodeId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExperimentId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetGatewayId()).compareTo(other.isSetGatewayId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetGatewayId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gatewayId, other.gatewayId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("WorkflowIdentifier(");
-    boolean first = true;
-
-    sb.append("workflowNodeId:");
-    if (this.workflowNodeId == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.workflowNodeId);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("experimentId:");
-    if (this.experimentId == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.experimentId);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("gatewayId:");
-    if (this.gatewayId == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.gatewayId);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetWorkflowNodeId()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'workflowNodeId' is unset! Struct:" + toString());
-    }
-
-    if (!isSetExperimentId()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' is unset! Struct:" + toString());
-    }
-
-    if (!isSetGatewayId()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'gatewayId' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class WorkflowIdentifierStandardSchemeFactory implements SchemeFactory {
-    public WorkflowIdentifierStandardScheme getScheme() {
-      return new WorkflowIdentifierStandardScheme();
-    }
-  }
-
-  private static class WorkflowIdentifierStandardScheme extends StandardScheme<WorkflowIdentifier> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, WorkflowIdentifier struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // WORKFLOW_NODE_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.workflowNodeId = iprot.readString();
-              struct.setWorkflowNodeIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // EXPERIMENT_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.experimentId = iprot.readString();
-              struct.setExperimentIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // GATEWAY_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.gatewayId = iprot.readString();
-              struct.setGatewayIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, WorkflowIdentifier struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.workflowNodeId != null) {
-        oprot.writeFieldBegin(WORKFLOW_NODE_ID_FIELD_DESC);
-        oprot.writeString(struct.workflowNodeId);
-        oprot.writeFieldEnd();
-      }
-      if (struct.experimentId != null) {
-        oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
-        oprot.writeString(struct.experimentId);
-        oprot.writeFieldEnd();
-      }
-      if (struct.gatewayId != null) {
-        oprot.writeFieldBegin(GATEWAY_ID_FIELD_DESC);
-        oprot.writeString(struct.gatewayId);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class WorkflowIdentifierTupleSchemeFactory implements SchemeFactory {
-    public WorkflowIdentifierTupleScheme getScheme() {
-      return new WorkflowIdentifierTupleScheme();
-    }
-  }
-
-  private static class WorkflowIdentifierTupleScheme extends TupleScheme<WorkflowIdentifier> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, WorkflowIdentifier struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.workflowNodeId);
-      oprot.writeString(struct.experimentId);
-      oprot.writeString(struct.gatewayId);
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, WorkflowIdentifier struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.workflowNodeId = iprot.readString();
-      struct.setWorkflowNodeIdIsSet(true);
-      struct.experimentId = iprot.readString();
-      struct.setExperimentIdIsSet(true);
-      struct.gatewayId = iprot.readString();
-      struct.setGatewayIdIsSet(true);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/WorkflowNodeStatusChangeEvent.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/WorkflowNodeStatusChangeEvent.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/WorkflowNodeStatusChangeEvent.java
deleted file mode 100644
index bd1b22d..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/WorkflowNodeStatusChangeEvent.java
+++ /dev/null
@@ -1,524 +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.messaging.event;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class WorkflowNodeStatusChangeEvent implements org.apache.thrift.TBase<WorkflowNodeStatusChangeEvent, WorkflowNodeStatusChangeEvent._Fields>, java.io.Serializable, Cloneable, Comparable<WorkflowNodeStatusChangeEvent> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("WorkflowNodeStatusChangeEvent");
-
-  private static final org.apache.thrift.protocol.TField STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("state", org.apache.thrift.protocol.TType.I32, (short)1);
-  private static final org.apache.thrift.protocol.TField WORKFLOW_NODE_IDENTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("workflowNodeIdentity", org.apache.thrift.protocol.TType.STRUCT, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new WorkflowNodeStatusChangeEventStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new WorkflowNodeStatusChangeEventTupleSchemeFactory());
-  }
-
-  private org.apache.airavata.model.workspace.experiment.WorkflowNodeState state; // required
-  private WorkflowIdentifier workflowNodeIdentity; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-    /**
-     * 
-     * @see org.apache.airavata.model.workspace.experiment.WorkflowNodeState
-     */
-    STATE((short)1, "state"),
-    WORKFLOW_NODE_IDENTITY((short)2, "workflowNodeIdentity");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // STATE
-          return STATE;
-        case 2: // WORKFLOW_NODE_IDENTITY
-          return WORKFLOW_NODE_IDENTITY;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, org.apache.airavata.model.workspace.experiment.WorkflowNodeState.class)));
-    tmpMap.put(_Fields.WORKFLOW_NODE_IDENTITY, new org.apache.thrift.meta_data.FieldMetaData("workflowNodeIdentity", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, WorkflowIdentifier.class)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(WorkflowNodeStatusChangeEvent.class, metaDataMap);
-  }
-
-  public WorkflowNodeStatusChangeEvent() {
-  }
-
-  public WorkflowNodeStatusChangeEvent(
-    org.apache.airavata.model.workspace.experiment.WorkflowNodeState state,
-    WorkflowIdentifier workflowNodeIdentity)
-  {
-    this();
-    this.state = state;
-    this.workflowNodeIdentity = workflowNodeIdentity;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public WorkflowNodeStatusChangeEvent(WorkflowNodeStatusChangeEvent other) {
-    if (other.isSetState()) {
-      this.state = other.state;
-    }
-    if (other.isSetWorkflowNodeIdentity()) {
-      this.workflowNodeIdentity = new WorkflowIdentifier(other.workflowNodeIdentity);
-    }
-  }
-
-  public WorkflowNodeStatusChangeEvent deepCopy() {
-    return new WorkflowNodeStatusChangeEvent(this);
-  }
-
-  @Override
-  public void clear() {
-    this.state = null;
-    this.workflowNodeIdentity = null;
-  }
-
-  /**
-   * 
-   * @see org.apache.airavata.model.workspace.experiment.WorkflowNodeState
-   */
-  public org.apache.airavata.model.workspace.experiment.WorkflowNodeState getState() {
-    return this.state;
-  }
-
-  /**
-   * 
-   * @see org.apache.airavata.model.workspace.experiment.WorkflowNodeState
-   */
-  public void setState(org.apache.airavata.model.workspace.experiment.WorkflowNodeState state) {
-    this.state = state;
-  }
-
-  public void unsetState() {
-    this.state = null;
-  }
-
-  /** Returns true if field state is set (has been assigned a value) and false otherwise */
-  public boolean isSetState() {
-    return this.state != null;
-  }
-
-  public void setStateIsSet(boolean value) {
-    if (!value) {
-      this.state = null;
-    }
-  }
-
-  public WorkflowIdentifier getWorkflowNodeIdentity() {
-    return this.workflowNodeIdentity;
-  }
-
-  public void setWorkflowNodeIdentity(WorkflowIdentifier workflowNodeIdentity) {
-    this.workflowNodeIdentity = workflowNodeIdentity;
-  }
-
-  public void unsetWorkflowNodeIdentity() {
-    this.workflowNodeIdentity = null;
-  }
-
-  /** Returns true if field workflowNodeIdentity is set (has been assigned a value) and false otherwise */
-  public boolean isSetWorkflowNodeIdentity() {
-    return this.workflowNodeIdentity != null;
-  }
-
-  public void setWorkflowNodeIdentityIsSet(boolean value) {
-    if (!value) {
-      this.workflowNodeIdentity = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case STATE:
-      if (value == null) {
-        unsetState();
-      } else {
-        setState((org.apache.airavata.model.workspace.experiment.WorkflowNodeState)value);
-      }
-      break;
-
-    case WORKFLOW_NODE_IDENTITY:
-      if (value == null) {
-        unsetWorkflowNodeIdentity();
-      } else {
-        setWorkflowNodeIdentity((WorkflowIdentifier)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case STATE:
-      return getState();
-
-    case WORKFLOW_NODE_IDENTITY:
-      return getWorkflowNodeIdentity();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case STATE:
-      return isSetState();
-    case WORKFLOW_NODE_IDENTITY:
-      return isSetWorkflowNodeIdentity();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof WorkflowNodeStatusChangeEvent)
-      return this.equals((WorkflowNodeStatusChangeEvent)that);
-    return false;
-  }
-
-  public boolean equals(WorkflowNodeStatusChangeEvent that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_state = true && this.isSetState();
-    boolean that_present_state = true && that.isSetState();
-    if (this_present_state || that_present_state) {
-      if (!(this_present_state && that_present_state))
-        return false;
-      if (!this.state.equals(that.state))
-        return false;
-    }
-
-    boolean this_present_workflowNodeIdentity = true && this.isSetWorkflowNodeIdentity();
-    boolean that_present_workflowNodeIdentity = true && that.isSetWorkflowNodeIdentity();
-    if (this_present_workflowNodeIdentity || that_present_workflowNodeIdentity) {
-      if (!(this_present_workflowNodeIdentity && that_present_workflowNodeIdentity))
-        return false;
-      if (!this.workflowNodeIdentity.equals(that.workflowNodeIdentity))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_state = true && (isSetState());
-    list.add(present_state);
-    if (present_state)
-      list.add(state.getValue());
-
-    boolean present_workflowNodeIdentity = true && (isSetWorkflowNodeIdentity());
-    list.add(present_workflowNodeIdentity);
-    if (present_workflowNodeIdentity)
-      list.add(workflowNodeIdentity);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(WorkflowNodeStatusChangeEvent other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetState()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetWorkflowNodeIdentity()).compareTo(other.isSetWorkflowNodeIdentity());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWorkflowNodeIdentity()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workflowNodeIdentity, other.workflowNodeIdentity);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("WorkflowNodeStatusChangeEvent(");
-    boolean first = true;
-
-    sb.append("state:");
-    if (this.state == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.state);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("workflowNodeIdentity:");
-    if (this.workflowNodeIdentity == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.workflowNodeIdentity);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetState()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'state' is unset! Struct:" + toString());
-    }
-
-    if (!isSetWorkflowNodeIdentity()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'workflowNodeIdentity' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-    if (workflowNodeIdentity != null) {
-      workflowNodeIdentity.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class WorkflowNodeStatusChangeEventStandardSchemeFactory implements SchemeFactory {
-    public WorkflowNodeStatusChangeEventStandardScheme getScheme() {
-      return new WorkflowNodeStatusChangeEventStandardScheme();
-    }
-  }
-
-  private static class WorkflowNodeStatusChangeEventStandardScheme extends StandardScheme<WorkflowNodeStatusChangeEvent> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, WorkflowNodeStatusChangeEvent struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // STATE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.state = org.apache.airavata.model.workspace.experiment.WorkflowNodeState.findByValue(iprot.readI32());
-              struct.setStateIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // WORKFLOW_NODE_IDENTITY
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.workflowNodeIdentity = new WorkflowIdentifier();
-              struct.workflowNodeIdentity.read(iprot);
-              struct.setWorkflowNodeIdentityIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, WorkflowNodeStatusChangeEvent struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.state != null) {
-        oprot.writeFieldBegin(STATE_FIELD_DESC);
-        oprot.writeI32(struct.state.getValue());
-        oprot.writeFieldEnd();
-      }
-      if (struct.workflowNodeIdentity != null) {
-        oprot.writeFieldBegin(WORKFLOW_NODE_IDENTITY_FIELD_DESC);
-        struct.workflowNodeIdentity.write(oprot);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class WorkflowNodeStatusChangeEventTupleSchemeFactory implements SchemeFactory {
-    public WorkflowNodeStatusChangeEventTupleScheme getScheme() {
-      return new WorkflowNodeStatusChangeEventTupleScheme();
-    }
-  }
-
-  private static class WorkflowNodeStatusChangeEventTupleScheme extends TupleScheme<WorkflowNodeStatusChangeEvent> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, WorkflowNodeStatusChangeEvent struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeI32(struct.state.getValue());
-      struct.workflowNodeIdentity.write(oprot);
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, WorkflowNodeStatusChangeEvent struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.state = org.apache.airavata.model.workspace.experiment.WorkflowNodeState.findByValue(iprot.readI32());
-      struct.setStateIsSet(true);
-      struct.workflowNodeIdentity = new WorkflowIdentifier();
-      struct.workflowNodeIdentity.read(iprot);
-      struct.setWorkflowNodeIdentityIsSet(true);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/messagingEventsConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/messagingEventsConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/messagingEventsConstants.java
deleted file mode 100644
index 36defa6..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/messagingEventsConstants.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.messaging.event;
-
-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 messagingEventsConstants {
-
-  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/messaging/event/messaging_eventsConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/messaging_eventsConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/messaging_eventsConstants.java
new file mode 100644
index 0000000..4bc53e5
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/messaging/event/messaging_eventsConstants.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.messaging.event;
+
+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 messaging_eventsConstants {
+
+  public static final String DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
+
+}


[12/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/AdvancedInputDataHandling.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/AdvancedInputDataHandling.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/AdvancedInputDataHandling.java
deleted file mode 100644
index bd3549b..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/AdvancedInputDataHandling.java
+++ /dev/null
@@ -1,726 +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.workspace.experiment;
-
-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"})
-/**
- * A structure holding specified input data handling.
- * 
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class AdvancedInputDataHandling implements org.apache.thrift.TBase<AdvancedInputDataHandling, AdvancedInputDataHandling._Fields>, java.io.Serializable, Cloneable, Comparable<AdvancedInputDataHandling> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AdvancedInputDataHandling");
-
-  private static final org.apache.thrift.protocol.TField STAGE_INPUT_FILES_TO_WORKING_DIR_FIELD_DESC = new org.apache.thrift.protocol.TField("stageInputFilesToWorkingDir", org.apache.thrift.protocol.TType.BOOL, (short)1);
-  private static final org.apache.thrift.protocol.TField PARENT_WORKING_DIRECTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("parentWorkingDirectory", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField UNIQUE_WORKING_DIRECTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("uniqueWorkingDirectory", org.apache.thrift.protocol.TType.STRING, (short)3);
-  private static final org.apache.thrift.protocol.TField CLEAN_UP_WORKING_DIR_AFTER_JOB_FIELD_DESC = new org.apache.thrift.protocol.TField("cleanUpWorkingDirAfterJob", org.apache.thrift.protocol.TType.BOOL, (short)4);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new AdvancedInputDataHandlingStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new AdvancedInputDataHandlingTupleSchemeFactory());
-  }
-
-  private boolean stageInputFilesToWorkingDir; // optional
-  private String parentWorkingDirectory; // optional
-  private String uniqueWorkingDirectory; // optional
-  private boolean cleanUpWorkingDirAfterJob; // 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 {
-    STAGE_INPUT_FILES_TO_WORKING_DIR((short)1, "stageInputFilesToWorkingDir"),
-    PARENT_WORKING_DIRECTORY((short)2, "parentWorkingDirectory"),
-    UNIQUE_WORKING_DIRECTORY((short)3, "uniqueWorkingDirectory"),
-    CLEAN_UP_WORKING_DIR_AFTER_JOB((short)4, "cleanUpWorkingDirAfterJob");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // STAGE_INPUT_FILES_TO_WORKING_DIR
-          return STAGE_INPUT_FILES_TO_WORKING_DIR;
-        case 2: // PARENT_WORKING_DIRECTORY
-          return PARENT_WORKING_DIRECTORY;
-        case 3: // UNIQUE_WORKING_DIRECTORY
-          return UNIQUE_WORKING_DIRECTORY;
-        case 4: // CLEAN_UP_WORKING_DIR_AFTER_JOB
-          return CLEAN_UP_WORKING_DIR_AFTER_JOB;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __STAGEINPUTFILESTOWORKINGDIR_ISSET_ID = 0;
-  private static final int __CLEANUPWORKINGDIRAFTERJOB_ISSET_ID = 1;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.STAGE_INPUT_FILES_TO_WORKING_DIR,_Fields.PARENT_WORKING_DIRECTORY,_Fields.UNIQUE_WORKING_DIRECTORY,_Fields.CLEAN_UP_WORKING_DIR_AFTER_JOB};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.STAGE_INPUT_FILES_TO_WORKING_DIR, new org.apache.thrift.meta_data.FieldMetaData("stageInputFilesToWorkingDir", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.PARENT_WORKING_DIRECTORY, new org.apache.thrift.meta_data.FieldMetaData("parentWorkingDirectory", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.UNIQUE_WORKING_DIRECTORY, new org.apache.thrift.meta_data.FieldMetaData("uniqueWorkingDirectory", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.CLEAN_UP_WORKING_DIR_AFTER_JOB, new org.apache.thrift.meta_data.FieldMetaData("cleanUpWorkingDirAfterJob", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AdvancedInputDataHandling.class, metaDataMap);
-  }
-
-  public AdvancedInputDataHandling() {
-    this.stageInputFilesToWorkingDir = false;
-
-    this.cleanUpWorkingDirAfterJob = false;
-
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public AdvancedInputDataHandling(AdvancedInputDataHandling other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.stageInputFilesToWorkingDir = other.stageInputFilesToWorkingDir;
-    if (other.isSetParentWorkingDirectory()) {
-      this.parentWorkingDirectory = other.parentWorkingDirectory;
-    }
-    if (other.isSetUniqueWorkingDirectory()) {
-      this.uniqueWorkingDirectory = other.uniqueWorkingDirectory;
-    }
-    this.cleanUpWorkingDirAfterJob = other.cleanUpWorkingDirAfterJob;
-  }
-
-  public AdvancedInputDataHandling deepCopy() {
-    return new AdvancedInputDataHandling(this);
-  }
-
-  @Override
-  public void clear() {
-    this.stageInputFilesToWorkingDir = false;
-
-    this.parentWorkingDirectory = null;
-    this.uniqueWorkingDirectory = null;
-    this.cleanUpWorkingDirAfterJob = false;
-
-  }
-
-  public boolean isStageInputFilesToWorkingDir() {
-    return this.stageInputFilesToWorkingDir;
-  }
-
-  public void setStageInputFilesToWorkingDir(boolean stageInputFilesToWorkingDir) {
-    this.stageInputFilesToWorkingDir = stageInputFilesToWorkingDir;
-    setStageInputFilesToWorkingDirIsSet(true);
-  }
-
-  public void unsetStageInputFilesToWorkingDir() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __STAGEINPUTFILESTOWORKINGDIR_ISSET_ID);
-  }
-
-  /** Returns true if field stageInputFilesToWorkingDir is set (has been assigned a value) and false otherwise */
-  public boolean isSetStageInputFilesToWorkingDir() {
-    return EncodingUtils.testBit(__isset_bitfield, __STAGEINPUTFILESTOWORKINGDIR_ISSET_ID);
-  }
-
-  public void setStageInputFilesToWorkingDirIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __STAGEINPUTFILESTOWORKINGDIR_ISSET_ID, value);
-  }
-
-  public String getParentWorkingDirectory() {
-    return this.parentWorkingDirectory;
-  }
-
-  public void setParentWorkingDirectory(String parentWorkingDirectory) {
-    this.parentWorkingDirectory = parentWorkingDirectory;
-  }
-
-  public void unsetParentWorkingDirectory() {
-    this.parentWorkingDirectory = null;
-  }
-
-  /** Returns true if field parentWorkingDirectory is set (has been assigned a value) and false otherwise */
-  public boolean isSetParentWorkingDirectory() {
-    return this.parentWorkingDirectory != null;
-  }
-
-  public void setParentWorkingDirectoryIsSet(boolean value) {
-    if (!value) {
-      this.parentWorkingDirectory = null;
-    }
-  }
-
-  public String getUniqueWorkingDirectory() {
-    return this.uniqueWorkingDirectory;
-  }
-
-  public void setUniqueWorkingDirectory(String uniqueWorkingDirectory) {
-    this.uniqueWorkingDirectory = uniqueWorkingDirectory;
-  }
-
-  public void unsetUniqueWorkingDirectory() {
-    this.uniqueWorkingDirectory = null;
-  }
-
-  /** Returns true if field uniqueWorkingDirectory is set (has been assigned a value) and false otherwise */
-  public boolean isSetUniqueWorkingDirectory() {
-    return this.uniqueWorkingDirectory != null;
-  }
-
-  public void setUniqueWorkingDirectoryIsSet(boolean value) {
-    if (!value) {
-      this.uniqueWorkingDirectory = null;
-    }
-  }
-
-  public boolean isCleanUpWorkingDirAfterJob() {
-    return this.cleanUpWorkingDirAfterJob;
-  }
-
-  public void setCleanUpWorkingDirAfterJob(boolean cleanUpWorkingDirAfterJob) {
-    this.cleanUpWorkingDirAfterJob = cleanUpWorkingDirAfterJob;
-    setCleanUpWorkingDirAfterJobIsSet(true);
-  }
-
-  public void unsetCleanUpWorkingDirAfterJob() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CLEANUPWORKINGDIRAFTERJOB_ISSET_ID);
-  }
-
-  /** Returns true if field cleanUpWorkingDirAfterJob is set (has been assigned a value) and false otherwise */
-  public boolean isSetCleanUpWorkingDirAfterJob() {
-    return EncodingUtils.testBit(__isset_bitfield, __CLEANUPWORKINGDIRAFTERJOB_ISSET_ID);
-  }
-
-  public void setCleanUpWorkingDirAfterJobIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CLEANUPWORKINGDIRAFTERJOB_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case STAGE_INPUT_FILES_TO_WORKING_DIR:
-      if (value == null) {
-        unsetStageInputFilesToWorkingDir();
-      } else {
-        setStageInputFilesToWorkingDir((Boolean)value);
-      }
-      break;
-
-    case PARENT_WORKING_DIRECTORY:
-      if (value == null) {
-        unsetParentWorkingDirectory();
-      } else {
-        setParentWorkingDirectory((String)value);
-      }
-      break;
-
-    case UNIQUE_WORKING_DIRECTORY:
-      if (value == null) {
-        unsetUniqueWorkingDirectory();
-      } else {
-        setUniqueWorkingDirectory((String)value);
-      }
-      break;
-
-    case CLEAN_UP_WORKING_DIR_AFTER_JOB:
-      if (value == null) {
-        unsetCleanUpWorkingDirAfterJob();
-      } else {
-        setCleanUpWorkingDirAfterJob((Boolean)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case STAGE_INPUT_FILES_TO_WORKING_DIR:
-      return Boolean.valueOf(isStageInputFilesToWorkingDir());
-
-    case PARENT_WORKING_DIRECTORY:
-      return getParentWorkingDirectory();
-
-    case UNIQUE_WORKING_DIRECTORY:
-      return getUniqueWorkingDirectory();
-
-    case CLEAN_UP_WORKING_DIR_AFTER_JOB:
-      return Boolean.valueOf(isCleanUpWorkingDirAfterJob());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case STAGE_INPUT_FILES_TO_WORKING_DIR:
-      return isSetStageInputFilesToWorkingDir();
-    case PARENT_WORKING_DIRECTORY:
-      return isSetParentWorkingDirectory();
-    case UNIQUE_WORKING_DIRECTORY:
-      return isSetUniqueWorkingDirectory();
-    case CLEAN_UP_WORKING_DIR_AFTER_JOB:
-      return isSetCleanUpWorkingDirAfterJob();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof AdvancedInputDataHandling)
-      return this.equals((AdvancedInputDataHandling)that);
-    return false;
-  }
-
-  public boolean equals(AdvancedInputDataHandling that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_stageInputFilesToWorkingDir = true && this.isSetStageInputFilesToWorkingDir();
-    boolean that_present_stageInputFilesToWorkingDir = true && that.isSetStageInputFilesToWorkingDir();
-    if (this_present_stageInputFilesToWorkingDir || that_present_stageInputFilesToWorkingDir) {
-      if (!(this_present_stageInputFilesToWorkingDir && that_present_stageInputFilesToWorkingDir))
-        return false;
-      if (this.stageInputFilesToWorkingDir != that.stageInputFilesToWorkingDir)
-        return false;
-    }
-
-    boolean this_present_parentWorkingDirectory = true && this.isSetParentWorkingDirectory();
-    boolean that_present_parentWorkingDirectory = true && that.isSetParentWorkingDirectory();
-    if (this_present_parentWorkingDirectory || that_present_parentWorkingDirectory) {
-      if (!(this_present_parentWorkingDirectory && that_present_parentWorkingDirectory))
-        return false;
-      if (!this.parentWorkingDirectory.equals(that.parentWorkingDirectory))
-        return false;
-    }
-
-    boolean this_present_uniqueWorkingDirectory = true && this.isSetUniqueWorkingDirectory();
-    boolean that_present_uniqueWorkingDirectory = true && that.isSetUniqueWorkingDirectory();
-    if (this_present_uniqueWorkingDirectory || that_present_uniqueWorkingDirectory) {
-      if (!(this_present_uniqueWorkingDirectory && that_present_uniqueWorkingDirectory))
-        return false;
-      if (!this.uniqueWorkingDirectory.equals(that.uniqueWorkingDirectory))
-        return false;
-    }
-
-    boolean this_present_cleanUpWorkingDirAfterJob = true && this.isSetCleanUpWorkingDirAfterJob();
-    boolean that_present_cleanUpWorkingDirAfterJob = true && that.isSetCleanUpWorkingDirAfterJob();
-    if (this_present_cleanUpWorkingDirAfterJob || that_present_cleanUpWorkingDirAfterJob) {
-      if (!(this_present_cleanUpWorkingDirAfterJob && that_present_cleanUpWorkingDirAfterJob))
-        return false;
-      if (this.cleanUpWorkingDirAfterJob != that.cleanUpWorkingDirAfterJob)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_stageInputFilesToWorkingDir = true && (isSetStageInputFilesToWorkingDir());
-    list.add(present_stageInputFilesToWorkingDir);
-    if (present_stageInputFilesToWorkingDir)
-      list.add(stageInputFilesToWorkingDir);
-
-    boolean present_parentWorkingDirectory = true && (isSetParentWorkingDirectory());
-    list.add(present_parentWorkingDirectory);
-    if (present_parentWorkingDirectory)
-      list.add(parentWorkingDirectory);
-
-    boolean present_uniqueWorkingDirectory = true && (isSetUniqueWorkingDirectory());
-    list.add(present_uniqueWorkingDirectory);
-    if (present_uniqueWorkingDirectory)
-      list.add(uniqueWorkingDirectory);
-
-    boolean present_cleanUpWorkingDirAfterJob = true && (isSetCleanUpWorkingDirAfterJob());
-    list.add(present_cleanUpWorkingDirAfterJob);
-    if (present_cleanUpWorkingDirAfterJob)
-      list.add(cleanUpWorkingDirAfterJob);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(AdvancedInputDataHandling other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetStageInputFilesToWorkingDir()).compareTo(other.isSetStageInputFilesToWorkingDir());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetStageInputFilesToWorkingDir()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageInputFilesToWorkingDir, other.stageInputFilesToWorkingDir);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetParentWorkingDirectory()).compareTo(other.isSetParentWorkingDirectory());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetParentWorkingDirectory()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parentWorkingDirectory, other.parentWorkingDirectory);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetUniqueWorkingDirectory()).compareTo(other.isSetUniqueWorkingDirectory());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetUniqueWorkingDirectory()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.uniqueWorkingDirectory, other.uniqueWorkingDirectory);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCleanUpWorkingDirAfterJob()).compareTo(other.isSetCleanUpWorkingDirAfterJob());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCleanUpWorkingDirAfterJob()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cleanUpWorkingDirAfterJob, other.cleanUpWorkingDirAfterJob);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("AdvancedInputDataHandling(");
-    boolean first = true;
-
-    if (isSetStageInputFilesToWorkingDir()) {
-      sb.append("stageInputFilesToWorkingDir:");
-      sb.append(this.stageInputFilesToWorkingDir);
-      first = false;
-    }
-    if (isSetParentWorkingDirectory()) {
-      if (!first) sb.append(", ");
-      sb.append("parentWorkingDirectory:");
-      if (this.parentWorkingDirectory == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.parentWorkingDirectory);
-      }
-      first = false;
-    }
-    if (isSetUniqueWorkingDirectory()) {
-      if (!first) sb.append(", ");
-      sb.append("uniqueWorkingDirectory:");
-      if (this.uniqueWorkingDirectory == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.uniqueWorkingDirectory);
-      }
-      first = false;
-    }
-    if (isSetCleanUpWorkingDirAfterJob()) {
-      if (!first) sb.append(", ");
-      sb.append("cleanUpWorkingDirAfterJob:");
-      sb.append(this.cleanUpWorkingDirAfterJob);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class AdvancedInputDataHandlingStandardSchemeFactory implements SchemeFactory {
-    public AdvancedInputDataHandlingStandardScheme getScheme() {
-      return new AdvancedInputDataHandlingStandardScheme();
-    }
-  }
-
-  private static class AdvancedInputDataHandlingStandardScheme extends StandardScheme<AdvancedInputDataHandling> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, AdvancedInputDataHandling struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // STAGE_INPUT_FILES_TO_WORKING_DIR
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.stageInputFilesToWorkingDir = iprot.readBool();
-              struct.setStageInputFilesToWorkingDirIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // PARENT_WORKING_DIRECTORY
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.parentWorkingDirectory = iprot.readString();
-              struct.setParentWorkingDirectoryIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // UNIQUE_WORKING_DIRECTORY
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.uniqueWorkingDirectory = iprot.readString();
-              struct.setUniqueWorkingDirectoryIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // CLEAN_UP_WORKING_DIR_AFTER_JOB
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.cleanUpWorkingDirAfterJob = iprot.readBool();
-              struct.setCleanUpWorkingDirAfterJobIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, AdvancedInputDataHandling struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.isSetStageInputFilesToWorkingDir()) {
-        oprot.writeFieldBegin(STAGE_INPUT_FILES_TO_WORKING_DIR_FIELD_DESC);
-        oprot.writeBool(struct.stageInputFilesToWorkingDir);
-        oprot.writeFieldEnd();
-      }
-      if (struct.parentWorkingDirectory != null) {
-        if (struct.isSetParentWorkingDirectory()) {
-          oprot.writeFieldBegin(PARENT_WORKING_DIRECTORY_FIELD_DESC);
-          oprot.writeString(struct.parentWorkingDirectory);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.uniqueWorkingDirectory != null) {
-        if (struct.isSetUniqueWorkingDirectory()) {
-          oprot.writeFieldBegin(UNIQUE_WORKING_DIRECTORY_FIELD_DESC);
-          oprot.writeString(struct.uniqueWorkingDirectory);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetCleanUpWorkingDirAfterJob()) {
-        oprot.writeFieldBegin(CLEAN_UP_WORKING_DIR_AFTER_JOB_FIELD_DESC);
-        oprot.writeBool(struct.cleanUpWorkingDirAfterJob);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class AdvancedInputDataHandlingTupleSchemeFactory implements SchemeFactory {
-    public AdvancedInputDataHandlingTupleScheme getScheme() {
-      return new AdvancedInputDataHandlingTupleScheme();
-    }
-  }
-
-  private static class AdvancedInputDataHandlingTupleScheme extends TupleScheme<AdvancedInputDataHandling> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, AdvancedInputDataHandling struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetStageInputFilesToWorkingDir()) {
-        optionals.set(0);
-      }
-      if (struct.isSetParentWorkingDirectory()) {
-        optionals.set(1);
-      }
-      if (struct.isSetUniqueWorkingDirectory()) {
-        optionals.set(2);
-      }
-      if (struct.isSetCleanUpWorkingDirAfterJob()) {
-        optionals.set(3);
-      }
-      oprot.writeBitSet(optionals, 4);
-      if (struct.isSetStageInputFilesToWorkingDir()) {
-        oprot.writeBool(struct.stageInputFilesToWorkingDir);
-      }
-      if (struct.isSetParentWorkingDirectory()) {
-        oprot.writeString(struct.parentWorkingDirectory);
-      }
-      if (struct.isSetUniqueWorkingDirectory()) {
-        oprot.writeString(struct.uniqueWorkingDirectory);
-      }
-      if (struct.isSetCleanUpWorkingDirAfterJob()) {
-        oprot.writeBool(struct.cleanUpWorkingDirAfterJob);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, AdvancedInputDataHandling struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(4);
-      if (incoming.get(0)) {
-        struct.stageInputFilesToWorkingDir = iprot.readBool();
-        struct.setStageInputFilesToWorkingDirIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.parentWorkingDirectory = iprot.readString();
-        struct.setParentWorkingDirectoryIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.uniqueWorkingDirectory = iprot.readString();
-        struct.setUniqueWorkingDirectoryIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.cleanUpWorkingDirAfterJob = iprot.readBool();
-        struct.setCleanUpWorkingDirAfterJobIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/AdvancedOutputDataHandling.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/AdvancedOutputDataHandling.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/AdvancedOutputDataHandling.java
deleted file mode 100644
index d0c6604..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/AdvancedOutputDataHandling.java
+++ /dev/null
@@ -1,625 +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.workspace.experiment;
-
-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"})
-/**
- * A structure holding specified output data handling.
- * 
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class AdvancedOutputDataHandling implements org.apache.thrift.TBase<AdvancedOutputDataHandling, AdvancedOutputDataHandling._Fields>, java.io.Serializable, Cloneable, Comparable<AdvancedOutputDataHandling> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AdvancedOutputDataHandling");
-
-  private static final org.apache.thrift.protocol.TField OUTPUT_DATA_DIR_FIELD_DESC = new org.apache.thrift.protocol.TField("outputDataDir", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField DATA_REGISTRY_URL_FIELD_DESC = new org.apache.thrift.protocol.TField("dataRegistryURL", org.apache.thrift.protocol.TType.STRING, (short)3);
-  private static final org.apache.thrift.protocol.TField PERSIST_OUTPUT_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("persistOutputData", org.apache.thrift.protocol.TType.BOOL, (short)4);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new AdvancedOutputDataHandlingStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new AdvancedOutputDataHandlingTupleSchemeFactory());
-  }
-
-  private String outputDataDir; // optional
-  private String dataRegistryURL; // optional
-  private boolean persistOutputData; // 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 {
-    OUTPUT_DATA_DIR((short)2, "outputDataDir"),
-    DATA_REGISTRY_URL((short)3, "dataRegistryURL"),
-    PERSIST_OUTPUT_DATA((short)4, "persistOutputData");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 2: // OUTPUT_DATA_DIR
-          return OUTPUT_DATA_DIR;
-        case 3: // DATA_REGISTRY_URL
-          return DATA_REGISTRY_URL;
-        case 4: // PERSIST_OUTPUT_DATA
-          return PERSIST_OUTPUT_DATA;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __PERSISTOUTPUTDATA_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.OUTPUT_DATA_DIR,_Fields.DATA_REGISTRY_URL,_Fields.PERSIST_OUTPUT_DATA};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.OUTPUT_DATA_DIR, new org.apache.thrift.meta_data.FieldMetaData("outputDataDir", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.DATA_REGISTRY_URL, new org.apache.thrift.meta_data.FieldMetaData("dataRegistryURL", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.PERSIST_OUTPUT_DATA, new org.apache.thrift.meta_data.FieldMetaData("persistOutputData", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AdvancedOutputDataHandling.class, metaDataMap);
-  }
-
-  public AdvancedOutputDataHandling() {
-    this.persistOutputData = true;
-
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public AdvancedOutputDataHandling(AdvancedOutputDataHandling other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetOutputDataDir()) {
-      this.outputDataDir = other.outputDataDir;
-    }
-    if (other.isSetDataRegistryURL()) {
-      this.dataRegistryURL = other.dataRegistryURL;
-    }
-    this.persistOutputData = other.persistOutputData;
-  }
-
-  public AdvancedOutputDataHandling deepCopy() {
-    return new AdvancedOutputDataHandling(this);
-  }
-
-  @Override
-  public void clear() {
-    this.outputDataDir = null;
-    this.dataRegistryURL = null;
-    this.persistOutputData = true;
-
-  }
-
-  public String getOutputDataDir() {
-    return this.outputDataDir;
-  }
-
-  public void setOutputDataDir(String outputDataDir) {
-    this.outputDataDir = outputDataDir;
-  }
-
-  public void unsetOutputDataDir() {
-    this.outputDataDir = null;
-  }
-
-  /** Returns true if field outputDataDir is set (has been assigned a value) and false otherwise */
-  public boolean isSetOutputDataDir() {
-    return this.outputDataDir != null;
-  }
-
-  public void setOutputDataDirIsSet(boolean value) {
-    if (!value) {
-      this.outputDataDir = null;
-    }
-  }
-
-  public String getDataRegistryURL() {
-    return this.dataRegistryURL;
-  }
-
-  public void setDataRegistryURL(String dataRegistryURL) {
-    this.dataRegistryURL = dataRegistryURL;
-  }
-
-  public void unsetDataRegistryURL() {
-    this.dataRegistryURL = null;
-  }
-
-  /** Returns true if field dataRegistryURL is set (has been assigned a value) and false otherwise */
-  public boolean isSetDataRegistryURL() {
-    return this.dataRegistryURL != null;
-  }
-
-  public void setDataRegistryURLIsSet(boolean value) {
-    if (!value) {
-      this.dataRegistryURL = null;
-    }
-  }
-
-  public boolean isPersistOutputData() {
-    return this.persistOutputData;
-  }
-
-  public void setPersistOutputData(boolean persistOutputData) {
-    this.persistOutputData = persistOutputData;
-    setPersistOutputDataIsSet(true);
-  }
-
-  public void unsetPersistOutputData() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __PERSISTOUTPUTDATA_ISSET_ID);
-  }
-
-  /** Returns true if field persistOutputData is set (has been assigned a value) and false otherwise */
-  public boolean isSetPersistOutputData() {
-    return EncodingUtils.testBit(__isset_bitfield, __PERSISTOUTPUTDATA_ISSET_ID);
-  }
-
-  public void setPersistOutputDataIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PERSISTOUTPUTDATA_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case OUTPUT_DATA_DIR:
-      if (value == null) {
-        unsetOutputDataDir();
-      } else {
-        setOutputDataDir((String)value);
-      }
-      break;
-
-    case DATA_REGISTRY_URL:
-      if (value == null) {
-        unsetDataRegistryURL();
-      } else {
-        setDataRegistryURL((String)value);
-      }
-      break;
-
-    case PERSIST_OUTPUT_DATA:
-      if (value == null) {
-        unsetPersistOutputData();
-      } else {
-        setPersistOutputData((Boolean)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case OUTPUT_DATA_DIR:
-      return getOutputDataDir();
-
-    case DATA_REGISTRY_URL:
-      return getDataRegistryURL();
-
-    case PERSIST_OUTPUT_DATA:
-      return Boolean.valueOf(isPersistOutputData());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case OUTPUT_DATA_DIR:
-      return isSetOutputDataDir();
-    case DATA_REGISTRY_URL:
-      return isSetDataRegistryURL();
-    case PERSIST_OUTPUT_DATA:
-      return isSetPersistOutputData();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof AdvancedOutputDataHandling)
-      return this.equals((AdvancedOutputDataHandling)that);
-    return false;
-  }
-
-  public boolean equals(AdvancedOutputDataHandling that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_outputDataDir = true && this.isSetOutputDataDir();
-    boolean that_present_outputDataDir = true && that.isSetOutputDataDir();
-    if (this_present_outputDataDir || that_present_outputDataDir) {
-      if (!(this_present_outputDataDir && that_present_outputDataDir))
-        return false;
-      if (!this.outputDataDir.equals(that.outputDataDir))
-        return false;
-    }
-
-    boolean this_present_dataRegistryURL = true && this.isSetDataRegistryURL();
-    boolean that_present_dataRegistryURL = true && that.isSetDataRegistryURL();
-    if (this_present_dataRegistryURL || that_present_dataRegistryURL) {
-      if (!(this_present_dataRegistryURL && that_present_dataRegistryURL))
-        return false;
-      if (!this.dataRegistryURL.equals(that.dataRegistryURL))
-        return false;
-    }
-
-    boolean this_present_persistOutputData = true && this.isSetPersistOutputData();
-    boolean that_present_persistOutputData = true && that.isSetPersistOutputData();
-    if (this_present_persistOutputData || that_present_persistOutputData) {
-      if (!(this_present_persistOutputData && that_present_persistOutputData))
-        return false;
-      if (this.persistOutputData != that.persistOutputData)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_outputDataDir = true && (isSetOutputDataDir());
-    list.add(present_outputDataDir);
-    if (present_outputDataDir)
-      list.add(outputDataDir);
-
-    boolean present_dataRegistryURL = true && (isSetDataRegistryURL());
-    list.add(present_dataRegistryURL);
-    if (present_dataRegistryURL)
-      list.add(dataRegistryURL);
-
-    boolean present_persistOutputData = true && (isSetPersistOutputData());
-    list.add(present_persistOutputData);
-    if (present_persistOutputData)
-      list.add(persistOutputData);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(AdvancedOutputDataHandling other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetOutputDataDir()).compareTo(other.isSetOutputDataDir());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetOutputDataDir()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.outputDataDir, other.outputDataDir);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetDataRegistryURL()).compareTo(other.isSetDataRegistryURL());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetDataRegistryURL()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dataRegistryURL, other.dataRegistryURL);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetPersistOutputData()).compareTo(other.isSetPersistOutputData());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetPersistOutputData()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.persistOutputData, other.persistOutputData);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("AdvancedOutputDataHandling(");
-    boolean first = true;
-
-    if (isSetOutputDataDir()) {
-      sb.append("outputDataDir:");
-      if (this.outputDataDir == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.outputDataDir);
-      }
-      first = false;
-    }
-    if (isSetDataRegistryURL()) {
-      if (!first) sb.append(", ");
-      sb.append("dataRegistryURL:");
-      if (this.dataRegistryURL == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.dataRegistryURL);
-      }
-      first = false;
-    }
-    if (isSetPersistOutputData()) {
-      if (!first) sb.append(", ");
-      sb.append("persistOutputData:");
-      sb.append(this.persistOutputData);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class AdvancedOutputDataHandlingStandardSchemeFactory implements SchemeFactory {
-    public AdvancedOutputDataHandlingStandardScheme getScheme() {
-      return new AdvancedOutputDataHandlingStandardScheme();
-    }
-  }
-
-  private static class AdvancedOutputDataHandlingStandardScheme extends StandardScheme<AdvancedOutputDataHandling> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, AdvancedOutputDataHandling struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 2: // OUTPUT_DATA_DIR
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.outputDataDir = iprot.readString();
-              struct.setOutputDataDirIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // DATA_REGISTRY_URL
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.dataRegistryURL = iprot.readString();
-              struct.setDataRegistryURLIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // PERSIST_OUTPUT_DATA
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.persistOutputData = iprot.readBool();
-              struct.setPersistOutputDataIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, AdvancedOutputDataHandling struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.outputDataDir != null) {
-        if (struct.isSetOutputDataDir()) {
-          oprot.writeFieldBegin(OUTPUT_DATA_DIR_FIELD_DESC);
-          oprot.writeString(struct.outputDataDir);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.dataRegistryURL != null) {
-        if (struct.isSetDataRegistryURL()) {
-          oprot.writeFieldBegin(DATA_REGISTRY_URL_FIELD_DESC);
-          oprot.writeString(struct.dataRegistryURL);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetPersistOutputData()) {
-        oprot.writeFieldBegin(PERSIST_OUTPUT_DATA_FIELD_DESC);
-        oprot.writeBool(struct.persistOutputData);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class AdvancedOutputDataHandlingTupleSchemeFactory implements SchemeFactory {
-    public AdvancedOutputDataHandlingTupleScheme getScheme() {
-      return new AdvancedOutputDataHandlingTupleScheme();
-    }
-  }
-
-  private static class AdvancedOutputDataHandlingTupleScheme extends TupleScheme<AdvancedOutputDataHandling> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, AdvancedOutputDataHandling struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetOutputDataDir()) {
-        optionals.set(0);
-      }
-      if (struct.isSetDataRegistryURL()) {
-        optionals.set(1);
-      }
-      if (struct.isSetPersistOutputData()) {
-        optionals.set(2);
-      }
-      oprot.writeBitSet(optionals, 3);
-      if (struct.isSetOutputDataDir()) {
-        oprot.writeString(struct.outputDataDir);
-      }
-      if (struct.isSetDataRegistryURL()) {
-        oprot.writeString(struct.dataRegistryURL);
-      }
-      if (struct.isSetPersistOutputData()) {
-        oprot.writeBool(struct.persistOutputData);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, AdvancedOutputDataHandling struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(3);
-      if (incoming.get(0)) {
-        struct.outputDataDir = iprot.readString();
-        struct.setOutputDataDirIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.dataRegistryURL = iprot.readString();
-        struct.setDataRegistryURLIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.persistOutputData = iprot.readBool();
-        struct.setPersistOutputDataIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ApplicationStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ApplicationStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ApplicationStatus.java
deleted file mode 100644
index d6dcf2f..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ApplicationStatus.java
+++ /dev/null
@@ -1,513 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ApplicationStatus implements org.apache.thrift.TBase<ApplicationStatus, ApplicationStatus._Fields>, java.io.Serializable, Cloneable, Comparable<ApplicationStatus> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ApplicationStatus");
-
-  private static final org.apache.thrift.protocol.TField APPLICATION_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationState", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ApplicationStatusStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ApplicationStatusTupleSchemeFactory());
-  }
-
-  private String applicationState; // required
-  private long timeOfStateChange; // 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 {
-    APPLICATION_STATE((short)1, "applicationState"),
-    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // APPLICATION_STATE
-          return APPLICATION_STATE;
-        case 2: // TIME_OF_STATE_CHANGE
-          return TIME_OF_STATE_CHANGE;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.APPLICATION_STATE, new org.apache.thrift.meta_data.FieldMetaData("applicationState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ApplicationStatus.class, metaDataMap);
-  }
-
-  public ApplicationStatus() {
-  }
-
-  public ApplicationStatus(
-    String applicationState)
-  {
-    this();
-    this.applicationState = applicationState;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ApplicationStatus(ApplicationStatus other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetApplicationState()) {
-      this.applicationState = other.applicationState;
-    }
-    this.timeOfStateChange = other.timeOfStateChange;
-  }
-
-  public ApplicationStatus deepCopy() {
-    return new ApplicationStatus(this);
-  }
-
-  @Override
-  public void clear() {
-    this.applicationState = null;
-    setTimeOfStateChangeIsSet(false);
-    this.timeOfStateChange = 0;
-  }
-
-  public String getApplicationState() {
-    return this.applicationState;
-  }
-
-  public void setApplicationState(String applicationState) {
-    this.applicationState = applicationState;
-  }
-
-  public void unsetApplicationState() {
-    this.applicationState = null;
-  }
-
-  /** Returns true if field applicationState is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationState() {
-    return this.applicationState != null;
-  }
-
-  public void setApplicationStateIsSet(boolean value) {
-    if (!value) {
-      this.applicationState = null;
-    }
-  }
-
-  public long getTimeOfStateChange() {
-    return this.timeOfStateChange;
-  }
-
-  public void setTimeOfStateChange(long timeOfStateChange) {
-    this.timeOfStateChange = timeOfStateChange;
-    setTimeOfStateChangeIsSet(true);
-  }
-
-  public void unsetTimeOfStateChange() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
-  public boolean isSetTimeOfStateChange() {
-    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  public void setTimeOfStateChangeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case APPLICATION_STATE:
-      if (value == null) {
-        unsetApplicationState();
-      } else {
-        setApplicationState((String)value);
-      }
-      break;
-
-    case TIME_OF_STATE_CHANGE:
-      if (value == null) {
-        unsetTimeOfStateChange();
-      } else {
-        setTimeOfStateChange((Long)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case APPLICATION_STATE:
-      return getApplicationState();
-
-    case TIME_OF_STATE_CHANGE:
-      return Long.valueOf(getTimeOfStateChange());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case APPLICATION_STATE:
-      return isSetApplicationState();
-    case TIME_OF_STATE_CHANGE:
-      return isSetTimeOfStateChange();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ApplicationStatus)
-      return this.equals((ApplicationStatus)that);
-    return false;
-  }
-
-  public boolean equals(ApplicationStatus that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_applicationState = true && this.isSetApplicationState();
-    boolean that_present_applicationState = true && that.isSetApplicationState();
-    if (this_present_applicationState || that_present_applicationState) {
-      if (!(this_present_applicationState && that_present_applicationState))
-        return false;
-      if (!this.applicationState.equals(that.applicationState))
-        return false;
-    }
-
-    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
-    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
-    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
-      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
-        return false;
-      if (this.timeOfStateChange != that.timeOfStateChange)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_applicationState = true && (isSetApplicationState());
-    list.add(present_applicationState);
-    if (present_applicationState)
-      list.add(applicationState);
-
-    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
-    list.add(present_timeOfStateChange);
-    if (present_timeOfStateChange)
-      list.add(timeOfStateChange);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ApplicationStatus other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetApplicationState()).compareTo(other.isSetApplicationState());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationState()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationState, other.applicationState);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTimeOfStateChange()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ApplicationStatus(");
-    boolean first = true;
-
-    sb.append("applicationState:");
-    if (this.applicationState == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.applicationState);
-    }
-    first = false;
-    if (isSetTimeOfStateChange()) {
-      if (!first) sb.append(", ");
-      sb.append("timeOfStateChange:");
-      sb.append(this.timeOfStateChange);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetApplicationState()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'applicationState' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ApplicationStatusStandardSchemeFactory implements SchemeFactory {
-    public ApplicationStatusStandardScheme getScheme() {
-      return new ApplicationStatusStandardScheme();
-    }
-  }
-
-  private static class ApplicationStatusStandardScheme extends StandardScheme<ApplicationStatus> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ApplicationStatus struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // APPLICATION_STATE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationState = iprot.readString();
-              struct.setApplicationStateIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // TIME_OF_STATE_CHANGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.timeOfStateChange = iprot.readI64();
-              struct.setTimeOfStateChangeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ApplicationStatus struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.applicationState != null) {
-        oprot.writeFieldBegin(APPLICATION_STATE_FIELD_DESC);
-        oprot.writeString(struct.applicationState);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
-        oprot.writeI64(struct.timeOfStateChange);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ApplicationStatusTupleSchemeFactory implements SchemeFactory {
-    public ApplicationStatusTupleScheme getScheme() {
-      return new ApplicationStatusTupleScheme();
-    }
-  }
-
-  private static class ApplicationStatusTupleScheme extends TupleScheme<ApplicationStatus> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ApplicationStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.applicationState);
-      BitSet optionals = new BitSet();
-      if (struct.isSetTimeOfStateChange()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeI64(struct.timeOfStateChange);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ApplicationStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.applicationState = iprot.readString();
-      struct.setApplicationStateIsSet(true);
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        struct.timeOfStateChange = iprot.readI64();
-        struct.setTimeOfStateChangeIsSet(true);
-      }
-    }
-  }
-
-}
-


[13/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskModel.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskModel.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskModel.java
new file mode 100644
index 0000000..b48829f
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskModel.java
@@ -0,0 +1,1252 @@
+/**
+ * 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.task;
+
+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"})
+/**
+ * TaskModel: A structure holding the generic task details.
+ * 
+ * taskDetail:
+ *   A friendly description of the task, usally used to communicate information to users.
+ * 
+ * taskInternalStore:
+ *   A generic byte object for the Task developer to store internal serialized data into registry catalogs.
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class TaskModel implements org.apache.thrift.TBase<TaskModel, TaskModel._Fields>, java.io.Serializable, Cloneable, Comparable<TaskModel> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskModel");
+
+  private static final org.apache.thrift.protocol.TField TASK_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("taskId", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField TASK_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("taskType", org.apache.thrift.protocol.TType.I32, (short)2);
+  private static final org.apache.thrift.protocol.TField PARENT_PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("parentProcessId", org.apache.thrift.protocol.TType.STRING, (short)3);
+  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)4);
+  private static final org.apache.thrift.protocol.TField LAST_UPDATE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("lastUpdateTime", org.apache.thrift.protocol.TType.I64, (short)5);
+  private static final org.apache.thrift.protocol.TField TASK_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("taskStatus", org.apache.thrift.protocol.TType.STRUCT, (short)6);
+  private static final org.apache.thrift.protocol.TField TASK_DETAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("taskDetail", org.apache.thrift.protocol.TType.STRING, (short)7);
+  private static final org.apache.thrift.protocol.TField TASK_INTERNAL_STORE_FIELD_DESC = new org.apache.thrift.protocol.TField("taskInternalStore", org.apache.thrift.protocol.TType.BYTE, (short)8);
+  private static final org.apache.thrift.protocol.TField TASK_ERROR_FIELD_DESC = new org.apache.thrift.protocol.TField("taskError", org.apache.thrift.protocol.TType.STRUCT, (short)9);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new TaskModelStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new TaskModelTupleSchemeFactory());
+  }
+
+  private String taskId; // required
+  private TaskTypes taskType; // required
+  private String parentProcessId; // required
+  private long creationTime; // required
+  private long lastUpdateTime; // required
+  private org.apache.airavata.model.status.TaskStatus taskStatus; // required
+  private String taskDetail; // optional
+  private byte taskInternalStore; // optional
+  private org.apache.airavata.model.commons.ErrorModel taskError; // 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 {
+    TASK_ID((short)1, "taskId"),
+    /**
+     * 
+     * @see TaskTypes
+     */
+    TASK_TYPE((short)2, "taskType"),
+    PARENT_PROCESS_ID((short)3, "parentProcessId"),
+    CREATION_TIME((short)4, "creationTime"),
+    LAST_UPDATE_TIME((short)5, "lastUpdateTime"),
+    TASK_STATUS((short)6, "taskStatus"),
+    TASK_DETAIL((short)7, "taskDetail"),
+    TASK_INTERNAL_STORE((short)8, "taskInternalStore"),
+    TASK_ERROR((short)9, "taskError");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // TASK_ID
+          return TASK_ID;
+        case 2: // TASK_TYPE
+          return TASK_TYPE;
+        case 3: // PARENT_PROCESS_ID
+          return PARENT_PROCESS_ID;
+        case 4: // CREATION_TIME
+          return CREATION_TIME;
+        case 5: // LAST_UPDATE_TIME
+          return LAST_UPDATE_TIME;
+        case 6: // TASK_STATUS
+          return TASK_STATUS;
+        case 7: // TASK_DETAIL
+          return TASK_DETAIL;
+        case 8: // TASK_INTERNAL_STORE
+          return TASK_INTERNAL_STORE;
+        case 9: // TASK_ERROR
+          return TASK_ERROR;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __CREATIONTIME_ISSET_ID = 0;
+  private static final int __LASTUPDATETIME_ISSET_ID = 1;
+  private static final int __TASKINTERNALSTORE_ISSET_ID = 2;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.TASK_DETAIL,_Fields.TASK_INTERNAL_STORE,_Fields.TASK_ERROR};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.TASK_ID, new org.apache.thrift.meta_data.FieldMetaData("taskId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.TASK_TYPE, new org.apache.thrift.meta_data.FieldMetaData("taskType", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TaskTypes.class)));
+    tmpMap.put(_Fields.PARENT_PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("parentProcessId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.LAST_UPDATE_TIME, new org.apache.thrift.meta_data.FieldMetaData("lastUpdateTime", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.TASK_STATUS, new org.apache.thrift.meta_data.FieldMetaData("taskStatus", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.status.TaskStatus.class)));
+    tmpMap.put(_Fields.TASK_DETAIL, new org.apache.thrift.meta_data.FieldMetaData("taskDetail", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.TASK_INTERNAL_STORE, new org.apache.thrift.meta_data.FieldMetaData("taskInternalStore", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BYTE)));
+    tmpMap.put(_Fields.TASK_ERROR, new org.apache.thrift.meta_data.FieldMetaData("taskError", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.commons.ErrorModel.class)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TaskModel.class, metaDataMap);
+  }
+
+  public TaskModel() {
+    this.taskId = "DO_NOT_SET_AT_CLIENTS";
+
+  }
+
+  public TaskModel(
+    String taskId,
+    TaskTypes taskType,
+    String parentProcessId,
+    long creationTime,
+    long lastUpdateTime,
+    org.apache.airavata.model.status.TaskStatus taskStatus)
+  {
+    this();
+    this.taskId = taskId;
+    this.taskType = taskType;
+    this.parentProcessId = parentProcessId;
+    this.creationTime = creationTime;
+    setCreationTimeIsSet(true);
+    this.lastUpdateTime = lastUpdateTime;
+    setLastUpdateTimeIsSet(true);
+    this.taskStatus = taskStatus;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public TaskModel(TaskModel other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetTaskId()) {
+      this.taskId = other.taskId;
+    }
+    if (other.isSetTaskType()) {
+      this.taskType = other.taskType;
+    }
+    if (other.isSetParentProcessId()) {
+      this.parentProcessId = other.parentProcessId;
+    }
+    this.creationTime = other.creationTime;
+    this.lastUpdateTime = other.lastUpdateTime;
+    if (other.isSetTaskStatus()) {
+      this.taskStatus = new org.apache.airavata.model.status.TaskStatus(other.taskStatus);
+    }
+    if (other.isSetTaskDetail()) {
+      this.taskDetail = other.taskDetail;
+    }
+    this.taskInternalStore = other.taskInternalStore;
+    if (other.isSetTaskError()) {
+      this.taskError = new org.apache.airavata.model.commons.ErrorModel(other.taskError);
+    }
+  }
+
+  public TaskModel deepCopy() {
+    return new TaskModel(this);
+  }
+
+  @Override
+  public void clear() {
+    this.taskId = "DO_NOT_SET_AT_CLIENTS";
+
+    this.taskType = null;
+    this.parentProcessId = null;
+    setCreationTimeIsSet(false);
+    this.creationTime = 0;
+    setLastUpdateTimeIsSet(false);
+    this.lastUpdateTime = 0;
+    this.taskStatus = null;
+    this.taskDetail = null;
+    setTaskInternalStoreIsSet(false);
+    this.taskInternalStore = 0;
+    this.taskError = null;
+  }
+
+  public String getTaskId() {
+    return this.taskId;
+  }
+
+  public void setTaskId(String taskId) {
+    this.taskId = taskId;
+  }
+
+  public void unsetTaskId() {
+    this.taskId = null;
+  }
+
+  /** Returns true if field taskId is set (has been assigned a value) and false otherwise */
+  public boolean isSetTaskId() {
+    return this.taskId != null;
+  }
+
+  public void setTaskIdIsSet(boolean value) {
+    if (!value) {
+      this.taskId = null;
+    }
+  }
+
+  /**
+   * 
+   * @see TaskTypes
+   */
+  public TaskTypes getTaskType() {
+    return this.taskType;
+  }
+
+  /**
+   * 
+   * @see TaskTypes
+   */
+  public void setTaskType(TaskTypes taskType) {
+    this.taskType = taskType;
+  }
+
+  public void unsetTaskType() {
+    this.taskType = null;
+  }
+
+  /** Returns true if field taskType is set (has been assigned a value) and false otherwise */
+  public boolean isSetTaskType() {
+    return this.taskType != null;
+  }
+
+  public void setTaskTypeIsSet(boolean value) {
+    if (!value) {
+      this.taskType = null;
+    }
+  }
+
+  public String getParentProcessId() {
+    return this.parentProcessId;
+  }
+
+  public void setParentProcessId(String parentProcessId) {
+    this.parentProcessId = parentProcessId;
+  }
+
+  public void unsetParentProcessId() {
+    this.parentProcessId = null;
+  }
+
+  /** Returns true if field parentProcessId is set (has been assigned a value) and false otherwise */
+  public boolean isSetParentProcessId() {
+    return this.parentProcessId != null;
+  }
+
+  public void setParentProcessIdIsSet(boolean value) {
+    if (!value) {
+      this.parentProcessId = null;
+    }
+  }
+
+  public long getCreationTime() {
+    return this.creationTime;
+  }
+
+  public void setCreationTime(long creationTime) {
+    this.creationTime = creationTime;
+    setCreationTimeIsSet(true);
+  }
+
+  public void unsetCreationTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetCreationTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  public void setCreationTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
+  }
+
+  public long getLastUpdateTime() {
+    return this.lastUpdateTime;
+  }
+
+  public void setLastUpdateTime(long lastUpdateTime) {
+    this.lastUpdateTime = lastUpdateTime;
+    setLastUpdateTimeIsSet(true);
+  }
+
+  public void unsetLastUpdateTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __LASTUPDATETIME_ISSET_ID);
+  }
+
+  /** Returns true if field lastUpdateTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetLastUpdateTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __LASTUPDATETIME_ISSET_ID);
+  }
+
+  public void setLastUpdateTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __LASTUPDATETIME_ISSET_ID, value);
+  }
+
+  public org.apache.airavata.model.status.TaskStatus getTaskStatus() {
+    return this.taskStatus;
+  }
+
+  public void setTaskStatus(org.apache.airavata.model.status.TaskStatus taskStatus) {
+    this.taskStatus = taskStatus;
+  }
+
+  public void unsetTaskStatus() {
+    this.taskStatus = null;
+  }
+
+  /** Returns true if field taskStatus is set (has been assigned a value) and false otherwise */
+  public boolean isSetTaskStatus() {
+    return this.taskStatus != null;
+  }
+
+  public void setTaskStatusIsSet(boolean value) {
+    if (!value) {
+      this.taskStatus = null;
+    }
+  }
+
+  public String getTaskDetail() {
+    return this.taskDetail;
+  }
+
+  public void setTaskDetail(String taskDetail) {
+    this.taskDetail = taskDetail;
+  }
+
+  public void unsetTaskDetail() {
+    this.taskDetail = null;
+  }
+
+  /** Returns true if field taskDetail is set (has been assigned a value) and false otherwise */
+  public boolean isSetTaskDetail() {
+    return this.taskDetail != null;
+  }
+
+  public void setTaskDetailIsSet(boolean value) {
+    if (!value) {
+      this.taskDetail = null;
+    }
+  }
+
+  public byte getTaskInternalStore() {
+    return this.taskInternalStore;
+  }
+
+  public void setTaskInternalStore(byte taskInternalStore) {
+    this.taskInternalStore = taskInternalStore;
+    setTaskInternalStoreIsSet(true);
+  }
+
+  public void unsetTaskInternalStore() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TASKINTERNALSTORE_ISSET_ID);
+  }
+
+  /** Returns true if field taskInternalStore is set (has been assigned a value) and false otherwise */
+  public boolean isSetTaskInternalStore() {
+    return EncodingUtils.testBit(__isset_bitfield, __TASKINTERNALSTORE_ISSET_ID);
+  }
+
+  public void setTaskInternalStoreIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TASKINTERNALSTORE_ISSET_ID, value);
+  }
+
+  public org.apache.airavata.model.commons.ErrorModel getTaskError() {
+    return this.taskError;
+  }
+
+  public void setTaskError(org.apache.airavata.model.commons.ErrorModel taskError) {
+    this.taskError = taskError;
+  }
+
+  public void unsetTaskError() {
+    this.taskError = null;
+  }
+
+  /** Returns true if field taskError is set (has been assigned a value) and false otherwise */
+  public boolean isSetTaskError() {
+    return this.taskError != null;
+  }
+
+  public void setTaskErrorIsSet(boolean value) {
+    if (!value) {
+      this.taskError = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case TASK_ID:
+      if (value == null) {
+        unsetTaskId();
+      } else {
+        setTaskId((String)value);
+      }
+      break;
+
+    case TASK_TYPE:
+      if (value == null) {
+        unsetTaskType();
+      } else {
+        setTaskType((TaskTypes)value);
+      }
+      break;
+
+    case PARENT_PROCESS_ID:
+      if (value == null) {
+        unsetParentProcessId();
+      } else {
+        setParentProcessId((String)value);
+      }
+      break;
+
+    case CREATION_TIME:
+      if (value == null) {
+        unsetCreationTime();
+      } else {
+        setCreationTime((Long)value);
+      }
+      break;
+
+    case LAST_UPDATE_TIME:
+      if (value == null) {
+        unsetLastUpdateTime();
+      } else {
+        setLastUpdateTime((Long)value);
+      }
+      break;
+
+    case TASK_STATUS:
+      if (value == null) {
+        unsetTaskStatus();
+      } else {
+        setTaskStatus((org.apache.airavata.model.status.TaskStatus)value);
+      }
+      break;
+
+    case TASK_DETAIL:
+      if (value == null) {
+        unsetTaskDetail();
+      } else {
+        setTaskDetail((String)value);
+      }
+      break;
+
+    case TASK_INTERNAL_STORE:
+      if (value == null) {
+        unsetTaskInternalStore();
+      } else {
+        setTaskInternalStore((Byte)value);
+      }
+      break;
+
+    case TASK_ERROR:
+      if (value == null) {
+        unsetTaskError();
+      } else {
+        setTaskError((org.apache.airavata.model.commons.ErrorModel)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case TASK_ID:
+      return getTaskId();
+
+    case TASK_TYPE:
+      return getTaskType();
+
+    case PARENT_PROCESS_ID:
+      return getParentProcessId();
+
+    case CREATION_TIME:
+      return Long.valueOf(getCreationTime());
+
+    case LAST_UPDATE_TIME:
+      return Long.valueOf(getLastUpdateTime());
+
+    case TASK_STATUS:
+      return getTaskStatus();
+
+    case TASK_DETAIL:
+      return getTaskDetail();
+
+    case TASK_INTERNAL_STORE:
+      return Byte.valueOf(getTaskInternalStore());
+
+    case TASK_ERROR:
+      return getTaskError();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case TASK_ID:
+      return isSetTaskId();
+    case TASK_TYPE:
+      return isSetTaskType();
+    case PARENT_PROCESS_ID:
+      return isSetParentProcessId();
+    case CREATION_TIME:
+      return isSetCreationTime();
+    case LAST_UPDATE_TIME:
+      return isSetLastUpdateTime();
+    case TASK_STATUS:
+      return isSetTaskStatus();
+    case TASK_DETAIL:
+      return isSetTaskDetail();
+    case TASK_INTERNAL_STORE:
+      return isSetTaskInternalStore();
+    case TASK_ERROR:
+      return isSetTaskError();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof TaskModel)
+      return this.equals((TaskModel)that);
+    return false;
+  }
+
+  public boolean equals(TaskModel that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_taskId = true && this.isSetTaskId();
+    boolean that_present_taskId = true && that.isSetTaskId();
+    if (this_present_taskId || that_present_taskId) {
+      if (!(this_present_taskId && that_present_taskId))
+        return false;
+      if (!this.taskId.equals(that.taskId))
+        return false;
+    }
+
+    boolean this_present_taskType = true && this.isSetTaskType();
+    boolean that_present_taskType = true && that.isSetTaskType();
+    if (this_present_taskType || that_present_taskType) {
+      if (!(this_present_taskType && that_present_taskType))
+        return false;
+      if (!this.taskType.equals(that.taskType))
+        return false;
+    }
+
+    boolean this_present_parentProcessId = true && this.isSetParentProcessId();
+    boolean that_present_parentProcessId = true && that.isSetParentProcessId();
+    if (this_present_parentProcessId || that_present_parentProcessId) {
+      if (!(this_present_parentProcessId && that_present_parentProcessId))
+        return false;
+      if (!this.parentProcessId.equals(that.parentProcessId))
+        return false;
+    }
+
+    boolean this_present_creationTime = true;
+    boolean that_present_creationTime = true;
+    if (this_present_creationTime || that_present_creationTime) {
+      if (!(this_present_creationTime && that_present_creationTime))
+        return false;
+      if (this.creationTime != that.creationTime)
+        return false;
+    }
+
+    boolean this_present_lastUpdateTime = true;
+    boolean that_present_lastUpdateTime = true;
+    if (this_present_lastUpdateTime || that_present_lastUpdateTime) {
+      if (!(this_present_lastUpdateTime && that_present_lastUpdateTime))
+        return false;
+      if (this.lastUpdateTime != that.lastUpdateTime)
+        return false;
+    }
+
+    boolean this_present_taskStatus = true && this.isSetTaskStatus();
+    boolean that_present_taskStatus = true && that.isSetTaskStatus();
+    if (this_present_taskStatus || that_present_taskStatus) {
+      if (!(this_present_taskStatus && that_present_taskStatus))
+        return false;
+      if (!this.taskStatus.equals(that.taskStatus))
+        return false;
+    }
+
+    boolean this_present_taskDetail = true && this.isSetTaskDetail();
+    boolean that_present_taskDetail = true && that.isSetTaskDetail();
+    if (this_present_taskDetail || that_present_taskDetail) {
+      if (!(this_present_taskDetail && that_present_taskDetail))
+        return false;
+      if (!this.taskDetail.equals(that.taskDetail))
+        return false;
+    }
+
+    boolean this_present_taskInternalStore = true && this.isSetTaskInternalStore();
+    boolean that_present_taskInternalStore = true && that.isSetTaskInternalStore();
+    if (this_present_taskInternalStore || that_present_taskInternalStore) {
+      if (!(this_present_taskInternalStore && that_present_taskInternalStore))
+        return false;
+      if (this.taskInternalStore != that.taskInternalStore)
+        return false;
+    }
+
+    boolean this_present_taskError = true && this.isSetTaskError();
+    boolean that_present_taskError = true && that.isSetTaskError();
+    if (this_present_taskError || that_present_taskError) {
+      if (!(this_present_taskError && that_present_taskError))
+        return false;
+      if (!this.taskError.equals(that.taskError))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_taskId = true && (isSetTaskId());
+    list.add(present_taskId);
+    if (present_taskId)
+      list.add(taskId);
+
+    boolean present_taskType = true && (isSetTaskType());
+    list.add(present_taskType);
+    if (present_taskType)
+      list.add(taskType.getValue());
+
+    boolean present_parentProcessId = true && (isSetParentProcessId());
+    list.add(present_parentProcessId);
+    if (present_parentProcessId)
+      list.add(parentProcessId);
+
+    boolean present_creationTime = true;
+    list.add(present_creationTime);
+    if (present_creationTime)
+      list.add(creationTime);
+
+    boolean present_lastUpdateTime = true;
+    list.add(present_lastUpdateTime);
+    if (present_lastUpdateTime)
+      list.add(lastUpdateTime);
+
+    boolean present_taskStatus = true && (isSetTaskStatus());
+    list.add(present_taskStatus);
+    if (present_taskStatus)
+      list.add(taskStatus);
+
+    boolean present_taskDetail = true && (isSetTaskDetail());
+    list.add(present_taskDetail);
+    if (present_taskDetail)
+      list.add(taskDetail);
+
+    boolean present_taskInternalStore = true && (isSetTaskInternalStore());
+    list.add(present_taskInternalStore);
+    if (present_taskInternalStore)
+      list.add(taskInternalStore);
+
+    boolean present_taskError = true && (isSetTaskError());
+    list.add(present_taskError);
+    if (present_taskError)
+      list.add(taskError);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(TaskModel other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetTaskId()).compareTo(other.isSetTaskId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTaskId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskId, other.taskId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTaskType()).compareTo(other.isSetTaskType());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTaskType()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskType, other.taskType);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetParentProcessId()).compareTo(other.isSetParentProcessId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetParentProcessId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parentProcessId, other.parentProcessId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCreationTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetLastUpdateTime()).compareTo(other.isSetLastUpdateTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetLastUpdateTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastUpdateTime, other.lastUpdateTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTaskStatus()).compareTo(other.isSetTaskStatus());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTaskStatus()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskStatus, other.taskStatus);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTaskDetail()).compareTo(other.isSetTaskDetail());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTaskDetail()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskDetail, other.taskDetail);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTaskInternalStore()).compareTo(other.isSetTaskInternalStore());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTaskInternalStore()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskInternalStore, other.taskInternalStore);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTaskError()).compareTo(other.isSetTaskError());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTaskError()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskError, other.taskError);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("TaskModel(");
+    boolean first = true;
+
+    sb.append("taskId:");
+    if (this.taskId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.taskId);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("taskType:");
+    if (this.taskType == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.taskType);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("parentProcessId:");
+    if (this.parentProcessId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.parentProcessId);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("creationTime:");
+    sb.append(this.creationTime);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("lastUpdateTime:");
+    sb.append(this.lastUpdateTime);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("taskStatus:");
+    if (this.taskStatus == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.taskStatus);
+    }
+    first = false;
+    if (isSetTaskDetail()) {
+      if (!first) sb.append(", ");
+      sb.append("taskDetail:");
+      if (this.taskDetail == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.taskDetail);
+      }
+      first = false;
+    }
+    if (isSetTaskInternalStore()) {
+      if (!first) sb.append(", ");
+      sb.append("taskInternalStore:");
+      sb.append(this.taskInternalStore);
+      first = false;
+    }
+    if (isSetTaskError()) {
+      if (!first) sb.append(", ");
+      sb.append("taskError:");
+      if (this.taskError == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.taskError);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetTaskId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'taskId' is unset! Struct:" + toString());
+    }
+
+    if (!isSetTaskType()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'taskType' is unset! Struct:" + toString());
+    }
+
+    if (!isSetParentProcessId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'parentProcessId' is unset! Struct:" + toString());
+    }
+
+    if (!isSetCreationTime()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'creationTime' is unset! Struct:" + toString());
+    }
+
+    if (!isSetLastUpdateTime()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'lastUpdateTime' is unset! Struct:" + toString());
+    }
+
+    if (!isSetTaskStatus()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'taskStatus' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+    if (taskStatus != null) {
+      taskStatus.validate();
+    }
+    if (taskError != null) {
+      taskError.validate();
+    }
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class TaskModelStandardSchemeFactory implements SchemeFactory {
+    public TaskModelStandardScheme getScheme() {
+      return new TaskModelStandardScheme();
+    }
+  }
+
+  private static class TaskModelStandardScheme extends StandardScheme<TaskModel> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, TaskModel struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // TASK_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.taskId = iprot.readString();
+              struct.setTaskIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // TASK_TYPE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.taskType = org.apache.airavata.model.task.TaskTypes.findByValue(iprot.readI32());
+              struct.setTaskTypeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // PARENT_PROCESS_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.parentProcessId = iprot.readString();
+              struct.setParentProcessIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // CREATION_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.creationTime = iprot.readI64();
+              struct.setCreationTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // LAST_UPDATE_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.lastUpdateTime = iprot.readI64();
+              struct.setLastUpdateTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // TASK_STATUS
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.taskStatus = new org.apache.airavata.model.status.TaskStatus();
+              struct.taskStatus.read(iprot);
+              struct.setTaskStatusIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // TASK_DETAIL
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.taskDetail = iprot.readString();
+              struct.setTaskDetailIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 8: // TASK_INTERNAL_STORE
+            if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) {
+              struct.taskInternalStore = iprot.readByte();
+              struct.setTaskInternalStoreIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 9: // TASK_ERROR
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.taskError = new org.apache.airavata.model.commons.ErrorModel();
+              struct.taskError.read(iprot);
+              struct.setTaskErrorIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, TaskModel struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.taskId != null) {
+        oprot.writeFieldBegin(TASK_ID_FIELD_DESC);
+        oprot.writeString(struct.taskId);
+        oprot.writeFieldEnd();
+      }
+      if (struct.taskType != null) {
+        oprot.writeFieldBegin(TASK_TYPE_FIELD_DESC);
+        oprot.writeI32(struct.taskType.getValue());
+        oprot.writeFieldEnd();
+      }
+      if (struct.parentProcessId != null) {
+        oprot.writeFieldBegin(PARENT_PROCESS_ID_FIELD_DESC);
+        oprot.writeString(struct.parentProcessId);
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
+      oprot.writeI64(struct.creationTime);
+      oprot.writeFieldEnd();
+      oprot.writeFieldBegin(LAST_UPDATE_TIME_FIELD_DESC);
+      oprot.writeI64(struct.lastUpdateTime);
+      oprot.writeFieldEnd();
+      if (struct.taskStatus != null) {
+        oprot.writeFieldBegin(TASK_STATUS_FIELD_DESC);
+        struct.taskStatus.write(oprot);
+        oprot.writeFieldEnd();
+      }
+      if (struct.taskDetail != null) {
+        if (struct.isSetTaskDetail()) {
+          oprot.writeFieldBegin(TASK_DETAIL_FIELD_DESC);
+          oprot.writeString(struct.taskDetail);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetTaskInternalStore()) {
+        oprot.writeFieldBegin(TASK_INTERNAL_STORE_FIELD_DESC);
+        oprot.writeByte(struct.taskInternalStore);
+        oprot.writeFieldEnd();
+      }
+      if (struct.taskError != null) {
+        if (struct.isSetTaskError()) {
+          oprot.writeFieldBegin(TASK_ERROR_FIELD_DESC);
+          struct.taskError.write(oprot);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class TaskModelTupleSchemeFactory implements SchemeFactory {
+    public TaskModelTupleScheme getScheme() {
+      return new TaskModelTupleScheme();
+    }
+  }
+
+  private static class TaskModelTupleScheme extends TupleScheme<TaskModel> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, TaskModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeString(struct.taskId);
+      oprot.writeI32(struct.taskType.getValue());
+      oprot.writeString(struct.parentProcessId);
+      oprot.writeI64(struct.creationTime);
+      oprot.writeI64(struct.lastUpdateTime);
+      struct.taskStatus.write(oprot);
+      BitSet optionals = new BitSet();
+      if (struct.isSetTaskDetail()) {
+        optionals.set(0);
+      }
+      if (struct.isSetTaskInternalStore()) {
+        optionals.set(1);
+      }
+      if (struct.isSetTaskError()) {
+        optionals.set(2);
+      }
+      oprot.writeBitSet(optionals, 3);
+      if (struct.isSetTaskDetail()) {
+        oprot.writeString(struct.taskDetail);
+      }
+      if (struct.isSetTaskInternalStore()) {
+        oprot.writeByte(struct.taskInternalStore);
+      }
+      if (struct.isSetTaskError()) {
+        struct.taskError.write(oprot);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, TaskModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.taskId = iprot.readString();
+      struct.setTaskIdIsSet(true);
+      struct.taskType = org.apache.airavata.model.task.TaskTypes.findByValue(iprot.readI32());
+      struct.setTaskTypeIsSet(true);
+      struct.parentProcessId = iprot.readString();
+      struct.setParentProcessIdIsSet(true);
+      struct.creationTime = iprot.readI64();
+      struct.setCreationTimeIsSet(true);
+      struct.lastUpdateTime = iprot.readI64();
+      struct.setLastUpdateTimeIsSet(true);
+      struct.taskStatus = new org.apache.airavata.model.status.TaskStatus();
+      struct.taskStatus.read(iprot);
+      struct.setTaskStatusIsSet(true);
+      BitSet incoming = iprot.readBitSet(3);
+      if (incoming.get(0)) {
+        struct.taskDetail = iprot.readString();
+        struct.setTaskDetailIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.taskInternalStore = iprot.readByte();
+        struct.setTaskInternalStoreIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.taskError = new org.apache.airavata.model.commons.ErrorModel();
+        struct.taskError.read(iprot);
+        struct.setTaskErrorIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskTypes.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskTypes.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskTypes.java
new file mode 100644
index 0000000..dcabb76
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskTypes.java
@@ -0,0 +1,75 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * 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.task;
+
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+/**
+ * TaskTypes: An enumerated list of TaskTypes. Task being generic, the task type will provide the concrete interpretation.
+ * 
+ */
+public enum TaskTypes implements org.apache.thrift.TEnum {
+  ENV_SETUP(0),
+  DATA_STAGING(1),
+  JOB_SUBMISSION(2),
+  ENV_CLEANUP(3),
+  MONITORING(4);
+
+  private final int value;
+
+  private TaskTypes(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 TaskTypes findByValue(int value) { 
+    switch (value) {
+      case 0:
+        return ENV_SETUP;
+      case 1:
+        return DATA_STAGING;
+      case 2:
+        return JOB_SUBMISSION;
+      case 3:
+        return ENV_CLEANUP;
+      case 4:
+        return MONITORING;
+      default:
+        return null;
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workflowDataModelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workflowDataModelConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workflowDataModelConstants.java
deleted file mode 100644
index 6f21cd6..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workflowDataModelConstants.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;
-
-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 workflowDataModelConstants {
-
-  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/workflow_data_modelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workflow_data_modelConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workflow_data_modelConstants.java
new file mode 100644
index 0000000..e74de28
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workflow_data_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;
+
+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 workflow_data_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/workspace/Gateway.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Gateway.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Gateway.java
index 9080b35..ac0d497 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Gateway.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Gateway.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 Gateway implements org.apache.thrift.TBase<Gateway, Gateway._Fields>, java.io.Serializable, Cloneable, Comparable<Gateway> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Gateway");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Group.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Group.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Group.java
index 6e94c65..75451e0 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Group.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Group.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 Group implements org.apache.thrift.TBase<Group, Group._Fields>, java.io.Serializable, Cloneable, Comparable<Group> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Group");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Project.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Project.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Project.java
index c7982e1..8100d2f 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Project.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/Project.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 Project implements org.apache.thrift.TBase<Project, Project._Fields>, java.io.Serializable, Cloneable, Comparable<Project> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Project");
 
@@ -181,8 +181,6 @@ public class Project implements org.apache.thrift.TBase<Project, Project._Fields
   }
 
   public Project() {
-    this.projectID = "DEFAULT";
-
   }
 
   public Project(
@@ -230,8 +228,7 @@ public class Project implements org.apache.thrift.TBase<Project, Project._Fields
 
   @Override
   public void clear() {
-    this.projectID = "DEFAULT";
-
+    this.projectID = null;
     this.owner = null;
     this.name = null;
     this.description = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/User.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/User.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/User.java
index 088f454..d5c106e 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/User.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/User.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 User implements org.apache.thrift.TBase<User, User._Fields>, java.io.Serializable, Cloneable, Comparable<User> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("User");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ActionableGroup.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ActionableGroup.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ActionableGroup.java
deleted file mode 100644
index dba2f45..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ActionableGroup.java
+++ /dev/null
@@ -1,71 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum ActionableGroup implements org.apache.thrift.TEnum {
-  RESOURCE_ADMINS(0),
-  AIRAVATA_ADMINS(1),
-  GATEWAYS_ADMINS(2),
-  USER(3),
-  CANNOT_BE_DETERMINED(4);
-
-  private final int value;
-
-  private ActionableGroup(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 ActionableGroup findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return RESOURCE_ADMINS;
-      case 1:
-        return AIRAVATA_ADMINS;
-      case 2:
-        return GATEWAYS_ADMINS;
-      case 3:
-        return USER;
-      case 4:
-        return CANNOT_BE_DETERMINED;
-      default:
-        return null;
-    }
-  }
-}


[22/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ValidationResults.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ValidationResults.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ValidationResults.java
deleted file mode 100644
index 7844869..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ValidationResults.java
+++ /dev/null
@@ -1,559 +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.error;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ValidationResults implements org.apache.thrift.TBase<ValidationResults, ValidationResults._Fields>, java.io.Serializable, Cloneable, Comparable<ValidationResults> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ValidationResults");
-
-  private static final org.apache.thrift.protocol.TField VALIDATION_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("validationState", org.apache.thrift.protocol.TType.BOOL, (short)1);
-  private static final org.apache.thrift.protocol.TField VALIDATION_RESULT_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validationResultList", org.apache.thrift.protocol.TType.LIST, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ValidationResultsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ValidationResultsTupleSchemeFactory());
-  }
-
-  private boolean validationState; // required
-  private List<ValidatorResult> validationResultList; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-    VALIDATION_STATE((short)1, "validationState"),
-    VALIDATION_RESULT_LIST((short)2, "validationResultList");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // VALIDATION_STATE
-          return VALIDATION_STATE;
-        case 2: // VALIDATION_RESULT_LIST
-          return VALIDATION_RESULT_LIST;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __VALIDATIONSTATE_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.VALIDATION_STATE, new org.apache.thrift.meta_data.FieldMetaData("validationState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.VALIDATION_RESULT_LIST, new org.apache.thrift.meta_data.FieldMetaData("validationResultList", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        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, ValidatorResult.class))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ValidationResults.class, metaDataMap);
-  }
-
-  public ValidationResults() {
-  }
-
-  public ValidationResults(
-    boolean validationState,
-    List<ValidatorResult> validationResultList)
-  {
-    this();
-    this.validationState = validationState;
-    setValidationStateIsSet(true);
-    this.validationResultList = validationResultList;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ValidationResults(ValidationResults other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.validationState = other.validationState;
-    if (other.isSetValidationResultList()) {
-      List<ValidatorResult> __this__validationResultList = new ArrayList<ValidatorResult>(other.validationResultList.size());
-      for (ValidatorResult other_element : other.validationResultList) {
-        __this__validationResultList.add(new ValidatorResult(other_element));
-      }
-      this.validationResultList = __this__validationResultList;
-    }
-  }
-
-  public ValidationResults deepCopy() {
-    return new ValidationResults(this);
-  }
-
-  @Override
-  public void clear() {
-    setValidationStateIsSet(false);
-    this.validationState = false;
-    this.validationResultList = null;
-  }
-
-  public boolean isValidationState() {
-    return this.validationState;
-  }
-
-  public void setValidationState(boolean validationState) {
-    this.validationState = validationState;
-    setValidationStateIsSet(true);
-  }
-
-  public void unsetValidationState() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID);
-  }
-
-  /** Returns true if field validationState is set (has been assigned a value) and false otherwise */
-  public boolean isSetValidationState() {
-    return EncodingUtils.testBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID);
-  }
-
-  public void setValidationStateIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID, value);
-  }
-
-  public int getValidationResultListSize() {
-    return (this.validationResultList == null) ? 0 : this.validationResultList.size();
-  }
-
-  public java.util.Iterator<ValidatorResult> getValidationResultListIterator() {
-    return (this.validationResultList == null) ? null : this.validationResultList.iterator();
-  }
-
-  public void addToValidationResultList(ValidatorResult elem) {
-    if (this.validationResultList == null) {
-      this.validationResultList = new ArrayList<ValidatorResult>();
-    }
-    this.validationResultList.add(elem);
-  }
-
-  public List<ValidatorResult> getValidationResultList() {
-    return this.validationResultList;
-  }
-
-  public void setValidationResultList(List<ValidatorResult> validationResultList) {
-    this.validationResultList = validationResultList;
-  }
-
-  public void unsetValidationResultList() {
-    this.validationResultList = null;
-  }
-
-  /** Returns true if field validationResultList is set (has been assigned a value) and false otherwise */
-  public boolean isSetValidationResultList() {
-    return this.validationResultList != null;
-  }
-
-  public void setValidationResultListIsSet(boolean value) {
-    if (!value) {
-      this.validationResultList = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case VALIDATION_STATE:
-      if (value == null) {
-        unsetValidationState();
-      } else {
-        setValidationState((Boolean)value);
-      }
-      break;
-
-    case VALIDATION_RESULT_LIST:
-      if (value == null) {
-        unsetValidationResultList();
-      } else {
-        setValidationResultList((List<ValidatorResult>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case VALIDATION_STATE:
-      return Boolean.valueOf(isValidationState());
-
-    case VALIDATION_RESULT_LIST:
-      return getValidationResultList();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case VALIDATION_STATE:
-      return isSetValidationState();
-    case VALIDATION_RESULT_LIST:
-      return isSetValidationResultList();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ValidationResults)
-      return this.equals((ValidationResults)that);
-    return false;
-  }
-
-  public boolean equals(ValidationResults that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_validationState = true;
-    boolean that_present_validationState = true;
-    if (this_present_validationState || that_present_validationState) {
-      if (!(this_present_validationState && that_present_validationState))
-        return false;
-      if (this.validationState != that.validationState)
-        return false;
-    }
-
-    boolean this_present_validationResultList = true && this.isSetValidationResultList();
-    boolean that_present_validationResultList = true && that.isSetValidationResultList();
-    if (this_present_validationResultList || that_present_validationResultList) {
-      if (!(this_present_validationResultList && that_present_validationResultList))
-        return false;
-      if (!this.validationResultList.equals(that.validationResultList))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_validationState = true;
-    list.add(present_validationState);
-    if (present_validationState)
-      list.add(validationState);
-
-    boolean present_validationResultList = true && (isSetValidationResultList());
-    list.add(present_validationResultList);
-    if (present_validationResultList)
-      list.add(validationResultList);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ValidationResults other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetValidationState()).compareTo(other.isSetValidationState());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetValidationState()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validationState, other.validationState);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetValidationResultList()).compareTo(other.isSetValidationResultList());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetValidationResultList()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validationResultList, other.validationResultList);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ValidationResults(");
-    boolean first = true;
-
-    sb.append("validationState:");
-    sb.append(this.validationState);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("validationResultList:");
-    if (this.validationResultList == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.validationResultList);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetValidationState()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'validationState' is unset! Struct:" + toString());
-    }
-
-    if (!isSetValidationResultList()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'validationResultList' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ValidationResultsStandardSchemeFactory implements SchemeFactory {
-    public ValidationResultsStandardScheme getScheme() {
-      return new ValidationResultsStandardScheme();
-    }
-  }
-
-  private static class ValidationResultsStandardScheme extends StandardScheme<ValidationResults> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ValidationResults struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // VALIDATION_STATE
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.validationState = iprot.readBool();
-              struct.setValidationStateIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // VALIDATION_RESULT_LIST
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
-                struct.validationResultList = new ArrayList<ValidatorResult>(_list0.size);
-                ValidatorResult _elem1;
-                for (int _i2 = 0; _i2 < _list0.size; ++_i2)
-                {
-                  _elem1 = new ValidatorResult();
-                  _elem1.read(iprot);
-                  struct.validationResultList.add(_elem1);
-                }
-                iprot.readListEnd();
-              }
-              struct.setValidationResultListIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ValidationResults struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      oprot.writeFieldBegin(VALIDATION_STATE_FIELD_DESC);
-      oprot.writeBool(struct.validationState);
-      oprot.writeFieldEnd();
-      if (struct.validationResultList != null) {
-        oprot.writeFieldBegin(VALIDATION_RESULT_LIST_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.validationResultList.size()));
-          for (ValidatorResult _iter3 : struct.validationResultList)
-          {
-            _iter3.write(oprot);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ValidationResultsTupleSchemeFactory implements SchemeFactory {
-    public ValidationResultsTupleScheme getScheme() {
-      return new ValidationResultsTupleScheme();
-    }
-  }
-
-  private static class ValidationResultsTupleScheme extends TupleScheme<ValidationResults> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ValidationResults struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeBool(struct.validationState);
-      {
-        oprot.writeI32(struct.validationResultList.size());
-        for (ValidatorResult _iter4 : struct.validationResultList)
-        {
-          _iter4.write(oprot);
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ValidationResults struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.validationState = iprot.readBool();
-      struct.setValidationStateIsSet(true);
-      {
-        org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-        struct.validationResultList = new ArrayList<ValidatorResult>(_list5.size);
-        ValidatorResult _elem6;
-        for (int _i7 = 0; _i7 < _list5.size; ++_i7)
-        {
-          _elem6 = new ValidatorResult();
-          _elem6.read(iprot);
-          struct.validationResultList.add(_elem6);
-        }
-      }
-      struct.setValidationResultListIsSet(true);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ValidatorResult.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ValidatorResult.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ValidatorResult.java
deleted file mode 100644
index eb747e9..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/error/ValidatorResult.java
+++ /dev/null
@@ -1,514 +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.error;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ValidatorResult implements org.apache.thrift.TBase<ValidatorResult, ValidatorResult._Fields>, java.io.Serializable, Cloneable, Comparable<ValidatorResult> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ValidatorResult");
-
-  private static final org.apache.thrift.protocol.TField RESULT_FIELD_DESC = new org.apache.thrift.protocol.TField("result", org.apache.thrift.protocol.TType.BOOL, (short)1);
-  private static final org.apache.thrift.protocol.TField ERROR_DETAILS_FIELD_DESC = new org.apache.thrift.protocol.TField("errorDetails", org.apache.thrift.protocol.TType.STRING, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ValidatorResultStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ValidatorResultTupleSchemeFactory());
-  }
-
-  private boolean result; // required
-  private String errorDetails; // 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 {
-    RESULT((short)1, "result"),
-    ERROR_DETAILS((short)2, "errorDetails");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // RESULT
-          return RESULT;
-        case 2: // ERROR_DETAILS
-          return ERROR_DETAILS;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __RESULT_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.ERROR_DETAILS};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.RESULT, new org.apache.thrift.meta_data.FieldMetaData("result", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.ERROR_DETAILS, new org.apache.thrift.meta_data.FieldMetaData("errorDetails", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ValidatorResult.class, metaDataMap);
-  }
-
-  public ValidatorResult() {
-  }
-
-  public ValidatorResult(
-    boolean result)
-  {
-    this();
-    this.result = result;
-    setResultIsSet(true);
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ValidatorResult(ValidatorResult other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.result = other.result;
-    if (other.isSetErrorDetails()) {
-      this.errorDetails = other.errorDetails;
-    }
-  }
-
-  public ValidatorResult deepCopy() {
-    return new ValidatorResult(this);
-  }
-
-  @Override
-  public void clear() {
-    setResultIsSet(false);
-    this.result = false;
-    this.errorDetails = null;
-  }
-
-  public boolean isResult() {
-    return this.result;
-  }
-
-  public void setResult(boolean result) {
-    this.result = result;
-    setResultIsSet(true);
-  }
-
-  public void unsetResult() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __RESULT_ISSET_ID);
-  }
-
-  /** Returns true if field result is set (has been assigned a value) and false otherwise */
-  public boolean isSetResult() {
-    return EncodingUtils.testBit(__isset_bitfield, __RESULT_ISSET_ID);
-  }
-
-  public void setResultIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __RESULT_ISSET_ID, value);
-  }
-
-  public String getErrorDetails() {
-    return this.errorDetails;
-  }
-
-  public void setErrorDetails(String errorDetails) {
-    this.errorDetails = errorDetails;
-  }
-
-  public void unsetErrorDetails() {
-    this.errorDetails = null;
-  }
-
-  /** Returns true if field errorDetails is set (has been assigned a value) and false otherwise */
-  public boolean isSetErrorDetails() {
-    return this.errorDetails != null;
-  }
-
-  public void setErrorDetailsIsSet(boolean value) {
-    if (!value) {
-      this.errorDetails = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case RESULT:
-      if (value == null) {
-        unsetResult();
-      } else {
-        setResult((Boolean)value);
-      }
-      break;
-
-    case ERROR_DETAILS:
-      if (value == null) {
-        unsetErrorDetails();
-      } else {
-        setErrorDetails((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case RESULT:
-      return Boolean.valueOf(isResult());
-
-    case ERROR_DETAILS:
-      return getErrorDetails();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case RESULT:
-      return isSetResult();
-    case ERROR_DETAILS:
-      return isSetErrorDetails();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ValidatorResult)
-      return this.equals((ValidatorResult)that);
-    return false;
-  }
-
-  public boolean equals(ValidatorResult that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_result = true;
-    boolean that_present_result = true;
-    if (this_present_result || that_present_result) {
-      if (!(this_present_result && that_present_result))
-        return false;
-      if (this.result != that.result)
-        return false;
-    }
-
-    boolean this_present_errorDetails = true && this.isSetErrorDetails();
-    boolean that_present_errorDetails = true && that.isSetErrorDetails();
-    if (this_present_errorDetails || that_present_errorDetails) {
-      if (!(this_present_errorDetails && that_present_errorDetails))
-        return false;
-      if (!this.errorDetails.equals(that.errorDetails))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_result = true;
-    list.add(present_result);
-    if (present_result)
-      list.add(result);
-
-    boolean present_errorDetails = true && (isSetErrorDetails());
-    list.add(present_errorDetails);
-    if (present_errorDetails)
-      list.add(errorDetails);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ValidatorResult other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetResult()).compareTo(other.isSetResult());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetResult()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.result, other.result);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetErrorDetails()).compareTo(other.isSetErrorDetails());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetErrorDetails()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorDetails, other.errorDetails);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ValidatorResult(");
-    boolean first = true;
-
-    sb.append("result:");
-    sb.append(this.result);
-    first = false;
-    if (isSetErrorDetails()) {
-      if (!first) sb.append(", ");
-      sb.append("errorDetails:");
-      if (this.errorDetails == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.errorDetails);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetResult()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'result' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ValidatorResultStandardSchemeFactory implements SchemeFactory {
-    public ValidatorResultStandardScheme getScheme() {
-      return new ValidatorResultStandardScheme();
-    }
-  }
-
-  private static class ValidatorResultStandardScheme extends StandardScheme<ValidatorResult> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ValidatorResult struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // RESULT
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.result = iprot.readBool();
-              struct.setResultIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // ERROR_DETAILS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.errorDetails = iprot.readString();
-              struct.setErrorDetailsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ValidatorResult struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      oprot.writeFieldBegin(RESULT_FIELD_DESC);
-      oprot.writeBool(struct.result);
-      oprot.writeFieldEnd();
-      if (struct.errorDetails != null) {
-        if (struct.isSetErrorDetails()) {
-          oprot.writeFieldBegin(ERROR_DETAILS_FIELD_DESC);
-          oprot.writeString(struct.errorDetails);
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ValidatorResultTupleSchemeFactory implements SchemeFactory {
-    public ValidatorResultTupleScheme getScheme() {
-      return new ValidatorResultTupleScheme();
-    }
-  }
-
-  private static class ValidatorResultTupleScheme extends TupleScheme<ValidatorResult> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ValidatorResult struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeBool(struct.result);
-      BitSet optionals = new BitSet();
-      if (struct.isSetErrorDetails()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetErrorDetails()) {
-        oprot.writeString(struct.errorDetails);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ValidatorResult struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.result = iprot.readBool();
-      struct.setResultIsSet(true);
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        struct.errorDetails = iprot.readString();
-        struct.setErrorDetailsIsSet(true);
-      }
-    }
-  }
-
-}
-


[11/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ComputationalResourceScheduling.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ComputationalResourceScheduling.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ComputationalResourceScheduling.java
deleted file mode 100644
index 5ab859d..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ComputationalResourceScheduling.java
+++ /dev/null
@@ -1,1330 +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.workspace.experiment;
-
-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"})
-/**
- * A structure holding the Computational Resource Scheduling.
- * 
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ComputationalResourceScheduling implements org.apache.thrift.TBase<ComputationalResourceScheduling, ComputationalResourceScheduling._Fields>, java.io.Serializable, Cloneable, Comparable<ComputationalResourceScheduling> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ComputationalResourceScheduling");
-
-  private static final org.apache.thrift.protocol.TField RESOURCE_HOST_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("resourceHostId", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField TOTAL_CPUCOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("totalCPUCount", org.apache.thrift.protocol.TType.I32, (short)2);
-  private static final org.apache.thrift.protocol.TField NODE_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("nodeCount", org.apache.thrift.protocol.TType.I32, (short)3);
-  private static final org.apache.thrift.protocol.TField NUMBER_OF_THREADS_FIELD_DESC = new org.apache.thrift.protocol.TField("numberOfThreads", org.apache.thrift.protocol.TType.I32, (short)4);
-  private static final org.apache.thrift.protocol.TField QUEUE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("queueName", org.apache.thrift.protocol.TType.STRING, (short)5);
-  private static final org.apache.thrift.protocol.TField WALL_TIME_LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("wallTimeLimit", org.apache.thrift.protocol.TType.I32, (short)6);
-  private static final org.apache.thrift.protocol.TField JOB_START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("jobStartTime", org.apache.thrift.protocol.TType.I32, (short)7);
-  private static final org.apache.thrift.protocol.TField TOTAL_PHYSICAL_MEMORY_FIELD_DESC = new org.apache.thrift.protocol.TField("totalPhysicalMemory", org.apache.thrift.protocol.TType.I32, (short)8);
-  private static final org.apache.thrift.protocol.TField COMPUTATIONAL_PROJECT_ACCOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("computationalProjectAccount", org.apache.thrift.protocol.TType.STRING, (short)9);
-  private static final org.apache.thrift.protocol.TField CHASSIS_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("chassisName", org.apache.thrift.protocol.TType.STRING, (short)10);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ComputationalResourceSchedulingStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ComputationalResourceSchedulingTupleSchemeFactory());
-  }
-
-  private String resourceHostId; // optional
-  private int totalCPUCount; // optional
-  private int nodeCount; // optional
-  private int numberOfThreads; // optional
-  private String queueName; // optional
-  private int wallTimeLimit; // optional
-  private int jobStartTime; // optional
-  private int totalPhysicalMemory; // optional
-  private String computationalProjectAccount; // optional
-  private String chassisName; // 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 {
-    RESOURCE_HOST_ID((short)1, "resourceHostId"),
-    TOTAL_CPUCOUNT((short)2, "totalCPUCount"),
-    NODE_COUNT((short)3, "nodeCount"),
-    NUMBER_OF_THREADS((short)4, "numberOfThreads"),
-    QUEUE_NAME((short)5, "queueName"),
-    WALL_TIME_LIMIT((short)6, "wallTimeLimit"),
-    JOB_START_TIME((short)7, "jobStartTime"),
-    TOTAL_PHYSICAL_MEMORY((short)8, "totalPhysicalMemory"),
-    COMPUTATIONAL_PROJECT_ACCOUNT((short)9, "computationalProjectAccount"),
-    CHASSIS_NAME((short)10, "chassisName");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // RESOURCE_HOST_ID
-          return RESOURCE_HOST_ID;
-        case 2: // TOTAL_CPUCOUNT
-          return TOTAL_CPUCOUNT;
-        case 3: // NODE_COUNT
-          return NODE_COUNT;
-        case 4: // NUMBER_OF_THREADS
-          return NUMBER_OF_THREADS;
-        case 5: // QUEUE_NAME
-          return QUEUE_NAME;
-        case 6: // WALL_TIME_LIMIT
-          return WALL_TIME_LIMIT;
-        case 7: // JOB_START_TIME
-          return JOB_START_TIME;
-        case 8: // TOTAL_PHYSICAL_MEMORY
-          return TOTAL_PHYSICAL_MEMORY;
-        case 9: // COMPUTATIONAL_PROJECT_ACCOUNT
-          return COMPUTATIONAL_PROJECT_ACCOUNT;
-        case 10: // CHASSIS_NAME
-          return CHASSIS_NAME;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __TOTALCPUCOUNT_ISSET_ID = 0;
-  private static final int __NODECOUNT_ISSET_ID = 1;
-  private static final int __NUMBEROFTHREADS_ISSET_ID = 2;
-  private static final int __WALLTIMELIMIT_ISSET_ID = 3;
-  private static final int __JOBSTARTTIME_ISSET_ID = 4;
-  private static final int __TOTALPHYSICALMEMORY_ISSET_ID = 5;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.RESOURCE_HOST_ID,_Fields.TOTAL_CPUCOUNT,_Fields.NODE_COUNT,_Fields.NUMBER_OF_THREADS,_Fields.QUEUE_NAME,_Fields.WALL_TIME_LIMIT,_Fields.JOB_START_TIME,_Fields.TOTAL_PHYSICAL_MEMORY,_Fields.COMPUTATIONAL_PROJECT_ACCOUNT,_Fields.CHASSIS_NAME};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.RESOURCE_HOST_ID, new org.apache.thrift.meta_data.FieldMetaData("resourceHostId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.TOTAL_CPUCOUNT, new org.apache.thrift.meta_data.FieldMetaData("totalCPUCount", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.NODE_COUNT, new org.apache.thrift.meta_data.FieldMetaData("nodeCount", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.NUMBER_OF_THREADS, new org.apache.thrift.meta_data.FieldMetaData("numberOfThreads", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.QUEUE_NAME, new org.apache.thrift.meta_data.FieldMetaData("queueName", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.WALL_TIME_LIMIT, new org.apache.thrift.meta_data.FieldMetaData("wallTimeLimit", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.JOB_START_TIME, new org.apache.thrift.meta_data.FieldMetaData("jobStartTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.TOTAL_PHYSICAL_MEMORY, new org.apache.thrift.meta_data.FieldMetaData("totalPhysicalMemory", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.COMPUTATIONAL_PROJECT_ACCOUNT, new org.apache.thrift.meta_data.FieldMetaData("computationalProjectAccount", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.CHASSIS_NAME, new org.apache.thrift.meta_data.FieldMetaData("chassisName", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ComputationalResourceScheduling.class, metaDataMap);
-  }
-
-  public ComputationalResourceScheduling() {
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ComputationalResourceScheduling(ComputationalResourceScheduling other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetResourceHostId()) {
-      this.resourceHostId = other.resourceHostId;
-    }
-    this.totalCPUCount = other.totalCPUCount;
-    this.nodeCount = other.nodeCount;
-    this.numberOfThreads = other.numberOfThreads;
-    if (other.isSetQueueName()) {
-      this.queueName = other.queueName;
-    }
-    this.wallTimeLimit = other.wallTimeLimit;
-    this.jobStartTime = other.jobStartTime;
-    this.totalPhysicalMemory = other.totalPhysicalMemory;
-    if (other.isSetComputationalProjectAccount()) {
-      this.computationalProjectAccount = other.computationalProjectAccount;
-    }
-    if (other.isSetChassisName()) {
-      this.chassisName = other.chassisName;
-    }
-  }
-
-  public ComputationalResourceScheduling deepCopy() {
-    return new ComputationalResourceScheduling(this);
-  }
-
-  @Override
-  public void clear() {
-    this.resourceHostId = null;
-    setTotalCPUCountIsSet(false);
-    this.totalCPUCount = 0;
-    setNodeCountIsSet(false);
-    this.nodeCount = 0;
-    setNumberOfThreadsIsSet(false);
-    this.numberOfThreads = 0;
-    this.queueName = null;
-    setWallTimeLimitIsSet(false);
-    this.wallTimeLimit = 0;
-    setJobStartTimeIsSet(false);
-    this.jobStartTime = 0;
-    setTotalPhysicalMemoryIsSet(false);
-    this.totalPhysicalMemory = 0;
-    this.computationalProjectAccount = null;
-    this.chassisName = null;
-  }
-
-  public String getResourceHostId() {
-    return this.resourceHostId;
-  }
-
-  public void setResourceHostId(String resourceHostId) {
-    this.resourceHostId = resourceHostId;
-  }
-
-  public void unsetResourceHostId() {
-    this.resourceHostId = null;
-  }
-
-  /** Returns true if field resourceHostId is set (has been assigned a value) and false otherwise */
-  public boolean isSetResourceHostId() {
-    return this.resourceHostId != null;
-  }
-
-  public void setResourceHostIdIsSet(boolean value) {
-    if (!value) {
-      this.resourceHostId = null;
-    }
-  }
-
-  public int getTotalCPUCount() {
-    return this.totalCPUCount;
-  }
-
-  public void setTotalCPUCount(int totalCPUCount) {
-    this.totalCPUCount = totalCPUCount;
-    setTotalCPUCountIsSet(true);
-  }
-
-  public void unsetTotalCPUCount() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TOTALCPUCOUNT_ISSET_ID);
-  }
-
-  /** Returns true if field totalCPUCount is set (has been assigned a value) and false otherwise */
-  public boolean isSetTotalCPUCount() {
-    return EncodingUtils.testBit(__isset_bitfield, __TOTALCPUCOUNT_ISSET_ID);
-  }
-
-  public void setTotalCPUCountIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TOTALCPUCOUNT_ISSET_ID, value);
-  }
-
-  public int getNodeCount() {
-    return this.nodeCount;
-  }
-
-  public void setNodeCount(int nodeCount) {
-    this.nodeCount = nodeCount;
-    setNodeCountIsSet(true);
-  }
-
-  public void unsetNodeCount() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __NODECOUNT_ISSET_ID);
-  }
-
-  /** Returns true if field nodeCount is set (has been assigned a value) and false otherwise */
-  public boolean isSetNodeCount() {
-    return EncodingUtils.testBit(__isset_bitfield, __NODECOUNT_ISSET_ID);
-  }
-
-  public void setNodeCountIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NODECOUNT_ISSET_ID, value);
-  }
-
-  public int getNumberOfThreads() {
-    return this.numberOfThreads;
-  }
-
-  public void setNumberOfThreads(int numberOfThreads) {
-    this.numberOfThreads = numberOfThreads;
-    setNumberOfThreadsIsSet(true);
-  }
-
-  public void unsetNumberOfThreads() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __NUMBEROFTHREADS_ISSET_ID);
-  }
-
-  /** Returns true if field numberOfThreads is set (has been assigned a value) and false otherwise */
-  public boolean isSetNumberOfThreads() {
-    return EncodingUtils.testBit(__isset_bitfield, __NUMBEROFTHREADS_ISSET_ID);
-  }
-
-  public void setNumberOfThreadsIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NUMBEROFTHREADS_ISSET_ID, value);
-  }
-
-  public String getQueueName() {
-    return this.queueName;
-  }
-
-  public void setQueueName(String queueName) {
-    this.queueName = queueName;
-  }
-
-  public void unsetQueueName() {
-    this.queueName = null;
-  }
-
-  /** Returns true if field queueName is set (has been assigned a value) and false otherwise */
-  public boolean isSetQueueName() {
-    return this.queueName != null;
-  }
-
-  public void setQueueNameIsSet(boolean value) {
-    if (!value) {
-      this.queueName = null;
-    }
-  }
-
-  public int getWallTimeLimit() {
-    return this.wallTimeLimit;
-  }
-
-  public void setWallTimeLimit(int wallTimeLimit) {
-    this.wallTimeLimit = wallTimeLimit;
-    setWallTimeLimitIsSet(true);
-  }
-
-  public void unsetWallTimeLimit() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __WALLTIMELIMIT_ISSET_ID);
-  }
-
-  /** Returns true if field wallTimeLimit is set (has been assigned a value) and false otherwise */
-  public boolean isSetWallTimeLimit() {
-    return EncodingUtils.testBit(__isset_bitfield, __WALLTIMELIMIT_ISSET_ID);
-  }
-
-  public void setWallTimeLimitIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __WALLTIMELIMIT_ISSET_ID, value);
-  }
-
-  public int getJobStartTime() {
-    return this.jobStartTime;
-  }
-
-  public void setJobStartTime(int jobStartTime) {
-    this.jobStartTime = jobStartTime;
-    setJobStartTimeIsSet(true);
-  }
-
-  public void unsetJobStartTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __JOBSTARTTIME_ISSET_ID);
-  }
-
-  /** Returns true if field jobStartTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetJobStartTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __JOBSTARTTIME_ISSET_ID);
-  }
-
-  public void setJobStartTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __JOBSTARTTIME_ISSET_ID, value);
-  }
-
-  public int getTotalPhysicalMemory() {
-    return this.totalPhysicalMemory;
-  }
-
-  public void setTotalPhysicalMemory(int totalPhysicalMemory) {
-    this.totalPhysicalMemory = totalPhysicalMemory;
-    setTotalPhysicalMemoryIsSet(true);
-  }
-
-  public void unsetTotalPhysicalMemory() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TOTALPHYSICALMEMORY_ISSET_ID);
-  }
-
-  /** Returns true if field totalPhysicalMemory is set (has been assigned a value) and false otherwise */
-  public boolean isSetTotalPhysicalMemory() {
-    return EncodingUtils.testBit(__isset_bitfield, __TOTALPHYSICALMEMORY_ISSET_ID);
-  }
-
-  public void setTotalPhysicalMemoryIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TOTALPHYSICALMEMORY_ISSET_ID, value);
-  }
-
-  public String getComputationalProjectAccount() {
-    return this.computationalProjectAccount;
-  }
-
-  public void setComputationalProjectAccount(String computationalProjectAccount) {
-    this.computationalProjectAccount = computationalProjectAccount;
-  }
-
-  public void unsetComputationalProjectAccount() {
-    this.computationalProjectAccount = null;
-  }
-
-  /** Returns true if field computationalProjectAccount is set (has been assigned a value) and false otherwise */
-  public boolean isSetComputationalProjectAccount() {
-    return this.computationalProjectAccount != null;
-  }
-
-  public void setComputationalProjectAccountIsSet(boolean value) {
-    if (!value) {
-      this.computationalProjectAccount = null;
-    }
-  }
-
-  public String getChassisName() {
-    return this.chassisName;
-  }
-
-  public void setChassisName(String chassisName) {
-    this.chassisName = chassisName;
-  }
-
-  public void unsetChassisName() {
-    this.chassisName = null;
-  }
-
-  /** Returns true if field chassisName is set (has been assigned a value) and false otherwise */
-  public boolean isSetChassisName() {
-    return this.chassisName != null;
-  }
-
-  public void setChassisNameIsSet(boolean value) {
-    if (!value) {
-      this.chassisName = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case RESOURCE_HOST_ID:
-      if (value == null) {
-        unsetResourceHostId();
-      } else {
-        setResourceHostId((String)value);
-      }
-      break;
-
-    case TOTAL_CPUCOUNT:
-      if (value == null) {
-        unsetTotalCPUCount();
-      } else {
-        setTotalCPUCount((Integer)value);
-      }
-      break;
-
-    case NODE_COUNT:
-      if (value == null) {
-        unsetNodeCount();
-      } else {
-        setNodeCount((Integer)value);
-      }
-      break;
-
-    case NUMBER_OF_THREADS:
-      if (value == null) {
-        unsetNumberOfThreads();
-      } else {
-        setNumberOfThreads((Integer)value);
-      }
-      break;
-
-    case QUEUE_NAME:
-      if (value == null) {
-        unsetQueueName();
-      } else {
-        setQueueName((String)value);
-      }
-      break;
-
-    case WALL_TIME_LIMIT:
-      if (value == null) {
-        unsetWallTimeLimit();
-      } else {
-        setWallTimeLimit((Integer)value);
-      }
-      break;
-
-    case JOB_START_TIME:
-      if (value == null) {
-        unsetJobStartTime();
-      } else {
-        setJobStartTime((Integer)value);
-      }
-      break;
-
-    case TOTAL_PHYSICAL_MEMORY:
-      if (value == null) {
-        unsetTotalPhysicalMemory();
-      } else {
-        setTotalPhysicalMemory((Integer)value);
-      }
-      break;
-
-    case COMPUTATIONAL_PROJECT_ACCOUNT:
-      if (value == null) {
-        unsetComputationalProjectAccount();
-      } else {
-        setComputationalProjectAccount((String)value);
-      }
-      break;
-
-    case CHASSIS_NAME:
-      if (value == null) {
-        unsetChassisName();
-      } else {
-        setChassisName((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case RESOURCE_HOST_ID:
-      return getResourceHostId();
-
-    case TOTAL_CPUCOUNT:
-      return Integer.valueOf(getTotalCPUCount());
-
-    case NODE_COUNT:
-      return Integer.valueOf(getNodeCount());
-
-    case NUMBER_OF_THREADS:
-      return Integer.valueOf(getNumberOfThreads());
-
-    case QUEUE_NAME:
-      return getQueueName();
-
-    case WALL_TIME_LIMIT:
-      return Integer.valueOf(getWallTimeLimit());
-
-    case JOB_START_TIME:
-      return Integer.valueOf(getJobStartTime());
-
-    case TOTAL_PHYSICAL_MEMORY:
-      return Integer.valueOf(getTotalPhysicalMemory());
-
-    case COMPUTATIONAL_PROJECT_ACCOUNT:
-      return getComputationalProjectAccount();
-
-    case CHASSIS_NAME:
-      return getChassisName();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case RESOURCE_HOST_ID:
-      return isSetResourceHostId();
-    case TOTAL_CPUCOUNT:
-      return isSetTotalCPUCount();
-    case NODE_COUNT:
-      return isSetNodeCount();
-    case NUMBER_OF_THREADS:
-      return isSetNumberOfThreads();
-    case QUEUE_NAME:
-      return isSetQueueName();
-    case WALL_TIME_LIMIT:
-      return isSetWallTimeLimit();
-    case JOB_START_TIME:
-      return isSetJobStartTime();
-    case TOTAL_PHYSICAL_MEMORY:
-      return isSetTotalPhysicalMemory();
-    case COMPUTATIONAL_PROJECT_ACCOUNT:
-      return isSetComputationalProjectAccount();
-    case CHASSIS_NAME:
-      return isSetChassisName();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ComputationalResourceScheduling)
-      return this.equals((ComputationalResourceScheduling)that);
-    return false;
-  }
-
-  public boolean equals(ComputationalResourceScheduling that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_resourceHostId = true && this.isSetResourceHostId();
-    boolean that_present_resourceHostId = true && that.isSetResourceHostId();
-    if (this_present_resourceHostId || that_present_resourceHostId) {
-      if (!(this_present_resourceHostId && that_present_resourceHostId))
-        return false;
-      if (!this.resourceHostId.equals(that.resourceHostId))
-        return false;
-    }
-
-    boolean this_present_totalCPUCount = true && this.isSetTotalCPUCount();
-    boolean that_present_totalCPUCount = true && that.isSetTotalCPUCount();
-    if (this_present_totalCPUCount || that_present_totalCPUCount) {
-      if (!(this_present_totalCPUCount && that_present_totalCPUCount))
-        return false;
-      if (this.totalCPUCount != that.totalCPUCount)
-        return false;
-    }
-
-    boolean this_present_nodeCount = true && this.isSetNodeCount();
-    boolean that_present_nodeCount = true && that.isSetNodeCount();
-    if (this_present_nodeCount || that_present_nodeCount) {
-      if (!(this_present_nodeCount && that_present_nodeCount))
-        return false;
-      if (this.nodeCount != that.nodeCount)
-        return false;
-    }
-
-    boolean this_present_numberOfThreads = true && this.isSetNumberOfThreads();
-    boolean that_present_numberOfThreads = true && that.isSetNumberOfThreads();
-    if (this_present_numberOfThreads || that_present_numberOfThreads) {
-      if (!(this_present_numberOfThreads && that_present_numberOfThreads))
-        return false;
-      if (this.numberOfThreads != that.numberOfThreads)
-        return false;
-    }
-
-    boolean this_present_queueName = true && this.isSetQueueName();
-    boolean that_present_queueName = true && that.isSetQueueName();
-    if (this_present_queueName || that_present_queueName) {
-      if (!(this_present_queueName && that_present_queueName))
-        return false;
-      if (!this.queueName.equals(that.queueName))
-        return false;
-    }
-
-    boolean this_present_wallTimeLimit = true && this.isSetWallTimeLimit();
-    boolean that_present_wallTimeLimit = true && that.isSetWallTimeLimit();
-    if (this_present_wallTimeLimit || that_present_wallTimeLimit) {
-      if (!(this_present_wallTimeLimit && that_present_wallTimeLimit))
-        return false;
-      if (this.wallTimeLimit != that.wallTimeLimit)
-        return false;
-    }
-
-    boolean this_present_jobStartTime = true && this.isSetJobStartTime();
-    boolean that_present_jobStartTime = true && that.isSetJobStartTime();
-    if (this_present_jobStartTime || that_present_jobStartTime) {
-      if (!(this_present_jobStartTime && that_present_jobStartTime))
-        return false;
-      if (this.jobStartTime != that.jobStartTime)
-        return false;
-    }
-
-    boolean this_present_totalPhysicalMemory = true && this.isSetTotalPhysicalMemory();
-    boolean that_present_totalPhysicalMemory = true && that.isSetTotalPhysicalMemory();
-    if (this_present_totalPhysicalMemory || that_present_totalPhysicalMemory) {
-      if (!(this_present_totalPhysicalMemory && that_present_totalPhysicalMemory))
-        return false;
-      if (this.totalPhysicalMemory != that.totalPhysicalMemory)
-        return false;
-    }
-
-    boolean this_present_computationalProjectAccount = true && this.isSetComputationalProjectAccount();
-    boolean that_present_computationalProjectAccount = true && that.isSetComputationalProjectAccount();
-    if (this_present_computationalProjectAccount || that_present_computationalProjectAccount) {
-      if (!(this_present_computationalProjectAccount && that_present_computationalProjectAccount))
-        return false;
-      if (!this.computationalProjectAccount.equals(that.computationalProjectAccount))
-        return false;
-    }
-
-    boolean this_present_chassisName = true && this.isSetChassisName();
-    boolean that_present_chassisName = true && that.isSetChassisName();
-    if (this_present_chassisName || that_present_chassisName) {
-      if (!(this_present_chassisName && that_present_chassisName))
-        return false;
-      if (!this.chassisName.equals(that.chassisName))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_resourceHostId = true && (isSetResourceHostId());
-    list.add(present_resourceHostId);
-    if (present_resourceHostId)
-      list.add(resourceHostId);
-
-    boolean present_totalCPUCount = true && (isSetTotalCPUCount());
-    list.add(present_totalCPUCount);
-    if (present_totalCPUCount)
-      list.add(totalCPUCount);
-
-    boolean present_nodeCount = true && (isSetNodeCount());
-    list.add(present_nodeCount);
-    if (present_nodeCount)
-      list.add(nodeCount);
-
-    boolean present_numberOfThreads = true && (isSetNumberOfThreads());
-    list.add(present_numberOfThreads);
-    if (present_numberOfThreads)
-      list.add(numberOfThreads);
-
-    boolean present_queueName = true && (isSetQueueName());
-    list.add(present_queueName);
-    if (present_queueName)
-      list.add(queueName);
-
-    boolean present_wallTimeLimit = true && (isSetWallTimeLimit());
-    list.add(present_wallTimeLimit);
-    if (present_wallTimeLimit)
-      list.add(wallTimeLimit);
-
-    boolean present_jobStartTime = true && (isSetJobStartTime());
-    list.add(present_jobStartTime);
-    if (present_jobStartTime)
-      list.add(jobStartTime);
-
-    boolean present_totalPhysicalMemory = true && (isSetTotalPhysicalMemory());
-    list.add(present_totalPhysicalMemory);
-    if (present_totalPhysicalMemory)
-      list.add(totalPhysicalMemory);
-
-    boolean present_computationalProjectAccount = true && (isSetComputationalProjectAccount());
-    list.add(present_computationalProjectAccount);
-    if (present_computationalProjectAccount)
-      list.add(computationalProjectAccount);
-
-    boolean present_chassisName = true && (isSetChassisName());
-    list.add(present_chassisName);
-    if (present_chassisName)
-      list.add(chassisName);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ComputationalResourceScheduling other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetResourceHostId()).compareTo(other.isSetResourceHostId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetResourceHostId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceHostId, other.resourceHostId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTotalCPUCount()).compareTo(other.isSetTotalCPUCount());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTotalCPUCount()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalCPUCount, other.totalCPUCount);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetNodeCount()).compareTo(other.isSetNodeCount());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetNodeCount()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nodeCount, other.nodeCount);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetNumberOfThreads()).compareTo(other.isSetNumberOfThreads());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetNumberOfThreads()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numberOfThreads, other.numberOfThreads);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetQueueName()).compareTo(other.isSetQueueName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetQueueName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queueName, other.queueName);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetWallTimeLimit()).compareTo(other.isSetWallTimeLimit());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWallTimeLimit()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.wallTimeLimit, other.wallTimeLimit);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetJobStartTime()).compareTo(other.isSetJobStartTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetJobStartTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobStartTime, other.jobStartTime);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTotalPhysicalMemory()).compareTo(other.isSetTotalPhysicalMemory());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTotalPhysicalMemory()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalPhysicalMemory, other.totalPhysicalMemory);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetComputationalProjectAccount()).compareTo(other.isSetComputationalProjectAccount());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetComputationalProjectAccount()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.computationalProjectAccount, other.computationalProjectAccount);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetChassisName()).compareTo(other.isSetChassisName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetChassisName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.chassisName, other.chassisName);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ComputationalResourceScheduling(");
-    boolean first = true;
-
-    if (isSetResourceHostId()) {
-      sb.append("resourceHostId:");
-      if (this.resourceHostId == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.resourceHostId);
-      }
-      first = false;
-    }
-    if (isSetTotalCPUCount()) {
-      if (!first) sb.append(", ");
-      sb.append("totalCPUCount:");
-      sb.append(this.totalCPUCount);
-      first = false;
-    }
-    if (isSetNodeCount()) {
-      if (!first) sb.append(", ");
-      sb.append("nodeCount:");
-      sb.append(this.nodeCount);
-      first = false;
-    }
-    if (isSetNumberOfThreads()) {
-      if (!first) sb.append(", ");
-      sb.append("numberOfThreads:");
-      sb.append(this.numberOfThreads);
-      first = false;
-    }
-    if (isSetQueueName()) {
-      if (!first) sb.append(", ");
-      sb.append("queueName:");
-      if (this.queueName == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.queueName);
-      }
-      first = false;
-    }
-    if (isSetWallTimeLimit()) {
-      if (!first) sb.append(", ");
-      sb.append("wallTimeLimit:");
-      sb.append(this.wallTimeLimit);
-      first = false;
-    }
-    if (isSetJobStartTime()) {
-      if (!first) sb.append(", ");
-      sb.append("jobStartTime:");
-      sb.append(this.jobStartTime);
-      first = false;
-    }
-    if (isSetTotalPhysicalMemory()) {
-      if (!first) sb.append(", ");
-      sb.append("totalPhysicalMemory:");
-      sb.append(this.totalPhysicalMemory);
-      first = false;
-    }
-    if (isSetComputationalProjectAccount()) {
-      if (!first) sb.append(", ");
-      sb.append("computationalProjectAccount:");
-      if (this.computationalProjectAccount == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.computationalProjectAccount);
-      }
-      first = false;
-    }
-    if (isSetChassisName()) {
-      if (!first) sb.append(", ");
-      sb.append("chassisName:");
-      if (this.chassisName == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.chassisName);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ComputationalResourceSchedulingStandardSchemeFactory implements SchemeFactory {
-    public ComputationalResourceSchedulingStandardScheme getScheme() {
-      return new ComputationalResourceSchedulingStandardScheme();
-    }
-  }
-
-  private static class ComputationalResourceSchedulingStandardScheme extends StandardScheme<ComputationalResourceScheduling> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ComputationalResourceScheduling struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // RESOURCE_HOST_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.resourceHostId = iprot.readString();
-              struct.setResourceHostIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // TOTAL_CPUCOUNT
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.totalCPUCount = iprot.readI32();
-              struct.setTotalCPUCountIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // NODE_COUNT
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.nodeCount = iprot.readI32();
-              struct.setNodeCountIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // NUMBER_OF_THREADS
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.numberOfThreads = iprot.readI32();
-              struct.setNumberOfThreadsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // QUEUE_NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.queueName = iprot.readString();
-              struct.setQueueNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // WALL_TIME_LIMIT
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.wallTimeLimit = iprot.readI32();
-              struct.setWallTimeLimitIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // JOB_START_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.jobStartTime = iprot.readI32();
-              struct.setJobStartTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // TOTAL_PHYSICAL_MEMORY
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.totalPhysicalMemory = iprot.readI32();
-              struct.setTotalPhysicalMemoryIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // COMPUTATIONAL_PROJECT_ACCOUNT
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.computationalProjectAccount = iprot.readString();
-              struct.setComputationalProjectAccountIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 10: // CHASSIS_NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.chassisName = iprot.readString();
-              struct.setChassisNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ComputationalResourceScheduling struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.resourceHostId != null) {
-        if (struct.isSetResourceHostId()) {
-          oprot.writeFieldBegin(RESOURCE_HOST_ID_FIELD_DESC);
-          oprot.writeString(struct.resourceHostId);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetTotalCPUCount()) {
-        oprot.writeFieldBegin(TOTAL_CPUCOUNT_FIELD_DESC);
-        oprot.writeI32(struct.totalCPUCount);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetNodeCount()) {
-        oprot.writeFieldBegin(NODE_COUNT_FIELD_DESC);
-        oprot.writeI32(struct.nodeCount);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetNumberOfThreads()) {
-        oprot.writeFieldBegin(NUMBER_OF_THREADS_FIELD_DESC);
-        oprot.writeI32(struct.numberOfThreads);
-        oprot.writeFieldEnd();
-      }
-      if (struct.queueName != null) {
-        if (struct.isSetQueueName()) {
-          oprot.writeFieldBegin(QUEUE_NAME_FIELD_DESC);
-          oprot.writeString(struct.queueName);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetWallTimeLimit()) {
-        oprot.writeFieldBegin(WALL_TIME_LIMIT_FIELD_DESC);
-        oprot.writeI32(struct.wallTimeLimit);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetJobStartTime()) {
-        oprot.writeFieldBegin(JOB_START_TIME_FIELD_DESC);
-        oprot.writeI32(struct.jobStartTime);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetTotalPhysicalMemory()) {
-        oprot.writeFieldBegin(TOTAL_PHYSICAL_MEMORY_FIELD_DESC);
-        oprot.writeI32(struct.totalPhysicalMemory);
-        oprot.writeFieldEnd();
-      }
-      if (struct.computationalProjectAccount != null) {
-        if (struct.isSetComputationalProjectAccount()) {
-          oprot.writeFieldBegin(COMPUTATIONAL_PROJECT_ACCOUNT_FIELD_DESC);
-          oprot.writeString(struct.computationalProjectAccount);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.chassisName != null) {
-        if (struct.isSetChassisName()) {
-          oprot.writeFieldBegin(CHASSIS_NAME_FIELD_DESC);
-          oprot.writeString(struct.chassisName);
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ComputationalResourceSchedulingTupleSchemeFactory implements SchemeFactory {
-    public ComputationalResourceSchedulingTupleScheme getScheme() {
-      return new ComputationalResourceSchedulingTupleScheme();
-    }
-  }
-
-  private static class ComputationalResourceSchedulingTupleScheme extends TupleScheme<ComputationalResourceScheduling> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ComputationalResourceScheduling struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetResourceHostId()) {
-        optionals.set(0);
-      }
-      if (struct.isSetTotalCPUCount()) {
-        optionals.set(1);
-      }
-      if (struct.isSetNodeCount()) {
-        optionals.set(2);
-      }
-      if (struct.isSetNumberOfThreads()) {
-        optionals.set(3);
-      }
-      if (struct.isSetQueueName()) {
-        optionals.set(4);
-      }
-      if (struct.isSetWallTimeLimit()) {
-        optionals.set(5);
-      }
-      if (struct.isSetJobStartTime()) {
-        optionals.set(6);
-      }
-      if (struct.isSetTotalPhysicalMemory()) {
-        optionals.set(7);
-      }
-      if (struct.isSetComputationalProjectAccount()) {
-        optionals.set(8);
-      }
-      if (struct.isSetChassisName()) {
-        optionals.set(9);
-      }
-      oprot.writeBitSet(optionals, 10);
-      if (struct.isSetResourceHostId()) {
-        oprot.writeString(struct.resourceHostId);
-      }
-      if (struct.isSetTotalCPUCount()) {
-        oprot.writeI32(struct.totalCPUCount);
-      }
-      if (struct.isSetNodeCount()) {
-        oprot.writeI32(struct.nodeCount);
-      }
-      if (struct.isSetNumberOfThreads()) {
-        oprot.writeI32(struct.numberOfThreads);
-      }
-      if (struct.isSetQueueName()) {
-        oprot.writeString(struct.queueName);
-      }
-      if (struct.isSetWallTimeLimit()) {
-        oprot.writeI32(struct.wallTimeLimit);
-      }
-      if (struct.isSetJobStartTime()) {
-        oprot.writeI32(struct.jobStartTime);
-      }
-      if (struct.isSetTotalPhysicalMemory()) {
-        oprot.writeI32(struct.totalPhysicalMemory);
-      }
-      if (struct.isSetComputationalProjectAccount()) {
-        oprot.writeString(struct.computationalProjectAccount);
-      }
-      if (struct.isSetChassisName()) {
-        oprot.writeString(struct.chassisName);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ComputationalResourceScheduling struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(10);
-      if (incoming.get(0)) {
-        struct.resourceHostId = iprot.readString();
-        struct.setResourceHostIdIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.totalCPUCount = iprot.readI32();
-        struct.setTotalCPUCountIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.nodeCount = iprot.readI32();
-        struct.setNodeCountIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.numberOfThreads = iprot.readI32();
-        struct.setNumberOfThreadsIsSet(true);
-      }
-      if (incoming.get(4)) {
-        struct.queueName = iprot.readString();
-        struct.setQueueNameIsSet(true);
-      }
-      if (incoming.get(5)) {
-        struct.wallTimeLimit = iprot.readI32();
-        struct.setWallTimeLimitIsSet(true);
-      }
-      if (incoming.get(6)) {
-        struct.jobStartTime = iprot.readI32();
-        struct.setJobStartTimeIsSet(true);
-      }
-      if (incoming.get(7)) {
-        struct.totalPhysicalMemory = iprot.readI32();
-        struct.setTotalPhysicalMemoryIsSet(true);
-      }
-      if (incoming.get(8)) {
-        struct.computationalProjectAccount = iprot.readString();
-        struct.setComputationalProjectAccountIsSet(true);
-      }
-      if (incoming.get(9)) {
-        struct.chassisName = iprot.readString();
-        struct.setChassisNameIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/CorrectiveAction.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/CorrectiveAction.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/CorrectiveAction.java
deleted file mode 100644
index 3c452b6..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/CorrectiveAction.java
+++ /dev/null
@@ -1,65 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum CorrectiveAction implements org.apache.thrift.TEnum {
-  RETRY_SUBMISSION(0),
-  CONTACT_SUPPORT(1),
-  CANNOT_BE_DETERMINED(2);
-
-  private final int value;
-
-  private CorrectiveAction(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 CorrectiveAction findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return RETRY_SUBMISSION;
-      case 1:
-        return CONTACT_SUPPORT;
-      case 2:
-        return CANNOT_BE_DETERMINED;
-      default:
-        return null;
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/DataTransferDetails.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/DataTransferDetails.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/DataTransferDetails.java
deleted file mode 100644
index 6137e08..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/DataTransferDetails.java
+++ /dev/null
@@ -1,728 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class DataTransferDetails implements org.apache.thrift.TBase<DataTransferDetails, DataTransferDetails._Fields>, java.io.Serializable, Cloneable, Comparable<DataTransferDetails> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DataTransferDetails");
-
-  private static final org.apache.thrift.protocol.TField TRANSFER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transferID", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)2);
-  private static final org.apache.thrift.protocol.TField TRANSFER_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("transferDescription", org.apache.thrift.protocol.TType.STRING, (short)3);
-  private static final org.apache.thrift.protocol.TField TRANSFER_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("transferStatus", org.apache.thrift.protocol.TType.STRUCT, (short)4);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new DataTransferDetailsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new DataTransferDetailsTupleSchemeFactory());
-  }
-
-  private String transferID; // required
-  private long creationTime; // optional
-  private String transferDescription; // required
-  private TransferStatus transferStatus; // 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 {
-    TRANSFER_ID((short)1, "transferID"),
-    CREATION_TIME((short)2, "creationTime"),
-    TRANSFER_DESCRIPTION((short)3, "transferDescription"),
-    TRANSFER_STATUS((short)4, "transferStatus");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // TRANSFER_ID
-          return TRANSFER_ID;
-        case 2: // CREATION_TIME
-          return CREATION_TIME;
-        case 3: // TRANSFER_DESCRIPTION
-          return TRANSFER_DESCRIPTION;
-        case 4: // TRANSFER_STATUS
-          return TRANSFER_STATUS;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __CREATIONTIME_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.TRANSFER_STATUS};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.TRANSFER_ID, new org.apache.thrift.meta_data.FieldMetaData("transferID", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    tmpMap.put(_Fields.TRANSFER_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("transferDescription", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.TRANSFER_STATUS, new org.apache.thrift.meta_data.FieldMetaData("transferStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TransferStatus.class)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(DataTransferDetails.class, metaDataMap);
-  }
-
-  public DataTransferDetails() {
-    this.transferID = "DO_NOT_SET_AT_CLIENTS";
-
-  }
-
-  public DataTransferDetails(
-    String transferID,
-    String transferDescription)
-  {
-    this();
-    this.transferID = transferID;
-    this.transferDescription = transferDescription;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public DataTransferDetails(DataTransferDetails other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetTransferID()) {
-      this.transferID = other.transferID;
-    }
-    this.creationTime = other.creationTime;
-    if (other.isSetTransferDescription()) {
-      this.transferDescription = other.transferDescription;
-    }
-    if (other.isSetTransferStatus()) {
-      this.transferStatus = new TransferStatus(other.transferStatus);
-    }
-  }
-
-  public DataTransferDetails deepCopy() {
-    return new DataTransferDetails(this);
-  }
-
-  @Override
-  public void clear() {
-    this.transferID = "DO_NOT_SET_AT_CLIENTS";
-
-    setCreationTimeIsSet(false);
-    this.creationTime = 0;
-    this.transferDescription = null;
-    this.transferStatus = null;
-  }
-
-  public String getTransferID() {
-    return this.transferID;
-  }
-
-  public void setTransferID(String transferID) {
-    this.transferID = transferID;
-  }
-
-  public void unsetTransferID() {
-    this.transferID = null;
-  }
-
-  /** Returns true if field transferID is set (has been assigned a value) and false otherwise */
-  public boolean isSetTransferID() {
-    return this.transferID != null;
-  }
-
-  public void setTransferIDIsSet(boolean value) {
-    if (!value) {
-      this.transferID = null;
-    }
-  }
-
-  public long getCreationTime() {
-    return this.creationTime;
-  }
-
-  public void setCreationTime(long creationTime) {
-    this.creationTime = creationTime;
-    setCreationTimeIsSet(true);
-  }
-
-  public void unsetCreationTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetCreationTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  public void setCreationTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
-  }
-
-  public String getTransferDescription() {
-    return this.transferDescription;
-  }
-
-  public void setTransferDescription(String transferDescription) {
-    this.transferDescription = transferDescription;
-  }
-
-  public void unsetTransferDescription() {
-    this.transferDescription = null;
-  }
-
-  /** Returns true if field transferDescription is set (has been assigned a value) and false otherwise */
-  public boolean isSetTransferDescription() {
-    return this.transferDescription != null;
-  }
-
-  public void setTransferDescriptionIsSet(boolean value) {
-    if (!value) {
-      this.transferDescription = null;
-    }
-  }
-
-  public TransferStatus getTransferStatus() {
-    return this.transferStatus;
-  }
-
-  public void setTransferStatus(TransferStatus transferStatus) {
-    this.transferStatus = transferStatus;
-  }
-
-  public void unsetTransferStatus() {
-    this.transferStatus = null;
-  }
-
-  /** Returns true if field transferStatus is set (has been assigned a value) and false otherwise */
-  public boolean isSetTransferStatus() {
-    return this.transferStatus != null;
-  }
-
-  public void setTransferStatusIsSet(boolean value) {
-    if (!value) {
-      this.transferStatus = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case TRANSFER_ID:
-      if (value == null) {
-        unsetTransferID();
-      } else {
-        setTransferID((String)value);
-      }
-      break;
-
-    case CREATION_TIME:
-      if (value == null) {
-        unsetCreationTime();
-      } else {
-        setCreationTime((Long)value);
-      }
-      break;
-
-    case TRANSFER_DESCRIPTION:
-      if (value == null) {
-        unsetTransferDescription();
-      } else {
-        setTransferDescription((String)value);
-      }
-      break;
-
-    case TRANSFER_STATUS:
-      if (value == null) {
-        unsetTransferStatus();
-      } else {
-        setTransferStatus((TransferStatus)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case TRANSFER_ID:
-      return getTransferID();
-
-    case CREATION_TIME:
-      return Long.valueOf(getCreationTime());
-
-    case TRANSFER_DESCRIPTION:
-      return getTransferDescription();
-
-    case TRANSFER_STATUS:
-      return getTransferStatus();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case TRANSFER_ID:
-      return isSetTransferID();
-    case CREATION_TIME:
-      return isSetCreationTime();
-    case TRANSFER_DESCRIPTION:
-      return isSetTransferDescription();
-    case TRANSFER_STATUS:
-      return isSetTransferStatus();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof DataTransferDetails)
-      return this.equals((DataTransferDetails)that);
-    return false;
-  }
-
-  public boolean equals(DataTransferDetails that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_transferID = true && this.isSetTransferID();
-    boolean that_present_transferID = true && that.isSetTransferID();
-    if (this_present_transferID || that_present_transferID) {
-      if (!(this_present_transferID && that_present_transferID))
-        return false;
-      if (!this.transferID.equals(that.transferID))
-        return false;
-    }
-
-    boolean this_present_creationTime = true && this.isSetCreationTime();
-    boolean that_present_creationTime = true && that.isSetCreationTime();
-    if (this_present_creationTime || that_present_creationTime) {
-      if (!(this_present_creationTime && that_present_creationTime))
-        return false;
-      if (this.creationTime != that.creationTime)
-        return false;
-    }
-
-    boolean this_present_transferDescription = true && this.isSetTransferDescription();
-    boolean that_present_transferDescription = true && that.isSetTransferDescription();
-    if (this_present_transferDescription || that_present_transferDescription) {
-      if (!(this_present_transferDescription && that_present_transferDescription))
-        return false;
-      if (!this.transferDescription.equals(that.transferDescription))
-        return false;
-    }
-
-    boolean this_present_transferStatus = true && this.isSetTransferStatus();
-    boolean that_present_transferStatus = true && that.isSetTransferStatus();
-    if (this_present_transferStatus || that_present_transferStatus) {
-      if (!(this_present_transferStatus && that_present_transferStatus))
-        return false;
-      if (!this.transferStatus.equals(that.transferStatus))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_transferID = true && (isSetTransferID());
-    list.add(present_transferID);
-    if (present_transferID)
-      list.add(transferID);
-
-    boolean present_creationTime = true && (isSetCreationTime());
-    list.add(present_creationTime);
-    if (present_creationTime)
-      list.add(creationTime);
-
-    boolean present_transferDescription = true && (isSetTransferDescription());
-    list.add(present_transferDescription);
-    if (present_transferDescription)
-      list.add(transferDescription);
-
-    boolean present_transferStatus = true && (isSetTransferStatus());
-    list.add(present_transferStatus);
-    if (present_transferStatus)
-      list.add(transferStatus);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(DataTransferDetails other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetTransferID()).compareTo(other.isSetTransferID());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTransferID()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferID, other.transferID);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCreationTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTransferDescription()).compareTo(other.isSetTransferDescription());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTransferDescription()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferDescription, other.transferDescription);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTransferStatus()).compareTo(other.isSetTransferStatus());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTransferStatus()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferStatus, other.transferStatus);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("DataTransferDetails(");
-    boolean first = true;
-
-    sb.append("transferID:");
-    if (this.transferID == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.transferID);
-    }
-    first = false;
-    if (isSetCreationTime()) {
-      if (!first) sb.append(", ");
-      sb.append("creationTime:");
-      sb.append(this.creationTime);
-      first = false;
-    }
-    if (!first) sb.append(", ");
-    sb.append("transferDescription:");
-    if (this.transferDescription == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.transferDescription);
-    }
-    first = false;
-    if (isSetTransferStatus()) {
-      if (!first) sb.append(", ");
-      sb.append("transferStatus:");
-      if (this.transferStatus == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.transferStatus);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetTransferID()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'transferID' is unset! Struct:" + toString());
-    }
-
-    if (!isSetTransferDescription()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'transferDescription' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-    if (transferStatus != null) {
-      transferStatus.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class DataTransferDetailsStandardSchemeFactory implements SchemeFactory {
-    public DataTransferDetailsStandardScheme getScheme() {
-      return new DataTransferDetailsStandardScheme();
-    }
-  }
-
-  private static class DataTransferDetailsStandardScheme extends StandardScheme<DataTransferDetails> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, DataTransferDetails struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // TRANSFER_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.transferID = iprot.readString();
-              struct.setTransferIDIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // CREATION_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.creationTime = iprot.readI64();
-              struct.setCreationTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // TRANSFER_DESCRIPTION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.transferDescription = iprot.readString();
-              struct.setTransferDescriptionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // TRANSFER_STATUS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.transferStatus = new TransferStatus();
-              struct.transferStatus.read(iprot);
-              struct.setTransferStatusIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, DataTransferDetails struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.transferID != null) {
-        oprot.writeFieldBegin(TRANSFER_ID_FIELD_DESC);
-        oprot.writeString(struct.transferID);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetCreationTime()) {
-        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
-        oprot.writeI64(struct.creationTime);
-        oprot.writeFieldEnd();
-      }
-      if (struct.transferDescription != null) {
-        oprot.writeFieldBegin(TRANSFER_DESCRIPTION_FIELD_DESC);
-        oprot.writeString(struct.transferDescription);
-        oprot.writeFieldEnd();
-      }
-      if (struct.transferStatus != null) {
-        if (struct.isSetTransferStatus()) {
-          oprot.writeFieldBegin(TRANSFER_STATUS_FIELD_DESC);
-          struct.transferStatus.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class DataTransferDetailsTupleSchemeFactory implements SchemeFactory {
-    public DataTransferDetailsTupleScheme getScheme() {
-      return new DataTransferDetailsTupleScheme();
-    }
-  }
-
-  private static class DataTransferDetailsTupleScheme extends TupleScheme<DataTransferDetails> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, DataTransferDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.transferID);
-      oprot.writeString(struct.transferDescription);
-      BitSet optionals = new BitSet();
-      if (struct.isSetCreationTime()) {
-        optionals.set(0);
-      }
-      if (struct.isSetTransferStatus()) {
-        optionals.set(1);
-      }
-      oprot.writeBitSet(optionals, 2);
-      if (struct.isSetCreationTime()) {
-        oprot.writeI64(struct.creationTime);
-      }
-      if (struct.isSetTransferStatus()) {
-        struct.transferStatus.write(oprot);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, DataTransferDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.transferID = iprot.readString();
-      struct.setTransferIDIsSet(true);
-      struct.transferDescription = iprot.readString();
-      struct.setTransferDescriptionIsSet(true);
-      BitSet incoming = iprot.readBitSet(2);
-      if (incoming.get(0)) {
-        struct.creationTime = iprot.readI64();
-        struct.setCreationTimeIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.transferStatus = new TransferStatus();
-        struct.transferStatus.read(iprot);
-        struct.setTransferStatusIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ErrorCategory.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ErrorCategory.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ErrorCategory.java
deleted file mode 100644
index edf6093..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ErrorCategory.java
+++ /dev/null
@@ -1,80 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum ErrorCategory implements org.apache.thrift.TEnum {
-  FILE_SYSTEM_FAILURE(0),
-  APPLICATION_FAILURE(1),
-  RESOURCE_NODE_FAILURE(2),
-  DISK_FULL(3),
-  INSUFFICIENT_ALLOCATION(4),
-  SYSTEM_MAINTENANCE(5),
-  AIRAVATA_INTERNAL_ERROR(6),
-  CANNOT_BE_DETERMINED(7);
-
-  private final int value;
-
-  private ErrorCategory(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 ErrorCategory findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return FILE_SYSTEM_FAILURE;
-      case 1:
-        return APPLICATION_FAILURE;
-      case 2:
-        return RESOURCE_NODE_FAILURE;
-      case 3:
-        return DISK_FULL;
-      case 4:
-        return INSUFFICIENT_ALLOCATION;
-      case 5:
-        return SYSTEM_MAINTENANCE;
-      case 6:
-        return AIRAVATA_INTERNAL_ERROR;
-      case 7:
-        return CANNOT_BE_DETERMINED;
-      default:
-        return null;
-    }
-  }
-}


[07/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentSummary.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentSummary.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentSummary.java
deleted file mode 100644
index 85ed22c..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentSummary.java
+++ /dev/null
@@ -1,1139 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ExperimentSummary implements org.apache.thrift.TBase<ExperimentSummary, ExperimentSummary._Fields>, java.io.Serializable, Cloneable, Comparable<ExperimentSummary> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExperimentSummary");
-
-  private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentID", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField PROJECT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("projectID", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)3);
-  private static final org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("userName", org.apache.thrift.protocol.TType.STRING, (short)4);
-  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)5);
-  private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)6);
-  private static final org.apache.thrift.protocol.TField APPLICATION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationId", org.apache.thrift.protocol.TType.STRING, (short)7);
-  private static final org.apache.thrift.protocol.TField EXPERIMENT_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentStatus", org.apache.thrift.protocol.TType.STRUCT, (short)8);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ExperimentSummaryStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ExperimentSummaryTupleSchemeFactory());
-  }
-
-  private String experimentID; // required
-  private String projectID; // required
-  private long creationTime; // optional
-  private String userName; // required
-  private String name; // required
-  private String description; // optional
-  private String applicationId; // optional
-  private ExperimentStatus experimentStatus; // 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 {
-    EXPERIMENT_ID((short)1, "experimentID"),
-    PROJECT_ID((short)2, "projectID"),
-    CREATION_TIME((short)3, "creationTime"),
-    USER_NAME((short)4, "userName"),
-    NAME((short)5, "name"),
-    DESCRIPTION((short)6, "description"),
-    APPLICATION_ID((short)7, "applicationId"),
-    EXPERIMENT_STATUS((short)8, "experimentStatus");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // EXPERIMENT_ID
-          return EXPERIMENT_ID;
-        case 2: // PROJECT_ID
-          return PROJECT_ID;
-        case 3: // CREATION_TIME
-          return CREATION_TIME;
-        case 4: // USER_NAME
-          return USER_NAME;
-        case 5: // NAME
-          return NAME;
-        case 6: // DESCRIPTION
-          return DESCRIPTION;
-        case 7: // APPLICATION_ID
-          return APPLICATION_ID;
-        case 8: // EXPERIMENT_STATUS
-          return EXPERIMENT_STATUS;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __CREATIONTIME_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.DESCRIPTION,_Fields.APPLICATION_ID,_Fields.EXPERIMENT_STATUS};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentID", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.PROJECT_ID, new org.apache.thrift.meta_data.FieldMetaData("projectID", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("userName", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.APPLICATION_ID, new org.apache.thrift.meta_data.FieldMetaData("applicationId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.EXPERIMENT_STATUS, new org.apache.thrift.meta_data.FieldMetaData("experimentStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ExperimentStatus.class)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ExperimentSummary.class, metaDataMap);
-  }
-
-  public ExperimentSummary() {
-  }
-
-  public ExperimentSummary(
-    String experimentID,
-    String projectID,
-    String userName,
-    String name)
-  {
-    this();
-    this.experimentID = experimentID;
-    this.projectID = projectID;
-    this.userName = userName;
-    this.name = name;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ExperimentSummary(ExperimentSummary other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetExperimentID()) {
-      this.experimentID = other.experimentID;
-    }
-    if (other.isSetProjectID()) {
-      this.projectID = other.projectID;
-    }
-    this.creationTime = other.creationTime;
-    if (other.isSetUserName()) {
-      this.userName = other.userName;
-    }
-    if (other.isSetName()) {
-      this.name = other.name;
-    }
-    if (other.isSetDescription()) {
-      this.description = other.description;
-    }
-    if (other.isSetApplicationId()) {
-      this.applicationId = other.applicationId;
-    }
-    if (other.isSetExperimentStatus()) {
-      this.experimentStatus = new ExperimentStatus(other.experimentStatus);
-    }
-  }
-
-  public ExperimentSummary deepCopy() {
-    return new ExperimentSummary(this);
-  }
-
-  @Override
-  public void clear() {
-    this.experimentID = null;
-    this.projectID = null;
-    setCreationTimeIsSet(false);
-    this.creationTime = 0;
-    this.userName = null;
-    this.name = null;
-    this.description = null;
-    this.applicationId = null;
-    this.experimentStatus = null;
-  }
-
-  public String getExperimentID() {
-    return this.experimentID;
-  }
-
-  public void setExperimentID(String experimentID) {
-    this.experimentID = experimentID;
-  }
-
-  public void unsetExperimentID() {
-    this.experimentID = null;
-  }
-
-  /** Returns true if field experimentID is set (has been assigned a value) and false otherwise */
-  public boolean isSetExperimentID() {
-    return this.experimentID != null;
-  }
-
-  public void setExperimentIDIsSet(boolean value) {
-    if (!value) {
-      this.experimentID = null;
-    }
-  }
-
-  public String getProjectID() {
-    return this.projectID;
-  }
-
-  public void setProjectID(String projectID) {
-    this.projectID = projectID;
-  }
-
-  public void unsetProjectID() {
-    this.projectID = null;
-  }
-
-  /** Returns true if field projectID is set (has been assigned a value) and false otherwise */
-  public boolean isSetProjectID() {
-    return this.projectID != null;
-  }
-
-  public void setProjectIDIsSet(boolean value) {
-    if (!value) {
-      this.projectID = null;
-    }
-  }
-
-  public long getCreationTime() {
-    return this.creationTime;
-  }
-
-  public void setCreationTime(long creationTime) {
-    this.creationTime = creationTime;
-    setCreationTimeIsSet(true);
-  }
-
-  public void unsetCreationTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetCreationTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  public void setCreationTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
-  }
-
-  public String getUserName() {
-    return this.userName;
-  }
-
-  public void setUserName(String userName) {
-    this.userName = userName;
-  }
-
-  public void unsetUserName() {
-    this.userName = null;
-  }
-
-  /** Returns true if field userName is set (has been assigned a value) and false otherwise */
-  public boolean isSetUserName() {
-    return this.userName != null;
-  }
-
-  public void setUserNameIsSet(boolean value) {
-    if (!value) {
-      this.userName = null;
-    }
-  }
-
-  public String getName() {
-    return this.name;
-  }
-
-  public void setName(String name) {
-    this.name = name;
-  }
-
-  public void unsetName() {
-    this.name = null;
-  }
-
-  /** Returns true if field name is set (has been assigned a value) and false otherwise */
-  public boolean isSetName() {
-    return this.name != null;
-  }
-
-  public void setNameIsSet(boolean value) {
-    if (!value) {
-      this.name = null;
-    }
-  }
-
-  public String getDescription() {
-    return this.description;
-  }
-
-  public void setDescription(String description) {
-    this.description = description;
-  }
-
-  public void unsetDescription() {
-    this.description = null;
-  }
-
-  /** Returns true if field description is set (has been assigned a value) and false otherwise */
-  public boolean isSetDescription() {
-    return this.description != null;
-  }
-
-  public void setDescriptionIsSet(boolean value) {
-    if (!value) {
-      this.description = null;
-    }
-  }
-
-  public String getApplicationId() {
-    return this.applicationId;
-  }
-
-  public void setApplicationId(String applicationId) {
-    this.applicationId = applicationId;
-  }
-
-  public void unsetApplicationId() {
-    this.applicationId = null;
-  }
-
-  /** Returns true if field applicationId is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationId() {
-    return this.applicationId != null;
-  }
-
-  public void setApplicationIdIsSet(boolean value) {
-    if (!value) {
-      this.applicationId = null;
-    }
-  }
-
-  public ExperimentStatus getExperimentStatus() {
-    return this.experimentStatus;
-  }
-
-  public void setExperimentStatus(ExperimentStatus experimentStatus) {
-    this.experimentStatus = experimentStatus;
-  }
-
-  public void unsetExperimentStatus() {
-    this.experimentStatus = null;
-  }
-
-  /** Returns true if field experimentStatus is set (has been assigned a value) and false otherwise */
-  public boolean isSetExperimentStatus() {
-    return this.experimentStatus != null;
-  }
-
-  public void setExperimentStatusIsSet(boolean value) {
-    if (!value) {
-      this.experimentStatus = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case EXPERIMENT_ID:
-      if (value == null) {
-        unsetExperimentID();
-      } else {
-        setExperimentID((String)value);
-      }
-      break;
-
-    case PROJECT_ID:
-      if (value == null) {
-        unsetProjectID();
-      } else {
-        setProjectID((String)value);
-      }
-      break;
-
-    case CREATION_TIME:
-      if (value == null) {
-        unsetCreationTime();
-      } else {
-        setCreationTime((Long)value);
-      }
-      break;
-
-    case USER_NAME:
-      if (value == null) {
-        unsetUserName();
-      } else {
-        setUserName((String)value);
-      }
-      break;
-
-    case NAME:
-      if (value == null) {
-        unsetName();
-      } else {
-        setName((String)value);
-      }
-      break;
-
-    case DESCRIPTION:
-      if (value == null) {
-        unsetDescription();
-      } else {
-        setDescription((String)value);
-      }
-      break;
-
-    case APPLICATION_ID:
-      if (value == null) {
-        unsetApplicationId();
-      } else {
-        setApplicationId((String)value);
-      }
-      break;
-
-    case EXPERIMENT_STATUS:
-      if (value == null) {
-        unsetExperimentStatus();
-      } else {
-        setExperimentStatus((ExperimentStatus)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case EXPERIMENT_ID:
-      return getExperimentID();
-
-    case PROJECT_ID:
-      return getProjectID();
-
-    case CREATION_TIME:
-      return Long.valueOf(getCreationTime());
-
-    case USER_NAME:
-      return getUserName();
-
-    case NAME:
-      return getName();
-
-    case DESCRIPTION:
-      return getDescription();
-
-    case APPLICATION_ID:
-      return getApplicationId();
-
-    case EXPERIMENT_STATUS:
-      return getExperimentStatus();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case EXPERIMENT_ID:
-      return isSetExperimentID();
-    case PROJECT_ID:
-      return isSetProjectID();
-    case CREATION_TIME:
-      return isSetCreationTime();
-    case USER_NAME:
-      return isSetUserName();
-    case NAME:
-      return isSetName();
-    case DESCRIPTION:
-      return isSetDescription();
-    case APPLICATION_ID:
-      return isSetApplicationId();
-    case EXPERIMENT_STATUS:
-      return isSetExperimentStatus();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ExperimentSummary)
-      return this.equals((ExperimentSummary)that);
-    return false;
-  }
-
-  public boolean equals(ExperimentSummary that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_experimentID = true && this.isSetExperimentID();
-    boolean that_present_experimentID = true && that.isSetExperimentID();
-    if (this_present_experimentID || that_present_experimentID) {
-      if (!(this_present_experimentID && that_present_experimentID))
-        return false;
-      if (!this.experimentID.equals(that.experimentID))
-        return false;
-    }
-
-    boolean this_present_projectID = true && this.isSetProjectID();
-    boolean that_present_projectID = true && that.isSetProjectID();
-    if (this_present_projectID || that_present_projectID) {
-      if (!(this_present_projectID && that_present_projectID))
-        return false;
-      if (!this.projectID.equals(that.projectID))
-        return false;
-    }
-
-    boolean this_present_creationTime = true && this.isSetCreationTime();
-    boolean that_present_creationTime = true && that.isSetCreationTime();
-    if (this_present_creationTime || that_present_creationTime) {
-      if (!(this_present_creationTime && that_present_creationTime))
-        return false;
-      if (this.creationTime != that.creationTime)
-        return false;
-    }
-
-    boolean this_present_userName = true && this.isSetUserName();
-    boolean that_present_userName = true && that.isSetUserName();
-    if (this_present_userName || that_present_userName) {
-      if (!(this_present_userName && that_present_userName))
-        return false;
-      if (!this.userName.equals(that.userName))
-        return false;
-    }
-
-    boolean this_present_name = true && this.isSetName();
-    boolean that_present_name = true && that.isSetName();
-    if (this_present_name || that_present_name) {
-      if (!(this_present_name && that_present_name))
-        return false;
-      if (!this.name.equals(that.name))
-        return false;
-    }
-
-    boolean this_present_description = true && this.isSetDescription();
-    boolean that_present_description = true && that.isSetDescription();
-    if (this_present_description || that_present_description) {
-      if (!(this_present_description && that_present_description))
-        return false;
-      if (!this.description.equals(that.description))
-        return false;
-    }
-
-    boolean this_present_applicationId = true && this.isSetApplicationId();
-    boolean that_present_applicationId = true && that.isSetApplicationId();
-    if (this_present_applicationId || that_present_applicationId) {
-      if (!(this_present_applicationId && that_present_applicationId))
-        return false;
-      if (!this.applicationId.equals(that.applicationId))
-        return false;
-    }
-
-    boolean this_present_experimentStatus = true && this.isSetExperimentStatus();
-    boolean that_present_experimentStatus = true && that.isSetExperimentStatus();
-    if (this_present_experimentStatus || that_present_experimentStatus) {
-      if (!(this_present_experimentStatus && that_present_experimentStatus))
-        return false;
-      if (!this.experimentStatus.equals(that.experimentStatus))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_experimentID = true && (isSetExperimentID());
-    list.add(present_experimentID);
-    if (present_experimentID)
-      list.add(experimentID);
-
-    boolean present_projectID = true && (isSetProjectID());
-    list.add(present_projectID);
-    if (present_projectID)
-      list.add(projectID);
-
-    boolean present_creationTime = true && (isSetCreationTime());
-    list.add(present_creationTime);
-    if (present_creationTime)
-      list.add(creationTime);
-
-    boolean present_userName = true && (isSetUserName());
-    list.add(present_userName);
-    if (present_userName)
-      list.add(userName);
-
-    boolean present_name = true && (isSetName());
-    list.add(present_name);
-    if (present_name)
-      list.add(name);
-
-    boolean present_description = true && (isSetDescription());
-    list.add(present_description);
-    if (present_description)
-      list.add(description);
-
-    boolean present_applicationId = true && (isSetApplicationId());
-    list.add(present_applicationId);
-    if (present_applicationId)
-      list.add(applicationId);
-
-    boolean present_experimentStatus = true && (isSetExperimentStatus());
-    list.add(present_experimentStatus);
-    if (present_experimentStatus)
-      list.add(experimentStatus);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ExperimentSummary other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetExperimentID()).compareTo(other.isSetExperimentID());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExperimentID()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentID, other.experimentID);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetProjectID()).compareTo(other.isSetProjectID());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetProjectID()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.projectID, other.projectID);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCreationTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetUserName()).compareTo(other.isSetUserName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetUserName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userName, other.userName);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetDescription()).compareTo(other.isSetDescription());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetDescription()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, other.description);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationId()).compareTo(other.isSetApplicationId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationId, other.applicationId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExperimentStatus()).compareTo(other.isSetExperimentStatus());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExperimentStatus()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentStatus, other.experimentStatus);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ExperimentSummary(");
-    boolean first = true;
-
-    sb.append("experimentID:");
-    if (this.experimentID == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.experimentID);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("projectID:");
-    if (this.projectID == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.projectID);
-    }
-    first = false;
-    if (isSetCreationTime()) {
-      if (!first) sb.append(", ");
-      sb.append("creationTime:");
-      sb.append(this.creationTime);
-      first = false;
-    }
-    if (!first) sb.append(", ");
-    sb.append("userName:");
-    if (this.userName == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.userName);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("name:");
-    if (this.name == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.name);
-    }
-    first = false;
-    if (isSetDescription()) {
-      if (!first) sb.append(", ");
-      sb.append("description:");
-      if (this.description == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.description);
-      }
-      first = false;
-    }
-    if (isSetApplicationId()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationId:");
-      if (this.applicationId == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationId);
-      }
-      first = false;
-    }
-    if (isSetExperimentStatus()) {
-      if (!first) sb.append(", ");
-      sb.append("experimentStatus:");
-      if (this.experimentStatus == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.experimentStatus);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetExperimentID()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentID' is unset! Struct:" + toString());
-    }
-
-    if (!isSetProjectID()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'projectID' is unset! Struct:" + toString());
-    }
-
-    if (!isSetUserName()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'userName' is unset! Struct:" + toString());
-    }
-
-    if (!isSetName()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-    if (experimentStatus != null) {
-      experimentStatus.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ExperimentSummaryStandardSchemeFactory implements SchemeFactory {
-    public ExperimentSummaryStandardScheme getScheme() {
-      return new ExperimentSummaryStandardScheme();
-    }
-  }
-
-  private static class ExperimentSummaryStandardScheme extends StandardScheme<ExperimentSummary> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ExperimentSummary struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // EXPERIMENT_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.experimentID = iprot.readString();
-              struct.setExperimentIDIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // PROJECT_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.projectID = iprot.readString();
-              struct.setProjectIDIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // CREATION_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.creationTime = iprot.readI64();
-              struct.setCreationTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // USER_NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.userName = iprot.readString();
-              struct.setUserNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.name = iprot.readString();
-              struct.setNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // DESCRIPTION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.description = iprot.readString();
-              struct.setDescriptionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // APPLICATION_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationId = iprot.readString();
-              struct.setApplicationIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // EXPERIMENT_STATUS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.experimentStatus = new ExperimentStatus();
-              struct.experimentStatus.read(iprot);
-              struct.setExperimentStatusIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ExperimentSummary struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.experimentID != null) {
-        oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
-        oprot.writeString(struct.experimentID);
-        oprot.writeFieldEnd();
-      }
-      if (struct.projectID != null) {
-        oprot.writeFieldBegin(PROJECT_ID_FIELD_DESC);
-        oprot.writeString(struct.projectID);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetCreationTime()) {
-        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
-        oprot.writeI64(struct.creationTime);
-        oprot.writeFieldEnd();
-      }
-      if (struct.userName != null) {
-        oprot.writeFieldBegin(USER_NAME_FIELD_DESC);
-        oprot.writeString(struct.userName);
-        oprot.writeFieldEnd();
-      }
-      if (struct.name != null) {
-        oprot.writeFieldBegin(NAME_FIELD_DESC);
-        oprot.writeString(struct.name);
-        oprot.writeFieldEnd();
-      }
-      if (struct.description != null) {
-        if (struct.isSetDescription()) {
-          oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
-          oprot.writeString(struct.description);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.applicationId != null) {
-        if (struct.isSetApplicationId()) {
-          oprot.writeFieldBegin(APPLICATION_ID_FIELD_DESC);
-          oprot.writeString(struct.applicationId);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.experimentStatus != null) {
-        if (struct.isSetExperimentStatus()) {
-          oprot.writeFieldBegin(EXPERIMENT_STATUS_FIELD_DESC);
-          struct.experimentStatus.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ExperimentSummaryTupleSchemeFactory implements SchemeFactory {
-    public ExperimentSummaryTupleScheme getScheme() {
-      return new ExperimentSummaryTupleScheme();
-    }
-  }
-
-  private static class ExperimentSummaryTupleScheme extends TupleScheme<ExperimentSummary> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ExperimentSummary struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.experimentID);
-      oprot.writeString(struct.projectID);
-      oprot.writeString(struct.userName);
-      oprot.writeString(struct.name);
-      BitSet optionals = new BitSet();
-      if (struct.isSetCreationTime()) {
-        optionals.set(0);
-      }
-      if (struct.isSetDescription()) {
-        optionals.set(1);
-      }
-      if (struct.isSetApplicationId()) {
-        optionals.set(2);
-      }
-      if (struct.isSetExperimentStatus()) {
-        optionals.set(3);
-      }
-      oprot.writeBitSet(optionals, 4);
-      if (struct.isSetCreationTime()) {
-        oprot.writeI64(struct.creationTime);
-      }
-      if (struct.isSetDescription()) {
-        oprot.writeString(struct.description);
-      }
-      if (struct.isSetApplicationId()) {
-        oprot.writeString(struct.applicationId);
-      }
-      if (struct.isSetExperimentStatus()) {
-        struct.experimentStatus.write(oprot);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ExperimentSummary struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.experimentID = iprot.readString();
-      struct.setExperimentIDIsSet(true);
-      struct.projectID = iprot.readString();
-      struct.setProjectIDIsSet(true);
-      struct.userName = iprot.readString();
-      struct.setUserNameIsSet(true);
-      struct.name = iprot.readString();
-      struct.setNameIsSet(true);
-      BitSet incoming = iprot.readBitSet(4);
-      if (incoming.get(0)) {
-        struct.creationTime = iprot.readI64();
-        struct.setCreationTimeIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.description = iprot.readString();
-        struct.setDescriptionIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.applicationId = iprot.readString();
-        struct.setApplicationIdIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.experimentStatus = new ExperimentStatus();
-        struct.experimentStatus.read(iprot);
-        struct.setExperimentStatusIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobDetails.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobDetails.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobDetails.java
deleted file mode 100644
index 5aa7091..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobDetails.java
+++ /dev/null
@@ -1,1317 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class JobDetails implements org.apache.thrift.TBase<JobDetails, JobDetails._Fields>, java.io.Serializable, Cloneable, Comparable<JobDetails> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("JobDetails");
-
-  private static final org.apache.thrift.protocol.TField JOB_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("jobID", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField JOB_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("jobDescription", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)3);
-  private static final org.apache.thrift.protocol.TField JOB_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("jobStatus", org.apache.thrift.protocol.TType.STRUCT, (short)4);
-  private static final org.apache.thrift.protocol.TField APPLICATION_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationStatus", org.apache.thrift.protocol.TType.STRUCT, (short)5);
-  private static final org.apache.thrift.protocol.TField ERRORS_FIELD_DESC = new org.apache.thrift.protocol.TField("errors", org.apache.thrift.protocol.TType.LIST, (short)6);
-  private static final org.apache.thrift.protocol.TField COMPUTE_RESOURCE_CONSUMED_FIELD_DESC = new org.apache.thrift.protocol.TField("computeResourceConsumed", org.apache.thrift.protocol.TType.STRING, (short)7);
-  private static final org.apache.thrift.protocol.TField JOB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("jobName", org.apache.thrift.protocol.TType.STRING, (short)8);
-  private static final org.apache.thrift.protocol.TField WORKING_DIR_FIELD_DESC = new org.apache.thrift.protocol.TField("workingDir", org.apache.thrift.protocol.TType.STRING, (short)9);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new JobDetailsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new JobDetailsTupleSchemeFactory());
-  }
-
-  private String jobID; // required
-  private String jobDescription; // required
-  private long creationTime; // optional
-  private JobStatus jobStatus; // optional
-  private ApplicationStatus applicationStatus; // optional
-  private List<ErrorDetails> errors; // optional
-  private String computeResourceConsumed; // optional
-  private String jobName; // optional
-  private String workingDir; // 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 {
-    JOB_ID((short)1, "jobID"),
-    JOB_DESCRIPTION((short)2, "jobDescription"),
-    CREATION_TIME((short)3, "creationTime"),
-    JOB_STATUS((short)4, "jobStatus"),
-    APPLICATION_STATUS((short)5, "applicationStatus"),
-    ERRORS((short)6, "errors"),
-    COMPUTE_RESOURCE_CONSUMED((short)7, "computeResourceConsumed"),
-    JOB_NAME((short)8, "jobName"),
-    WORKING_DIR((short)9, "workingDir");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // JOB_ID
-          return JOB_ID;
-        case 2: // JOB_DESCRIPTION
-          return JOB_DESCRIPTION;
-        case 3: // CREATION_TIME
-          return CREATION_TIME;
-        case 4: // JOB_STATUS
-          return JOB_STATUS;
-        case 5: // APPLICATION_STATUS
-          return APPLICATION_STATUS;
-        case 6: // ERRORS
-          return ERRORS;
-        case 7: // COMPUTE_RESOURCE_CONSUMED
-          return COMPUTE_RESOURCE_CONSUMED;
-        case 8: // JOB_NAME
-          return JOB_NAME;
-        case 9: // WORKING_DIR
-          return WORKING_DIR;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __CREATIONTIME_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.JOB_STATUS,_Fields.APPLICATION_STATUS,_Fields.ERRORS,_Fields.COMPUTE_RESOURCE_CONSUMED,_Fields.JOB_NAME,_Fields.WORKING_DIR};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.JOB_ID, new org.apache.thrift.meta_data.FieldMetaData("jobID", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.JOB_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("jobDescription", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    tmpMap.put(_Fields.JOB_STATUS, new org.apache.thrift.meta_data.FieldMetaData("jobStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, JobStatus.class)));
-    tmpMap.put(_Fields.APPLICATION_STATUS, new org.apache.thrift.meta_data.FieldMetaData("applicationStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ApplicationStatus.class)));
-    tmpMap.put(_Fields.ERRORS, new org.apache.thrift.meta_data.FieldMetaData("errors", 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, ErrorDetails.class))));
-    tmpMap.put(_Fields.COMPUTE_RESOURCE_CONSUMED, new org.apache.thrift.meta_data.FieldMetaData("computeResourceConsumed", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.JOB_NAME, new org.apache.thrift.meta_data.FieldMetaData("jobName", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.WORKING_DIR, new org.apache.thrift.meta_data.FieldMetaData("workingDir", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(JobDetails.class, metaDataMap);
-  }
-
-  public JobDetails() {
-    this.jobID = "DO_NOT_SET_AT_CLIENTS";
-
-  }
-
-  public JobDetails(
-    String jobID,
-    String jobDescription)
-  {
-    this();
-    this.jobID = jobID;
-    this.jobDescription = jobDescription;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public JobDetails(JobDetails other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetJobID()) {
-      this.jobID = other.jobID;
-    }
-    if (other.isSetJobDescription()) {
-      this.jobDescription = other.jobDescription;
-    }
-    this.creationTime = other.creationTime;
-    if (other.isSetJobStatus()) {
-      this.jobStatus = new JobStatus(other.jobStatus);
-    }
-    if (other.isSetApplicationStatus()) {
-      this.applicationStatus = new ApplicationStatus(other.applicationStatus);
-    }
-    if (other.isSetErrors()) {
-      List<ErrorDetails> __this__errors = new ArrayList<ErrorDetails>(other.errors.size());
-      for (ErrorDetails other_element : other.errors) {
-        __this__errors.add(new ErrorDetails(other_element));
-      }
-      this.errors = __this__errors;
-    }
-    if (other.isSetComputeResourceConsumed()) {
-      this.computeResourceConsumed = other.computeResourceConsumed;
-    }
-    if (other.isSetJobName()) {
-      this.jobName = other.jobName;
-    }
-    if (other.isSetWorkingDir()) {
-      this.workingDir = other.workingDir;
-    }
-  }
-
-  public JobDetails deepCopy() {
-    return new JobDetails(this);
-  }
-
-  @Override
-  public void clear() {
-    this.jobID = "DO_NOT_SET_AT_CLIENTS";
-
-    this.jobDescription = null;
-    setCreationTimeIsSet(false);
-    this.creationTime = 0;
-    this.jobStatus = null;
-    this.applicationStatus = null;
-    this.errors = null;
-    this.computeResourceConsumed = null;
-    this.jobName = null;
-    this.workingDir = null;
-  }
-
-  public String getJobID() {
-    return this.jobID;
-  }
-
-  public void setJobID(String jobID) {
-    this.jobID = jobID;
-  }
-
-  public void unsetJobID() {
-    this.jobID = null;
-  }
-
-  /** Returns true if field jobID is set (has been assigned a value) and false otherwise */
-  public boolean isSetJobID() {
-    return this.jobID != null;
-  }
-
-  public void setJobIDIsSet(boolean value) {
-    if (!value) {
-      this.jobID = null;
-    }
-  }
-
-  public String getJobDescription() {
-    return this.jobDescription;
-  }
-
-  public void setJobDescription(String jobDescription) {
-    this.jobDescription = jobDescription;
-  }
-
-  public void unsetJobDescription() {
-    this.jobDescription = null;
-  }
-
-  /** Returns true if field jobDescription is set (has been assigned a value) and false otherwise */
-  public boolean isSetJobDescription() {
-    return this.jobDescription != null;
-  }
-
-  public void setJobDescriptionIsSet(boolean value) {
-    if (!value) {
-      this.jobDescription = null;
-    }
-  }
-
-  public long getCreationTime() {
-    return this.creationTime;
-  }
-
-  public void setCreationTime(long creationTime) {
-    this.creationTime = creationTime;
-    setCreationTimeIsSet(true);
-  }
-
-  public void unsetCreationTime() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
-  public boolean isSetCreationTime() {
-    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
-  }
-
-  public void setCreationTimeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
-  }
-
-  public JobStatus getJobStatus() {
-    return this.jobStatus;
-  }
-
-  public void setJobStatus(JobStatus jobStatus) {
-    this.jobStatus = jobStatus;
-  }
-
-  public void unsetJobStatus() {
-    this.jobStatus = null;
-  }
-
-  /** Returns true if field jobStatus is set (has been assigned a value) and false otherwise */
-  public boolean isSetJobStatus() {
-    return this.jobStatus != null;
-  }
-
-  public void setJobStatusIsSet(boolean value) {
-    if (!value) {
-      this.jobStatus = null;
-    }
-  }
-
-  public ApplicationStatus getApplicationStatus() {
-    return this.applicationStatus;
-  }
-
-  public void setApplicationStatus(ApplicationStatus applicationStatus) {
-    this.applicationStatus = applicationStatus;
-  }
-
-  public void unsetApplicationStatus() {
-    this.applicationStatus = null;
-  }
-
-  /** Returns true if field applicationStatus is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationStatus() {
-    return this.applicationStatus != null;
-  }
-
-  public void setApplicationStatusIsSet(boolean value) {
-    if (!value) {
-      this.applicationStatus = null;
-    }
-  }
-
-  public int getErrorsSize() {
-    return (this.errors == null) ? 0 : this.errors.size();
-  }
-
-  public java.util.Iterator<ErrorDetails> getErrorsIterator() {
-    return (this.errors == null) ? null : this.errors.iterator();
-  }
-
-  public void addToErrors(ErrorDetails elem) {
-    if (this.errors == null) {
-      this.errors = new ArrayList<ErrorDetails>();
-    }
-    this.errors.add(elem);
-  }
-
-  public List<ErrorDetails> getErrors() {
-    return this.errors;
-  }
-
-  public void setErrors(List<ErrorDetails> errors) {
-    this.errors = errors;
-  }
-
-  public void unsetErrors() {
-    this.errors = null;
-  }
-
-  /** Returns true if field errors is set (has been assigned a value) and false otherwise */
-  public boolean isSetErrors() {
-    return this.errors != null;
-  }
-
-  public void setErrorsIsSet(boolean value) {
-    if (!value) {
-      this.errors = null;
-    }
-  }
-
-  public String getComputeResourceConsumed() {
-    return this.computeResourceConsumed;
-  }
-
-  public void setComputeResourceConsumed(String computeResourceConsumed) {
-    this.computeResourceConsumed = computeResourceConsumed;
-  }
-
-  public void unsetComputeResourceConsumed() {
-    this.computeResourceConsumed = null;
-  }
-
-  /** Returns true if field computeResourceConsumed is set (has been assigned a value) and false otherwise */
-  public boolean isSetComputeResourceConsumed() {
-    return this.computeResourceConsumed != null;
-  }
-
-  public void setComputeResourceConsumedIsSet(boolean value) {
-    if (!value) {
-      this.computeResourceConsumed = null;
-    }
-  }
-
-  public String getJobName() {
-    return this.jobName;
-  }
-
-  public void setJobName(String jobName) {
-    this.jobName = jobName;
-  }
-
-  public void unsetJobName() {
-    this.jobName = null;
-  }
-
-  /** Returns true if field jobName is set (has been assigned a value) and false otherwise */
-  public boolean isSetJobName() {
-    return this.jobName != null;
-  }
-
-  public void setJobNameIsSet(boolean value) {
-    if (!value) {
-      this.jobName = null;
-    }
-  }
-
-  public String getWorkingDir() {
-    return this.workingDir;
-  }
-
-  public void setWorkingDir(String workingDir) {
-    this.workingDir = workingDir;
-  }
-
-  public void unsetWorkingDir() {
-    this.workingDir = null;
-  }
-
-  /** Returns true if field workingDir is set (has been assigned a value) and false otherwise */
-  public boolean isSetWorkingDir() {
-    return this.workingDir != null;
-  }
-
-  public void setWorkingDirIsSet(boolean value) {
-    if (!value) {
-      this.workingDir = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case JOB_ID:
-      if (value == null) {
-        unsetJobID();
-      } else {
-        setJobID((String)value);
-      }
-      break;
-
-    case JOB_DESCRIPTION:
-      if (value == null) {
-        unsetJobDescription();
-      } else {
-        setJobDescription((String)value);
-      }
-      break;
-
-    case CREATION_TIME:
-      if (value == null) {
-        unsetCreationTime();
-      } else {
-        setCreationTime((Long)value);
-      }
-      break;
-
-    case JOB_STATUS:
-      if (value == null) {
-        unsetJobStatus();
-      } else {
-        setJobStatus((JobStatus)value);
-      }
-      break;
-
-    case APPLICATION_STATUS:
-      if (value == null) {
-        unsetApplicationStatus();
-      } else {
-        setApplicationStatus((ApplicationStatus)value);
-      }
-      break;
-
-    case ERRORS:
-      if (value == null) {
-        unsetErrors();
-      } else {
-        setErrors((List<ErrorDetails>)value);
-      }
-      break;
-
-    case COMPUTE_RESOURCE_CONSUMED:
-      if (value == null) {
-        unsetComputeResourceConsumed();
-      } else {
-        setComputeResourceConsumed((String)value);
-      }
-      break;
-
-    case JOB_NAME:
-      if (value == null) {
-        unsetJobName();
-      } else {
-        setJobName((String)value);
-      }
-      break;
-
-    case WORKING_DIR:
-      if (value == null) {
-        unsetWorkingDir();
-      } else {
-        setWorkingDir((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case JOB_ID:
-      return getJobID();
-
-    case JOB_DESCRIPTION:
-      return getJobDescription();
-
-    case CREATION_TIME:
-      return Long.valueOf(getCreationTime());
-
-    case JOB_STATUS:
-      return getJobStatus();
-
-    case APPLICATION_STATUS:
-      return getApplicationStatus();
-
-    case ERRORS:
-      return getErrors();
-
-    case COMPUTE_RESOURCE_CONSUMED:
-      return getComputeResourceConsumed();
-
-    case JOB_NAME:
-      return getJobName();
-
-    case WORKING_DIR:
-      return getWorkingDir();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case JOB_ID:
-      return isSetJobID();
-    case JOB_DESCRIPTION:
-      return isSetJobDescription();
-    case CREATION_TIME:
-      return isSetCreationTime();
-    case JOB_STATUS:
-      return isSetJobStatus();
-    case APPLICATION_STATUS:
-      return isSetApplicationStatus();
-    case ERRORS:
-      return isSetErrors();
-    case COMPUTE_RESOURCE_CONSUMED:
-      return isSetComputeResourceConsumed();
-    case JOB_NAME:
-      return isSetJobName();
-    case WORKING_DIR:
-      return isSetWorkingDir();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof JobDetails)
-      return this.equals((JobDetails)that);
-    return false;
-  }
-
-  public boolean equals(JobDetails that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_jobID = true && this.isSetJobID();
-    boolean that_present_jobID = true && that.isSetJobID();
-    if (this_present_jobID || that_present_jobID) {
-      if (!(this_present_jobID && that_present_jobID))
-        return false;
-      if (!this.jobID.equals(that.jobID))
-        return false;
-    }
-
-    boolean this_present_jobDescription = true && this.isSetJobDescription();
-    boolean that_present_jobDescription = true && that.isSetJobDescription();
-    if (this_present_jobDescription || that_present_jobDescription) {
-      if (!(this_present_jobDescription && that_present_jobDescription))
-        return false;
-      if (!this.jobDescription.equals(that.jobDescription))
-        return false;
-    }
-
-    boolean this_present_creationTime = true && this.isSetCreationTime();
-    boolean that_present_creationTime = true && that.isSetCreationTime();
-    if (this_present_creationTime || that_present_creationTime) {
-      if (!(this_present_creationTime && that_present_creationTime))
-        return false;
-      if (this.creationTime != that.creationTime)
-        return false;
-    }
-
-    boolean this_present_jobStatus = true && this.isSetJobStatus();
-    boolean that_present_jobStatus = true && that.isSetJobStatus();
-    if (this_present_jobStatus || that_present_jobStatus) {
-      if (!(this_present_jobStatus && that_present_jobStatus))
-        return false;
-      if (!this.jobStatus.equals(that.jobStatus))
-        return false;
-    }
-
-    boolean this_present_applicationStatus = true && this.isSetApplicationStatus();
-    boolean that_present_applicationStatus = true && that.isSetApplicationStatus();
-    if (this_present_applicationStatus || that_present_applicationStatus) {
-      if (!(this_present_applicationStatus && that_present_applicationStatus))
-        return false;
-      if (!this.applicationStatus.equals(that.applicationStatus))
-        return false;
-    }
-
-    boolean this_present_errors = true && this.isSetErrors();
-    boolean that_present_errors = true && that.isSetErrors();
-    if (this_present_errors || that_present_errors) {
-      if (!(this_present_errors && that_present_errors))
-        return false;
-      if (!this.errors.equals(that.errors))
-        return false;
-    }
-
-    boolean this_present_computeResourceConsumed = true && this.isSetComputeResourceConsumed();
-    boolean that_present_computeResourceConsumed = true && that.isSetComputeResourceConsumed();
-    if (this_present_computeResourceConsumed || that_present_computeResourceConsumed) {
-      if (!(this_present_computeResourceConsumed && that_present_computeResourceConsumed))
-        return false;
-      if (!this.computeResourceConsumed.equals(that.computeResourceConsumed))
-        return false;
-    }
-
-    boolean this_present_jobName = true && this.isSetJobName();
-    boolean that_present_jobName = true && that.isSetJobName();
-    if (this_present_jobName || that_present_jobName) {
-      if (!(this_present_jobName && that_present_jobName))
-        return false;
-      if (!this.jobName.equals(that.jobName))
-        return false;
-    }
-
-    boolean this_present_workingDir = true && this.isSetWorkingDir();
-    boolean that_present_workingDir = true && that.isSetWorkingDir();
-    if (this_present_workingDir || that_present_workingDir) {
-      if (!(this_present_workingDir && that_present_workingDir))
-        return false;
-      if (!this.workingDir.equals(that.workingDir))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_jobID = true && (isSetJobID());
-    list.add(present_jobID);
-    if (present_jobID)
-      list.add(jobID);
-
-    boolean present_jobDescription = true && (isSetJobDescription());
-    list.add(present_jobDescription);
-    if (present_jobDescription)
-      list.add(jobDescription);
-
-    boolean present_creationTime = true && (isSetCreationTime());
-    list.add(present_creationTime);
-    if (present_creationTime)
-      list.add(creationTime);
-
-    boolean present_jobStatus = true && (isSetJobStatus());
-    list.add(present_jobStatus);
-    if (present_jobStatus)
-      list.add(jobStatus);
-
-    boolean present_applicationStatus = true && (isSetApplicationStatus());
-    list.add(present_applicationStatus);
-    if (present_applicationStatus)
-      list.add(applicationStatus);
-
-    boolean present_errors = true && (isSetErrors());
-    list.add(present_errors);
-    if (present_errors)
-      list.add(errors);
-
-    boolean present_computeResourceConsumed = true && (isSetComputeResourceConsumed());
-    list.add(present_computeResourceConsumed);
-    if (present_computeResourceConsumed)
-      list.add(computeResourceConsumed);
-
-    boolean present_jobName = true && (isSetJobName());
-    list.add(present_jobName);
-    if (present_jobName)
-      list.add(jobName);
-
-    boolean present_workingDir = true && (isSetWorkingDir());
-    list.add(present_workingDir);
-    if (present_workingDir)
-      list.add(workingDir);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(JobDetails other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetJobID()).compareTo(other.isSetJobID());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetJobID()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobID, other.jobID);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetJobDescription()).compareTo(other.isSetJobDescription());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetJobDescription()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobDescription, other.jobDescription);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCreationTime()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetJobStatus()).compareTo(other.isSetJobStatus());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetJobStatus()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobStatus, other.jobStatus);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationStatus()).compareTo(other.isSetApplicationStatus());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationStatus()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationStatus, other.applicationStatus);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetErrors()).compareTo(other.isSetErrors());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetErrors()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errors, other.errors);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetComputeResourceConsumed()).compareTo(other.isSetComputeResourceConsumed());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetComputeResourceConsumed()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.computeResourceConsumed, other.computeResourceConsumed);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetJobName()).compareTo(other.isSetJobName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetJobName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobName, other.jobName);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetWorkingDir()).compareTo(other.isSetWorkingDir());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetWorkingDir()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workingDir, other.workingDir);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("JobDetails(");
-    boolean first = true;
-
-    sb.append("jobID:");
-    if (this.jobID == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.jobID);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("jobDescription:");
-    if (this.jobDescription == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.jobDescription);
-    }
-    first = false;
-    if (isSetCreationTime()) {
-      if (!first) sb.append(", ");
-      sb.append("creationTime:");
-      sb.append(this.creationTime);
-      first = false;
-    }
-    if (isSetJobStatus()) {
-      if (!first) sb.append(", ");
-      sb.append("jobStatus:");
-      if (this.jobStatus == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.jobStatus);
-      }
-      first = false;
-    }
-    if (isSetApplicationStatus()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationStatus:");
-      if (this.applicationStatus == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationStatus);
-      }
-      first = false;
-    }
-    if (isSetErrors()) {
-      if (!first) sb.append(", ");
-      sb.append("errors:");
-      if (this.errors == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.errors);
-      }
-      first = false;
-    }
-    if (isSetComputeResourceConsumed()) {
-      if (!first) sb.append(", ");
-      sb.append("computeResourceConsumed:");
-      if (this.computeResourceConsumed == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.computeResourceConsumed);
-      }
-      first = false;
-    }
-    if (isSetJobName()) {
-      if (!first) sb.append(", ");
-      sb.append("jobName:");
-      if (this.jobName == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.jobName);
-      }
-      first = false;
-    }
-    if (isSetWorkingDir()) {
-      if (!first) sb.append(", ");
-      sb.append("workingDir:");
-      if (this.workingDir == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.workingDir);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetJobID()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobID' is unset! Struct:" + toString());
-    }
-
-    if (!isSetJobDescription()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobDescription' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-    if (jobStatus != null) {
-      jobStatus.validate();
-    }
-    if (applicationStatus != null) {
-      applicationStatus.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class JobDetailsStandardSchemeFactory implements SchemeFactory {
-    public JobDetailsStandardScheme getScheme() {
-      return new JobDetailsStandardScheme();
-    }
-  }
-
-  private static class JobDetailsStandardScheme extends StandardScheme<JobDetails> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, JobDetails struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // JOB_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.jobID = iprot.readString();
-              struct.setJobIDIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // JOB_DESCRIPTION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.jobDescription = iprot.readString();
-              struct.setJobDescriptionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // CREATION_TIME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.creationTime = iprot.readI64();
-              struct.setCreationTimeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // JOB_STATUS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.jobStatus = new JobStatus();
-              struct.jobStatus.read(iprot);
-              struct.setJobStatusIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // APPLICATION_STATUS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.applicationStatus = new ApplicationStatus();
-              struct.applicationStatus.read(iprot);
-              struct.setApplicationStatusIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // ERRORS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list8 = iprot.readListBegin();
-                struct.errors = new ArrayList<ErrorDetails>(_list8.size);
-                ErrorDetails _elem9;
-                for (int _i10 = 0; _i10 < _list8.size; ++_i10)
-                {
-                  _elem9 = new ErrorDetails();
-                  _elem9.read(iprot);
-                  struct.errors.add(_elem9);
-                }
-                iprot.readListEnd();
-              }
-              struct.setErrorsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // COMPUTE_RESOURCE_CONSUMED
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.computeResourceConsumed = iprot.readString();
-              struct.setComputeResourceConsumedIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // JOB_NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.jobName = iprot.readString();
-              struct.setJobNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // WORKING_DIR
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.workingDir = iprot.readString();
-              struct.setWorkingDirIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, JobDetails struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.jobID != null) {
-        oprot.writeFieldBegin(JOB_ID_FIELD_DESC);
-        oprot.writeString(struct.jobID);
-        oprot.writeFieldEnd();
-      }
-      if (struct.jobDescription != null) {
-        oprot.writeFieldBegin(JOB_DESCRIPTION_FIELD_DESC);
-        oprot.writeString(struct.jobDescription);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetCreationTime()) {
-        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
-        oprot.writeI64(struct.creationTime);
-        oprot.writeFieldEnd();
-      }
-      if (struct.jobStatus != null) {
-        if (struct.isSetJobStatus()) {
-          oprot.writeFieldBegin(JOB_STATUS_FIELD_DESC);
-          struct.jobStatus.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.applicationStatus != null) {
-        if (struct.isSetApplicationStatus()) {
-          oprot.writeFieldBegin(APPLICATION_STATUS_FIELD_DESC);
-          struct.applicationStatus.write(oprot);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.errors != null) {
-        if (struct.isSetErrors()) {
-          oprot.writeFieldBegin(ERRORS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.errors.size()));
-            for (ErrorDetails _iter11 : struct.errors)
-            {
-              _iter11.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.computeResourceConsumed != null) {
-        if (struct.isSetComputeResourceConsumed()) {
-          oprot.writeFieldBegin(COMPUTE_RESOURCE_CONSUMED_FIELD_DESC);
-          oprot.writeString(struct.computeResourceConsumed);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.jobName != null) {
-        if (struct.isSetJobName()) {
-          oprot.writeFieldBegin(JOB_NAME_FIELD_DESC);
-          oprot.writeString(struct.jobName);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.workingDir != null) {
-        if (struct.isSetWorkingDir()) {
-          oprot.writeFieldBegin(WORKING_DIR_FIELD_DESC);
-          oprot.writeString(struct.workingDir);
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class JobDetailsTupleSchemeFactory implements SchemeFactory {
-    public JobDetailsTupleScheme getScheme() {
-      return new JobDetailsTupleScheme();
-    }
-  }
-
-  private static class JobDetailsTupleScheme extends TupleScheme<JobDetails> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, JobDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.jobID);
-      oprot.writeString(struct.jobDescription);
-      BitSet optionals = new BitSet();
-      if (struct.isSetCreationTime()) {
-        optionals.set(0);
-      }
-      if (struct.isSetJobStatus()) {
-        optionals.set(1);
-      }
-      if (struct.isSetApplicationStatus()) {
-        optionals.set(2);
-      }
-      if (struct.isSetErrors()) {
-        optionals.set(3);
-      }
-      if (struct.isSetComputeResourceConsumed()) {
-        optionals.set(4);
-      }
-      if (struct.isSetJobName()) {
-        optionals.set(5);
-      }
-      if (struct.isSetWorkingDir()) {
-        optionals.set(6);
-      }
-      oprot.writeBitSet(optionals, 7);
-      if (struct.isSetCreationTime()) {
-        oprot.writeI64(struct.creationTime);
-      }
-      if (struct.isSetJobStatus()) {
-        struct.jobStatus.write(oprot);
-      }
-      if (struct.isSetApplicationStatus()) {
-        struct.applicationStatus.write(oprot);
-      }
-      if (struct.isSetErrors()) {
-        {
-          oprot.writeI32(struct.errors.size());
-          for (ErrorDetails _iter12 : struct.errors)
-          {
-            _iter12.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetComputeResourceConsumed()) {
-        oprot.writeString(struct.computeResourceConsumed);
-      }
-      if (struct.isSetJobName()) {
-        oprot.writeString(struct.jobName);
-      }
-      if (struct.isSetWorkingDir()) {
-        oprot.writeString(struct.workingDir);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, JobDetails struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.jobID = iprot.readString();
-      struct.setJobIDIsSet(true);
-      struct.jobDescription = iprot.readString();
-      struct.setJobDescriptionIsSet(true);
-      BitSet incoming = iprot.readBitSet(7);
-      if (incoming.get(0)) {
-        struct.creationTime = iprot.readI64();
-        struct.setCreationTimeIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.jobStatus = new JobStatus();
-        struct.jobStatus.read(iprot);
-        struct.setJobStatusIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.applicationStatus = new ApplicationStatus();
-        struct.applicationStatus.read(iprot);
-        struct.setApplicationStatusIsSet(true);
-      }
-      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.errors = new ArrayList<ErrorDetails>(_list13.size);
-          ErrorDetails _elem14;
-          for (int _i15 = 0; _i15 < _list13.size; ++_i15)
-          {
-            _elem14 = new ErrorDetails();
-            _elem14.read(iprot);
-            struct.errors.add(_elem14);
-          }
-        }
-        struct.setErrorsIsSet(true);
-      }
-      if (incoming.get(4)) {
-        struct.computeResourceConsumed = iprot.readString();
-        struct.setComputeResourceConsumedIsSet(true);
-      }
-      if (incoming.get(5)) {
-        struct.jobName = iprot.readString();
-        struct.setJobNameIsSet(true);
-      }
-      if (incoming.get(6)) {
-        struct.workingDir = iprot.readString();
-        struct.setWorkingDirIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobState.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobState.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobState.java
deleted file mode 100644
index 458ec32..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/JobState.java
+++ /dev/null
@@ -1,92 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum JobState implements org.apache.thrift.TEnum {
-  SUBMITTED(0),
-  UN_SUBMITTED(1),
-  SETUP(2),
-  QUEUED(3),
-  ACTIVE(4),
-  COMPLETE(5),
-  CANCELING(6),
-  CANCELED(7),
-  FAILED(8),
-  HELD(9),
-  SUSPENDED(10),
-  UNKNOWN(11);
-
-  private final int value;
-
-  private JobState(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 JobState findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return SUBMITTED;
-      case 1:
-        return UN_SUBMITTED;
-      case 2:
-        return SETUP;
-      case 3:
-        return QUEUED;
-      case 4:
-        return ACTIVE;
-      case 5:
-        return COMPLETE;
-      case 6:
-        return CANCELING;
-      case 7:
-        return CANCELED;
-      case 8:
-        return FAILED;
-      case 9:
-        return HELD;
-      case 10:
-        return SUSPENDED;
-      case 11:
-        return UNKNOWN;
-      default:
-        return null;
-    }
-  }
-}


[15/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/scheduling/ComputationalResourceSchedulingModel.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/scheduling/ComputationalResourceSchedulingModel.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/scheduling/ComputationalResourceSchedulingModel.java
new file mode 100644
index 0000000..04d5b9b
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/scheduling/ComputationalResourceSchedulingModel.java
@@ -0,0 +1,1020 @@
+/**
+ * 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.scheduling;
+
+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"})
+/**
+ * ComputationalResourceSchedulingModel:
+ * 
+ * 
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ComputationalResourceSchedulingModel implements org.apache.thrift.TBase<ComputationalResourceSchedulingModel, ComputationalResourceSchedulingModel._Fields>, java.io.Serializable, Cloneable, Comparable<ComputationalResourceSchedulingModel> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ComputationalResourceSchedulingModel");
+
+  private static final org.apache.thrift.protocol.TField RESOURCE_HOST_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("resourceHostId", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField TOTAL_CPUCOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("totalCPUCount", org.apache.thrift.protocol.TType.I32, (short)2);
+  private static final org.apache.thrift.protocol.TField NODE_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("nodeCount", org.apache.thrift.protocol.TType.I32, (short)3);
+  private static final org.apache.thrift.protocol.TField NUMBER_OF_THREADS_FIELD_DESC = new org.apache.thrift.protocol.TField("numberOfThreads", org.apache.thrift.protocol.TType.I32, (short)4);
+  private static final org.apache.thrift.protocol.TField QUEUE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("queueName", org.apache.thrift.protocol.TType.STRING, (short)5);
+  private static final org.apache.thrift.protocol.TField WALL_TIME_LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("wallTimeLimit", org.apache.thrift.protocol.TType.I32, (short)6);
+  private static final org.apache.thrift.protocol.TField TOTAL_PHYSICAL_MEMORY_FIELD_DESC = new org.apache.thrift.protocol.TField("totalPhysicalMemory", org.apache.thrift.protocol.TType.I32, (short)7);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ComputationalResourceSchedulingModelStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ComputationalResourceSchedulingModelTupleSchemeFactory());
+  }
+
+  private String resourceHostId; // optional
+  private int totalCPUCount; // optional
+  private int nodeCount; // optional
+  private int numberOfThreads; // optional
+  private String queueName; // optional
+  private int wallTimeLimit; // optional
+  private int totalPhysicalMemory; // 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 {
+    RESOURCE_HOST_ID((short)1, "resourceHostId"),
+    TOTAL_CPUCOUNT((short)2, "totalCPUCount"),
+    NODE_COUNT((short)3, "nodeCount"),
+    NUMBER_OF_THREADS((short)4, "numberOfThreads"),
+    QUEUE_NAME((short)5, "queueName"),
+    WALL_TIME_LIMIT((short)6, "wallTimeLimit"),
+    TOTAL_PHYSICAL_MEMORY((short)7, "totalPhysicalMemory");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // RESOURCE_HOST_ID
+          return RESOURCE_HOST_ID;
+        case 2: // TOTAL_CPUCOUNT
+          return TOTAL_CPUCOUNT;
+        case 3: // NODE_COUNT
+          return NODE_COUNT;
+        case 4: // NUMBER_OF_THREADS
+          return NUMBER_OF_THREADS;
+        case 5: // QUEUE_NAME
+          return QUEUE_NAME;
+        case 6: // WALL_TIME_LIMIT
+          return WALL_TIME_LIMIT;
+        case 7: // TOTAL_PHYSICAL_MEMORY
+          return TOTAL_PHYSICAL_MEMORY;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __TOTALCPUCOUNT_ISSET_ID = 0;
+  private static final int __NODECOUNT_ISSET_ID = 1;
+  private static final int __NUMBEROFTHREADS_ISSET_ID = 2;
+  private static final int __WALLTIMELIMIT_ISSET_ID = 3;
+  private static final int __TOTALPHYSICALMEMORY_ISSET_ID = 4;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.RESOURCE_HOST_ID,_Fields.TOTAL_CPUCOUNT,_Fields.NODE_COUNT,_Fields.NUMBER_OF_THREADS,_Fields.QUEUE_NAME,_Fields.WALL_TIME_LIMIT,_Fields.TOTAL_PHYSICAL_MEMORY};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.RESOURCE_HOST_ID, new org.apache.thrift.meta_data.FieldMetaData("resourceHostId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.TOTAL_CPUCOUNT, new org.apache.thrift.meta_data.FieldMetaData("totalCPUCount", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.NODE_COUNT, new org.apache.thrift.meta_data.FieldMetaData("nodeCount", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.NUMBER_OF_THREADS, new org.apache.thrift.meta_data.FieldMetaData("numberOfThreads", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.QUEUE_NAME, new org.apache.thrift.meta_data.FieldMetaData("queueName", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.WALL_TIME_LIMIT, new org.apache.thrift.meta_data.FieldMetaData("wallTimeLimit", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.TOTAL_PHYSICAL_MEMORY, new org.apache.thrift.meta_data.FieldMetaData("totalPhysicalMemory", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ComputationalResourceSchedulingModel.class, metaDataMap);
+  }
+
+  public ComputationalResourceSchedulingModel() {
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ComputationalResourceSchedulingModel(ComputationalResourceSchedulingModel other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetResourceHostId()) {
+      this.resourceHostId = other.resourceHostId;
+    }
+    this.totalCPUCount = other.totalCPUCount;
+    this.nodeCount = other.nodeCount;
+    this.numberOfThreads = other.numberOfThreads;
+    if (other.isSetQueueName()) {
+      this.queueName = other.queueName;
+    }
+    this.wallTimeLimit = other.wallTimeLimit;
+    this.totalPhysicalMemory = other.totalPhysicalMemory;
+  }
+
+  public ComputationalResourceSchedulingModel deepCopy() {
+    return new ComputationalResourceSchedulingModel(this);
+  }
+
+  @Override
+  public void clear() {
+    this.resourceHostId = null;
+    setTotalCPUCountIsSet(false);
+    this.totalCPUCount = 0;
+    setNodeCountIsSet(false);
+    this.nodeCount = 0;
+    setNumberOfThreadsIsSet(false);
+    this.numberOfThreads = 0;
+    this.queueName = null;
+    setWallTimeLimitIsSet(false);
+    this.wallTimeLimit = 0;
+    setTotalPhysicalMemoryIsSet(false);
+    this.totalPhysicalMemory = 0;
+  }
+
+  public String getResourceHostId() {
+    return this.resourceHostId;
+  }
+
+  public void setResourceHostId(String resourceHostId) {
+    this.resourceHostId = resourceHostId;
+  }
+
+  public void unsetResourceHostId() {
+    this.resourceHostId = null;
+  }
+
+  /** Returns true if field resourceHostId is set (has been assigned a value) and false otherwise */
+  public boolean isSetResourceHostId() {
+    return this.resourceHostId != null;
+  }
+
+  public void setResourceHostIdIsSet(boolean value) {
+    if (!value) {
+      this.resourceHostId = null;
+    }
+  }
+
+  public int getTotalCPUCount() {
+    return this.totalCPUCount;
+  }
+
+  public void setTotalCPUCount(int totalCPUCount) {
+    this.totalCPUCount = totalCPUCount;
+    setTotalCPUCountIsSet(true);
+  }
+
+  public void unsetTotalCPUCount() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TOTALCPUCOUNT_ISSET_ID);
+  }
+
+  /** Returns true if field totalCPUCount is set (has been assigned a value) and false otherwise */
+  public boolean isSetTotalCPUCount() {
+    return EncodingUtils.testBit(__isset_bitfield, __TOTALCPUCOUNT_ISSET_ID);
+  }
+
+  public void setTotalCPUCountIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TOTALCPUCOUNT_ISSET_ID, value);
+  }
+
+  public int getNodeCount() {
+    return this.nodeCount;
+  }
+
+  public void setNodeCount(int nodeCount) {
+    this.nodeCount = nodeCount;
+    setNodeCountIsSet(true);
+  }
+
+  public void unsetNodeCount() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __NODECOUNT_ISSET_ID);
+  }
+
+  /** Returns true if field nodeCount is set (has been assigned a value) and false otherwise */
+  public boolean isSetNodeCount() {
+    return EncodingUtils.testBit(__isset_bitfield, __NODECOUNT_ISSET_ID);
+  }
+
+  public void setNodeCountIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NODECOUNT_ISSET_ID, value);
+  }
+
+  public int getNumberOfThreads() {
+    return this.numberOfThreads;
+  }
+
+  public void setNumberOfThreads(int numberOfThreads) {
+    this.numberOfThreads = numberOfThreads;
+    setNumberOfThreadsIsSet(true);
+  }
+
+  public void unsetNumberOfThreads() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __NUMBEROFTHREADS_ISSET_ID);
+  }
+
+  /** Returns true if field numberOfThreads is set (has been assigned a value) and false otherwise */
+  public boolean isSetNumberOfThreads() {
+    return EncodingUtils.testBit(__isset_bitfield, __NUMBEROFTHREADS_ISSET_ID);
+  }
+
+  public void setNumberOfThreadsIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NUMBEROFTHREADS_ISSET_ID, value);
+  }
+
+  public String getQueueName() {
+    return this.queueName;
+  }
+
+  public void setQueueName(String queueName) {
+    this.queueName = queueName;
+  }
+
+  public void unsetQueueName() {
+    this.queueName = null;
+  }
+
+  /** Returns true if field queueName is set (has been assigned a value) and false otherwise */
+  public boolean isSetQueueName() {
+    return this.queueName != null;
+  }
+
+  public void setQueueNameIsSet(boolean value) {
+    if (!value) {
+      this.queueName = null;
+    }
+  }
+
+  public int getWallTimeLimit() {
+    return this.wallTimeLimit;
+  }
+
+  public void setWallTimeLimit(int wallTimeLimit) {
+    this.wallTimeLimit = wallTimeLimit;
+    setWallTimeLimitIsSet(true);
+  }
+
+  public void unsetWallTimeLimit() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __WALLTIMELIMIT_ISSET_ID);
+  }
+
+  /** Returns true if field wallTimeLimit is set (has been assigned a value) and false otherwise */
+  public boolean isSetWallTimeLimit() {
+    return EncodingUtils.testBit(__isset_bitfield, __WALLTIMELIMIT_ISSET_ID);
+  }
+
+  public void setWallTimeLimitIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __WALLTIMELIMIT_ISSET_ID, value);
+  }
+
+  public int getTotalPhysicalMemory() {
+    return this.totalPhysicalMemory;
+  }
+
+  public void setTotalPhysicalMemory(int totalPhysicalMemory) {
+    this.totalPhysicalMemory = totalPhysicalMemory;
+    setTotalPhysicalMemoryIsSet(true);
+  }
+
+  public void unsetTotalPhysicalMemory() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TOTALPHYSICALMEMORY_ISSET_ID);
+  }
+
+  /** Returns true if field totalPhysicalMemory is set (has been assigned a value) and false otherwise */
+  public boolean isSetTotalPhysicalMemory() {
+    return EncodingUtils.testBit(__isset_bitfield, __TOTALPHYSICALMEMORY_ISSET_ID);
+  }
+
+  public void setTotalPhysicalMemoryIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TOTALPHYSICALMEMORY_ISSET_ID, value);
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case RESOURCE_HOST_ID:
+      if (value == null) {
+        unsetResourceHostId();
+      } else {
+        setResourceHostId((String)value);
+      }
+      break;
+
+    case TOTAL_CPUCOUNT:
+      if (value == null) {
+        unsetTotalCPUCount();
+      } else {
+        setTotalCPUCount((Integer)value);
+      }
+      break;
+
+    case NODE_COUNT:
+      if (value == null) {
+        unsetNodeCount();
+      } else {
+        setNodeCount((Integer)value);
+      }
+      break;
+
+    case NUMBER_OF_THREADS:
+      if (value == null) {
+        unsetNumberOfThreads();
+      } else {
+        setNumberOfThreads((Integer)value);
+      }
+      break;
+
+    case QUEUE_NAME:
+      if (value == null) {
+        unsetQueueName();
+      } else {
+        setQueueName((String)value);
+      }
+      break;
+
+    case WALL_TIME_LIMIT:
+      if (value == null) {
+        unsetWallTimeLimit();
+      } else {
+        setWallTimeLimit((Integer)value);
+      }
+      break;
+
+    case TOTAL_PHYSICAL_MEMORY:
+      if (value == null) {
+        unsetTotalPhysicalMemory();
+      } else {
+        setTotalPhysicalMemory((Integer)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case RESOURCE_HOST_ID:
+      return getResourceHostId();
+
+    case TOTAL_CPUCOUNT:
+      return Integer.valueOf(getTotalCPUCount());
+
+    case NODE_COUNT:
+      return Integer.valueOf(getNodeCount());
+
+    case NUMBER_OF_THREADS:
+      return Integer.valueOf(getNumberOfThreads());
+
+    case QUEUE_NAME:
+      return getQueueName();
+
+    case WALL_TIME_LIMIT:
+      return Integer.valueOf(getWallTimeLimit());
+
+    case TOTAL_PHYSICAL_MEMORY:
+      return Integer.valueOf(getTotalPhysicalMemory());
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case RESOURCE_HOST_ID:
+      return isSetResourceHostId();
+    case TOTAL_CPUCOUNT:
+      return isSetTotalCPUCount();
+    case NODE_COUNT:
+      return isSetNodeCount();
+    case NUMBER_OF_THREADS:
+      return isSetNumberOfThreads();
+    case QUEUE_NAME:
+      return isSetQueueName();
+    case WALL_TIME_LIMIT:
+      return isSetWallTimeLimit();
+    case TOTAL_PHYSICAL_MEMORY:
+      return isSetTotalPhysicalMemory();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ComputationalResourceSchedulingModel)
+      return this.equals((ComputationalResourceSchedulingModel)that);
+    return false;
+  }
+
+  public boolean equals(ComputationalResourceSchedulingModel that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_resourceHostId = true && this.isSetResourceHostId();
+    boolean that_present_resourceHostId = true && that.isSetResourceHostId();
+    if (this_present_resourceHostId || that_present_resourceHostId) {
+      if (!(this_present_resourceHostId && that_present_resourceHostId))
+        return false;
+      if (!this.resourceHostId.equals(that.resourceHostId))
+        return false;
+    }
+
+    boolean this_present_totalCPUCount = true && this.isSetTotalCPUCount();
+    boolean that_present_totalCPUCount = true && that.isSetTotalCPUCount();
+    if (this_present_totalCPUCount || that_present_totalCPUCount) {
+      if (!(this_present_totalCPUCount && that_present_totalCPUCount))
+        return false;
+      if (this.totalCPUCount != that.totalCPUCount)
+        return false;
+    }
+
+    boolean this_present_nodeCount = true && this.isSetNodeCount();
+    boolean that_present_nodeCount = true && that.isSetNodeCount();
+    if (this_present_nodeCount || that_present_nodeCount) {
+      if (!(this_present_nodeCount && that_present_nodeCount))
+        return false;
+      if (this.nodeCount != that.nodeCount)
+        return false;
+    }
+
+    boolean this_present_numberOfThreads = true && this.isSetNumberOfThreads();
+    boolean that_present_numberOfThreads = true && that.isSetNumberOfThreads();
+    if (this_present_numberOfThreads || that_present_numberOfThreads) {
+      if (!(this_present_numberOfThreads && that_present_numberOfThreads))
+        return false;
+      if (this.numberOfThreads != that.numberOfThreads)
+        return false;
+    }
+
+    boolean this_present_queueName = true && this.isSetQueueName();
+    boolean that_present_queueName = true && that.isSetQueueName();
+    if (this_present_queueName || that_present_queueName) {
+      if (!(this_present_queueName && that_present_queueName))
+        return false;
+      if (!this.queueName.equals(that.queueName))
+        return false;
+    }
+
+    boolean this_present_wallTimeLimit = true && this.isSetWallTimeLimit();
+    boolean that_present_wallTimeLimit = true && that.isSetWallTimeLimit();
+    if (this_present_wallTimeLimit || that_present_wallTimeLimit) {
+      if (!(this_present_wallTimeLimit && that_present_wallTimeLimit))
+        return false;
+      if (this.wallTimeLimit != that.wallTimeLimit)
+        return false;
+    }
+
+    boolean this_present_totalPhysicalMemory = true && this.isSetTotalPhysicalMemory();
+    boolean that_present_totalPhysicalMemory = true && that.isSetTotalPhysicalMemory();
+    if (this_present_totalPhysicalMemory || that_present_totalPhysicalMemory) {
+      if (!(this_present_totalPhysicalMemory && that_present_totalPhysicalMemory))
+        return false;
+      if (this.totalPhysicalMemory != that.totalPhysicalMemory)
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_resourceHostId = true && (isSetResourceHostId());
+    list.add(present_resourceHostId);
+    if (present_resourceHostId)
+      list.add(resourceHostId);
+
+    boolean present_totalCPUCount = true && (isSetTotalCPUCount());
+    list.add(present_totalCPUCount);
+    if (present_totalCPUCount)
+      list.add(totalCPUCount);
+
+    boolean present_nodeCount = true && (isSetNodeCount());
+    list.add(present_nodeCount);
+    if (present_nodeCount)
+      list.add(nodeCount);
+
+    boolean present_numberOfThreads = true && (isSetNumberOfThreads());
+    list.add(present_numberOfThreads);
+    if (present_numberOfThreads)
+      list.add(numberOfThreads);
+
+    boolean present_queueName = true && (isSetQueueName());
+    list.add(present_queueName);
+    if (present_queueName)
+      list.add(queueName);
+
+    boolean present_wallTimeLimit = true && (isSetWallTimeLimit());
+    list.add(present_wallTimeLimit);
+    if (present_wallTimeLimit)
+      list.add(wallTimeLimit);
+
+    boolean present_totalPhysicalMemory = true && (isSetTotalPhysicalMemory());
+    list.add(present_totalPhysicalMemory);
+    if (present_totalPhysicalMemory)
+      list.add(totalPhysicalMemory);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ComputationalResourceSchedulingModel other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetResourceHostId()).compareTo(other.isSetResourceHostId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetResourceHostId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceHostId, other.resourceHostId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTotalCPUCount()).compareTo(other.isSetTotalCPUCount());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTotalCPUCount()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalCPUCount, other.totalCPUCount);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetNodeCount()).compareTo(other.isSetNodeCount());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetNodeCount()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nodeCount, other.nodeCount);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetNumberOfThreads()).compareTo(other.isSetNumberOfThreads());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetNumberOfThreads()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numberOfThreads, other.numberOfThreads);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetQueueName()).compareTo(other.isSetQueueName());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetQueueName()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queueName, other.queueName);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetWallTimeLimit()).compareTo(other.isSetWallTimeLimit());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetWallTimeLimit()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.wallTimeLimit, other.wallTimeLimit);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTotalPhysicalMemory()).compareTo(other.isSetTotalPhysicalMemory());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTotalPhysicalMemory()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalPhysicalMemory, other.totalPhysicalMemory);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ComputationalResourceSchedulingModel(");
+    boolean first = true;
+
+    if (isSetResourceHostId()) {
+      sb.append("resourceHostId:");
+      if (this.resourceHostId == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.resourceHostId);
+      }
+      first = false;
+    }
+    if (isSetTotalCPUCount()) {
+      if (!first) sb.append(", ");
+      sb.append("totalCPUCount:");
+      sb.append(this.totalCPUCount);
+      first = false;
+    }
+    if (isSetNodeCount()) {
+      if (!first) sb.append(", ");
+      sb.append("nodeCount:");
+      sb.append(this.nodeCount);
+      first = false;
+    }
+    if (isSetNumberOfThreads()) {
+      if (!first) sb.append(", ");
+      sb.append("numberOfThreads:");
+      sb.append(this.numberOfThreads);
+      first = false;
+    }
+    if (isSetQueueName()) {
+      if (!first) sb.append(", ");
+      sb.append("queueName:");
+      if (this.queueName == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.queueName);
+      }
+      first = false;
+    }
+    if (isSetWallTimeLimit()) {
+      if (!first) sb.append(", ");
+      sb.append("wallTimeLimit:");
+      sb.append(this.wallTimeLimit);
+      first = false;
+    }
+    if (isSetTotalPhysicalMemory()) {
+      if (!first) sb.append(", ");
+      sb.append("totalPhysicalMemory:");
+      sb.append(this.totalPhysicalMemory);
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ComputationalResourceSchedulingModelStandardSchemeFactory implements SchemeFactory {
+    public ComputationalResourceSchedulingModelStandardScheme getScheme() {
+      return new ComputationalResourceSchedulingModelStandardScheme();
+    }
+  }
+
+  private static class ComputationalResourceSchedulingModelStandardScheme extends StandardScheme<ComputationalResourceSchedulingModel> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ComputationalResourceSchedulingModel struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // RESOURCE_HOST_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.resourceHostId = iprot.readString();
+              struct.setResourceHostIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // TOTAL_CPUCOUNT
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.totalCPUCount = iprot.readI32();
+              struct.setTotalCPUCountIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // NODE_COUNT
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.nodeCount = iprot.readI32();
+              struct.setNodeCountIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // NUMBER_OF_THREADS
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.numberOfThreads = iprot.readI32();
+              struct.setNumberOfThreadsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // QUEUE_NAME
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.queueName = iprot.readString();
+              struct.setQueueNameIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // WALL_TIME_LIMIT
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.wallTimeLimit = iprot.readI32();
+              struct.setWallTimeLimitIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // TOTAL_PHYSICAL_MEMORY
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.totalPhysicalMemory = iprot.readI32();
+              struct.setTotalPhysicalMemoryIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ComputationalResourceSchedulingModel struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.resourceHostId != null) {
+        if (struct.isSetResourceHostId()) {
+          oprot.writeFieldBegin(RESOURCE_HOST_ID_FIELD_DESC);
+          oprot.writeString(struct.resourceHostId);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetTotalCPUCount()) {
+        oprot.writeFieldBegin(TOTAL_CPUCOUNT_FIELD_DESC);
+        oprot.writeI32(struct.totalCPUCount);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetNodeCount()) {
+        oprot.writeFieldBegin(NODE_COUNT_FIELD_DESC);
+        oprot.writeI32(struct.nodeCount);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetNumberOfThreads()) {
+        oprot.writeFieldBegin(NUMBER_OF_THREADS_FIELD_DESC);
+        oprot.writeI32(struct.numberOfThreads);
+        oprot.writeFieldEnd();
+      }
+      if (struct.queueName != null) {
+        if (struct.isSetQueueName()) {
+          oprot.writeFieldBegin(QUEUE_NAME_FIELD_DESC);
+          oprot.writeString(struct.queueName);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetWallTimeLimit()) {
+        oprot.writeFieldBegin(WALL_TIME_LIMIT_FIELD_DESC);
+        oprot.writeI32(struct.wallTimeLimit);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetTotalPhysicalMemory()) {
+        oprot.writeFieldBegin(TOTAL_PHYSICAL_MEMORY_FIELD_DESC);
+        oprot.writeI32(struct.totalPhysicalMemory);
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ComputationalResourceSchedulingModelTupleSchemeFactory implements SchemeFactory {
+    public ComputationalResourceSchedulingModelTupleScheme getScheme() {
+      return new ComputationalResourceSchedulingModelTupleScheme();
+    }
+  }
+
+  private static class ComputationalResourceSchedulingModelTupleScheme extends TupleScheme<ComputationalResourceSchedulingModel> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ComputationalResourceSchedulingModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      BitSet optionals = new BitSet();
+      if (struct.isSetResourceHostId()) {
+        optionals.set(0);
+      }
+      if (struct.isSetTotalCPUCount()) {
+        optionals.set(1);
+      }
+      if (struct.isSetNodeCount()) {
+        optionals.set(2);
+      }
+      if (struct.isSetNumberOfThreads()) {
+        optionals.set(3);
+      }
+      if (struct.isSetQueueName()) {
+        optionals.set(4);
+      }
+      if (struct.isSetWallTimeLimit()) {
+        optionals.set(5);
+      }
+      if (struct.isSetTotalPhysicalMemory()) {
+        optionals.set(6);
+      }
+      oprot.writeBitSet(optionals, 7);
+      if (struct.isSetResourceHostId()) {
+        oprot.writeString(struct.resourceHostId);
+      }
+      if (struct.isSetTotalCPUCount()) {
+        oprot.writeI32(struct.totalCPUCount);
+      }
+      if (struct.isSetNodeCount()) {
+        oprot.writeI32(struct.nodeCount);
+      }
+      if (struct.isSetNumberOfThreads()) {
+        oprot.writeI32(struct.numberOfThreads);
+      }
+      if (struct.isSetQueueName()) {
+        oprot.writeString(struct.queueName);
+      }
+      if (struct.isSetWallTimeLimit()) {
+        oprot.writeI32(struct.wallTimeLimit);
+      }
+      if (struct.isSetTotalPhysicalMemory()) {
+        oprot.writeI32(struct.totalPhysicalMemory);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ComputationalResourceSchedulingModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      BitSet incoming = iprot.readBitSet(7);
+      if (incoming.get(0)) {
+        struct.resourceHostId = iprot.readString();
+        struct.setResourceHostIdIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.totalCPUCount = iprot.readI32();
+        struct.setTotalCPUCountIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.nodeCount = iprot.readI32();
+        struct.setNodeCountIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.numberOfThreads = iprot.readI32();
+        struct.setNumberOfThreadsIsSet(true);
+      }
+      if (incoming.get(4)) {
+        struct.queueName = iprot.readString();
+        struct.setQueueNameIsSet(true);
+      }
+      if (incoming.get(5)) {
+        struct.wallTimeLimit = iprot.readI32();
+        struct.setWallTimeLimitIsSet(true);
+      }
+      if (incoming.get(6)) {
+        struct.totalPhysicalMemory = iprot.readI32();
+        struct.setTotalPhysicalMemoryIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/security/AuthzToken.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/security/AuthzToken.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/security/AuthzToken.java
index c86a1fc..17245fd 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/security/AuthzToken.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/security/AuthzToken.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 AuthzToken implements org.apache.thrift.TBase<AuthzToken, AuthzToken._Fields>, java.io.Serializable, Cloneable, Comparable<AuthzToken> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AuthzToken");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ExperimentState.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ExperimentState.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ExperimentState.java
new file mode 100644
index 0000000..f135920
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ExperimentState.java
@@ -0,0 +1,83 @@
+/**
+ * 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.status;
+
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+public enum ExperimentState implements org.apache.thrift.TEnum {
+  CREATED(0),
+  VALIDATED(1),
+  SCHEDULED(2),
+  LAUNCHED(3),
+  EXECUTING(4),
+  CANCELING(5),
+  CANCELED(6),
+  COMPLETED(7),
+  FAILED(8);
+
+  private final int value;
+
+  private ExperimentState(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 ExperimentState findByValue(int value) { 
+    switch (value) {
+      case 0:
+        return CREATED;
+      case 1:
+        return VALIDATED;
+      case 2:
+        return SCHEDULED;
+      case 3:
+        return LAUNCHED;
+      case 4:
+        return EXECUTING;
+      case 5:
+        return CANCELING;
+      case 6:
+        return CANCELED;
+      case 7:
+        return COMPLETED;
+      case 8:
+        return FAILED;
+      default:
+        return null;
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ExperimentStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ExperimentStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ExperimentStatus.java
new file mode 100644
index 0000000..f493e75
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ExperimentStatus.java
@@ -0,0 +1,644 @@
+/**
+ * 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.status;
+
+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"})
+/**
+ * Status: A generic status object.
+ * 
+ * state:
+ *   State .
+ * 
+ * timeOfStateChange:
+ *   time the status was last updated.
+ * 
+ * reason:
+ *   User friendly reason on how the state is inferred.
+ * 
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ExperimentStatus implements org.apache.thrift.TBase<ExperimentStatus, ExperimentStatus._Fields>, java.io.Serializable, Cloneable, Comparable<ExperimentStatus> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExperimentStatus");
+
+  private static final org.apache.thrift.protocol.TField STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("state", org.apache.thrift.protocol.TType.I32, (short)1);
+  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
+  private static final org.apache.thrift.protocol.TField REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("reason", org.apache.thrift.protocol.TType.STRING, (short)3);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ExperimentStatusStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ExperimentStatusTupleSchemeFactory());
+  }
+
+  private ExperimentState state; // required
+  private long timeOfStateChange; // optional
+  private String reason; // 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 {
+    /**
+     * 
+     * @see ExperimentState
+     */
+    STATE((short)1, "state"),
+    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange"),
+    REASON((short)3, "reason");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // STATE
+          return STATE;
+        case 2: // TIME_OF_STATE_CHANGE
+          return TIME_OF_STATE_CHANGE;
+        case 3: // REASON
+          return REASON;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE,_Fields.REASON};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ExperimentState.class)));
+    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.REASON, new org.apache.thrift.meta_data.FieldMetaData("reason", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ExperimentStatus.class, metaDataMap);
+  }
+
+  public ExperimentStatus() {
+  }
+
+  public ExperimentStatus(
+    ExperimentState state)
+  {
+    this();
+    this.state = state;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ExperimentStatus(ExperimentStatus other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetState()) {
+      this.state = other.state;
+    }
+    this.timeOfStateChange = other.timeOfStateChange;
+    if (other.isSetReason()) {
+      this.reason = other.reason;
+    }
+  }
+
+  public ExperimentStatus deepCopy() {
+    return new ExperimentStatus(this);
+  }
+
+  @Override
+  public void clear() {
+    this.state = null;
+    setTimeOfStateChangeIsSet(false);
+    this.timeOfStateChange = 0;
+    this.reason = null;
+  }
+
+  /**
+   * 
+   * @see ExperimentState
+   */
+  public ExperimentState getState() {
+    return this.state;
+  }
+
+  /**
+   * 
+   * @see ExperimentState
+   */
+  public void setState(ExperimentState state) {
+    this.state = state;
+  }
+
+  public void unsetState() {
+    this.state = null;
+  }
+
+  /** Returns true if field state is set (has been assigned a value) and false otherwise */
+  public boolean isSetState() {
+    return this.state != null;
+  }
+
+  public void setStateIsSet(boolean value) {
+    if (!value) {
+      this.state = null;
+    }
+  }
+
+  public long getTimeOfStateChange() {
+    return this.timeOfStateChange;
+  }
+
+  public void setTimeOfStateChange(long timeOfStateChange) {
+    this.timeOfStateChange = timeOfStateChange;
+    setTimeOfStateChangeIsSet(true);
+  }
+
+  public void unsetTimeOfStateChange() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
+  }
+
+  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
+  public boolean isSetTimeOfStateChange() {
+    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
+  }
+
+  public void setTimeOfStateChangeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
+  }
+
+  public String getReason() {
+    return this.reason;
+  }
+
+  public void setReason(String reason) {
+    this.reason = reason;
+  }
+
+  public void unsetReason() {
+    this.reason = null;
+  }
+
+  /** Returns true if field reason is set (has been assigned a value) and false otherwise */
+  public boolean isSetReason() {
+    return this.reason != null;
+  }
+
+  public void setReasonIsSet(boolean value) {
+    if (!value) {
+      this.reason = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case STATE:
+      if (value == null) {
+        unsetState();
+      } else {
+        setState((ExperimentState)value);
+      }
+      break;
+
+    case TIME_OF_STATE_CHANGE:
+      if (value == null) {
+        unsetTimeOfStateChange();
+      } else {
+        setTimeOfStateChange((Long)value);
+      }
+      break;
+
+    case REASON:
+      if (value == null) {
+        unsetReason();
+      } else {
+        setReason((String)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case STATE:
+      return getState();
+
+    case TIME_OF_STATE_CHANGE:
+      return Long.valueOf(getTimeOfStateChange());
+
+    case REASON:
+      return getReason();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case STATE:
+      return isSetState();
+    case TIME_OF_STATE_CHANGE:
+      return isSetTimeOfStateChange();
+    case REASON:
+      return isSetReason();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ExperimentStatus)
+      return this.equals((ExperimentStatus)that);
+    return false;
+  }
+
+  public boolean equals(ExperimentStatus that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_state = true && this.isSetState();
+    boolean that_present_state = true && that.isSetState();
+    if (this_present_state || that_present_state) {
+      if (!(this_present_state && that_present_state))
+        return false;
+      if (!this.state.equals(that.state))
+        return false;
+    }
+
+    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
+    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
+    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
+      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
+        return false;
+      if (this.timeOfStateChange != that.timeOfStateChange)
+        return false;
+    }
+
+    boolean this_present_reason = true && this.isSetReason();
+    boolean that_present_reason = true && that.isSetReason();
+    if (this_present_reason || that_present_reason) {
+      if (!(this_present_reason && that_present_reason))
+        return false;
+      if (!this.reason.equals(that.reason))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_state = true && (isSetState());
+    list.add(present_state);
+    if (present_state)
+      list.add(state.getValue());
+
+    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
+    list.add(present_timeOfStateChange);
+    if (present_timeOfStateChange)
+      list.add(timeOfStateChange);
+
+    boolean present_reason = true && (isSetReason());
+    list.add(present_reason);
+    if (present_reason)
+      list.add(reason);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ExperimentStatus other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetState()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTimeOfStateChange()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetReason()).compareTo(other.isSetReason());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetReason()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reason, other.reason);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ExperimentStatus(");
+    boolean first = true;
+
+    sb.append("state:");
+    if (this.state == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.state);
+    }
+    first = false;
+    if (isSetTimeOfStateChange()) {
+      if (!first) sb.append(", ");
+      sb.append("timeOfStateChange:");
+      sb.append(this.timeOfStateChange);
+      first = false;
+    }
+    if (isSetReason()) {
+      if (!first) sb.append(", ");
+      sb.append("reason:");
+      if (this.reason == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.reason);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetState()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'state' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ExperimentStatusStandardSchemeFactory implements SchemeFactory {
+    public ExperimentStatusStandardScheme getScheme() {
+      return new ExperimentStatusStandardScheme();
+    }
+  }
+
+  private static class ExperimentStatusStandardScheme extends StandardScheme<ExperimentStatus> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ExperimentStatus struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // STATE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.state = org.apache.airavata.model.status.ExperimentState.findByValue(iprot.readI32());
+              struct.setStateIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // TIME_OF_STATE_CHANGE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.timeOfStateChange = iprot.readI64();
+              struct.setTimeOfStateChangeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // REASON
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.reason = iprot.readString();
+              struct.setReasonIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ExperimentStatus struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.state != null) {
+        oprot.writeFieldBegin(STATE_FIELD_DESC);
+        oprot.writeI32(struct.state.getValue());
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetTimeOfStateChange()) {
+        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
+        oprot.writeI64(struct.timeOfStateChange);
+        oprot.writeFieldEnd();
+      }
+      if (struct.reason != null) {
+        if (struct.isSetReason()) {
+          oprot.writeFieldBegin(REASON_FIELD_DESC);
+          oprot.writeString(struct.reason);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ExperimentStatusTupleSchemeFactory implements SchemeFactory {
+    public ExperimentStatusTupleScheme getScheme() {
+      return new ExperimentStatusTupleScheme();
+    }
+  }
+
+  private static class ExperimentStatusTupleScheme extends TupleScheme<ExperimentStatus> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ExperimentStatus struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeI32(struct.state.getValue());
+      BitSet optionals = new BitSet();
+      if (struct.isSetTimeOfStateChange()) {
+        optionals.set(0);
+      }
+      if (struct.isSetReason()) {
+        optionals.set(1);
+      }
+      oprot.writeBitSet(optionals, 2);
+      if (struct.isSetTimeOfStateChange()) {
+        oprot.writeI64(struct.timeOfStateChange);
+      }
+      if (struct.isSetReason()) {
+        oprot.writeString(struct.reason);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ExperimentStatus struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.state = org.apache.airavata.model.status.ExperimentState.findByValue(iprot.readI32());
+      struct.setStateIsSet(true);
+      BitSet incoming = iprot.readBitSet(2);
+      if (incoming.get(0)) {
+        struct.timeOfStateChange = iprot.readI64();
+        struct.setTimeOfStateChangeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.reason = iprot.readString();
+        struct.setReasonIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/JobState.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/JobState.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/JobState.java
new file mode 100644
index 0000000..7ac5338
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/JobState.java
@@ -0,0 +1,80 @@
+/**
+ * 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.status;
+
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+public enum JobState implements org.apache.thrift.TEnum {
+  SUBMITTED(0),
+  QUEUED(1),
+  ACTIVE(2),
+  COMPLETE(3),
+  CANCELED(4),
+  FAILED(5),
+  SUSPENDED(6),
+  UNKNOWN(7);
+
+  private final int value;
+
+  private JobState(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 JobState findByValue(int value) { 
+    switch (value) {
+      case 0:
+        return SUBMITTED;
+      case 1:
+        return QUEUED;
+      case 2:
+        return ACTIVE;
+      case 3:
+        return COMPLETE;
+      case 4:
+        return CANCELED;
+      case 5:
+        return FAILED;
+      case 6:
+        return SUSPENDED;
+      case 7:
+        return UNKNOWN;
+      default:
+        return null;
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/JobStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/JobStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/JobStatus.java
new file mode 100644
index 0000000..b5b7002
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/JobStatus.java
@@ -0,0 +1,631 @@
+/**
+ * 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.status;
+
+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"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class JobStatus implements org.apache.thrift.TBase<JobStatus, JobStatus._Fields>, java.io.Serializable, Cloneable, Comparable<JobStatus> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("JobStatus");
+
+  private static final org.apache.thrift.protocol.TField JOB_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("jobState", org.apache.thrift.protocol.TType.I32, (short)1);
+  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
+  private static final org.apache.thrift.protocol.TField REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("reason", org.apache.thrift.protocol.TType.STRING, (short)3);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new JobStatusStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new JobStatusTupleSchemeFactory());
+  }
+
+  private JobState jobState; // required
+  private long timeOfStateChange; // optional
+  private String reason; // 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 {
+    /**
+     * 
+     * @see JobState
+     */
+    JOB_STATE((short)1, "jobState"),
+    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange"),
+    REASON((short)3, "reason");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // JOB_STATE
+          return JOB_STATE;
+        case 2: // TIME_OF_STATE_CHANGE
+          return TIME_OF_STATE_CHANGE;
+        case 3: // REASON
+          return REASON;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE,_Fields.REASON};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.JOB_STATE, new org.apache.thrift.meta_data.FieldMetaData("jobState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, JobState.class)));
+    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.REASON, new org.apache.thrift.meta_data.FieldMetaData("reason", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(JobStatus.class, metaDataMap);
+  }
+
+  public JobStatus() {
+  }
+
+  public JobStatus(
+    JobState jobState)
+  {
+    this();
+    this.jobState = jobState;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public JobStatus(JobStatus other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetJobState()) {
+      this.jobState = other.jobState;
+    }
+    this.timeOfStateChange = other.timeOfStateChange;
+    if (other.isSetReason()) {
+      this.reason = other.reason;
+    }
+  }
+
+  public JobStatus deepCopy() {
+    return new JobStatus(this);
+  }
+
+  @Override
+  public void clear() {
+    this.jobState = null;
+    setTimeOfStateChangeIsSet(false);
+    this.timeOfStateChange = 0;
+    this.reason = null;
+  }
+
+  /**
+   * 
+   * @see JobState
+   */
+  public JobState getJobState() {
+    return this.jobState;
+  }
+
+  /**
+   * 
+   * @see JobState
+   */
+  public void setJobState(JobState jobState) {
+    this.jobState = jobState;
+  }
+
+  public void unsetJobState() {
+    this.jobState = null;
+  }
+
+  /** Returns true if field jobState is set (has been assigned a value) and false otherwise */
+  public boolean isSetJobState() {
+    return this.jobState != null;
+  }
+
+  public void setJobStateIsSet(boolean value) {
+    if (!value) {
+      this.jobState = null;
+    }
+  }
+
+  public long getTimeOfStateChange() {
+    return this.timeOfStateChange;
+  }
+
+  public void setTimeOfStateChange(long timeOfStateChange) {
+    this.timeOfStateChange = timeOfStateChange;
+    setTimeOfStateChangeIsSet(true);
+  }
+
+  public void unsetTimeOfStateChange() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
+  }
+
+  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
+  public boolean isSetTimeOfStateChange() {
+    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
+  }
+
+  public void setTimeOfStateChangeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
+  }
+
+  public String getReason() {
+    return this.reason;
+  }
+
+  public void setReason(String reason) {
+    this.reason = reason;
+  }
+
+  public void unsetReason() {
+    this.reason = null;
+  }
+
+  /** Returns true if field reason is set (has been assigned a value) and false otherwise */
+  public boolean isSetReason() {
+    return this.reason != null;
+  }
+
+  public void setReasonIsSet(boolean value) {
+    if (!value) {
+      this.reason = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case JOB_STATE:
+      if (value == null) {
+        unsetJobState();
+      } else {
+        setJobState((JobState)value);
+      }
+      break;
+
+    case TIME_OF_STATE_CHANGE:
+      if (value == null) {
+        unsetTimeOfStateChange();
+      } else {
+        setTimeOfStateChange((Long)value);
+      }
+      break;
+
+    case REASON:
+      if (value == null) {
+        unsetReason();
+      } else {
+        setReason((String)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case JOB_STATE:
+      return getJobState();
+
+    case TIME_OF_STATE_CHANGE:
+      return Long.valueOf(getTimeOfStateChange());
+
+    case REASON:
+      return getReason();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case JOB_STATE:
+      return isSetJobState();
+    case TIME_OF_STATE_CHANGE:
+      return isSetTimeOfStateChange();
+    case REASON:
+      return isSetReason();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof JobStatus)
+      return this.equals((JobStatus)that);
+    return false;
+  }
+
+  public boolean equals(JobStatus that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_jobState = true && this.isSetJobState();
+    boolean that_present_jobState = true && that.isSetJobState();
+    if (this_present_jobState || that_present_jobState) {
+      if (!(this_present_jobState && that_present_jobState))
+        return false;
+      if (!this.jobState.equals(that.jobState))
+        return false;
+    }
+
+    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
+    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
+    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
+      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
+        return false;
+      if (this.timeOfStateChange != that.timeOfStateChange)
+        return false;
+    }
+
+    boolean this_present_reason = true && this.isSetReason();
+    boolean that_present_reason = true && that.isSetReason();
+    if (this_present_reason || that_present_reason) {
+      if (!(this_present_reason && that_present_reason))
+        return false;
+      if (!this.reason.equals(that.reason))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_jobState = true && (isSetJobState());
+    list.add(present_jobState);
+    if (present_jobState)
+      list.add(jobState.getValue());
+
+    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
+    list.add(present_timeOfStateChange);
+    if (present_timeOfStateChange)
+      list.add(timeOfStateChange);
+
+    boolean present_reason = true && (isSetReason());
+    list.add(present_reason);
+    if (present_reason)
+      list.add(reason);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(JobStatus other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetJobState()).compareTo(other.isSetJobState());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetJobState()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobState, other.jobState);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTimeOfStateChange()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetReason()).compareTo(other.isSetReason());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetReason()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reason, other.reason);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("JobStatus(");
+    boolean first = true;
+
+    sb.append("jobState:");
+    if (this.jobState == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.jobState);
+    }
+    first = false;
+    if (isSetTimeOfStateChange()) {
+      if (!first) sb.append(", ");
+      sb.append("timeOfStateChange:");
+      sb.append(this.timeOfStateChange);
+      first = false;
+    }
+    if (isSetReason()) {
+      if (!first) sb.append(", ");
+      sb.append("reason:");
+      if (this.reason == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.reason);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetJobState()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobState' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class JobStatusStandardSchemeFactory implements SchemeFactory {
+    public JobStatusStandardScheme getScheme() {
+      return new JobStatusStandardScheme();
+    }
+  }
+
+  private static class JobStatusStandardScheme extends StandardScheme<JobStatus> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, JobStatus struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // JOB_STATE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.jobState = org.apache.airavata.model.status.JobState.findByValue(iprot.readI32());
+              struct.setJobStateIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // TIME_OF_STATE_CHANGE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.timeOfStateChange = iprot.readI64();
+              struct.setTimeOfStateChangeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // REASON
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.reason = iprot.readString();
+              struct.setReasonIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, JobStatus struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.jobState != null) {
+        oprot.writeFieldBegin(JOB_STATE_FIELD_DESC);
+        oprot.writeI32(struct.jobState.getValue());
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetTimeOfStateChange()) {
+        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
+        oprot.writeI64(struct.timeOfStateChange);
+        oprot.writeFieldEnd();
+      }
+      if (struct.reason != null) {
+        if (struct.isSetReason()) {
+          oprot.writeFieldBegin(REASON_FIELD_DESC);
+          oprot.writeString(struct.reason);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class JobStatusTupleSchemeFactory implements SchemeFactory {
+    public JobStatusTupleScheme getScheme() {
+      return new JobStatusTupleScheme();
+    }
+  }
+
+  private static class JobStatusTupleScheme extends TupleScheme<JobStatus> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, JobStatus struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeI32(struct.jobState.getValue());
+      BitSet optionals = new BitSet();
+      if (struct.isSetTimeOfStateChange()) {
+        optionals.set(0);
+      }
+      if (struct.isSetReason()) {
+        optionals.set(1);
+      }
+      oprot.writeBitSet(optionals, 2);
+      if (struct.isSetTimeOfStateChange()) {
+        oprot.writeI64(struct.timeOfStateChange);
+      }
+      if (struct.isSetReason()) {
+        oprot.writeString(struct.reason);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, JobStatus struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.jobState = org.apache.airavata.model.status.JobState.findByValue(iprot.readI32());
+      struct.setJobStateIsSet(true);
+      BitSet incoming = iprot.readBitSet(2);
+      if (incoming.get(0)) {
+        struct.timeOfStateChange = iprot.readI64();
+        struct.setTimeOfStateChangeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.reason = iprot.readString();
+        struct.setReasonIsSet(true);
+      }
+    }
+  }
+
+}
+


[28/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
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;
-    }
-  }
-}


[20/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentStatistics.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentStatistics.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentStatistics.java
new file mode 100644
index 0000000..9c75bd7
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentStatistics.java
@@ -0,0 +1,1332 @@
+/**
+ * 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.experiment;
+
+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"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ExperimentStatistics implements org.apache.thrift.TBase<ExperimentStatistics, ExperimentStatistics._Fields>, java.io.Serializable, Cloneable, Comparable<ExperimentStatistics> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExperimentStatistics");
+
+  private static final org.apache.thrift.protocol.TField ALL_EXPERIMENT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("allExperimentCount", org.apache.thrift.protocol.TType.I32, (short)1);
+  private static final org.apache.thrift.protocol.TField COMPLETED_EXPERIMENT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("completedExperimentCount", org.apache.thrift.protocol.TType.I32, (short)2);
+  private static final org.apache.thrift.protocol.TField CANCELLED_EXPERIMENT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("cancelledExperimentCount", org.apache.thrift.protocol.TType.I32, (short)3);
+  private static final org.apache.thrift.protocol.TField FAILED_EXPERIMENT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("failedExperimentCount", org.apache.thrift.protocol.TType.I32, (short)4);
+  private static final org.apache.thrift.protocol.TField ALL_EXPERIMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("allExperiments", org.apache.thrift.protocol.TType.LIST, (short)5);
+  private static final org.apache.thrift.protocol.TField COMPLETED_EXPERIMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("completedExperiments", org.apache.thrift.protocol.TType.LIST, (short)6);
+  private static final org.apache.thrift.protocol.TField FAILED_EXPERIMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("failedExperiments", org.apache.thrift.protocol.TType.LIST, (short)7);
+  private static final org.apache.thrift.protocol.TField CANCELLED_EXPERIMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("cancelledExperiments", org.apache.thrift.protocol.TType.LIST, (short)8);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ExperimentStatisticsStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ExperimentStatisticsTupleSchemeFactory());
+  }
+
+  private int allExperimentCount; // required
+  private int completedExperimentCount; // required
+  private int cancelledExperimentCount; // optional
+  private int failedExperimentCount; // required
+  private List<ExperimentSummaryModel> allExperiments; // required
+  private List<ExperimentSummaryModel> completedExperiments; // optional
+  private List<ExperimentSummaryModel> failedExperiments; // optional
+  private List<ExperimentSummaryModel> cancelledExperiments; // 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 {
+    ALL_EXPERIMENT_COUNT((short)1, "allExperimentCount"),
+    COMPLETED_EXPERIMENT_COUNT((short)2, "completedExperimentCount"),
+    CANCELLED_EXPERIMENT_COUNT((short)3, "cancelledExperimentCount"),
+    FAILED_EXPERIMENT_COUNT((short)4, "failedExperimentCount"),
+    ALL_EXPERIMENTS((short)5, "allExperiments"),
+    COMPLETED_EXPERIMENTS((short)6, "completedExperiments"),
+    FAILED_EXPERIMENTS((short)7, "failedExperiments"),
+    CANCELLED_EXPERIMENTS((short)8, "cancelledExperiments");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // ALL_EXPERIMENT_COUNT
+          return ALL_EXPERIMENT_COUNT;
+        case 2: // COMPLETED_EXPERIMENT_COUNT
+          return COMPLETED_EXPERIMENT_COUNT;
+        case 3: // CANCELLED_EXPERIMENT_COUNT
+          return CANCELLED_EXPERIMENT_COUNT;
+        case 4: // FAILED_EXPERIMENT_COUNT
+          return FAILED_EXPERIMENT_COUNT;
+        case 5: // ALL_EXPERIMENTS
+          return ALL_EXPERIMENTS;
+        case 6: // COMPLETED_EXPERIMENTS
+          return COMPLETED_EXPERIMENTS;
+        case 7: // FAILED_EXPERIMENTS
+          return FAILED_EXPERIMENTS;
+        case 8: // CANCELLED_EXPERIMENTS
+          return CANCELLED_EXPERIMENTS;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __ALLEXPERIMENTCOUNT_ISSET_ID = 0;
+  private static final int __COMPLETEDEXPERIMENTCOUNT_ISSET_ID = 1;
+  private static final int __CANCELLEDEXPERIMENTCOUNT_ISSET_ID = 2;
+  private static final int __FAILEDEXPERIMENTCOUNT_ISSET_ID = 3;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.CANCELLED_EXPERIMENT_COUNT,_Fields.COMPLETED_EXPERIMENTS,_Fields.FAILED_EXPERIMENTS,_Fields.CANCELLED_EXPERIMENTS};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.ALL_EXPERIMENT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("allExperimentCount", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.COMPLETED_EXPERIMENT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("completedExperimentCount", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.CANCELLED_EXPERIMENT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("cancelledExperimentCount", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.FAILED_EXPERIMENT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("failedExperimentCount", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.ALL_EXPERIMENTS, new org.apache.thrift.meta_data.FieldMetaData("allExperiments", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        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, ExperimentSummaryModel.class))));
+    tmpMap.put(_Fields.COMPLETED_EXPERIMENTS, new org.apache.thrift.meta_data.FieldMetaData("completedExperiments", 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, ExperimentSummaryModel.class))));
+    tmpMap.put(_Fields.FAILED_EXPERIMENTS, new org.apache.thrift.meta_data.FieldMetaData("failedExperiments", 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, ExperimentSummaryModel.class))));
+    tmpMap.put(_Fields.CANCELLED_EXPERIMENTS, new org.apache.thrift.meta_data.FieldMetaData("cancelledExperiments", 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, ExperimentSummaryModel.class))));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ExperimentStatistics.class, metaDataMap);
+  }
+
+  public ExperimentStatistics() {
+  }
+
+  public ExperimentStatistics(
+    int allExperimentCount,
+    int completedExperimentCount,
+    int failedExperimentCount,
+    List<ExperimentSummaryModel> allExperiments)
+  {
+    this();
+    this.allExperimentCount = allExperimentCount;
+    setAllExperimentCountIsSet(true);
+    this.completedExperimentCount = completedExperimentCount;
+    setCompletedExperimentCountIsSet(true);
+    this.failedExperimentCount = failedExperimentCount;
+    setFailedExperimentCountIsSet(true);
+    this.allExperiments = allExperiments;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ExperimentStatistics(ExperimentStatistics other) {
+    __isset_bitfield = other.__isset_bitfield;
+    this.allExperimentCount = other.allExperimentCount;
+    this.completedExperimentCount = other.completedExperimentCount;
+    this.cancelledExperimentCount = other.cancelledExperimentCount;
+    this.failedExperimentCount = other.failedExperimentCount;
+    if (other.isSetAllExperiments()) {
+      List<ExperimentSummaryModel> __this__allExperiments = new ArrayList<ExperimentSummaryModel>(other.allExperiments.size());
+      for (ExperimentSummaryModel other_element : other.allExperiments) {
+        __this__allExperiments.add(new ExperimentSummaryModel(other_element));
+      }
+      this.allExperiments = __this__allExperiments;
+    }
+    if (other.isSetCompletedExperiments()) {
+      List<ExperimentSummaryModel> __this__completedExperiments = new ArrayList<ExperimentSummaryModel>(other.completedExperiments.size());
+      for (ExperimentSummaryModel other_element : other.completedExperiments) {
+        __this__completedExperiments.add(new ExperimentSummaryModel(other_element));
+      }
+      this.completedExperiments = __this__completedExperiments;
+    }
+    if (other.isSetFailedExperiments()) {
+      List<ExperimentSummaryModel> __this__failedExperiments = new ArrayList<ExperimentSummaryModel>(other.failedExperiments.size());
+      for (ExperimentSummaryModel other_element : other.failedExperiments) {
+        __this__failedExperiments.add(new ExperimentSummaryModel(other_element));
+      }
+      this.failedExperiments = __this__failedExperiments;
+    }
+    if (other.isSetCancelledExperiments()) {
+      List<ExperimentSummaryModel> __this__cancelledExperiments = new ArrayList<ExperimentSummaryModel>(other.cancelledExperiments.size());
+      for (ExperimentSummaryModel other_element : other.cancelledExperiments) {
+        __this__cancelledExperiments.add(new ExperimentSummaryModel(other_element));
+      }
+      this.cancelledExperiments = __this__cancelledExperiments;
+    }
+  }
+
+  public ExperimentStatistics deepCopy() {
+    return new ExperimentStatistics(this);
+  }
+
+  @Override
+  public void clear() {
+    setAllExperimentCountIsSet(false);
+    this.allExperimentCount = 0;
+    setCompletedExperimentCountIsSet(false);
+    this.completedExperimentCount = 0;
+    setCancelledExperimentCountIsSet(false);
+    this.cancelledExperimentCount = 0;
+    setFailedExperimentCountIsSet(false);
+    this.failedExperimentCount = 0;
+    this.allExperiments = null;
+    this.completedExperiments = null;
+    this.failedExperiments = null;
+    this.cancelledExperiments = null;
+  }
+
+  public int getAllExperimentCount() {
+    return this.allExperimentCount;
+  }
+
+  public void setAllExperimentCount(int allExperimentCount) {
+    this.allExperimentCount = allExperimentCount;
+    setAllExperimentCountIsSet(true);
+  }
+
+  public void unsetAllExperimentCount() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ALLEXPERIMENTCOUNT_ISSET_ID);
+  }
+
+  /** Returns true if field allExperimentCount is set (has been assigned a value) and false otherwise */
+  public boolean isSetAllExperimentCount() {
+    return EncodingUtils.testBit(__isset_bitfield, __ALLEXPERIMENTCOUNT_ISSET_ID);
+  }
+
+  public void setAllExperimentCountIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ALLEXPERIMENTCOUNT_ISSET_ID, value);
+  }
+
+  public int getCompletedExperimentCount() {
+    return this.completedExperimentCount;
+  }
+
+  public void setCompletedExperimentCount(int completedExperimentCount) {
+    this.completedExperimentCount = completedExperimentCount;
+    setCompletedExperimentCountIsSet(true);
+  }
+
+  public void unsetCompletedExperimentCount() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __COMPLETEDEXPERIMENTCOUNT_ISSET_ID);
+  }
+
+  /** Returns true if field completedExperimentCount is set (has been assigned a value) and false otherwise */
+  public boolean isSetCompletedExperimentCount() {
+    return EncodingUtils.testBit(__isset_bitfield, __COMPLETEDEXPERIMENTCOUNT_ISSET_ID);
+  }
+
+  public void setCompletedExperimentCountIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __COMPLETEDEXPERIMENTCOUNT_ISSET_ID, value);
+  }
+
+  public int getCancelledExperimentCount() {
+    return this.cancelledExperimentCount;
+  }
+
+  public void setCancelledExperimentCount(int cancelledExperimentCount) {
+    this.cancelledExperimentCount = cancelledExperimentCount;
+    setCancelledExperimentCountIsSet(true);
+  }
+
+  public void unsetCancelledExperimentCount() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CANCELLEDEXPERIMENTCOUNT_ISSET_ID);
+  }
+
+  /** Returns true if field cancelledExperimentCount is set (has been assigned a value) and false otherwise */
+  public boolean isSetCancelledExperimentCount() {
+    return EncodingUtils.testBit(__isset_bitfield, __CANCELLEDEXPERIMENTCOUNT_ISSET_ID);
+  }
+
+  public void setCancelledExperimentCountIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CANCELLEDEXPERIMENTCOUNT_ISSET_ID, value);
+  }
+
+  public int getFailedExperimentCount() {
+    return this.failedExperimentCount;
+  }
+
+  public void setFailedExperimentCount(int failedExperimentCount) {
+    this.failedExperimentCount = failedExperimentCount;
+    setFailedExperimentCountIsSet(true);
+  }
+
+  public void unsetFailedExperimentCount() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __FAILEDEXPERIMENTCOUNT_ISSET_ID);
+  }
+
+  /** Returns true if field failedExperimentCount is set (has been assigned a value) and false otherwise */
+  public boolean isSetFailedExperimentCount() {
+    return EncodingUtils.testBit(__isset_bitfield, __FAILEDEXPERIMENTCOUNT_ISSET_ID);
+  }
+
+  public void setFailedExperimentCountIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __FAILEDEXPERIMENTCOUNT_ISSET_ID, value);
+  }
+
+  public int getAllExperimentsSize() {
+    return (this.allExperiments == null) ? 0 : this.allExperiments.size();
+  }
+
+  public java.util.Iterator<ExperimentSummaryModel> getAllExperimentsIterator() {
+    return (this.allExperiments == null) ? null : this.allExperiments.iterator();
+  }
+
+  public void addToAllExperiments(ExperimentSummaryModel elem) {
+    if (this.allExperiments == null) {
+      this.allExperiments = new ArrayList<ExperimentSummaryModel>();
+    }
+    this.allExperiments.add(elem);
+  }
+
+  public List<ExperimentSummaryModel> getAllExperiments() {
+    return this.allExperiments;
+  }
+
+  public void setAllExperiments(List<ExperimentSummaryModel> allExperiments) {
+    this.allExperiments = allExperiments;
+  }
+
+  public void unsetAllExperiments() {
+    this.allExperiments = null;
+  }
+
+  /** Returns true if field allExperiments is set (has been assigned a value) and false otherwise */
+  public boolean isSetAllExperiments() {
+    return this.allExperiments != null;
+  }
+
+  public void setAllExperimentsIsSet(boolean value) {
+    if (!value) {
+      this.allExperiments = null;
+    }
+  }
+
+  public int getCompletedExperimentsSize() {
+    return (this.completedExperiments == null) ? 0 : this.completedExperiments.size();
+  }
+
+  public java.util.Iterator<ExperimentSummaryModel> getCompletedExperimentsIterator() {
+    return (this.completedExperiments == null) ? null : this.completedExperiments.iterator();
+  }
+
+  public void addToCompletedExperiments(ExperimentSummaryModel elem) {
+    if (this.completedExperiments == null) {
+      this.completedExperiments = new ArrayList<ExperimentSummaryModel>();
+    }
+    this.completedExperiments.add(elem);
+  }
+
+  public List<ExperimentSummaryModel> getCompletedExperiments() {
+    return this.completedExperiments;
+  }
+
+  public void setCompletedExperiments(List<ExperimentSummaryModel> completedExperiments) {
+    this.completedExperiments = completedExperiments;
+  }
+
+  public void unsetCompletedExperiments() {
+    this.completedExperiments = null;
+  }
+
+  /** Returns true if field completedExperiments is set (has been assigned a value) and false otherwise */
+  public boolean isSetCompletedExperiments() {
+    return this.completedExperiments != null;
+  }
+
+  public void setCompletedExperimentsIsSet(boolean value) {
+    if (!value) {
+      this.completedExperiments = null;
+    }
+  }
+
+  public int getFailedExperimentsSize() {
+    return (this.failedExperiments == null) ? 0 : this.failedExperiments.size();
+  }
+
+  public java.util.Iterator<ExperimentSummaryModel> getFailedExperimentsIterator() {
+    return (this.failedExperiments == null) ? null : this.failedExperiments.iterator();
+  }
+
+  public void addToFailedExperiments(ExperimentSummaryModel elem) {
+    if (this.failedExperiments == null) {
+      this.failedExperiments = new ArrayList<ExperimentSummaryModel>();
+    }
+    this.failedExperiments.add(elem);
+  }
+
+  public List<ExperimentSummaryModel> getFailedExperiments() {
+    return this.failedExperiments;
+  }
+
+  public void setFailedExperiments(List<ExperimentSummaryModel> failedExperiments) {
+    this.failedExperiments = failedExperiments;
+  }
+
+  public void unsetFailedExperiments() {
+    this.failedExperiments = null;
+  }
+
+  /** Returns true if field failedExperiments is set (has been assigned a value) and false otherwise */
+  public boolean isSetFailedExperiments() {
+    return this.failedExperiments != null;
+  }
+
+  public void setFailedExperimentsIsSet(boolean value) {
+    if (!value) {
+      this.failedExperiments = null;
+    }
+  }
+
+  public int getCancelledExperimentsSize() {
+    return (this.cancelledExperiments == null) ? 0 : this.cancelledExperiments.size();
+  }
+
+  public java.util.Iterator<ExperimentSummaryModel> getCancelledExperimentsIterator() {
+    return (this.cancelledExperiments == null) ? null : this.cancelledExperiments.iterator();
+  }
+
+  public void addToCancelledExperiments(ExperimentSummaryModel elem) {
+    if (this.cancelledExperiments == null) {
+      this.cancelledExperiments = new ArrayList<ExperimentSummaryModel>();
+    }
+    this.cancelledExperiments.add(elem);
+  }
+
+  public List<ExperimentSummaryModel> getCancelledExperiments() {
+    return this.cancelledExperiments;
+  }
+
+  public void setCancelledExperiments(List<ExperimentSummaryModel> cancelledExperiments) {
+    this.cancelledExperiments = cancelledExperiments;
+  }
+
+  public void unsetCancelledExperiments() {
+    this.cancelledExperiments = null;
+  }
+
+  /** Returns true if field cancelledExperiments is set (has been assigned a value) and false otherwise */
+  public boolean isSetCancelledExperiments() {
+    return this.cancelledExperiments != null;
+  }
+
+  public void setCancelledExperimentsIsSet(boolean value) {
+    if (!value) {
+      this.cancelledExperiments = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case ALL_EXPERIMENT_COUNT:
+      if (value == null) {
+        unsetAllExperimentCount();
+      } else {
+        setAllExperimentCount((Integer)value);
+      }
+      break;
+
+    case COMPLETED_EXPERIMENT_COUNT:
+      if (value == null) {
+        unsetCompletedExperimentCount();
+      } else {
+        setCompletedExperimentCount((Integer)value);
+      }
+      break;
+
+    case CANCELLED_EXPERIMENT_COUNT:
+      if (value == null) {
+        unsetCancelledExperimentCount();
+      } else {
+        setCancelledExperimentCount((Integer)value);
+      }
+      break;
+
+    case FAILED_EXPERIMENT_COUNT:
+      if (value == null) {
+        unsetFailedExperimentCount();
+      } else {
+        setFailedExperimentCount((Integer)value);
+      }
+      break;
+
+    case ALL_EXPERIMENTS:
+      if (value == null) {
+        unsetAllExperiments();
+      } else {
+        setAllExperiments((List<ExperimentSummaryModel>)value);
+      }
+      break;
+
+    case COMPLETED_EXPERIMENTS:
+      if (value == null) {
+        unsetCompletedExperiments();
+      } else {
+        setCompletedExperiments((List<ExperimentSummaryModel>)value);
+      }
+      break;
+
+    case FAILED_EXPERIMENTS:
+      if (value == null) {
+        unsetFailedExperiments();
+      } else {
+        setFailedExperiments((List<ExperimentSummaryModel>)value);
+      }
+      break;
+
+    case CANCELLED_EXPERIMENTS:
+      if (value == null) {
+        unsetCancelledExperiments();
+      } else {
+        setCancelledExperiments((List<ExperimentSummaryModel>)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case ALL_EXPERIMENT_COUNT:
+      return Integer.valueOf(getAllExperimentCount());
+
+    case COMPLETED_EXPERIMENT_COUNT:
+      return Integer.valueOf(getCompletedExperimentCount());
+
+    case CANCELLED_EXPERIMENT_COUNT:
+      return Integer.valueOf(getCancelledExperimentCount());
+
+    case FAILED_EXPERIMENT_COUNT:
+      return Integer.valueOf(getFailedExperimentCount());
+
+    case ALL_EXPERIMENTS:
+      return getAllExperiments();
+
+    case COMPLETED_EXPERIMENTS:
+      return getCompletedExperiments();
+
+    case FAILED_EXPERIMENTS:
+      return getFailedExperiments();
+
+    case CANCELLED_EXPERIMENTS:
+      return getCancelledExperiments();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case ALL_EXPERIMENT_COUNT:
+      return isSetAllExperimentCount();
+    case COMPLETED_EXPERIMENT_COUNT:
+      return isSetCompletedExperimentCount();
+    case CANCELLED_EXPERIMENT_COUNT:
+      return isSetCancelledExperimentCount();
+    case FAILED_EXPERIMENT_COUNT:
+      return isSetFailedExperimentCount();
+    case ALL_EXPERIMENTS:
+      return isSetAllExperiments();
+    case COMPLETED_EXPERIMENTS:
+      return isSetCompletedExperiments();
+    case FAILED_EXPERIMENTS:
+      return isSetFailedExperiments();
+    case CANCELLED_EXPERIMENTS:
+      return isSetCancelledExperiments();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ExperimentStatistics)
+      return this.equals((ExperimentStatistics)that);
+    return false;
+  }
+
+  public boolean equals(ExperimentStatistics that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_allExperimentCount = true;
+    boolean that_present_allExperimentCount = true;
+    if (this_present_allExperimentCount || that_present_allExperimentCount) {
+      if (!(this_present_allExperimentCount && that_present_allExperimentCount))
+        return false;
+      if (this.allExperimentCount != that.allExperimentCount)
+        return false;
+    }
+
+    boolean this_present_completedExperimentCount = true;
+    boolean that_present_completedExperimentCount = true;
+    if (this_present_completedExperimentCount || that_present_completedExperimentCount) {
+      if (!(this_present_completedExperimentCount && that_present_completedExperimentCount))
+        return false;
+      if (this.completedExperimentCount != that.completedExperimentCount)
+        return false;
+    }
+
+    boolean this_present_cancelledExperimentCount = true && this.isSetCancelledExperimentCount();
+    boolean that_present_cancelledExperimentCount = true && that.isSetCancelledExperimentCount();
+    if (this_present_cancelledExperimentCount || that_present_cancelledExperimentCount) {
+      if (!(this_present_cancelledExperimentCount && that_present_cancelledExperimentCount))
+        return false;
+      if (this.cancelledExperimentCount != that.cancelledExperimentCount)
+        return false;
+    }
+
+    boolean this_present_failedExperimentCount = true;
+    boolean that_present_failedExperimentCount = true;
+    if (this_present_failedExperimentCount || that_present_failedExperimentCount) {
+      if (!(this_present_failedExperimentCount && that_present_failedExperimentCount))
+        return false;
+      if (this.failedExperimentCount != that.failedExperimentCount)
+        return false;
+    }
+
+    boolean this_present_allExperiments = true && this.isSetAllExperiments();
+    boolean that_present_allExperiments = true && that.isSetAllExperiments();
+    if (this_present_allExperiments || that_present_allExperiments) {
+      if (!(this_present_allExperiments && that_present_allExperiments))
+        return false;
+      if (!this.allExperiments.equals(that.allExperiments))
+        return false;
+    }
+
+    boolean this_present_completedExperiments = true && this.isSetCompletedExperiments();
+    boolean that_present_completedExperiments = true && that.isSetCompletedExperiments();
+    if (this_present_completedExperiments || that_present_completedExperiments) {
+      if (!(this_present_completedExperiments && that_present_completedExperiments))
+        return false;
+      if (!this.completedExperiments.equals(that.completedExperiments))
+        return false;
+    }
+
+    boolean this_present_failedExperiments = true && this.isSetFailedExperiments();
+    boolean that_present_failedExperiments = true && that.isSetFailedExperiments();
+    if (this_present_failedExperiments || that_present_failedExperiments) {
+      if (!(this_present_failedExperiments && that_present_failedExperiments))
+        return false;
+      if (!this.failedExperiments.equals(that.failedExperiments))
+        return false;
+    }
+
+    boolean this_present_cancelledExperiments = true && this.isSetCancelledExperiments();
+    boolean that_present_cancelledExperiments = true && that.isSetCancelledExperiments();
+    if (this_present_cancelledExperiments || that_present_cancelledExperiments) {
+      if (!(this_present_cancelledExperiments && that_present_cancelledExperiments))
+        return false;
+      if (!this.cancelledExperiments.equals(that.cancelledExperiments))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_allExperimentCount = true;
+    list.add(present_allExperimentCount);
+    if (present_allExperimentCount)
+      list.add(allExperimentCount);
+
+    boolean present_completedExperimentCount = true;
+    list.add(present_completedExperimentCount);
+    if (present_completedExperimentCount)
+      list.add(completedExperimentCount);
+
+    boolean present_cancelledExperimentCount = true && (isSetCancelledExperimentCount());
+    list.add(present_cancelledExperimentCount);
+    if (present_cancelledExperimentCount)
+      list.add(cancelledExperimentCount);
+
+    boolean present_failedExperimentCount = true;
+    list.add(present_failedExperimentCount);
+    if (present_failedExperimentCount)
+      list.add(failedExperimentCount);
+
+    boolean present_allExperiments = true && (isSetAllExperiments());
+    list.add(present_allExperiments);
+    if (present_allExperiments)
+      list.add(allExperiments);
+
+    boolean present_completedExperiments = true && (isSetCompletedExperiments());
+    list.add(present_completedExperiments);
+    if (present_completedExperiments)
+      list.add(completedExperiments);
+
+    boolean present_failedExperiments = true && (isSetFailedExperiments());
+    list.add(present_failedExperiments);
+    if (present_failedExperiments)
+      list.add(failedExperiments);
+
+    boolean present_cancelledExperiments = true && (isSetCancelledExperiments());
+    list.add(present_cancelledExperiments);
+    if (present_cancelledExperiments)
+      list.add(cancelledExperiments);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ExperimentStatistics other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetAllExperimentCount()).compareTo(other.isSetAllExperimentCount());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetAllExperimentCount()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.allExperimentCount, other.allExperimentCount);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCompletedExperimentCount()).compareTo(other.isSetCompletedExperimentCount());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCompletedExperimentCount()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.completedExperimentCount, other.completedExperimentCount);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCancelledExperimentCount()).compareTo(other.isSetCancelledExperimentCount());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCancelledExperimentCount()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cancelledExperimentCount, other.cancelledExperimentCount);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetFailedExperimentCount()).compareTo(other.isSetFailedExperimentCount());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetFailedExperimentCount()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.failedExperimentCount, other.failedExperimentCount);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetAllExperiments()).compareTo(other.isSetAllExperiments());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetAllExperiments()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.allExperiments, other.allExperiments);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCompletedExperiments()).compareTo(other.isSetCompletedExperiments());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCompletedExperiments()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.completedExperiments, other.completedExperiments);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetFailedExperiments()).compareTo(other.isSetFailedExperiments());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetFailedExperiments()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.failedExperiments, other.failedExperiments);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCancelledExperiments()).compareTo(other.isSetCancelledExperiments());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCancelledExperiments()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cancelledExperiments, other.cancelledExperiments);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ExperimentStatistics(");
+    boolean first = true;
+
+    sb.append("allExperimentCount:");
+    sb.append(this.allExperimentCount);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("completedExperimentCount:");
+    sb.append(this.completedExperimentCount);
+    first = false;
+    if (isSetCancelledExperimentCount()) {
+      if (!first) sb.append(", ");
+      sb.append("cancelledExperimentCount:");
+      sb.append(this.cancelledExperimentCount);
+      first = false;
+    }
+    if (!first) sb.append(", ");
+    sb.append("failedExperimentCount:");
+    sb.append(this.failedExperimentCount);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("allExperiments:");
+    if (this.allExperiments == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.allExperiments);
+    }
+    first = false;
+    if (isSetCompletedExperiments()) {
+      if (!first) sb.append(", ");
+      sb.append("completedExperiments:");
+      if (this.completedExperiments == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.completedExperiments);
+      }
+      first = false;
+    }
+    if (isSetFailedExperiments()) {
+      if (!first) sb.append(", ");
+      sb.append("failedExperiments:");
+      if (this.failedExperiments == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.failedExperiments);
+      }
+      first = false;
+    }
+    if (isSetCancelledExperiments()) {
+      if (!first) sb.append(", ");
+      sb.append("cancelledExperiments:");
+      if (this.cancelledExperiments == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.cancelledExperiments);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetAllExperimentCount()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'allExperimentCount' is unset! Struct:" + toString());
+    }
+
+    if (!isSetCompletedExperimentCount()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'completedExperimentCount' is unset! Struct:" + toString());
+    }
+
+    if (!isSetFailedExperimentCount()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'failedExperimentCount' is unset! Struct:" + toString());
+    }
+
+    if (!isSetAllExperiments()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'allExperiments' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ExperimentStatisticsStandardSchemeFactory implements SchemeFactory {
+    public ExperimentStatisticsStandardScheme getScheme() {
+      return new ExperimentStatisticsStandardScheme();
+    }
+  }
+
+  private static class ExperimentStatisticsStandardScheme extends StandardScheme<ExperimentStatistics> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ExperimentStatistics struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // ALL_EXPERIMENT_COUNT
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.allExperimentCount = iprot.readI32();
+              struct.setAllExperimentCountIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // COMPLETED_EXPERIMENT_COUNT
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.completedExperimentCount = iprot.readI32();
+              struct.setCompletedExperimentCountIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // CANCELLED_EXPERIMENT_COUNT
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.cancelledExperimentCount = iprot.readI32();
+              struct.setCancelledExperimentCountIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // FAILED_EXPERIMENT_COUNT
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.failedExperimentCount = iprot.readI32();
+              struct.setFailedExperimentCountIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // ALL_EXPERIMENTS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list32 = iprot.readListBegin();
+                struct.allExperiments = new ArrayList<ExperimentSummaryModel>(_list32.size);
+                ExperimentSummaryModel _elem33;
+                for (int _i34 = 0; _i34 < _list32.size; ++_i34)
+                {
+                  _elem33 = new ExperimentSummaryModel();
+                  _elem33.read(iprot);
+                  struct.allExperiments.add(_elem33);
+                }
+                iprot.readListEnd();
+              }
+              struct.setAllExperimentsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // COMPLETED_EXPERIMENTS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list35 = iprot.readListBegin();
+                struct.completedExperiments = new ArrayList<ExperimentSummaryModel>(_list35.size);
+                ExperimentSummaryModel _elem36;
+                for (int _i37 = 0; _i37 < _list35.size; ++_i37)
+                {
+                  _elem36 = new ExperimentSummaryModel();
+                  _elem36.read(iprot);
+                  struct.completedExperiments.add(_elem36);
+                }
+                iprot.readListEnd();
+              }
+              struct.setCompletedExperimentsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // FAILED_EXPERIMENTS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list38 = iprot.readListBegin();
+                struct.failedExperiments = new ArrayList<ExperimentSummaryModel>(_list38.size);
+                ExperimentSummaryModel _elem39;
+                for (int _i40 = 0; _i40 < _list38.size; ++_i40)
+                {
+                  _elem39 = new ExperimentSummaryModel();
+                  _elem39.read(iprot);
+                  struct.failedExperiments.add(_elem39);
+                }
+                iprot.readListEnd();
+              }
+              struct.setFailedExperimentsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 8: // CANCELLED_EXPERIMENTS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list41 = iprot.readListBegin();
+                struct.cancelledExperiments = new ArrayList<ExperimentSummaryModel>(_list41.size);
+                ExperimentSummaryModel _elem42;
+                for (int _i43 = 0; _i43 < _list41.size; ++_i43)
+                {
+                  _elem42 = new ExperimentSummaryModel();
+                  _elem42.read(iprot);
+                  struct.cancelledExperiments.add(_elem42);
+                }
+                iprot.readListEnd();
+              }
+              struct.setCancelledExperimentsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ExperimentStatistics struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      oprot.writeFieldBegin(ALL_EXPERIMENT_COUNT_FIELD_DESC);
+      oprot.writeI32(struct.allExperimentCount);
+      oprot.writeFieldEnd();
+      oprot.writeFieldBegin(COMPLETED_EXPERIMENT_COUNT_FIELD_DESC);
+      oprot.writeI32(struct.completedExperimentCount);
+      oprot.writeFieldEnd();
+      if (struct.isSetCancelledExperimentCount()) {
+        oprot.writeFieldBegin(CANCELLED_EXPERIMENT_COUNT_FIELD_DESC);
+        oprot.writeI32(struct.cancelledExperimentCount);
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldBegin(FAILED_EXPERIMENT_COUNT_FIELD_DESC);
+      oprot.writeI32(struct.failedExperimentCount);
+      oprot.writeFieldEnd();
+      if (struct.allExperiments != null) {
+        oprot.writeFieldBegin(ALL_EXPERIMENTS_FIELD_DESC);
+        {
+          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.allExperiments.size()));
+          for (ExperimentSummaryModel _iter44 : struct.allExperiments)
+          {
+            _iter44.write(oprot);
+          }
+          oprot.writeListEnd();
+        }
+        oprot.writeFieldEnd();
+      }
+      if (struct.completedExperiments != null) {
+        if (struct.isSetCompletedExperiments()) {
+          oprot.writeFieldBegin(COMPLETED_EXPERIMENTS_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.completedExperiments.size()));
+            for (ExperimentSummaryModel _iter45 : struct.completedExperiments)
+            {
+              _iter45.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.failedExperiments != null) {
+        if (struct.isSetFailedExperiments()) {
+          oprot.writeFieldBegin(FAILED_EXPERIMENTS_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.failedExperiments.size()));
+            for (ExperimentSummaryModel _iter46 : struct.failedExperiments)
+            {
+              _iter46.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.cancelledExperiments != null) {
+        if (struct.isSetCancelledExperiments()) {
+          oprot.writeFieldBegin(CANCELLED_EXPERIMENTS_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cancelledExperiments.size()));
+            for (ExperimentSummaryModel _iter47 : struct.cancelledExperiments)
+            {
+              _iter47.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ExperimentStatisticsTupleSchemeFactory implements SchemeFactory {
+    public ExperimentStatisticsTupleScheme getScheme() {
+      return new ExperimentStatisticsTupleScheme();
+    }
+  }
+
+  private static class ExperimentStatisticsTupleScheme extends TupleScheme<ExperimentStatistics> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ExperimentStatistics struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeI32(struct.allExperimentCount);
+      oprot.writeI32(struct.completedExperimentCount);
+      oprot.writeI32(struct.failedExperimentCount);
+      {
+        oprot.writeI32(struct.allExperiments.size());
+        for (ExperimentSummaryModel _iter48 : struct.allExperiments)
+        {
+          _iter48.write(oprot);
+        }
+      }
+      BitSet optionals = new BitSet();
+      if (struct.isSetCancelledExperimentCount()) {
+        optionals.set(0);
+      }
+      if (struct.isSetCompletedExperiments()) {
+        optionals.set(1);
+      }
+      if (struct.isSetFailedExperiments()) {
+        optionals.set(2);
+      }
+      if (struct.isSetCancelledExperiments()) {
+        optionals.set(3);
+      }
+      oprot.writeBitSet(optionals, 4);
+      if (struct.isSetCancelledExperimentCount()) {
+        oprot.writeI32(struct.cancelledExperimentCount);
+      }
+      if (struct.isSetCompletedExperiments()) {
+        {
+          oprot.writeI32(struct.completedExperiments.size());
+          for (ExperimentSummaryModel _iter49 : struct.completedExperiments)
+          {
+            _iter49.write(oprot);
+          }
+        }
+      }
+      if (struct.isSetFailedExperiments()) {
+        {
+          oprot.writeI32(struct.failedExperiments.size());
+          for (ExperimentSummaryModel _iter50 : struct.failedExperiments)
+          {
+            _iter50.write(oprot);
+          }
+        }
+      }
+      if (struct.isSetCancelledExperiments()) {
+        {
+          oprot.writeI32(struct.cancelledExperiments.size());
+          for (ExperimentSummaryModel _iter51 : struct.cancelledExperiments)
+          {
+            _iter51.write(oprot);
+          }
+        }
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ExperimentStatistics struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.allExperimentCount = iprot.readI32();
+      struct.setAllExperimentCountIsSet(true);
+      struct.completedExperimentCount = iprot.readI32();
+      struct.setCompletedExperimentCountIsSet(true);
+      struct.failedExperimentCount = iprot.readI32();
+      struct.setFailedExperimentCountIsSet(true);
+      {
+        org.apache.thrift.protocol.TList _list52 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+        struct.allExperiments = new ArrayList<ExperimentSummaryModel>(_list52.size);
+        ExperimentSummaryModel _elem53;
+        for (int _i54 = 0; _i54 < _list52.size; ++_i54)
+        {
+          _elem53 = new ExperimentSummaryModel();
+          _elem53.read(iprot);
+          struct.allExperiments.add(_elem53);
+        }
+      }
+      struct.setAllExperimentsIsSet(true);
+      BitSet incoming = iprot.readBitSet(4);
+      if (incoming.get(0)) {
+        struct.cancelledExperimentCount = iprot.readI32();
+        struct.setCancelledExperimentCountIsSet(true);
+      }
+      if (incoming.get(1)) {
+        {
+          org.apache.thrift.protocol.TList _list55 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.completedExperiments = new ArrayList<ExperimentSummaryModel>(_list55.size);
+          ExperimentSummaryModel _elem56;
+          for (int _i57 = 0; _i57 < _list55.size; ++_i57)
+          {
+            _elem56 = new ExperimentSummaryModel();
+            _elem56.read(iprot);
+            struct.completedExperiments.add(_elem56);
+          }
+        }
+        struct.setCompletedExperimentsIsSet(true);
+      }
+      if (incoming.get(2)) {
+        {
+          org.apache.thrift.protocol.TList _list58 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.failedExperiments = new ArrayList<ExperimentSummaryModel>(_list58.size);
+          ExperimentSummaryModel _elem59;
+          for (int _i60 = 0; _i60 < _list58.size; ++_i60)
+          {
+            _elem59 = new ExperimentSummaryModel();
+            _elem59.read(iprot);
+            struct.failedExperiments.add(_elem59);
+          }
+        }
+        struct.setFailedExperimentsIsSet(true);
+      }
+      if (incoming.get(3)) {
+        {
+          org.apache.thrift.protocol.TList _list61 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.cancelledExperiments = new ArrayList<ExperimentSummaryModel>(_list61.size);
+          ExperimentSummaryModel _elem62;
+          for (int _i63 = 0; _i63 < _list61.size; ++_i63)
+          {
+            _elem62 = new ExperimentSummaryModel();
+            _elem62.read(iprot);
+            struct.cancelledExperiments.add(_elem62);
+          }
+        }
+        struct.setCancelledExperimentsIsSet(true);
+      }
+    }
+  }
+
+}
+


[19/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentSummaryModel.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentSummaryModel.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentSummaryModel.java
new file mode 100644
index 0000000..ecc7492
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentSummaryModel.java
@@ -0,0 +1,1139 @@
+/**
+ * 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.experiment;
+
+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"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ExperimentSummaryModel implements org.apache.thrift.TBase<ExperimentSummaryModel, ExperimentSummaryModel._Fields>, java.io.Serializable, Cloneable, Comparable<ExperimentSummaryModel> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExperimentSummaryModel");
+
+  private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField PROJECT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("projectId", org.apache.thrift.protocol.TType.STRING, (short)2);
+  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)3);
+  private static final org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("userName", org.apache.thrift.protocol.TType.STRING, (short)4);
+  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)5);
+  private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)6);
+  private static final org.apache.thrift.protocol.TField APPLICATION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationId", org.apache.thrift.protocol.TType.STRING, (short)7);
+  private static final org.apache.thrift.protocol.TField EXPERIMENT_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentStatus", org.apache.thrift.protocol.TType.STRUCT, (short)8);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ExperimentSummaryModelStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ExperimentSummaryModelTupleSchemeFactory());
+  }
+
+  private String experimentId; // required
+  private String projectId; // required
+  private long creationTime; // optional
+  private String userName; // required
+  private String name; // required
+  private String description; // optional
+  private String applicationId; // optional
+  private org.apache.airavata.model.status.ExperimentStatus experimentStatus; // 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 {
+    EXPERIMENT_ID((short)1, "experimentId"),
+    PROJECT_ID((short)2, "projectId"),
+    CREATION_TIME((short)3, "creationTime"),
+    USER_NAME((short)4, "userName"),
+    NAME((short)5, "name"),
+    DESCRIPTION((short)6, "description"),
+    APPLICATION_ID((short)7, "applicationId"),
+    EXPERIMENT_STATUS((short)8, "experimentStatus");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // EXPERIMENT_ID
+          return EXPERIMENT_ID;
+        case 2: // PROJECT_ID
+          return PROJECT_ID;
+        case 3: // CREATION_TIME
+          return CREATION_TIME;
+        case 4: // USER_NAME
+          return USER_NAME;
+        case 5: // NAME
+          return NAME;
+        case 6: // DESCRIPTION
+          return DESCRIPTION;
+        case 7: // APPLICATION_ID
+          return APPLICATION_ID;
+        case 8: // EXPERIMENT_STATUS
+          return EXPERIMENT_STATUS;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __CREATIONTIME_ISSET_ID = 0;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.DESCRIPTION,_Fields.APPLICATION_ID,_Fields.EXPERIMENT_STATUS};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.PROJECT_ID, new org.apache.thrift.meta_data.FieldMetaData("projectId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("userName", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.APPLICATION_ID, new org.apache.thrift.meta_data.FieldMetaData("applicationId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.EXPERIMENT_STATUS, new org.apache.thrift.meta_data.FieldMetaData("experimentStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.status.ExperimentStatus.class)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ExperimentSummaryModel.class, metaDataMap);
+  }
+
+  public ExperimentSummaryModel() {
+  }
+
+  public ExperimentSummaryModel(
+    String experimentId,
+    String projectId,
+    String userName,
+    String name)
+  {
+    this();
+    this.experimentId = experimentId;
+    this.projectId = projectId;
+    this.userName = userName;
+    this.name = name;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ExperimentSummaryModel(ExperimentSummaryModel other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetExperimentId()) {
+      this.experimentId = other.experimentId;
+    }
+    if (other.isSetProjectId()) {
+      this.projectId = other.projectId;
+    }
+    this.creationTime = other.creationTime;
+    if (other.isSetUserName()) {
+      this.userName = other.userName;
+    }
+    if (other.isSetName()) {
+      this.name = other.name;
+    }
+    if (other.isSetDescription()) {
+      this.description = other.description;
+    }
+    if (other.isSetApplicationId()) {
+      this.applicationId = other.applicationId;
+    }
+    if (other.isSetExperimentStatus()) {
+      this.experimentStatus = new org.apache.airavata.model.status.ExperimentStatus(other.experimentStatus);
+    }
+  }
+
+  public ExperimentSummaryModel deepCopy() {
+    return new ExperimentSummaryModel(this);
+  }
+
+  @Override
+  public void clear() {
+    this.experimentId = null;
+    this.projectId = null;
+    setCreationTimeIsSet(false);
+    this.creationTime = 0;
+    this.userName = null;
+    this.name = null;
+    this.description = null;
+    this.applicationId = null;
+    this.experimentStatus = null;
+  }
+
+  public String getExperimentId() {
+    return this.experimentId;
+  }
+
+  public void setExperimentId(String experimentId) {
+    this.experimentId = experimentId;
+  }
+
+  public void unsetExperimentId() {
+    this.experimentId = null;
+  }
+
+  /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
+  public boolean isSetExperimentId() {
+    return this.experimentId != null;
+  }
+
+  public void setExperimentIdIsSet(boolean value) {
+    if (!value) {
+      this.experimentId = null;
+    }
+  }
+
+  public String getProjectId() {
+    return this.projectId;
+  }
+
+  public void setProjectId(String projectId) {
+    this.projectId = projectId;
+  }
+
+  public void unsetProjectId() {
+    this.projectId = null;
+  }
+
+  /** Returns true if field projectId is set (has been assigned a value) and false otherwise */
+  public boolean isSetProjectId() {
+    return this.projectId != null;
+  }
+
+  public void setProjectIdIsSet(boolean value) {
+    if (!value) {
+      this.projectId = null;
+    }
+  }
+
+  public long getCreationTime() {
+    return this.creationTime;
+  }
+
+  public void setCreationTime(long creationTime) {
+    this.creationTime = creationTime;
+    setCreationTimeIsSet(true);
+  }
+
+  public void unsetCreationTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetCreationTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  public void setCreationTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
+  }
+
+  public String getUserName() {
+    return this.userName;
+  }
+
+  public void setUserName(String userName) {
+    this.userName = userName;
+  }
+
+  public void unsetUserName() {
+    this.userName = null;
+  }
+
+  /** Returns true if field userName is set (has been assigned a value) and false otherwise */
+  public boolean isSetUserName() {
+    return this.userName != null;
+  }
+
+  public void setUserNameIsSet(boolean value) {
+    if (!value) {
+      this.userName = null;
+    }
+  }
+
+  public String getName() {
+    return this.name;
+  }
+
+  public void setName(String name) {
+    this.name = name;
+  }
+
+  public void unsetName() {
+    this.name = null;
+  }
+
+  /** Returns true if field name is set (has been assigned a value) and false otherwise */
+  public boolean isSetName() {
+    return this.name != null;
+  }
+
+  public void setNameIsSet(boolean value) {
+    if (!value) {
+      this.name = null;
+    }
+  }
+
+  public String getDescription() {
+    return this.description;
+  }
+
+  public void setDescription(String description) {
+    this.description = description;
+  }
+
+  public void unsetDescription() {
+    this.description = null;
+  }
+
+  /** Returns true if field description is set (has been assigned a value) and false otherwise */
+  public boolean isSetDescription() {
+    return this.description != null;
+  }
+
+  public void setDescriptionIsSet(boolean value) {
+    if (!value) {
+      this.description = null;
+    }
+  }
+
+  public String getApplicationId() {
+    return this.applicationId;
+  }
+
+  public void setApplicationId(String applicationId) {
+    this.applicationId = applicationId;
+  }
+
+  public void unsetApplicationId() {
+    this.applicationId = null;
+  }
+
+  /** Returns true if field applicationId is set (has been assigned a value) and false otherwise */
+  public boolean isSetApplicationId() {
+    return this.applicationId != null;
+  }
+
+  public void setApplicationIdIsSet(boolean value) {
+    if (!value) {
+      this.applicationId = null;
+    }
+  }
+
+  public org.apache.airavata.model.status.ExperimentStatus getExperimentStatus() {
+    return this.experimentStatus;
+  }
+
+  public void setExperimentStatus(org.apache.airavata.model.status.ExperimentStatus experimentStatus) {
+    this.experimentStatus = experimentStatus;
+  }
+
+  public void unsetExperimentStatus() {
+    this.experimentStatus = null;
+  }
+
+  /** Returns true if field experimentStatus is set (has been assigned a value) and false otherwise */
+  public boolean isSetExperimentStatus() {
+    return this.experimentStatus != null;
+  }
+
+  public void setExperimentStatusIsSet(boolean value) {
+    if (!value) {
+      this.experimentStatus = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case EXPERIMENT_ID:
+      if (value == null) {
+        unsetExperimentId();
+      } else {
+        setExperimentId((String)value);
+      }
+      break;
+
+    case PROJECT_ID:
+      if (value == null) {
+        unsetProjectId();
+      } else {
+        setProjectId((String)value);
+      }
+      break;
+
+    case CREATION_TIME:
+      if (value == null) {
+        unsetCreationTime();
+      } else {
+        setCreationTime((Long)value);
+      }
+      break;
+
+    case USER_NAME:
+      if (value == null) {
+        unsetUserName();
+      } else {
+        setUserName((String)value);
+      }
+      break;
+
+    case NAME:
+      if (value == null) {
+        unsetName();
+      } else {
+        setName((String)value);
+      }
+      break;
+
+    case DESCRIPTION:
+      if (value == null) {
+        unsetDescription();
+      } else {
+        setDescription((String)value);
+      }
+      break;
+
+    case APPLICATION_ID:
+      if (value == null) {
+        unsetApplicationId();
+      } else {
+        setApplicationId((String)value);
+      }
+      break;
+
+    case EXPERIMENT_STATUS:
+      if (value == null) {
+        unsetExperimentStatus();
+      } else {
+        setExperimentStatus((org.apache.airavata.model.status.ExperimentStatus)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case EXPERIMENT_ID:
+      return getExperimentId();
+
+    case PROJECT_ID:
+      return getProjectId();
+
+    case CREATION_TIME:
+      return Long.valueOf(getCreationTime());
+
+    case USER_NAME:
+      return getUserName();
+
+    case NAME:
+      return getName();
+
+    case DESCRIPTION:
+      return getDescription();
+
+    case APPLICATION_ID:
+      return getApplicationId();
+
+    case EXPERIMENT_STATUS:
+      return getExperimentStatus();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case EXPERIMENT_ID:
+      return isSetExperimentId();
+    case PROJECT_ID:
+      return isSetProjectId();
+    case CREATION_TIME:
+      return isSetCreationTime();
+    case USER_NAME:
+      return isSetUserName();
+    case NAME:
+      return isSetName();
+    case DESCRIPTION:
+      return isSetDescription();
+    case APPLICATION_ID:
+      return isSetApplicationId();
+    case EXPERIMENT_STATUS:
+      return isSetExperimentStatus();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ExperimentSummaryModel)
+      return this.equals((ExperimentSummaryModel)that);
+    return false;
+  }
+
+  public boolean equals(ExperimentSummaryModel that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_experimentId = true && this.isSetExperimentId();
+    boolean that_present_experimentId = true && that.isSetExperimentId();
+    if (this_present_experimentId || that_present_experimentId) {
+      if (!(this_present_experimentId && that_present_experimentId))
+        return false;
+      if (!this.experimentId.equals(that.experimentId))
+        return false;
+    }
+
+    boolean this_present_projectId = true && this.isSetProjectId();
+    boolean that_present_projectId = true && that.isSetProjectId();
+    if (this_present_projectId || that_present_projectId) {
+      if (!(this_present_projectId && that_present_projectId))
+        return false;
+      if (!this.projectId.equals(that.projectId))
+        return false;
+    }
+
+    boolean this_present_creationTime = true && this.isSetCreationTime();
+    boolean that_present_creationTime = true && that.isSetCreationTime();
+    if (this_present_creationTime || that_present_creationTime) {
+      if (!(this_present_creationTime && that_present_creationTime))
+        return false;
+      if (this.creationTime != that.creationTime)
+        return false;
+    }
+
+    boolean this_present_userName = true && this.isSetUserName();
+    boolean that_present_userName = true && that.isSetUserName();
+    if (this_present_userName || that_present_userName) {
+      if (!(this_present_userName && that_present_userName))
+        return false;
+      if (!this.userName.equals(that.userName))
+        return false;
+    }
+
+    boolean this_present_name = true && this.isSetName();
+    boolean that_present_name = true && that.isSetName();
+    if (this_present_name || that_present_name) {
+      if (!(this_present_name && that_present_name))
+        return false;
+      if (!this.name.equals(that.name))
+        return false;
+    }
+
+    boolean this_present_description = true && this.isSetDescription();
+    boolean that_present_description = true && that.isSetDescription();
+    if (this_present_description || that_present_description) {
+      if (!(this_present_description && that_present_description))
+        return false;
+      if (!this.description.equals(that.description))
+        return false;
+    }
+
+    boolean this_present_applicationId = true && this.isSetApplicationId();
+    boolean that_present_applicationId = true && that.isSetApplicationId();
+    if (this_present_applicationId || that_present_applicationId) {
+      if (!(this_present_applicationId && that_present_applicationId))
+        return false;
+      if (!this.applicationId.equals(that.applicationId))
+        return false;
+    }
+
+    boolean this_present_experimentStatus = true && this.isSetExperimentStatus();
+    boolean that_present_experimentStatus = true && that.isSetExperimentStatus();
+    if (this_present_experimentStatus || that_present_experimentStatus) {
+      if (!(this_present_experimentStatus && that_present_experimentStatus))
+        return false;
+      if (!this.experimentStatus.equals(that.experimentStatus))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_experimentId = true && (isSetExperimentId());
+    list.add(present_experimentId);
+    if (present_experimentId)
+      list.add(experimentId);
+
+    boolean present_projectId = true && (isSetProjectId());
+    list.add(present_projectId);
+    if (present_projectId)
+      list.add(projectId);
+
+    boolean present_creationTime = true && (isSetCreationTime());
+    list.add(present_creationTime);
+    if (present_creationTime)
+      list.add(creationTime);
+
+    boolean present_userName = true && (isSetUserName());
+    list.add(present_userName);
+    if (present_userName)
+      list.add(userName);
+
+    boolean present_name = true && (isSetName());
+    list.add(present_name);
+    if (present_name)
+      list.add(name);
+
+    boolean present_description = true && (isSetDescription());
+    list.add(present_description);
+    if (present_description)
+      list.add(description);
+
+    boolean present_applicationId = true && (isSetApplicationId());
+    list.add(present_applicationId);
+    if (present_applicationId)
+      list.add(applicationId);
+
+    boolean present_experimentStatus = true && (isSetExperimentStatus());
+    list.add(present_experimentStatus);
+    if (present_experimentStatus)
+      list.add(experimentStatus);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ExperimentSummaryModel other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExperimentId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetProjectId()).compareTo(other.isSetProjectId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetProjectId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.projectId, other.projectId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCreationTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetUserName()).compareTo(other.isSetUserName());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetUserName()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userName, other.userName);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetName()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetDescription()).compareTo(other.isSetDescription());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetDescription()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, other.description);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetApplicationId()).compareTo(other.isSetApplicationId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetApplicationId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationId, other.applicationId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetExperimentStatus()).compareTo(other.isSetExperimentStatus());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExperimentStatus()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentStatus, other.experimentStatus);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ExperimentSummaryModel(");
+    boolean first = true;
+
+    sb.append("experimentId:");
+    if (this.experimentId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.experimentId);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("projectId:");
+    if (this.projectId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.projectId);
+    }
+    first = false;
+    if (isSetCreationTime()) {
+      if (!first) sb.append(", ");
+      sb.append("creationTime:");
+      sb.append(this.creationTime);
+      first = false;
+    }
+    if (!first) sb.append(", ");
+    sb.append("userName:");
+    if (this.userName == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.userName);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("name:");
+    if (this.name == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.name);
+    }
+    first = false;
+    if (isSetDescription()) {
+      if (!first) sb.append(", ");
+      sb.append("description:");
+      if (this.description == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.description);
+      }
+      first = false;
+    }
+    if (isSetApplicationId()) {
+      if (!first) sb.append(", ");
+      sb.append("applicationId:");
+      if (this.applicationId == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.applicationId);
+      }
+      first = false;
+    }
+    if (isSetExperimentStatus()) {
+      if (!first) sb.append(", ");
+      sb.append("experimentStatus:");
+      if (this.experimentStatus == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.experimentStatus);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetExperimentId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' is unset! Struct:" + toString());
+    }
+
+    if (!isSetProjectId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'projectId' is unset! Struct:" + toString());
+    }
+
+    if (!isSetUserName()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'userName' is unset! Struct:" + toString());
+    }
+
+    if (!isSetName()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+    if (experimentStatus != null) {
+      experimentStatus.validate();
+    }
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ExperimentSummaryModelStandardSchemeFactory implements SchemeFactory {
+    public ExperimentSummaryModelStandardScheme getScheme() {
+      return new ExperimentSummaryModelStandardScheme();
+    }
+  }
+
+  private static class ExperimentSummaryModelStandardScheme extends StandardScheme<ExperimentSummaryModel> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ExperimentSummaryModel struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // EXPERIMENT_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.experimentId = iprot.readString();
+              struct.setExperimentIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // PROJECT_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.projectId = iprot.readString();
+              struct.setProjectIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // CREATION_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.creationTime = iprot.readI64();
+              struct.setCreationTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // USER_NAME
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.userName = iprot.readString();
+              struct.setUserNameIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // NAME
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.name = iprot.readString();
+              struct.setNameIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // DESCRIPTION
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.description = iprot.readString();
+              struct.setDescriptionIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // APPLICATION_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.applicationId = iprot.readString();
+              struct.setApplicationIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 8: // EXPERIMENT_STATUS
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.experimentStatus = new org.apache.airavata.model.status.ExperimentStatus();
+              struct.experimentStatus.read(iprot);
+              struct.setExperimentStatusIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ExperimentSummaryModel struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.experimentId != null) {
+        oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
+        oprot.writeString(struct.experimentId);
+        oprot.writeFieldEnd();
+      }
+      if (struct.projectId != null) {
+        oprot.writeFieldBegin(PROJECT_ID_FIELD_DESC);
+        oprot.writeString(struct.projectId);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetCreationTime()) {
+        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
+        oprot.writeI64(struct.creationTime);
+        oprot.writeFieldEnd();
+      }
+      if (struct.userName != null) {
+        oprot.writeFieldBegin(USER_NAME_FIELD_DESC);
+        oprot.writeString(struct.userName);
+        oprot.writeFieldEnd();
+      }
+      if (struct.name != null) {
+        oprot.writeFieldBegin(NAME_FIELD_DESC);
+        oprot.writeString(struct.name);
+        oprot.writeFieldEnd();
+      }
+      if (struct.description != null) {
+        if (struct.isSetDescription()) {
+          oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
+          oprot.writeString(struct.description);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.applicationId != null) {
+        if (struct.isSetApplicationId()) {
+          oprot.writeFieldBegin(APPLICATION_ID_FIELD_DESC);
+          oprot.writeString(struct.applicationId);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.experimentStatus != null) {
+        if (struct.isSetExperimentStatus()) {
+          oprot.writeFieldBegin(EXPERIMENT_STATUS_FIELD_DESC);
+          struct.experimentStatus.write(oprot);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ExperimentSummaryModelTupleSchemeFactory implements SchemeFactory {
+    public ExperimentSummaryModelTupleScheme getScheme() {
+      return new ExperimentSummaryModelTupleScheme();
+    }
+  }
+
+  private static class ExperimentSummaryModelTupleScheme extends TupleScheme<ExperimentSummaryModel> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ExperimentSummaryModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeString(struct.experimentId);
+      oprot.writeString(struct.projectId);
+      oprot.writeString(struct.userName);
+      oprot.writeString(struct.name);
+      BitSet optionals = new BitSet();
+      if (struct.isSetCreationTime()) {
+        optionals.set(0);
+      }
+      if (struct.isSetDescription()) {
+        optionals.set(1);
+      }
+      if (struct.isSetApplicationId()) {
+        optionals.set(2);
+      }
+      if (struct.isSetExperimentStatus()) {
+        optionals.set(3);
+      }
+      oprot.writeBitSet(optionals, 4);
+      if (struct.isSetCreationTime()) {
+        oprot.writeI64(struct.creationTime);
+      }
+      if (struct.isSetDescription()) {
+        oprot.writeString(struct.description);
+      }
+      if (struct.isSetApplicationId()) {
+        oprot.writeString(struct.applicationId);
+      }
+      if (struct.isSetExperimentStatus()) {
+        struct.experimentStatus.write(oprot);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ExperimentSummaryModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.experimentId = iprot.readString();
+      struct.setExperimentIdIsSet(true);
+      struct.projectId = iprot.readString();
+      struct.setProjectIdIsSet(true);
+      struct.userName = iprot.readString();
+      struct.setUserNameIsSet(true);
+      struct.name = iprot.readString();
+      struct.setNameIsSet(true);
+      BitSet incoming = iprot.readBitSet(4);
+      if (incoming.get(0)) {
+        struct.creationTime = iprot.readI64();
+        struct.setCreationTimeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.description = iprot.readString();
+        struct.setDescriptionIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.applicationId = iprot.readString();
+        struct.setApplicationIdIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.experimentStatus = new org.apache.airavata.model.status.ExperimentStatus();
+        struct.experimentStatus.read(iprot);
+        struct.setExperimentStatusIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentType.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentType.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentType.java
new file mode 100644
index 0000000..8523833
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentType.java
@@ -0,0 +1,62 @@
+/**
+ * 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.experiment;
+
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+public enum ExperimentType implements org.apache.thrift.TEnum {
+  SINGLE_APPLICATION(0),
+  WORKFLOW(1);
+
+  private final int value;
+
+  private ExperimentType(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 ExperimentType findByValue(int value) { 
+    switch (value) {
+      case 0:
+        return SINGLE_APPLICATION;
+      case 1:
+        return WORKFLOW;
+      default:
+        return null;
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/UserConfigurationDataModel.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/UserConfigurationDataModel.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/UserConfigurationDataModel.java
new file mode 100644
index 0000000..714f9e2
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/UserConfigurationDataModel.java
@@ -0,0 +1,1032 @@
+/**
+ * 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.experiment;
+
+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"})
+/**
+ * A structure holding the experiment configuration.
+ * 
+ * 
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class UserConfigurationDataModel implements org.apache.thrift.TBase<UserConfigurationDataModel, UserConfigurationDataModel._Fields>, java.io.Serializable, Cloneable, Comparable<UserConfigurationDataModel> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserConfigurationDataModel");
+
+  private static final org.apache.thrift.protocol.TField AIRAVATA_AUTO_SCHEDULE_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataAutoSchedule", org.apache.thrift.protocol.TType.BOOL, (short)1);
+  private static final org.apache.thrift.protocol.TField OVERRIDE_MANUAL_SCHEDULED_PARAMS_FIELD_DESC = new org.apache.thrift.protocol.TField("overrideManualScheduledParams", org.apache.thrift.protocol.TType.BOOL, (short)2);
+  private static final org.apache.thrift.protocol.TField SHARE_EXPERIMENT_PUBLICLY_FIELD_DESC = new org.apache.thrift.protocol.TField("shareExperimentPublicly", org.apache.thrift.protocol.TType.BOOL, (short)3);
+  private static final org.apache.thrift.protocol.TField COMPUTATIONAL_RESOURCE_SCHEDULING_FIELD_DESC = new org.apache.thrift.protocol.TField("computationalResourceScheduling", org.apache.thrift.protocol.TType.STRUCT, (short)4);
+  private static final org.apache.thrift.protocol.TField THROTTLE_RESOURCES_FIELD_DESC = new org.apache.thrift.protocol.TField("throttleResources", org.apache.thrift.protocol.TType.BOOL, (short)5);
+  private static final org.apache.thrift.protocol.TField USER_DN_FIELD_DESC = new org.apache.thrift.protocol.TField("userDN", org.apache.thrift.protocol.TType.STRING, (short)6);
+  private static final org.apache.thrift.protocol.TField GENERATE_CERT_FIELD_DESC = new org.apache.thrift.protocol.TField("generateCert", org.apache.thrift.protocol.TType.BOOL, (short)7);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new UserConfigurationDataModelStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new UserConfigurationDataModelTupleSchemeFactory());
+  }
+
+  private boolean airavataAutoSchedule; // required
+  private boolean overrideManualScheduledParams; // required
+  private boolean shareExperimentPublicly; // optional
+  private org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel computationalResourceScheduling; // optional
+  private boolean throttleResources; // optional
+  private String userDN; // optional
+  private boolean generateCert; // 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 {
+    AIRAVATA_AUTO_SCHEDULE((short)1, "airavataAutoSchedule"),
+    OVERRIDE_MANUAL_SCHEDULED_PARAMS((short)2, "overrideManualScheduledParams"),
+    SHARE_EXPERIMENT_PUBLICLY((short)3, "shareExperimentPublicly"),
+    COMPUTATIONAL_RESOURCE_SCHEDULING((short)4, "computationalResourceScheduling"),
+    THROTTLE_RESOURCES((short)5, "throttleResources"),
+    USER_DN((short)6, "userDN"),
+    GENERATE_CERT((short)7, "generateCert");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // AIRAVATA_AUTO_SCHEDULE
+          return AIRAVATA_AUTO_SCHEDULE;
+        case 2: // OVERRIDE_MANUAL_SCHEDULED_PARAMS
+          return OVERRIDE_MANUAL_SCHEDULED_PARAMS;
+        case 3: // SHARE_EXPERIMENT_PUBLICLY
+          return SHARE_EXPERIMENT_PUBLICLY;
+        case 4: // COMPUTATIONAL_RESOURCE_SCHEDULING
+          return COMPUTATIONAL_RESOURCE_SCHEDULING;
+        case 5: // THROTTLE_RESOURCES
+          return THROTTLE_RESOURCES;
+        case 6: // USER_DN
+          return USER_DN;
+        case 7: // GENERATE_CERT
+          return GENERATE_CERT;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __AIRAVATAAUTOSCHEDULE_ISSET_ID = 0;
+  private static final int __OVERRIDEMANUALSCHEDULEDPARAMS_ISSET_ID = 1;
+  private static final int __SHAREEXPERIMENTPUBLICLY_ISSET_ID = 2;
+  private static final int __THROTTLERESOURCES_ISSET_ID = 3;
+  private static final int __GENERATECERT_ISSET_ID = 4;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.SHARE_EXPERIMENT_PUBLICLY,_Fields.COMPUTATIONAL_RESOURCE_SCHEDULING,_Fields.THROTTLE_RESOURCES,_Fields.USER_DN,_Fields.GENERATE_CERT};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.AIRAVATA_AUTO_SCHEDULE, new org.apache.thrift.meta_data.FieldMetaData("airavataAutoSchedule", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.OVERRIDE_MANUAL_SCHEDULED_PARAMS, new org.apache.thrift.meta_data.FieldMetaData("overrideManualScheduledParams", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.SHARE_EXPERIMENT_PUBLICLY, new org.apache.thrift.meta_data.FieldMetaData("shareExperimentPublicly", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.COMPUTATIONAL_RESOURCE_SCHEDULING, new org.apache.thrift.meta_data.FieldMetaData("computationalResourceScheduling", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel.class)));
+    tmpMap.put(_Fields.THROTTLE_RESOURCES, new org.apache.thrift.meta_data.FieldMetaData("throttleResources", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.USER_DN, new org.apache.thrift.meta_data.FieldMetaData("userDN", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.GENERATE_CERT, new org.apache.thrift.meta_data.FieldMetaData("generateCert", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(UserConfigurationDataModel.class, metaDataMap);
+  }
+
+  public UserConfigurationDataModel() {
+    this.airavataAutoSchedule = false;
+
+    this.overrideManualScheduledParams = false;
+
+    this.shareExperimentPublicly = false;
+
+    this.throttleResources = false;
+
+    this.generateCert = false;
+
+  }
+
+  public UserConfigurationDataModel(
+    boolean airavataAutoSchedule,
+    boolean overrideManualScheduledParams)
+  {
+    this();
+    this.airavataAutoSchedule = airavataAutoSchedule;
+    setAiravataAutoScheduleIsSet(true);
+    this.overrideManualScheduledParams = overrideManualScheduledParams;
+    setOverrideManualScheduledParamsIsSet(true);
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public UserConfigurationDataModel(UserConfigurationDataModel other) {
+    __isset_bitfield = other.__isset_bitfield;
+    this.airavataAutoSchedule = other.airavataAutoSchedule;
+    this.overrideManualScheduledParams = other.overrideManualScheduledParams;
+    this.shareExperimentPublicly = other.shareExperimentPublicly;
+    if (other.isSetComputationalResourceScheduling()) {
+      this.computationalResourceScheduling = new org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel(other.computationalResourceScheduling);
+    }
+    this.throttleResources = other.throttleResources;
+    if (other.isSetUserDN()) {
+      this.userDN = other.userDN;
+    }
+    this.generateCert = other.generateCert;
+  }
+
+  public UserConfigurationDataModel deepCopy() {
+    return new UserConfigurationDataModel(this);
+  }
+
+  @Override
+  public void clear() {
+    this.airavataAutoSchedule = false;
+
+    this.overrideManualScheduledParams = false;
+
+    this.shareExperimentPublicly = false;
+
+    this.computationalResourceScheduling = null;
+    this.throttleResources = false;
+
+    this.userDN = null;
+    this.generateCert = false;
+
+  }
+
+  public boolean isAiravataAutoSchedule() {
+    return this.airavataAutoSchedule;
+  }
+
+  public void setAiravataAutoSchedule(boolean airavataAutoSchedule) {
+    this.airavataAutoSchedule = airavataAutoSchedule;
+    setAiravataAutoScheduleIsSet(true);
+  }
+
+  public void unsetAiravataAutoSchedule() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __AIRAVATAAUTOSCHEDULE_ISSET_ID);
+  }
+
+  /** Returns true if field airavataAutoSchedule is set (has been assigned a value) and false otherwise */
+  public boolean isSetAiravataAutoSchedule() {
+    return EncodingUtils.testBit(__isset_bitfield, __AIRAVATAAUTOSCHEDULE_ISSET_ID);
+  }
+
+  public void setAiravataAutoScheduleIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __AIRAVATAAUTOSCHEDULE_ISSET_ID, value);
+  }
+
+  public boolean isOverrideManualScheduledParams() {
+    return this.overrideManualScheduledParams;
+  }
+
+  public void setOverrideManualScheduledParams(boolean overrideManualScheduledParams) {
+    this.overrideManualScheduledParams = overrideManualScheduledParams;
+    setOverrideManualScheduledParamsIsSet(true);
+  }
+
+  public void unsetOverrideManualScheduledParams() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __OVERRIDEMANUALSCHEDULEDPARAMS_ISSET_ID);
+  }
+
+  /** Returns true if field overrideManualScheduledParams is set (has been assigned a value) and false otherwise */
+  public boolean isSetOverrideManualScheduledParams() {
+    return EncodingUtils.testBit(__isset_bitfield, __OVERRIDEMANUALSCHEDULEDPARAMS_ISSET_ID);
+  }
+
+  public void setOverrideManualScheduledParamsIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __OVERRIDEMANUALSCHEDULEDPARAMS_ISSET_ID, value);
+  }
+
+  public boolean isShareExperimentPublicly() {
+    return this.shareExperimentPublicly;
+  }
+
+  public void setShareExperimentPublicly(boolean shareExperimentPublicly) {
+    this.shareExperimentPublicly = shareExperimentPublicly;
+    setShareExperimentPubliclyIsSet(true);
+  }
+
+  public void unsetShareExperimentPublicly() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SHAREEXPERIMENTPUBLICLY_ISSET_ID);
+  }
+
+  /** Returns true if field shareExperimentPublicly is set (has been assigned a value) and false otherwise */
+  public boolean isSetShareExperimentPublicly() {
+    return EncodingUtils.testBit(__isset_bitfield, __SHAREEXPERIMENTPUBLICLY_ISSET_ID);
+  }
+
+  public void setShareExperimentPubliclyIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SHAREEXPERIMENTPUBLICLY_ISSET_ID, value);
+  }
+
+  public org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel getComputationalResourceScheduling() {
+    return this.computationalResourceScheduling;
+  }
+
+  public void setComputationalResourceScheduling(org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel computationalResourceScheduling) {
+    this.computationalResourceScheduling = computationalResourceScheduling;
+  }
+
+  public void unsetComputationalResourceScheduling() {
+    this.computationalResourceScheduling = null;
+  }
+
+  /** Returns true if field computationalResourceScheduling is set (has been assigned a value) and false otherwise */
+  public boolean isSetComputationalResourceScheduling() {
+    return this.computationalResourceScheduling != null;
+  }
+
+  public void setComputationalResourceSchedulingIsSet(boolean value) {
+    if (!value) {
+      this.computationalResourceScheduling = null;
+    }
+  }
+
+  public boolean isThrottleResources() {
+    return this.throttleResources;
+  }
+
+  public void setThrottleResources(boolean throttleResources) {
+    this.throttleResources = throttleResources;
+    setThrottleResourcesIsSet(true);
+  }
+
+  public void unsetThrottleResources() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __THROTTLERESOURCES_ISSET_ID);
+  }
+
+  /** Returns true if field throttleResources is set (has been assigned a value) and false otherwise */
+  public boolean isSetThrottleResources() {
+    return EncodingUtils.testBit(__isset_bitfield, __THROTTLERESOURCES_ISSET_ID);
+  }
+
+  public void setThrottleResourcesIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __THROTTLERESOURCES_ISSET_ID, value);
+  }
+
+  public String getUserDN() {
+    return this.userDN;
+  }
+
+  public void setUserDN(String userDN) {
+    this.userDN = userDN;
+  }
+
+  public void unsetUserDN() {
+    this.userDN = null;
+  }
+
+  /** Returns true if field userDN is set (has been assigned a value) and false otherwise */
+  public boolean isSetUserDN() {
+    return this.userDN != null;
+  }
+
+  public void setUserDNIsSet(boolean value) {
+    if (!value) {
+      this.userDN = null;
+    }
+  }
+
+  public boolean isGenerateCert() {
+    return this.generateCert;
+  }
+
+  public void setGenerateCert(boolean generateCert) {
+    this.generateCert = generateCert;
+    setGenerateCertIsSet(true);
+  }
+
+  public void unsetGenerateCert() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __GENERATECERT_ISSET_ID);
+  }
+
+  /** Returns true if field generateCert is set (has been assigned a value) and false otherwise */
+  public boolean isSetGenerateCert() {
+    return EncodingUtils.testBit(__isset_bitfield, __GENERATECERT_ISSET_ID);
+  }
+
+  public void setGenerateCertIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __GENERATECERT_ISSET_ID, value);
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case AIRAVATA_AUTO_SCHEDULE:
+      if (value == null) {
+        unsetAiravataAutoSchedule();
+      } else {
+        setAiravataAutoSchedule((Boolean)value);
+      }
+      break;
+
+    case OVERRIDE_MANUAL_SCHEDULED_PARAMS:
+      if (value == null) {
+        unsetOverrideManualScheduledParams();
+      } else {
+        setOverrideManualScheduledParams((Boolean)value);
+      }
+      break;
+
+    case SHARE_EXPERIMENT_PUBLICLY:
+      if (value == null) {
+        unsetShareExperimentPublicly();
+      } else {
+        setShareExperimentPublicly((Boolean)value);
+      }
+      break;
+
+    case COMPUTATIONAL_RESOURCE_SCHEDULING:
+      if (value == null) {
+        unsetComputationalResourceScheduling();
+      } else {
+        setComputationalResourceScheduling((org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel)value);
+      }
+      break;
+
+    case THROTTLE_RESOURCES:
+      if (value == null) {
+        unsetThrottleResources();
+      } else {
+        setThrottleResources((Boolean)value);
+      }
+      break;
+
+    case USER_DN:
+      if (value == null) {
+        unsetUserDN();
+      } else {
+        setUserDN((String)value);
+      }
+      break;
+
+    case GENERATE_CERT:
+      if (value == null) {
+        unsetGenerateCert();
+      } else {
+        setGenerateCert((Boolean)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case AIRAVATA_AUTO_SCHEDULE:
+      return Boolean.valueOf(isAiravataAutoSchedule());
+
+    case OVERRIDE_MANUAL_SCHEDULED_PARAMS:
+      return Boolean.valueOf(isOverrideManualScheduledParams());
+
+    case SHARE_EXPERIMENT_PUBLICLY:
+      return Boolean.valueOf(isShareExperimentPublicly());
+
+    case COMPUTATIONAL_RESOURCE_SCHEDULING:
+      return getComputationalResourceScheduling();
+
+    case THROTTLE_RESOURCES:
+      return Boolean.valueOf(isThrottleResources());
+
+    case USER_DN:
+      return getUserDN();
+
+    case GENERATE_CERT:
+      return Boolean.valueOf(isGenerateCert());
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case AIRAVATA_AUTO_SCHEDULE:
+      return isSetAiravataAutoSchedule();
+    case OVERRIDE_MANUAL_SCHEDULED_PARAMS:
+      return isSetOverrideManualScheduledParams();
+    case SHARE_EXPERIMENT_PUBLICLY:
+      return isSetShareExperimentPublicly();
+    case COMPUTATIONAL_RESOURCE_SCHEDULING:
+      return isSetComputationalResourceScheduling();
+    case THROTTLE_RESOURCES:
+      return isSetThrottleResources();
+    case USER_DN:
+      return isSetUserDN();
+    case GENERATE_CERT:
+      return isSetGenerateCert();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof UserConfigurationDataModel)
+      return this.equals((UserConfigurationDataModel)that);
+    return false;
+  }
+
+  public boolean equals(UserConfigurationDataModel that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_airavataAutoSchedule = true;
+    boolean that_present_airavataAutoSchedule = true;
+    if (this_present_airavataAutoSchedule || that_present_airavataAutoSchedule) {
+      if (!(this_present_airavataAutoSchedule && that_present_airavataAutoSchedule))
+        return false;
+      if (this.airavataAutoSchedule != that.airavataAutoSchedule)
+        return false;
+    }
+
+    boolean this_present_overrideManualScheduledParams = true;
+    boolean that_present_overrideManualScheduledParams = true;
+    if (this_present_overrideManualScheduledParams || that_present_overrideManualScheduledParams) {
+      if (!(this_present_overrideManualScheduledParams && that_present_overrideManualScheduledParams))
+        return false;
+      if (this.overrideManualScheduledParams != that.overrideManualScheduledParams)
+        return false;
+    }
+
+    boolean this_present_shareExperimentPublicly = true && this.isSetShareExperimentPublicly();
+    boolean that_present_shareExperimentPublicly = true && that.isSetShareExperimentPublicly();
+    if (this_present_shareExperimentPublicly || that_present_shareExperimentPublicly) {
+      if (!(this_present_shareExperimentPublicly && that_present_shareExperimentPublicly))
+        return false;
+      if (this.shareExperimentPublicly != that.shareExperimentPublicly)
+        return false;
+    }
+
+    boolean this_present_computationalResourceScheduling = true && this.isSetComputationalResourceScheduling();
+    boolean that_present_computationalResourceScheduling = true && that.isSetComputationalResourceScheduling();
+    if (this_present_computationalResourceScheduling || that_present_computationalResourceScheduling) {
+      if (!(this_present_computationalResourceScheduling && that_present_computationalResourceScheduling))
+        return false;
+      if (!this.computationalResourceScheduling.equals(that.computationalResourceScheduling))
+        return false;
+    }
+
+    boolean this_present_throttleResources = true && this.isSetThrottleResources();
+    boolean that_present_throttleResources = true && that.isSetThrottleResources();
+    if (this_present_throttleResources || that_present_throttleResources) {
+      if (!(this_present_throttleResources && that_present_throttleResources))
+        return false;
+      if (this.throttleResources != that.throttleResources)
+        return false;
+    }
+
+    boolean this_present_userDN = true && this.isSetUserDN();
+    boolean that_present_userDN = true && that.isSetUserDN();
+    if (this_present_userDN || that_present_userDN) {
+      if (!(this_present_userDN && that_present_userDN))
+        return false;
+      if (!this.userDN.equals(that.userDN))
+        return false;
+    }
+
+    boolean this_present_generateCert = true && this.isSetGenerateCert();
+    boolean that_present_generateCert = true && that.isSetGenerateCert();
+    if (this_present_generateCert || that_present_generateCert) {
+      if (!(this_present_generateCert && that_present_generateCert))
+        return false;
+      if (this.generateCert != that.generateCert)
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_airavataAutoSchedule = true;
+    list.add(present_airavataAutoSchedule);
+    if (present_airavataAutoSchedule)
+      list.add(airavataAutoSchedule);
+
+    boolean present_overrideManualScheduledParams = true;
+    list.add(present_overrideManualScheduledParams);
+    if (present_overrideManualScheduledParams)
+      list.add(overrideManualScheduledParams);
+
+    boolean present_shareExperimentPublicly = true && (isSetShareExperimentPublicly());
+    list.add(present_shareExperimentPublicly);
+    if (present_shareExperimentPublicly)
+      list.add(shareExperimentPublicly);
+
+    boolean present_computationalResourceScheduling = true && (isSetComputationalResourceScheduling());
+    list.add(present_computationalResourceScheduling);
+    if (present_computationalResourceScheduling)
+      list.add(computationalResourceScheduling);
+
+    boolean present_throttleResources = true && (isSetThrottleResources());
+    list.add(present_throttleResources);
+    if (present_throttleResources)
+      list.add(throttleResources);
+
+    boolean present_userDN = true && (isSetUserDN());
+    list.add(present_userDN);
+    if (present_userDN)
+      list.add(userDN);
+
+    boolean present_generateCert = true && (isSetGenerateCert());
+    list.add(present_generateCert);
+    if (present_generateCert)
+      list.add(generateCert);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(UserConfigurationDataModel other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetAiravataAutoSchedule()).compareTo(other.isSetAiravataAutoSchedule());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetAiravataAutoSchedule()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airavataAutoSchedule, other.airavataAutoSchedule);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetOverrideManualScheduledParams()).compareTo(other.isSetOverrideManualScheduledParams());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetOverrideManualScheduledParams()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.overrideManualScheduledParams, other.overrideManualScheduledParams);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetShareExperimentPublicly()).compareTo(other.isSetShareExperimentPublicly());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetShareExperimentPublicly()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shareExperimentPublicly, other.shareExperimentPublicly);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetComputationalResourceScheduling()).compareTo(other.isSetComputationalResourceScheduling());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetComputationalResourceScheduling()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.computationalResourceScheduling, other.computationalResourceScheduling);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetThrottleResources()).compareTo(other.isSetThrottleResources());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetThrottleResources()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.throttleResources, other.throttleResources);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetUserDN()).compareTo(other.isSetUserDN());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetUserDN()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userDN, other.userDN);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetGenerateCert()).compareTo(other.isSetGenerateCert());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetGenerateCert()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.generateCert, other.generateCert);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("UserConfigurationDataModel(");
+    boolean first = true;
+
+    sb.append("airavataAutoSchedule:");
+    sb.append(this.airavataAutoSchedule);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("overrideManualScheduledParams:");
+    sb.append(this.overrideManualScheduledParams);
+    first = false;
+    if (isSetShareExperimentPublicly()) {
+      if (!first) sb.append(", ");
+      sb.append("shareExperimentPublicly:");
+      sb.append(this.shareExperimentPublicly);
+      first = false;
+    }
+    if (isSetComputationalResourceScheduling()) {
+      if (!first) sb.append(", ");
+      sb.append("computationalResourceScheduling:");
+      if (this.computationalResourceScheduling == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.computationalResourceScheduling);
+      }
+      first = false;
+    }
+    if (isSetThrottleResources()) {
+      if (!first) sb.append(", ");
+      sb.append("throttleResources:");
+      sb.append(this.throttleResources);
+      first = false;
+    }
+    if (isSetUserDN()) {
+      if (!first) sb.append(", ");
+      sb.append("userDN:");
+      if (this.userDN == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.userDN);
+      }
+      first = false;
+    }
+    if (isSetGenerateCert()) {
+      if (!first) sb.append(", ");
+      sb.append("generateCert:");
+      sb.append(this.generateCert);
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetAiravataAutoSchedule()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'airavataAutoSchedule' is unset! Struct:" + toString());
+    }
+
+    if (!isSetOverrideManualScheduledParams()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'overrideManualScheduledParams' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+    if (computationalResourceScheduling != null) {
+      computationalResourceScheduling.validate();
+    }
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class UserConfigurationDataModelStandardSchemeFactory implements SchemeFactory {
+    public UserConfigurationDataModelStandardScheme getScheme() {
+      return new UserConfigurationDataModelStandardScheme();
+    }
+  }
+
+  private static class UserConfigurationDataModelStandardScheme extends StandardScheme<UserConfigurationDataModel> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, UserConfigurationDataModel struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // AIRAVATA_AUTO_SCHEDULE
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.airavataAutoSchedule = iprot.readBool();
+              struct.setAiravataAutoScheduleIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // OVERRIDE_MANUAL_SCHEDULED_PARAMS
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.overrideManualScheduledParams = iprot.readBool();
+              struct.setOverrideManualScheduledParamsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // SHARE_EXPERIMENT_PUBLICLY
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.shareExperimentPublicly = iprot.readBool();
+              struct.setShareExperimentPubliclyIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // COMPUTATIONAL_RESOURCE_SCHEDULING
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.computationalResourceScheduling = new org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel();
+              struct.computationalResourceScheduling.read(iprot);
+              struct.setComputationalResourceSchedulingIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // THROTTLE_RESOURCES
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.throttleResources = iprot.readBool();
+              struct.setThrottleResourcesIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // USER_DN
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.userDN = iprot.readString();
+              struct.setUserDNIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // GENERATE_CERT
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.generateCert = iprot.readBool();
+              struct.setGenerateCertIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, UserConfigurationDataModel struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      oprot.writeFieldBegin(AIRAVATA_AUTO_SCHEDULE_FIELD_DESC);
+      oprot.writeBool(struct.airavataAutoSchedule);
+      oprot.writeFieldEnd();
+      oprot.writeFieldBegin(OVERRIDE_MANUAL_SCHEDULED_PARAMS_FIELD_DESC);
+      oprot.writeBool(struct.overrideManualScheduledParams);
+      oprot.writeFieldEnd();
+      if (struct.isSetShareExperimentPublicly()) {
+        oprot.writeFieldBegin(SHARE_EXPERIMENT_PUBLICLY_FIELD_DESC);
+        oprot.writeBool(struct.shareExperimentPublicly);
+        oprot.writeFieldEnd();
+      }
+      if (struct.computationalResourceScheduling != null) {
+        if (struct.isSetComputationalResourceScheduling()) {
+          oprot.writeFieldBegin(COMPUTATIONAL_RESOURCE_SCHEDULING_FIELD_DESC);
+          struct.computationalResourceScheduling.write(oprot);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetThrottleResources()) {
+        oprot.writeFieldBegin(THROTTLE_RESOURCES_FIELD_DESC);
+        oprot.writeBool(struct.throttleResources);
+        oprot.writeFieldEnd();
+      }
+      if (struct.userDN != null) {
+        if (struct.isSetUserDN()) {
+          oprot.writeFieldBegin(USER_DN_FIELD_DESC);
+          oprot.writeString(struct.userDN);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetGenerateCert()) {
+        oprot.writeFieldBegin(GENERATE_CERT_FIELD_DESC);
+        oprot.writeBool(struct.generateCert);
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class UserConfigurationDataModelTupleSchemeFactory implements SchemeFactory {
+    public UserConfigurationDataModelTupleScheme getScheme() {
+      return new UserConfigurationDataModelTupleScheme();
+    }
+  }
+
+  private static class UserConfigurationDataModelTupleScheme extends TupleScheme<UserConfigurationDataModel> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, UserConfigurationDataModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeBool(struct.airavataAutoSchedule);
+      oprot.writeBool(struct.overrideManualScheduledParams);
+      BitSet optionals = new BitSet();
+      if (struct.isSetShareExperimentPublicly()) {
+        optionals.set(0);
+      }
+      if (struct.isSetComputationalResourceScheduling()) {
+        optionals.set(1);
+      }
+      if (struct.isSetThrottleResources()) {
+        optionals.set(2);
+      }
+      if (struct.isSetUserDN()) {
+        optionals.set(3);
+      }
+      if (struct.isSetGenerateCert()) {
+        optionals.set(4);
+      }
+      oprot.writeBitSet(optionals, 5);
+      if (struct.isSetShareExperimentPublicly()) {
+        oprot.writeBool(struct.shareExperimentPublicly);
+      }
+      if (struct.isSetComputationalResourceScheduling()) {
+        struct.computationalResourceScheduling.write(oprot);
+      }
+      if (struct.isSetThrottleResources()) {
+        oprot.writeBool(struct.throttleResources);
+      }
+      if (struct.isSetUserDN()) {
+        oprot.writeString(struct.userDN);
+      }
+      if (struct.isSetGenerateCert()) {
+        oprot.writeBool(struct.generateCert);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, UserConfigurationDataModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.airavataAutoSchedule = iprot.readBool();
+      struct.setAiravataAutoScheduleIsSet(true);
+      struct.overrideManualScheduledParams = iprot.readBool();
+      struct.setOverrideManualScheduledParamsIsSet(true);
+      BitSet incoming = iprot.readBitSet(5);
+      if (incoming.get(0)) {
+        struct.shareExperimentPublicly = iprot.readBool();
+        struct.setShareExperimentPubliclyIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.computationalResourceScheduling = new org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel();
+        struct.computationalResourceScheduling.read(iprot);
+        struct.setComputationalResourceSchedulingIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.throttleResources = iprot.readBool();
+        struct.setThrottleResourcesIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.userDN = iprot.readString();
+        struct.setUserDNIsSet(true);
+      }
+      if (incoming.get(4)) {
+        struct.generateCert = iprot.readBool();
+        struct.setGenerateCertIsSet(true);
+      }
+    }
+  }
+
+}
+


[21/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentModel.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentModel.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentModel.java
new file mode 100644
index 0000000..defa4da
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentModel.java
@@ -0,0 +1,2222 @@
+/**
+ * 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.experiment;
+
+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"})
+/**
+ * A structure holding the experiment metadata and its child models.
+ * 
+ * userName:
+ *   The user name of the targeted gateway end user on whose behalf the experiment is being created.
+ *     the associated gateway identity can only be inferred from the security hand-shake so as to avoid
+ *     authorized Airavata Clients mimicking an unauthorized request. If a gateway is not registered with
+ *     Airavata, an authorization exception is thrown.
+ * 
+ * experimentName:
+ *   The name of the experiment as defined by the user. The name need not be unique as uniqueness is enforced
+ *      by the generated experiment id.
+ * 
+ * experimentDescription:
+ *    The verbose description of the experiment. This is an optional parameter.
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ExperimentModel implements org.apache.thrift.TBase<ExperimentModel, ExperimentModel._Fields>, java.io.Serializable, Cloneable, Comparable<ExperimentModel> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExperimentModel");
+
+  private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField PROJECT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("projectId", org.apache.thrift.protocol.TType.STRING, (short)2);
+  private static final org.apache.thrift.protocol.TField EXPERIMENT_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentType", org.apache.thrift.protocol.TType.I32, (short)3);
+  private static final org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("userName", org.apache.thrift.protocol.TType.STRING, (short)4);
+  private static final org.apache.thrift.protocol.TField EXPERIMENT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentName", org.apache.thrift.protocol.TType.STRING, (short)5);
+  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)6);
+  private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)7);
+  private static final org.apache.thrift.protocol.TField EXECUTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("executionId", org.apache.thrift.protocol.TType.STRING, (short)8);
+  private static final org.apache.thrift.protocol.TField GATEWAY_EXECUTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayExecutionId", org.apache.thrift.protocol.TType.STRING, (short)9);
+  private static final org.apache.thrift.protocol.TField ENABLE_EMAIL_NOTIFICATION_FIELD_DESC = new org.apache.thrift.protocol.TField("enableEmailNotification", org.apache.thrift.protocol.TType.BOOL, (short)10);
+  private static final org.apache.thrift.protocol.TField EMAIL_ADDRESSES_FIELD_DESC = new org.apache.thrift.protocol.TField("emailAddresses", org.apache.thrift.protocol.TType.LIST, (short)11);
+  private static final org.apache.thrift.protocol.TField USER_CONFIGURATION_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("userConfigurationData", org.apache.thrift.protocol.TType.STRUCT, (short)12);
+  private static final org.apache.thrift.protocol.TField EXPERIMENT_INPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentInputs", org.apache.thrift.protocol.TType.LIST, (short)13);
+  private static final org.apache.thrift.protocol.TField EXPERIMENT_OUTPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentOutputs", org.apache.thrift.protocol.TType.LIST, (short)14);
+  private static final org.apache.thrift.protocol.TField EXPERIMENT_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentStatus", org.apache.thrift.protocol.TType.STRUCT, (short)15);
+  private static final org.apache.thrift.protocol.TField ERRORS_FIELD_DESC = new org.apache.thrift.protocol.TField("errors", org.apache.thrift.protocol.TType.LIST, (short)16);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ExperimentModelStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ExperimentModelTupleSchemeFactory());
+  }
+
+  private String experimentId; // required
+  private String projectId; // required
+  private ExperimentType experimentType; // required
+  private String userName; // required
+  private String experimentName; // required
+  private long creationTime; // optional
+  private String description; // optional
+  private String executionId; // optional
+  private String gatewayExecutionId; // optional
+  private boolean enableEmailNotification; // optional
+  private List<String> emailAddresses; // optional
+  private UserConfigurationDataModel userConfigurationData; // optional
+  private List<org.apache.airavata.model.application.io.InputDataObjectType> experimentInputs; // optional
+  private List<org.apache.airavata.model.application.io.OutputDataObjectType> experimentOutputs; // optional
+  private org.apache.airavata.model.status.ExperimentStatus experimentStatus; // optional
+  private List<org.apache.airavata.model.commons.ErrorModel> errors; // 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 {
+    EXPERIMENT_ID((short)1, "experimentId"),
+    PROJECT_ID((short)2, "projectId"),
+    /**
+     * 
+     * @see ExperimentType
+     */
+    EXPERIMENT_TYPE((short)3, "experimentType"),
+    USER_NAME((short)4, "userName"),
+    EXPERIMENT_NAME((short)5, "experimentName"),
+    CREATION_TIME((short)6, "creationTime"),
+    DESCRIPTION((short)7, "description"),
+    EXECUTION_ID((short)8, "executionId"),
+    GATEWAY_EXECUTION_ID((short)9, "gatewayExecutionId"),
+    ENABLE_EMAIL_NOTIFICATION((short)10, "enableEmailNotification"),
+    EMAIL_ADDRESSES((short)11, "emailAddresses"),
+    USER_CONFIGURATION_DATA((short)12, "userConfigurationData"),
+    EXPERIMENT_INPUTS((short)13, "experimentInputs"),
+    EXPERIMENT_OUTPUTS((short)14, "experimentOutputs"),
+    EXPERIMENT_STATUS((short)15, "experimentStatus"),
+    ERRORS((short)16, "errors");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // EXPERIMENT_ID
+          return EXPERIMENT_ID;
+        case 2: // PROJECT_ID
+          return PROJECT_ID;
+        case 3: // EXPERIMENT_TYPE
+          return EXPERIMENT_TYPE;
+        case 4: // USER_NAME
+          return USER_NAME;
+        case 5: // EXPERIMENT_NAME
+          return EXPERIMENT_NAME;
+        case 6: // CREATION_TIME
+          return CREATION_TIME;
+        case 7: // DESCRIPTION
+          return DESCRIPTION;
+        case 8: // EXECUTION_ID
+          return EXECUTION_ID;
+        case 9: // GATEWAY_EXECUTION_ID
+          return GATEWAY_EXECUTION_ID;
+        case 10: // ENABLE_EMAIL_NOTIFICATION
+          return ENABLE_EMAIL_NOTIFICATION;
+        case 11: // EMAIL_ADDRESSES
+          return EMAIL_ADDRESSES;
+        case 12: // USER_CONFIGURATION_DATA
+          return USER_CONFIGURATION_DATA;
+        case 13: // EXPERIMENT_INPUTS
+          return EXPERIMENT_INPUTS;
+        case 14: // EXPERIMENT_OUTPUTS
+          return EXPERIMENT_OUTPUTS;
+        case 15: // EXPERIMENT_STATUS
+          return EXPERIMENT_STATUS;
+        case 16: // ERRORS
+          return ERRORS;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __CREATIONTIME_ISSET_ID = 0;
+  private static final int __ENABLEEMAILNOTIFICATION_ISSET_ID = 1;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.DESCRIPTION,_Fields.EXECUTION_ID,_Fields.GATEWAY_EXECUTION_ID,_Fields.ENABLE_EMAIL_NOTIFICATION,_Fields.EMAIL_ADDRESSES,_Fields.USER_CONFIGURATION_DATA,_Fields.EXPERIMENT_INPUTS,_Fields.EXPERIMENT_OUTPUTS,_Fields.EXPERIMENT_STATUS,_Fields.ERRORS};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.PROJECT_ID, new org.apache.thrift.meta_data.FieldMetaData("projectId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.EXPERIMENT_TYPE, new org.apache.thrift.meta_data.FieldMetaData("experimentType", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ExperimentType.class)));
+    tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("userName", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.EXPERIMENT_NAME, new org.apache.thrift.meta_data.FieldMetaData("experimentName", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.EXECUTION_ID, new org.apache.thrift.meta_data.FieldMetaData("executionId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.GATEWAY_EXECUTION_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayExecutionId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.ENABLE_EMAIL_NOTIFICATION, new org.apache.thrift.meta_data.FieldMetaData("enableEmailNotification", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.EMAIL_ADDRESSES, new org.apache.thrift.meta_data.FieldMetaData("emailAddresses", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
+            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
+    tmpMap.put(_Fields.USER_CONFIGURATION_DATA, new org.apache.thrift.meta_data.FieldMetaData("userConfigurationData", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserConfigurationDataModel.class)));
+    tmpMap.put(_Fields.EXPERIMENT_INPUTS, new org.apache.thrift.meta_data.FieldMetaData("experimentInputs", 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.application.io.InputDataObjectType.class))));
+    tmpMap.put(_Fields.EXPERIMENT_OUTPUTS, new org.apache.thrift.meta_data.FieldMetaData("experimentOutputs", 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.application.io.OutputDataObjectType.class))));
+    tmpMap.put(_Fields.EXPERIMENT_STATUS, new org.apache.thrift.meta_data.FieldMetaData("experimentStatus", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.status.ExperimentStatus.class)));
+    tmpMap.put(_Fields.ERRORS, new org.apache.thrift.meta_data.FieldMetaData("errors", 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.commons.ErrorModel.class))));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ExperimentModel.class, metaDataMap);
+  }
+
+  public ExperimentModel() {
+    this.experimentType = org.apache.airavata.model.experiment.ExperimentType.SINGLE_APPLICATION;
+
+  }
+
+  public ExperimentModel(
+    String experimentId,
+    String projectId,
+    ExperimentType experimentType,
+    String userName,
+    String experimentName)
+  {
+    this();
+    this.experimentId = experimentId;
+    this.projectId = projectId;
+    this.experimentType = experimentType;
+    this.userName = userName;
+    this.experimentName = experimentName;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ExperimentModel(ExperimentModel other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetExperimentId()) {
+      this.experimentId = other.experimentId;
+    }
+    if (other.isSetProjectId()) {
+      this.projectId = other.projectId;
+    }
+    if (other.isSetExperimentType()) {
+      this.experimentType = other.experimentType;
+    }
+    if (other.isSetUserName()) {
+      this.userName = other.userName;
+    }
+    if (other.isSetExperimentName()) {
+      this.experimentName = other.experimentName;
+    }
+    this.creationTime = other.creationTime;
+    if (other.isSetDescription()) {
+      this.description = other.description;
+    }
+    if (other.isSetExecutionId()) {
+      this.executionId = other.executionId;
+    }
+    if (other.isSetGatewayExecutionId()) {
+      this.gatewayExecutionId = other.gatewayExecutionId;
+    }
+    this.enableEmailNotification = other.enableEmailNotification;
+    if (other.isSetEmailAddresses()) {
+      List<String> __this__emailAddresses = new ArrayList<String>(other.emailAddresses);
+      this.emailAddresses = __this__emailAddresses;
+    }
+    if (other.isSetUserConfigurationData()) {
+      this.userConfigurationData = new UserConfigurationDataModel(other.userConfigurationData);
+    }
+    if (other.isSetExperimentInputs()) {
+      List<org.apache.airavata.model.application.io.InputDataObjectType> __this__experimentInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(other.experimentInputs.size());
+      for (org.apache.airavata.model.application.io.InputDataObjectType other_element : other.experimentInputs) {
+        __this__experimentInputs.add(new org.apache.airavata.model.application.io.InputDataObjectType(other_element));
+      }
+      this.experimentInputs = __this__experimentInputs;
+    }
+    if (other.isSetExperimentOutputs()) {
+      List<org.apache.airavata.model.application.io.OutputDataObjectType> __this__experimentOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(other.experimentOutputs.size());
+      for (org.apache.airavata.model.application.io.OutputDataObjectType other_element : other.experimentOutputs) {
+        __this__experimentOutputs.add(new org.apache.airavata.model.application.io.OutputDataObjectType(other_element));
+      }
+      this.experimentOutputs = __this__experimentOutputs;
+    }
+    if (other.isSetExperimentStatus()) {
+      this.experimentStatus = new org.apache.airavata.model.status.ExperimentStatus(other.experimentStatus);
+    }
+    if (other.isSetErrors()) {
+      List<org.apache.airavata.model.commons.ErrorModel> __this__errors = new ArrayList<org.apache.airavata.model.commons.ErrorModel>(other.errors.size());
+      for (org.apache.airavata.model.commons.ErrorModel other_element : other.errors) {
+        __this__errors.add(new org.apache.airavata.model.commons.ErrorModel(other_element));
+      }
+      this.errors = __this__errors;
+    }
+  }
+
+  public ExperimentModel deepCopy() {
+    return new ExperimentModel(this);
+  }
+
+  @Override
+  public void clear() {
+    this.experimentId = null;
+    this.projectId = null;
+    this.experimentType = org.apache.airavata.model.experiment.ExperimentType.SINGLE_APPLICATION;
+
+    this.userName = null;
+    this.experimentName = null;
+    setCreationTimeIsSet(false);
+    this.creationTime = 0;
+    this.description = null;
+    this.executionId = null;
+    this.gatewayExecutionId = null;
+    setEnableEmailNotificationIsSet(false);
+    this.enableEmailNotification = false;
+    this.emailAddresses = null;
+    this.userConfigurationData = null;
+    this.experimentInputs = null;
+    this.experimentOutputs = null;
+    this.experimentStatus = null;
+    this.errors = null;
+  }
+
+  public String getExperimentId() {
+    return this.experimentId;
+  }
+
+  public void setExperimentId(String experimentId) {
+    this.experimentId = experimentId;
+  }
+
+  public void unsetExperimentId() {
+    this.experimentId = null;
+  }
+
+  /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
+  public boolean isSetExperimentId() {
+    return this.experimentId != null;
+  }
+
+  public void setExperimentIdIsSet(boolean value) {
+    if (!value) {
+      this.experimentId = null;
+    }
+  }
+
+  public String getProjectId() {
+    return this.projectId;
+  }
+
+  public void setProjectId(String projectId) {
+    this.projectId = projectId;
+  }
+
+  public void unsetProjectId() {
+    this.projectId = null;
+  }
+
+  /** Returns true if field projectId is set (has been assigned a value) and false otherwise */
+  public boolean isSetProjectId() {
+    return this.projectId != null;
+  }
+
+  public void setProjectIdIsSet(boolean value) {
+    if (!value) {
+      this.projectId = null;
+    }
+  }
+
+  /**
+   * 
+   * @see ExperimentType
+   */
+  public ExperimentType getExperimentType() {
+    return this.experimentType;
+  }
+
+  /**
+   * 
+   * @see ExperimentType
+   */
+  public void setExperimentType(ExperimentType experimentType) {
+    this.experimentType = experimentType;
+  }
+
+  public void unsetExperimentType() {
+    this.experimentType = null;
+  }
+
+  /** Returns true if field experimentType is set (has been assigned a value) and false otherwise */
+  public boolean isSetExperimentType() {
+    return this.experimentType != null;
+  }
+
+  public void setExperimentTypeIsSet(boolean value) {
+    if (!value) {
+      this.experimentType = null;
+    }
+  }
+
+  public String getUserName() {
+    return this.userName;
+  }
+
+  public void setUserName(String userName) {
+    this.userName = userName;
+  }
+
+  public void unsetUserName() {
+    this.userName = null;
+  }
+
+  /** Returns true if field userName is set (has been assigned a value) and false otherwise */
+  public boolean isSetUserName() {
+    return this.userName != null;
+  }
+
+  public void setUserNameIsSet(boolean value) {
+    if (!value) {
+      this.userName = null;
+    }
+  }
+
+  public String getExperimentName() {
+    return this.experimentName;
+  }
+
+  public void setExperimentName(String experimentName) {
+    this.experimentName = experimentName;
+  }
+
+  public void unsetExperimentName() {
+    this.experimentName = null;
+  }
+
+  /** Returns true if field experimentName is set (has been assigned a value) and false otherwise */
+  public boolean isSetExperimentName() {
+    return this.experimentName != null;
+  }
+
+  public void setExperimentNameIsSet(boolean value) {
+    if (!value) {
+      this.experimentName = null;
+    }
+  }
+
+  public long getCreationTime() {
+    return this.creationTime;
+  }
+
+  public void setCreationTime(long creationTime) {
+    this.creationTime = creationTime;
+    setCreationTimeIsSet(true);
+  }
+
+  public void unsetCreationTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetCreationTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  public void setCreationTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
+  }
+
+  public String getDescription() {
+    return this.description;
+  }
+
+  public void setDescription(String description) {
+    this.description = description;
+  }
+
+  public void unsetDescription() {
+    this.description = null;
+  }
+
+  /** Returns true if field description is set (has been assigned a value) and false otherwise */
+  public boolean isSetDescription() {
+    return this.description != null;
+  }
+
+  public void setDescriptionIsSet(boolean value) {
+    if (!value) {
+      this.description = null;
+    }
+  }
+
+  public String getExecutionId() {
+    return this.executionId;
+  }
+
+  public void setExecutionId(String executionId) {
+    this.executionId = executionId;
+  }
+
+  public void unsetExecutionId() {
+    this.executionId = null;
+  }
+
+  /** Returns true if field executionId is set (has been assigned a value) and false otherwise */
+  public boolean isSetExecutionId() {
+    return this.executionId != null;
+  }
+
+  public void setExecutionIdIsSet(boolean value) {
+    if (!value) {
+      this.executionId = null;
+    }
+  }
+
+  public String getGatewayExecutionId() {
+    return this.gatewayExecutionId;
+  }
+
+  public void setGatewayExecutionId(String gatewayExecutionId) {
+    this.gatewayExecutionId = gatewayExecutionId;
+  }
+
+  public void unsetGatewayExecutionId() {
+    this.gatewayExecutionId = null;
+  }
+
+  /** Returns true if field gatewayExecutionId is set (has been assigned a value) and false otherwise */
+  public boolean isSetGatewayExecutionId() {
+    return this.gatewayExecutionId != null;
+  }
+
+  public void setGatewayExecutionIdIsSet(boolean value) {
+    if (!value) {
+      this.gatewayExecutionId = null;
+    }
+  }
+
+  public boolean isEnableEmailNotification() {
+    return this.enableEmailNotification;
+  }
+
+  public void setEnableEmailNotification(boolean enableEmailNotification) {
+    this.enableEmailNotification = enableEmailNotification;
+    setEnableEmailNotificationIsSet(true);
+  }
+
+  public void unsetEnableEmailNotification() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ENABLEEMAILNOTIFICATION_ISSET_ID);
+  }
+
+  /** Returns true if field enableEmailNotification is set (has been assigned a value) and false otherwise */
+  public boolean isSetEnableEmailNotification() {
+    return EncodingUtils.testBit(__isset_bitfield, __ENABLEEMAILNOTIFICATION_ISSET_ID);
+  }
+
+  public void setEnableEmailNotificationIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ENABLEEMAILNOTIFICATION_ISSET_ID, value);
+  }
+
+  public int getEmailAddressesSize() {
+    return (this.emailAddresses == null) ? 0 : this.emailAddresses.size();
+  }
+
+  public java.util.Iterator<String> getEmailAddressesIterator() {
+    return (this.emailAddresses == null) ? null : this.emailAddresses.iterator();
+  }
+
+  public void addToEmailAddresses(String elem) {
+    if (this.emailAddresses == null) {
+      this.emailAddresses = new ArrayList<String>();
+    }
+    this.emailAddresses.add(elem);
+  }
+
+  public List<String> getEmailAddresses() {
+    return this.emailAddresses;
+  }
+
+  public void setEmailAddresses(List<String> emailAddresses) {
+    this.emailAddresses = emailAddresses;
+  }
+
+  public void unsetEmailAddresses() {
+    this.emailAddresses = null;
+  }
+
+  /** Returns true if field emailAddresses is set (has been assigned a value) and false otherwise */
+  public boolean isSetEmailAddresses() {
+    return this.emailAddresses != null;
+  }
+
+  public void setEmailAddressesIsSet(boolean value) {
+    if (!value) {
+      this.emailAddresses = null;
+    }
+  }
+
+  public UserConfigurationDataModel getUserConfigurationData() {
+    return this.userConfigurationData;
+  }
+
+  public void setUserConfigurationData(UserConfigurationDataModel userConfigurationData) {
+    this.userConfigurationData = userConfigurationData;
+  }
+
+  public void unsetUserConfigurationData() {
+    this.userConfigurationData = null;
+  }
+
+  /** Returns true if field userConfigurationData is set (has been assigned a value) and false otherwise */
+  public boolean isSetUserConfigurationData() {
+    return this.userConfigurationData != null;
+  }
+
+  public void setUserConfigurationDataIsSet(boolean value) {
+    if (!value) {
+      this.userConfigurationData = null;
+    }
+  }
+
+  public int getExperimentInputsSize() {
+    return (this.experimentInputs == null) ? 0 : this.experimentInputs.size();
+  }
+
+  public java.util.Iterator<org.apache.airavata.model.application.io.InputDataObjectType> getExperimentInputsIterator() {
+    return (this.experimentInputs == null) ? null : this.experimentInputs.iterator();
+  }
+
+  public void addToExperimentInputs(org.apache.airavata.model.application.io.InputDataObjectType elem) {
+    if (this.experimentInputs == null) {
+      this.experimentInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>();
+    }
+    this.experimentInputs.add(elem);
+  }
+
+  public List<org.apache.airavata.model.application.io.InputDataObjectType> getExperimentInputs() {
+    return this.experimentInputs;
+  }
+
+  public void setExperimentInputs(List<org.apache.airavata.model.application.io.InputDataObjectType> experimentInputs) {
+    this.experimentInputs = experimentInputs;
+  }
+
+  public void unsetExperimentInputs() {
+    this.experimentInputs = null;
+  }
+
+  /** Returns true if field experimentInputs is set (has been assigned a value) and false otherwise */
+  public boolean isSetExperimentInputs() {
+    return this.experimentInputs != null;
+  }
+
+  public void setExperimentInputsIsSet(boolean value) {
+    if (!value) {
+      this.experimentInputs = null;
+    }
+  }
+
+  public int getExperimentOutputsSize() {
+    return (this.experimentOutputs == null) ? 0 : this.experimentOutputs.size();
+  }
+
+  public java.util.Iterator<org.apache.airavata.model.application.io.OutputDataObjectType> getExperimentOutputsIterator() {
+    return (this.experimentOutputs == null) ? null : this.experimentOutputs.iterator();
+  }
+
+  public void addToExperimentOutputs(org.apache.airavata.model.application.io.OutputDataObjectType elem) {
+    if (this.experimentOutputs == null) {
+      this.experimentOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>();
+    }
+    this.experimentOutputs.add(elem);
+  }
+
+  public List<org.apache.airavata.model.application.io.OutputDataObjectType> getExperimentOutputs() {
+    return this.experimentOutputs;
+  }
+
+  public void setExperimentOutputs(List<org.apache.airavata.model.application.io.OutputDataObjectType> experimentOutputs) {
+    this.experimentOutputs = experimentOutputs;
+  }
+
+  public void unsetExperimentOutputs() {
+    this.experimentOutputs = null;
+  }
+
+  /** Returns true if field experimentOutputs is set (has been assigned a value) and false otherwise */
+  public boolean isSetExperimentOutputs() {
+    return this.experimentOutputs != null;
+  }
+
+  public void setExperimentOutputsIsSet(boolean value) {
+    if (!value) {
+      this.experimentOutputs = null;
+    }
+  }
+
+  public org.apache.airavata.model.status.ExperimentStatus getExperimentStatus() {
+    return this.experimentStatus;
+  }
+
+  public void setExperimentStatus(org.apache.airavata.model.status.ExperimentStatus experimentStatus) {
+    this.experimentStatus = experimentStatus;
+  }
+
+  public void unsetExperimentStatus() {
+    this.experimentStatus = null;
+  }
+
+  /** Returns true if field experimentStatus is set (has been assigned a value) and false otherwise */
+  public boolean isSetExperimentStatus() {
+    return this.experimentStatus != null;
+  }
+
+  public void setExperimentStatusIsSet(boolean value) {
+    if (!value) {
+      this.experimentStatus = null;
+    }
+  }
+
+  public int getErrorsSize() {
+    return (this.errors == null) ? 0 : this.errors.size();
+  }
+
+  public java.util.Iterator<org.apache.airavata.model.commons.ErrorModel> getErrorsIterator() {
+    return (this.errors == null) ? null : this.errors.iterator();
+  }
+
+  public void addToErrors(org.apache.airavata.model.commons.ErrorModel elem) {
+    if (this.errors == null) {
+      this.errors = new ArrayList<org.apache.airavata.model.commons.ErrorModel>();
+    }
+    this.errors.add(elem);
+  }
+
+  public List<org.apache.airavata.model.commons.ErrorModel> getErrors() {
+    return this.errors;
+  }
+
+  public void setErrors(List<org.apache.airavata.model.commons.ErrorModel> errors) {
+    this.errors = errors;
+  }
+
+  public void unsetErrors() {
+    this.errors = null;
+  }
+
+  /** Returns true if field errors is set (has been assigned a value) and false otherwise */
+  public boolean isSetErrors() {
+    return this.errors != null;
+  }
+
+  public void setErrorsIsSet(boolean value) {
+    if (!value) {
+      this.errors = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case EXPERIMENT_ID:
+      if (value == null) {
+        unsetExperimentId();
+      } else {
+        setExperimentId((String)value);
+      }
+      break;
+
+    case PROJECT_ID:
+      if (value == null) {
+        unsetProjectId();
+      } else {
+        setProjectId((String)value);
+      }
+      break;
+
+    case EXPERIMENT_TYPE:
+      if (value == null) {
+        unsetExperimentType();
+      } else {
+        setExperimentType((ExperimentType)value);
+      }
+      break;
+
+    case USER_NAME:
+      if (value == null) {
+        unsetUserName();
+      } else {
+        setUserName((String)value);
+      }
+      break;
+
+    case EXPERIMENT_NAME:
+      if (value == null) {
+        unsetExperimentName();
+      } else {
+        setExperimentName((String)value);
+      }
+      break;
+
+    case CREATION_TIME:
+      if (value == null) {
+        unsetCreationTime();
+      } else {
+        setCreationTime((Long)value);
+      }
+      break;
+
+    case DESCRIPTION:
+      if (value == null) {
+        unsetDescription();
+      } else {
+        setDescription((String)value);
+      }
+      break;
+
+    case EXECUTION_ID:
+      if (value == null) {
+        unsetExecutionId();
+      } else {
+        setExecutionId((String)value);
+      }
+      break;
+
+    case GATEWAY_EXECUTION_ID:
+      if (value == null) {
+        unsetGatewayExecutionId();
+      } else {
+        setGatewayExecutionId((String)value);
+      }
+      break;
+
+    case ENABLE_EMAIL_NOTIFICATION:
+      if (value == null) {
+        unsetEnableEmailNotification();
+      } else {
+        setEnableEmailNotification((Boolean)value);
+      }
+      break;
+
+    case EMAIL_ADDRESSES:
+      if (value == null) {
+        unsetEmailAddresses();
+      } else {
+        setEmailAddresses((List<String>)value);
+      }
+      break;
+
+    case USER_CONFIGURATION_DATA:
+      if (value == null) {
+        unsetUserConfigurationData();
+      } else {
+        setUserConfigurationData((UserConfigurationDataModel)value);
+      }
+      break;
+
+    case EXPERIMENT_INPUTS:
+      if (value == null) {
+        unsetExperimentInputs();
+      } else {
+        setExperimentInputs((List<org.apache.airavata.model.application.io.InputDataObjectType>)value);
+      }
+      break;
+
+    case EXPERIMENT_OUTPUTS:
+      if (value == null) {
+        unsetExperimentOutputs();
+      } else {
+        setExperimentOutputs((List<org.apache.airavata.model.application.io.OutputDataObjectType>)value);
+      }
+      break;
+
+    case EXPERIMENT_STATUS:
+      if (value == null) {
+        unsetExperimentStatus();
+      } else {
+        setExperimentStatus((org.apache.airavata.model.status.ExperimentStatus)value);
+      }
+      break;
+
+    case ERRORS:
+      if (value == null) {
+        unsetErrors();
+      } else {
+        setErrors((List<org.apache.airavata.model.commons.ErrorModel>)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case EXPERIMENT_ID:
+      return getExperimentId();
+
+    case PROJECT_ID:
+      return getProjectId();
+
+    case EXPERIMENT_TYPE:
+      return getExperimentType();
+
+    case USER_NAME:
+      return getUserName();
+
+    case EXPERIMENT_NAME:
+      return getExperimentName();
+
+    case CREATION_TIME:
+      return Long.valueOf(getCreationTime());
+
+    case DESCRIPTION:
+      return getDescription();
+
+    case EXECUTION_ID:
+      return getExecutionId();
+
+    case GATEWAY_EXECUTION_ID:
+      return getGatewayExecutionId();
+
+    case ENABLE_EMAIL_NOTIFICATION:
+      return Boolean.valueOf(isEnableEmailNotification());
+
+    case EMAIL_ADDRESSES:
+      return getEmailAddresses();
+
+    case USER_CONFIGURATION_DATA:
+      return getUserConfigurationData();
+
+    case EXPERIMENT_INPUTS:
+      return getExperimentInputs();
+
+    case EXPERIMENT_OUTPUTS:
+      return getExperimentOutputs();
+
+    case EXPERIMENT_STATUS:
+      return getExperimentStatus();
+
+    case ERRORS:
+      return getErrors();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case EXPERIMENT_ID:
+      return isSetExperimentId();
+    case PROJECT_ID:
+      return isSetProjectId();
+    case EXPERIMENT_TYPE:
+      return isSetExperimentType();
+    case USER_NAME:
+      return isSetUserName();
+    case EXPERIMENT_NAME:
+      return isSetExperimentName();
+    case CREATION_TIME:
+      return isSetCreationTime();
+    case DESCRIPTION:
+      return isSetDescription();
+    case EXECUTION_ID:
+      return isSetExecutionId();
+    case GATEWAY_EXECUTION_ID:
+      return isSetGatewayExecutionId();
+    case ENABLE_EMAIL_NOTIFICATION:
+      return isSetEnableEmailNotification();
+    case EMAIL_ADDRESSES:
+      return isSetEmailAddresses();
+    case USER_CONFIGURATION_DATA:
+      return isSetUserConfigurationData();
+    case EXPERIMENT_INPUTS:
+      return isSetExperimentInputs();
+    case EXPERIMENT_OUTPUTS:
+      return isSetExperimentOutputs();
+    case EXPERIMENT_STATUS:
+      return isSetExperimentStatus();
+    case ERRORS:
+      return isSetErrors();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ExperimentModel)
+      return this.equals((ExperimentModel)that);
+    return false;
+  }
+
+  public boolean equals(ExperimentModel that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_experimentId = true && this.isSetExperimentId();
+    boolean that_present_experimentId = true && that.isSetExperimentId();
+    if (this_present_experimentId || that_present_experimentId) {
+      if (!(this_present_experimentId && that_present_experimentId))
+        return false;
+      if (!this.experimentId.equals(that.experimentId))
+        return false;
+    }
+
+    boolean this_present_projectId = true && this.isSetProjectId();
+    boolean that_present_projectId = true && that.isSetProjectId();
+    if (this_present_projectId || that_present_projectId) {
+      if (!(this_present_projectId && that_present_projectId))
+        return false;
+      if (!this.projectId.equals(that.projectId))
+        return false;
+    }
+
+    boolean this_present_experimentType = true && this.isSetExperimentType();
+    boolean that_present_experimentType = true && that.isSetExperimentType();
+    if (this_present_experimentType || that_present_experimentType) {
+      if (!(this_present_experimentType && that_present_experimentType))
+        return false;
+      if (!this.experimentType.equals(that.experimentType))
+        return false;
+    }
+
+    boolean this_present_userName = true && this.isSetUserName();
+    boolean that_present_userName = true && that.isSetUserName();
+    if (this_present_userName || that_present_userName) {
+      if (!(this_present_userName && that_present_userName))
+        return false;
+      if (!this.userName.equals(that.userName))
+        return false;
+    }
+
+    boolean this_present_experimentName = true && this.isSetExperimentName();
+    boolean that_present_experimentName = true && that.isSetExperimentName();
+    if (this_present_experimentName || that_present_experimentName) {
+      if (!(this_present_experimentName && that_present_experimentName))
+        return false;
+      if (!this.experimentName.equals(that.experimentName))
+        return false;
+    }
+
+    boolean this_present_creationTime = true && this.isSetCreationTime();
+    boolean that_present_creationTime = true && that.isSetCreationTime();
+    if (this_present_creationTime || that_present_creationTime) {
+      if (!(this_present_creationTime && that_present_creationTime))
+        return false;
+      if (this.creationTime != that.creationTime)
+        return false;
+    }
+
+    boolean this_present_description = true && this.isSetDescription();
+    boolean that_present_description = true && that.isSetDescription();
+    if (this_present_description || that_present_description) {
+      if (!(this_present_description && that_present_description))
+        return false;
+      if (!this.description.equals(that.description))
+        return false;
+    }
+
+    boolean this_present_executionId = true && this.isSetExecutionId();
+    boolean that_present_executionId = true && that.isSetExecutionId();
+    if (this_present_executionId || that_present_executionId) {
+      if (!(this_present_executionId && that_present_executionId))
+        return false;
+      if (!this.executionId.equals(that.executionId))
+        return false;
+    }
+
+    boolean this_present_gatewayExecutionId = true && this.isSetGatewayExecutionId();
+    boolean that_present_gatewayExecutionId = true && that.isSetGatewayExecutionId();
+    if (this_present_gatewayExecutionId || that_present_gatewayExecutionId) {
+      if (!(this_present_gatewayExecutionId && that_present_gatewayExecutionId))
+        return false;
+      if (!this.gatewayExecutionId.equals(that.gatewayExecutionId))
+        return false;
+    }
+
+    boolean this_present_enableEmailNotification = true && this.isSetEnableEmailNotification();
+    boolean that_present_enableEmailNotification = true && that.isSetEnableEmailNotification();
+    if (this_present_enableEmailNotification || that_present_enableEmailNotification) {
+      if (!(this_present_enableEmailNotification && that_present_enableEmailNotification))
+        return false;
+      if (this.enableEmailNotification != that.enableEmailNotification)
+        return false;
+    }
+
+    boolean this_present_emailAddresses = true && this.isSetEmailAddresses();
+    boolean that_present_emailAddresses = true && that.isSetEmailAddresses();
+    if (this_present_emailAddresses || that_present_emailAddresses) {
+      if (!(this_present_emailAddresses && that_present_emailAddresses))
+        return false;
+      if (!this.emailAddresses.equals(that.emailAddresses))
+        return false;
+    }
+
+    boolean this_present_userConfigurationData = true && this.isSetUserConfigurationData();
+    boolean that_present_userConfigurationData = true && that.isSetUserConfigurationData();
+    if (this_present_userConfigurationData || that_present_userConfigurationData) {
+      if (!(this_present_userConfigurationData && that_present_userConfigurationData))
+        return false;
+      if (!this.userConfigurationData.equals(that.userConfigurationData))
+        return false;
+    }
+
+    boolean this_present_experimentInputs = true && this.isSetExperimentInputs();
+    boolean that_present_experimentInputs = true && that.isSetExperimentInputs();
+    if (this_present_experimentInputs || that_present_experimentInputs) {
+      if (!(this_present_experimentInputs && that_present_experimentInputs))
+        return false;
+      if (!this.experimentInputs.equals(that.experimentInputs))
+        return false;
+    }
+
+    boolean this_present_experimentOutputs = true && this.isSetExperimentOutputs();
+    boolean that_present_experimentOutputs = true && that.isSetExperimentOutputs();
+    if (this_present_experimentOutputs || that_present_experimentOutputs) {
+      if (!(this_present_experimentOutputs && that_present_experimentOutputs))
+        return false;
+      if (!this.experimentOutputs.equals(that.experimentOutputs))
+        return false;
+    }
+
+    boolean this_present_experimentStatus = true && this.isSetExperimentStatus();
+    boolean that_present_experimentStatus = true && that.isSetExperimentStatus();
+    if (this_present_experimentStatus || that_present_experimentStatus) {
+      if (!(this_present_experimentStatus && that_present_experimentStatus))
+        return false;
+      if (!this.experimentStatus.equals(that.experimentStatus))
+        return false;
+    }
+
+    boolean this_present_errors = true && this.isSetErrors();
+    boolean that_present_errors = true && that.isSetErrors();
+    if (this_present_errors || that_present_errors) {
+      if (!(this_present_errors && that_present_errors))
+        return false;
+      if (!this.errors.equals(that.errors))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_experimentId = true && (isSetExperimentId());
+    list.add(present_experimentId);
+    if (present_experimentId)
+      list.add(experimentId);
+
+    boolean present_projectId = true && (isSetProjectId());
+    list.add(present_projectId);
+    if (present_projectId)
+      list.add(projectId);
+
+    boolean present_experimentType = true && (isSetExperimentType());
+    list.add(present_experimentType);
+    if (present_experimentType)
+      list.add(experimentType.getValue());
+
+    boolean present_userName = true && (isSetUserName());
+    list.add(present_userName);
+    if (present_userName)
+      list.add(userName);
+
+    boolean present_experimentName = true && (isSetExperimentName());
+    list.add(present_experimentName);
+    if (present_experimentName)
+      list.add(experimentName);
+
+    boolean present_creationTime = true && (isSetCreationTime());
+    list.add(present_creationTime);
+    if (present_creationTime)
+      list.add(creationTime);
+
+    boolean present_description = true && (isSetDescription());
+    list.add(present_description);
+    if (present_description)
+      list.add(description);
+
+    boolean present_executionId = true && (isSetExecutionId());
+    list.add(present_executionId);
+    if (present_executionId)
+      list.add(executionId);
+
+    boolean present_gatewayExecutionId = true && (isSetGatewayExecutionId());
+    list.add(present_gatewayExecutionId);
+    if (present_gatewayExecutionId)
+      list.add(gatewayExecutionId);
+
+    boolean present_enableEmailNotification = true && (isSetEnableEmailNotification());
+    list.add(present_enableEmailNotification);
+    if (present_enableEmailNotification)
+      list.add(enableEmailNotification);
+
+    boolean present_emailAddresses = true && (isSetEmailAddresses());
+    list.add(present_emailAddresses);
+    if (present_emailAddresses)
+      list.add(emailAddresses);
+
+    boolean present_userConfigurationData = true && (isSetUserConfigurationData());
+    list.add(present_userConfigurationData);
+    if (present_userConfigurationData)
+      list.add(userConfigurationData);
+
+    boolean present_experimentInputs = true && (isSetExperimentInputs());
+    list.add(present_experimentInputs);
+    if (present_experimentInputs)
+      list.add(experimentInputs);
+
+    boolean present_experimentOutputs = true && (isSetExperimentOutputs());
+    list.add(present_experimentOutputs);
+    if (present_experimentOutputs)
+      list.add(experimentOutputs);
+
+    boolean present_experimentStatus = true && (isSetExperimentStatus());
+    list.add(present_experimentStatus);
+    if (present_experimentStatus)
+      list.add(experimentStatus);
+
+    boolean present_errors = true && (isSetErrors());
+    list.add(present_errors);
+    if (present_errors)
+      list.add(errors);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ExperimentModel other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExperimentId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetProjectId()).compareTo(other.isSetProjectId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetProjectId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.projectId, other.projectId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetExperimentType()).compareTo(other.isSetExperimentType());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExperimentType()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentType, other.experimentType);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetUserName()).compareTo(other.isSetUserName());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetUserName()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userName, other.userName);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetExperimentName()).compareTo(other.isSetExperimentName());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExperimentName()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentName, other.experimentName);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCreationTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetDescription()).compareTo(other.isSetDescription());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetDescription()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, other.description);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetExecutionId()).compareTo(other.isSetExecutionId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExecutionId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.executionId, other.executionId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetGatewayExecutionId()).compareTo(other.isSetGatewayExecutionId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetGatewayExecutionId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gatewayExecutionId, other.gatewayExecutionId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetEnableEmailNotification()).compareTo(other.isSetEnableEmailNotification());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetEnableEmailNotification()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.enableEmailNotification, other.enableEmailNotification);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetEmailAddresses()).compareTo(other.isSetEmailAddresses());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetEmailAddresses()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emailAddresses, other.emailAddresses);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetUserConfigurationData()).compareTo(other.isSetUserConfigurationData());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetUserConfigurationData()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userConfigurationData, other.userConfigurationData);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetExperimentInputs()).compareTo(other.isSetExperimentInputs());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExperimentInputs()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentInputs, other.experimentInputs);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetExperimentOutputs()).compareTo(other.isSetExperimentOutputs());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExperimentOutputs()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentOutputs, other.experimentOutputs);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetExperimentStatus()).compareTo(other.isSetExperimentStatus());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetExperimentStatus()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentStatus, other.experimentStatus);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetErrors()).compareTo(other.isSetErrors());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetErrors()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errors, other.errors);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ExperimentModel(");
+    boolean first = true;
+
+    sb.append("experimentId:");
+    if (this.experimentId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.experimentId);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("projectId:");
+    if (this.projectId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.projectId);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("experimentType:");
+    if (this.experimentType == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.experimentType);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("userName:");
+    if (this.userName == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.userName);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("experimentName:");
+    if (this.experimentName == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.experimentName);
+    }
+    first = false;
+    if (isSetCreationTime()) {
+      if (!first) sb.append(", ");
+      sb.append("creationTime:");
+      sb.append(this.creationTime);
+      first = false;
+    }
+    if (isSetDescription()) {
+      if (!first) sb.append(", ");
+      sb.append("description:");
+      if (this.description == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.description);
+      }
+      first = false;
+    }
+    if (isSetExecutionId()) {
+      if (!first) sb.append(", ");
+      sb.append("executionId:");
+      if (this.executionId == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.executionId);
+      }
+      first = false;
+    }
+    if (isSetGatewayExecutionId()) {
+      if (!first) sb.append(", ");
+      sb.append("gatewayExecutionId:");
+      if (this.gatewayExecutionId == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.gatewayExecutionId);
+      }
+      first = false;
+    }
+    if (isSetEnableEmailNotification()) {
+      if (!first) sb.append(", ");
+      sb.append("enableEmailNotification:");
+      sb.append(this.enableEmailNotification);
+      first = false;
+    }
+    if (isSetEmailAddresses()) {
+      if (!first) sb.append(", ");
+      sb.append("emailAddresses:");
+      if (this.emailAddresses == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.emailAddresses);
+      }
+      first = false;
+    }
+    if (isSetUserConfigurationData()) {
+      if (!first) sb.append(", ");
+      sb.append("userConfigurationData:");
+      if (this.userConfigurationData == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.userConfigurationData);
+      }
+      first = false;
+    }
+    if (isSetExperimentInputs()) {
+      if (!first) sb.append(", ");
+      sb.append("experimentInputs:");
+      if (this.experimentInputs == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.experimentInputs);
+      }
+      first = false;
+    }
+    if (isSetExperimentOutputs()) {
+      if (!first) sb.append(", ");
+      sb.append("experimentOutputs:");
+      if (this.experimentOutputs == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.experimentOutputs);
+      }
+      first = false;
+    }
+    if (isSetExperimentStatus()) {
+      if (!first) sb.append(", ");
+      sb.append("experimentStatus:");
+      if (this.experimentStatus == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.experimentStatus);
+      }
+      first = false;
+    }
+    if (isSetErrors()) {
+      if (!first) sb.append(", ");
+      sb.append("errors:");
+      if (this.errors == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.errors);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetExperimentId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' is unset! Struct:" + toString());
+    }
+
+    if (!isSetProjectId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'projectId' is unset! Struct:" + toString());
+    }
+
+    if (!isSetExperimentType()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentType' is unset! Struct:" + toString());
+    }
+
+    if (!isSetUserName()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'userName' is unset! Struct:" + toString());
+    }
+
+    if (!isSetExperimentName()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentName' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+    if (userConfigurationData != null) {
+      userConfigurationData.validate();
+    }
+    if (experimentStatus != null) {
+      experimentStatus.validate();
+    }
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ExperimentModelStandardSchemeFactory implements SchemeFactory {
+    public ExperimentModelStandardScheme getScheme() {
+      return new ExperimentModelStandardScheme();
+    }
+  }
+
+  private static class ExperimentModelStandardScheme extends StandardScheme<ExperimentModel> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ExperimentModel struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // EXPERIMENT_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.experimentId = iprot.readString();
+              struct.setExperimentIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // PROJECT_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.projectId = iprot.readString();
+              struct.setProjectIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // EXPERIMENT_TYPE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.experimentType = org.apache.airavata.model.experiment.ExperimentType.findByValue(iprot.readI32());
+              struct.setExperimentTypeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // USER_NAME
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.userName = iprot.readString();
+              struct.setUserNameIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // EXPERIMENT_NAME
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.experimentName = iprot.readString();
+              struct.setExperimentNameIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // CREATION_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.creationTime = iprot.readI64();
+              struct.setCreationTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // DESCRIPTION
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.description = iprot.readString();
+              struct.setDescriptionIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 8: // EXECUTION_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.executionId = iprot.readString();
+              struct.setExecutionIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 9: // GATEWAY_EXECUTION_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.gatewayExecutionId = iprot.readString();
+              struct.setGatewayExecutionIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 10: // ENABLE_EMAIL_NOTIFICATION
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.enableEmailNotification = iprot.readBool();
+              struct.setEnableEmailNotificationIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 11: // EMAIL_ADDRESSES
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
+                struct.emailAddresses = new ArrayList<String>(_list0.size);
+                String _elem1;
+                for (int _i2 = 0; _i2 < _list0.size; ++_i2)
+                {
+                  _elem1 = iprot.readString();
+                  struct.emailAddresses.add(_elem1);
+                }
+                iprot.readListEnd();
+              }
+              struct.setEmailAddressesIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 12: // USER_CONFIGURATION_DATA
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.userConfigurationData = new UserConfigurationDataModel();
+              struct.userConfigurationData.read(iprot);
+              struct.setUserConfigurationDataIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 13: // EXPERIMENT_INPUTS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list3 = iprot.readListBegin();
+                struct.experimentInputs = 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 org.apache.airavata.model.application.io.InputDataObjectType();
+                  _elem4.read(iprot);
+                  struct.experimentInputs.add(_elem4);
+                }
+                iprot.readListEnd();
+              }
+              struct.setExperimentInputsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 14: // EXPERIMENT_OUTPUTS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list6 = iprot.readListBegin();
+                struct.experimentOutputs = 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 org.apache.airavata.model.application.io.OutputDataObjectType();
+                  _elem7.read(iprot);
+                  struct.experimentOutputs.add(_elem7);
+                }
+                iprot.readListEnd();
+              }
+              struct.setExperimentOutputsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 15: // EXPERIMENT_STATUS
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+              struct.experimentStatus = new org.apache.airavata.model.status.ExperimentStatus();
+              struct.experimentStatus.read(iprot);
+              struct.setExperimentStatusIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 16: // ERRORS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list9 = iprot.readListBegin();
+                struct.errors = new ArrayList<org.apache.airavata.model.commons.ErrorModel>(_list9.size);
+                org.apache.airavata.model.commons.ErrorModel _elem10;
+                for (int _i11 = 0; _i11 < _list9.size; ++_i11)
+                {
+                  _elem10 = new org.apache.airavata.model.commons.ErrorModel();
+                  _elem10.read(iprot);
+                  struct.errors.add(_elem10);
+                }
+                iprot.readListEnd();
+              }
+              struct.setErrorsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ExperimentModel struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.experimentId != null) {
+        oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
+        oprot.writeString(struct.experimentId);
+        oprot.writeFieldEnd();
+      }
+      if (struct.projectId != null) {
+        oprot.writeFieldBegin(PROJECT_ID_FIELD_DESC);
+        oprot.writeString(struct.projectId);
+        oprot.writeFieldEnd();
+      }
+      if (struct.experimentType != null) {
+        oprot.writeFieldBegin(EXPERIMENT_TYPE_FIELD_DESC);
+        oprot.writeI32(struct.experimentType.getValue());
+        oprot.writeFieldEnd();
+      }
+      if (struct.userName != null) {
+        oprot.writeFieldBegin(USER_NAME_FIELD_DESC);
+        oprot.writeString(struct.userName);
+        oprot.writeFieldEnd();
+      }
+      if (struct.experimentName != null) {
+        oprot.writeFieldBegin(EXPERIMENT_NAME_FIELD_DESC);
+        oprot.writeString(struct.experimentName);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetCreationTime()) {
+        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
+        oprot.writeI64(struct.creationTime);
+        oprot.writeFieldEnd();
+      }
+      if (struct.description != null) {
+        if (struct.isSetDescription()) {
+          oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
+          oprot.writeString(struct.description);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.executionId != null) {
+        if (struct.isSetExecutionId()) {
+          oprot.writeFieldBegin(EXECUTION_ID_FIELD_DESC);
+          oprot.writeString(struct.executionId);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.gatewayExecutionId != null) {
+        if (struct.isSetGatewayExecutionId()) {
+          oprot.writeFieldBegin(GATEWAY_EXECUTION_ID_FIELD_DESC);
+          oprot.writeString(struct.gatewayExecutionId);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetEnableEmailNotification()) {
+        oprot.writeFieldBegin(ENABLE_EMAIL_NOTIFICATION_FIELD_DESC);
+        oprot.writeBool(struct.enableEmailNotification);
+        oprot.writeFieldEnd();
+      }
+      if (struct.emailAddresses != null) {
+        if (struct.isSetEmailAddresses()) {
+          oprot.writeFieldBegin(EMAIL_ADDRESSES_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.emailAddresses.size()));
+            for (String _iter12 : struct.emailAddresses)
+            {
+              oprot.writeString(_iter12);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.userConfigurationData != null) {
+        if (struct.isSetUserConfigurationData()) {
+          oprot.writeFieldBegin(USER_CONFIGURATION_DATA_FIELD_DESC);
+          struct.userConfigurationData.write(oprot);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.experimentInputs != null) {
+        if (struct.isSetExperimentInputs()) {
+          oprot.writeFieldBegin(EXPERIMENT_INPUTS_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.experimentInputs.size()));
+            for (org.apache.airavata.model.application.io.InputDataObjectType _iter13 : struct.experimentInputs)
+            {
+              _iter13.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.experimentOutputs != null) {
+        if (struct.isSetExperimentOutputs()) {
+          oprot.writeFieldBegin(EXPERIMENT_OUTPUTS_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.experimentOutputs.size()));
+            for (org.apache.airavata.model.application.io.OutputDataObjectType _iter14 : struct.experimentOutputs)
+            {
+              _iter14.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.experimentStatus != null) {
+        if (struct.isSetExperimentStatus()) {
+          oprot.writeFieldBegin(EXPERIMENT_STATUS_FIELD_DESC);
+          struct.experimentStatus.write(oprot);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.errors != null) {
+        if (struct.isSetErrors()) {
+          oprot.writeFieldBegin(ERRORS_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.errors.size()));
+            for (org.apache.airavata.model.commons.ErrorModel _iter15 : struct.errors)
+            {
+              _iter15.write(oprot);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ExperimentModelTupleSchemeFactory implements SchemeFactory {
+    public ExperimentModelTupleScheme getScheme() {
+      return new ExperimentModelTupleScheme();
+    }
+  }
+
+  private static class ExperimentModelTupleScheme extends TupleScheme<ExperimentModel> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ExperimentModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeString(struct.experimentId);
+      oprot.writeString(struct.projectId);
+      oprot.writeI32(struct.experimentType.getValue());
+      oprot.writeString(struct.userName);
+      oprot.writeString(struct.experimentName);
+      BitSet optionals = new BitSet();
+      if (struct.isSetCreationTime()) {
+        optionals.set(0);
+      }
+      if (struct.isSetDescription()) {
+        optionals.set(1);
+      }
+      if (struct.isSetExecutionId()) {
+        optionals.set(2);
+      }
+      if (struct.isSetGatewayExecutionId()) {
+        optionals.set(3);
+      }
+      if (struct.isSetEnableEmailNotification()) {
+        optionals.set(4);
+      }
+      if (struct.isSetEmailAddresses()) {
+        optionals.set(5);
+      }
+      if (struct.isSetUserConfigurationData()) {
+        optionals.set(6);
+      }
+      if (struct.isSetExperimentInputs()) {
+        optionals.set(7);
+      }
+      if (struct.isSetExperimentOutputs()) {
+        optionals.set(8);
+      }
+      if (struct.isSetExperimentStatus()) {
+        optionals.set(9);
+      }
+      if (struct.isSetErrors()) {
+        optionals.set(10);
+      }
+      oprot.writeBitSet(optionals, 11);
+      if (struct.isSetCreationTime()) {
+        oprot.writeI64(struct.creationTime);
+      }
+      if (struct.isSetDescription()) {
+        oprot.writeString(struct.description);
+      }
+      if (struct.isSetExecutionId()) {
+        oprot.writeString(struct.executionId);
+      }
+      if (struct.isSetGatewayExecutionId()) {
+        oprot.writeString(struct.gatewayExecutionId);
+      }
+      if (struct.isSetEnableEmailNotification()) {
+        oprot.writeBool(struct.enableEmailNotification);
+      }
+      if (struct.isSetEmailAddresses()) {
+        {
+          oprot.writeI32(struct.emailAddresses.size());
+          for (String _iter16 : struct.emailAddresses)
+          {
+            oprot.writeString(_iter16);
+          }
+        }
+      }
+      if (struct.isSetUserConfigurationData()) {
+        struct.userConfigurationData.write(oprot);
+      }
+      if (struct.isSetExperimentInputs()) {
+        {
+          oprot.writeI32(struct.experimentInputs.size());
+          for (org.apache.airavata.model.application.io.InputDataObjectType _iter17 : struct.experimentInputs)
+          {
+            _iter17.write(oprot);
+          }
+        }
+      }
+      if (struct.isSetExperimentOutputs()) {
+        {
+          oprot.writeI32(struct.experimentOutputs.size());
+          for (org.apache.airavata.model.application.io.OutputDataObjectType _iter18 : struct.experimentOutputs)
+          {
+            _iter18.write(oprot);
+          }
+        }
+      }
+      if (struct.isSetExperimentStatus()) {
+        struct.experimentStatus.write(oprot);
+      }
+      if (struct.isSetErrors()) {
+        {
+          oprot.writeI32(struct.errors.size());
+          for (org.apache.airavata.model.commons.ErrorModel _iter19 : struct.errors)
+          {
+            _iter19.write(oprot);
+          }
+        }
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ExperimentModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.experimentId = iprot.readString();
+      struct.setExperimentIdIsSet(true);
+      struct.projectId = iprot.readString();
+      struct.setProjectIdIsSet(true);
+      struct.experimentType = org.apache.airavata.model.experiment.ExperimentType.findByValue(iprot.readI32());
+      struct.setExperimentTypeIsSet(true);
+      struct.userName = iprot.readString();
+      struct.setUserNameIsSet(true);
+      struct.experimentName = iprot.readString();
+      struct.setExperimentNameIsSet(true);
+      BitSet incoming = iprot.readBitSet(11);
+      if (incoming.get(0)) {
+        struct.creationTime = iprot.readI64();
+        struct.setCreationTimeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.description = iprot.readString();
+        struct.setDescriptionIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.executionId = iprot.readString();
+        struct.setExecutionIdIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.gatewayExecutionId = iprot.readString();
+        struct.setGatewayExecutionIdIsSet(true);
+      }
+      if (incoming.get(4)) {
+        struct.enableEmailNotification = iprot.readBool();
+        struct.setEnableEmailNotificationIsSet(true);
+      }
+      if (incoming.get(5)) {
+        {
+          org.apache.thrift.protocol.TList _list20 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+          struct.emailAddresses = new ArrayList<String>(_list20.size);
+          String _elem21;
+          for (int _i22 = 0; _i22 < _list20.size; ++_i22)
+          {
+            _elem21 = iprot.readString();
+            struct.emailAddresses.add(_elem21);
+          }
+        }
+        struct.setEmailAddressesIsSet(true);
+      }
+      if (incoming.get(6)) {
+        struct.userConfigurationData = new UserConfigurationDataModel();
+        struct.userConfigurationData.read(iprot);
+        struct.setUserConfigurationDataIsSet(true);
+      }
+      if (incoming.get(7)) {
+        {
+          org.apache.thrift.protocol.TList _list23 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.experimentInputs = new ArrayList<org.apache.airavata.model.application.io.InputDataObjectType>(_list23.size);
+          org.apache.airavata.model.application.io.InputDataObjectType _elem24;
+          for (int _i25 = 0; _i25 < _list23.size; ++_i25)
+          {
+            _elem24 = new org.apache.airavata.model.application.io.InputDataObjectType();
+            _elem24.read(iprot);
+            struct.experimentInputs.add(_elem24);
+          }
+        }
+        struct.setExperimentInputsIsSet(true);
+      }
+      if (incoming.get(8)) {
+        {
+          org.apache.thrift.protocol.TList _list26 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.experimentOutputs = new ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list26.size);
+          org.apache.airavata.model.application.io.OutputDataObjectType _elem27;
+          for (int _i28 = 0; _i28 < _list26.size; ++_i28)
+          {
+            _elem27 = new org.apache.airavata.model.application.io.OutputDataObjectType();
+            _elem27.read(iprot);
+            struct.experimentOutputs.add(_elem27);
+          }
+        }
+        struct.setExperimentOutputsIsSet(true);
+      }
+      if (incoming.get(9)) {
+        struct.experimentStatus = new org.apache.airavata.model.status.ExperimentStatus();
+        struct.experimentStatus.read(iprot);
+        struct.setExperimentStatusIsSet(true);
+      }
+      if (incoming.get(10)) {
+        {
+          org.apache.thrift.protocol.TList _list29 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.errors = new ArrayList<org.apache.airavata.model.commons.ErrorModel>(_list29.size);
+          org.apache.airavata.model.commons.ErrorModel _elem30;
+          for (int _i31 = 0; _i31 < _list29.size; ++_i31)
+          {
+            _elem30 = new org.apache.airavata.model.commons.ErrorModel();
+            _elem30.read(iprot);
+            struct.errors.add(_elem30);
+          }
+        }
+        struct.setErrorsIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentSearchFields.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentSearchFields.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentSearchFields.java
new file mode 100644
index 0000000..880297c
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentSearchFields.java
@@ -0,0 +1,74 @@
+/**
+ * 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.experiment;
+
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+public enum ExperimentSearchFields implements org.apache.thrift.TEnum {
+  EXPERIMENT_NAME(0),
+  EXPERIMENT_DESC(1),
+  APPLICATION_ID(2),
+  FROM_DATE(3),
+  TO_DATE(4),
+  STATUS(5);
+
+  private final int value;
+
+  private ExperimentSearchFields(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 ExperimentSearchFields findByValue(int value) { 
+    switch (value) {
+      case 0:
+        return EXPERIMENT_NAME;
+      case 1:
+        return EXPERIMENT_DESC;
+      case 2:
+        return APPLICATION_ID;
+      case 3:
+        return FROM_DATE;
+      case 4:
+        return TO_DATE;
+      case 5:
+        return STATUS;
+      default:
+        return null;
+    }
+  }
+}


[30/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index 915973a..0361423 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -23,11 +23,10 @@ package org.apache.airavata.api.server.handler;
 
 import org.apache.airavata.api.Airavata;
 import org.apache.airavata.api.airavataAPIConstants;
-import org.apache.airavata.api.server.security.*;
+import org.apache.airavata.api.server.security.AiravataSecurityManager;
+import org.apache.airavata.api.server.security.SecurityManagerFactory;
 import org.apache.airavata.common.exception.AiravataException;
 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.AiravataUtils;
 import org.apache.airavata.common.utils.ServerSettings;
 import org.apache.airavata.messaging.core.MessageContext;
@@ -37,28 +36,76 @@ import org.apache.airavata.model.Workflow;
 import org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription;
 import org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule;
 import org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription;
-import org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType;
-import org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType;
-import org.apache.airavata.model.appcatalog.computeresource.*;
+import org.apache.airavata.model.appcatalog.computeresource.CloudJobSubmission;
+import org.apache.airavata.model.appcatalog.computeresource.ComputeResourceDescription;
+import org.apache.airavata.model.appcatalog.computeresource.DataMovementInterface;
+import org.apache.airavata.model.appcatalog.computeresource.DataMovementProtocol;
+import org.apache.airavata.model.appcatalog.computeresource.GridFTPDataMovement;
+import org.apache.airavata.model.appcatalog.computeresource.JobSubmissionInterface;
+import org.apache.airavata.model.appcatalog.computeresource.JobSubmissionProtocol;
+import org.apache.airavata.model.appcatalog.computeresource.LOCALDataMovement;
+import org.apache.airavata.model.appcatalog.computeresource.LOCALSubmission;
+import org.apache.airavata.model.appcatalog.computeresource.ResourceJobManager;
+import org.apache.airavata.model.appcatalog.computeresource.SCPDataMovement;
+import org.apache.airavata.model.appcatalog.computeresource.SSHJobSubmission;
+import org.apache.airavata.model.appcatalog.computeresource.UnicoreDataMovement;
+import org.apache.airavata.model.appcatalog.computeresource.UnicoreJobSubmission;
 import org.apache.airavata.model.appcatalog.gatewayprofile.ComputeResourcePreference;
 import org.apache.airavata.model.appcatalog.gatewayprofile.GatewayResourceProfile;
-import org.apache.airavata.model.error.*;
+import org.apache.airavata.model.application.io.InputDataObjectType;
+import org.apache.airavata.model.application.io.OutputDataObjectType;
+import org.apache.airavata.model.error.AiravataClientException;
+import org.apache.airavata.model.error.AiravataErrorType;
+import org.apache.airavata.model.error.AiravataSystemException;
+import org.apache.airavata.model.error.AuthorizationException;
+import org.apache.airavata.model.error.ExperimentNotFoundException;
+import org.apache.airavata.model.error.InvalidRequestException;
+import org.apache.airavata.model.error.ProjectNotFoundException;
+import org.apache.airavata.model.experiment.ExperimentModel;
+import org.apache.airavata.model.experiment.ExperimentSearchFields;
+import org.apache.airavata.model.experiment.ExperimentStatistics;
+import org.apache.airavata.model.experiment.ExperimentSummaryModel;
+import org.apache.airavata.model.job.JobModel;
 import org.apache.airavata.model.messaging.event.ExperimentStatusChangeEvent;
 import org.apache.airavata.model.messaging.event.MessageType;
+import org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel;
 import org.apache.airavata.model.security.AuthzToken;
+import org.apache.airavata.model.status.ExperimentState;
+import org.apache.airavata.model.status.ExperimentStatus;
+import org.apache.airavata.model.status.JobStatus;
 import org.apache.airavata.model.workspace.Gateway;
 import org.apache.airavata.model.workspace.Project;
-import org.apache.airavata.model.workspace.experiment.*;
 import org.apache.airavata.orchestrator.client.OrchestratorClientFactory;
 import org.apache.airavata.orchestrator.cpi.OrchestratorService;
 import org.apache.airavata.orchestrator.cpi.OrchestratorService.Client;
-import org.apache.airavata.registry.core.app.catalog.resources.*;
+import org.apache.airavata.registry.core.app.catalog.resources.AppCatAbstractResource;
+import org.apache.airavata.registry.core.app.catalog.resources.CloudSubmissionResource;
+import org.apache.airavata.registry.core.app.catalog.resources.GridftpDataMovementResource;
+import org.apache.airavata.registry.core.app.catalog.resources.LocalDataMovementResource;
+import org.apache.airavata.registry.core.app.catalog.resources.LocalSubmissionResource;
+import org.apache.airavata.registry.core.app.catalog.resources.ScpDataMovementResource;
+import org.apache.airavata.registry.core.app.catalog.resources.SshJobSubmissionResource;
+import org.apache.airavata.registry.core.app.catalog.resources.UnicoreDataMovementResource;
+import org.apache.airavata.registry.core.app.catalog.resources.UnicoreJobSubmissionResource;
 import org.apache.airavata.registry.core.app.catalog.util.AppCatalogThriftConversion;
 import org.apache.airavata.registry.core.experiment.catalog.ExpCatResourceUtils;
 import org.apache.airavata.registry.core.experiment.catalog.impl.RegistryFactory;
-import org.apache.airavata.registry.cpi.*;
+import org.apache.airavata.registry.cpi.AppCatalog;
+import org.apache.airavata.registry.cpi.AppCatalogException;
+import org.apache.airavata.registry.cpi.ApplicationDeployment;
+import org.apache.airavata.registry.cpi.ComputeResource;
+import org.apache.airavata.registry.cpi.ExpCatChildDataType;
+import org.apache.airavata.registry.cpi.ExpCatParentDataType;
+import org.apache.airavata.registry.cpi.ExperimentCatalog;
+import org.apache.airavata.registry.cpi.ExperimentCatalogModelType;
+import org.apache.airavata.registry.cpi.GwyResourceProfile;
+import org.apache.airavata.registry.cpi.RegistryException;
+import org.apache.airavata.registry.cpi.ResultOrderType;
+import org.apache.airavata.registry.cpi.WorkflowCatalog;
 import org.apache.airavata.registry.cpi.utils.Constants;
 import org.apache.thrift.TException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import java.util.ArrayList;
 import java.util.HashMap;
@@ -66,7 +113,7 @@ import java.util.List;
 import java.util.Map;
 
 public class AiravataServerHandler implements Airavata.Iface {
-    private static final AiravataLogger logger = AiravataLoggerFactory.getLogger(AiravataServerHandler.class);
+    private static final Logger logger = LoggerFactory.getLogger(AiravataServerHandler.class);
     private ExperimentCatalog experimentCatalog;
     private AppCatalog appCatalog;
     private Publisher publisher;
@@ -557,7 +604,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      */
     @Deprecated
     @Override
-    public List<ExperimentSummary> searchExperimentsByName(String gatewayId, String userName, String expName) throws InvalidRequestException,
+    public List<ExperimentSummaryModel> searchExperimentsByName(String gatewayId, String userName, String expName) throws InvalidRequestException,
                                                                                                    AiravataClientException,
                                                                                                    AiravataSystemException,
                                                                                                    TException {
@@ -580,7 +627,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      *       The starting point of the results to be fetched
      */
     @Override
-    public List<ExperimentSummary> searchExperimentsByNameWithPagination(String gatewayId, String userName, String expName, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentSummaryModel> searchExperimentsByNameWithPagination(String gatewayId, String userName, String expName, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         if (!validateString(userName)){
             logger.error("Username cannot be empty. Please provide a valid user..");
             AiravataSystemException exception = new AiravataSystemException();
@@ -600,7 +647,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 exception.setMessage("User does not exist in the system. Please provide a valid user..");
                 throw exception;
             }
-            List<ExperimentSummary> summaries = new ArrayList<ExperimentSummary>();
+            List<ExperimentSummaryModel> summaries = new ArrayList<ExperimentSummaryModel>();
             experimentCatalog = RegistryFactory.getExperimentCatalog(gatewayId);
             Map<String, String> filters = new HashMap<String, String>();
             filters.put(Constants.FieldConstants.ExperimentConstants.USER_NAME, userName);
@@ -609,7 +656,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             List<Object> results = experimentCatalog.search(ExperimentCatalogModelType.EXPERIMENT, filters, limit,
                     offset, Constants.FieldConstants.ExperimentConstants.CREATION_TIME, ResultOrderType.DESC);
             for (Object object : results) {
-                summaries.add((ExperimentSummary) object);
+                summaries.add((ExperimentSummaryModel) object);
             }
             return summaries;
         }catch (Exception e) {
@@ -635,7 +682,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      */
     @Deprecated
     @Override
-    public List<ExperimentSummary> searchExperimentsByDesc(String gatewayId, String userName, String description) throws InvalidRequestException,
+    public List<ExperimentSummaryModel> searchExperimentsByDesc(String gatewayId, String userName, String description) throws InvalidRequestException,
                                                                                                        AiravataClientException,
                                                                                                        AiravataSystemException,
                                                                                                        TException {
@@ -658,7 +705,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      *       The starting point of the results to be fetched
      */
     @Override
-    public List<ExperimentSummary> searchExperimentsByDescWithPagination(String gatewayId, String userName, String description, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentSummaryModel> searchExperimentsByDescWithPagination(String gatewayId, String userName, String description, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         if (!validateString(userName)){
             logger.error("Username cannot be empty. Please provide a valid user..");
             AiravataSystemException exception = new AiravataSystemException();
@@ -678,7 +725,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 exception.setMessage("User does not exist in the system. Please provide a valid user..");
                 throw exception;
             }
-            List<ExperimentSummary> summaries = new ArrayList<ExperimentSummary>();
+            List<ExperimentSummaryModel> summaries = new ArrayList<ExperimentSummaryModel>();
             experimentCatalog = RegistryFactory.getExperimentCatalog(gatewayId);
             Map<String, String> filters = new HashMap<String, String>();
             filters.put(Constants.FieldConstants.ExperimentConstants.USER_NAME, userName);
@@ -687,7 +734,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             List<Object> results = experimentCatalog.search(ExperimentCatalogModelType.EXPERIMENT, filters, limit,
                     offset, Constants.FieldConstants.ExperimentConstants.CREATION_TIME, ResultOrderType.DESC);
             for (Object object : results) {
-                summaries.add((ExperimentSummary) object);
+                summaries.add((ExperimentSummaryModel) object);
             }
             return summaries;
         }catch (Exception e) {
@@ -713,7 +760,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      */
     @Deprecated
     @Override
-    public List<ExperimentSummary> searchExperimentsByApplication(String gatewayId, String userName, String applicationId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentSummaryModel> searchExperimentsByApplication(String gatewayId, String userName, String applicationId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         return searchExperimentsByApplicationWithPagination(gatewayId, userName, applicationId, -1, -1);
     }
 
@@ -733,7 +780,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      *       The starting point of the results to be fetched
      */
     @Override
-    public List<ExperimentSummary> searchExperimentsByApplicationWithPagination(String gatewayId, String userName, String applicationId, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentSummaryModel> searchExperimentsByApplicationWithPagination(String gatewayId, String userName, String applicationId, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         if (!validateString(userName)){
             logger.error("Username cannot be empty. Please provide a valid user..");
             AiravataSystemException exception = new AiravataSystemException();
@@ -753,7 +800,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 exception.setMessage("User does not exist in the system. Please provide a valid user..");
                 throw exception;
             }
-            List<ExperimentSummary> summaries = new ArrayList<ExperimentSummary>();
+            List<ExperimentSummaryModel> summaries = new ArrayList<ExperimentSummaryModel>();
             experimentCatalog = RegistryFactory.getExperimentCatalog(gatewayId);
             Map<String, String> filters = new HashMap<String, String>();
             filters.put(Constants.FieldConstants.ExperimentConstants.USER_NAME, userName);
@@ -762,7 +809,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             List<Object> results = experimentCatalog.search(ExperimentCatalogModelType.EXPERIMENT, filters, limit,
                     offset, Constants.FieldConstants.ExperimentConstants.CREATION_TIME, ResultOrderType.DESC);
             for (Object object : results) {
-                summaries.add((ExperimentSummary) object);
+                summaries.add((ExperimentSummaryModel) object);
             }
             return summaries;
         }catch (Exception e) {
@@ -788,7 +835,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      */
     @Deprecated
     @Override
-    public List<ExperimentSummary> searchExperimentsByStatus(String gatewayId, String userName, ExperimentState experimentState) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentSummaryModel> searchExperimentsByStatus(String gatewayId, String userName, ExperimentState experimentState) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         return searchExperimentsByStatusWithPagination(gatewayId, userName, experimentState, -1, -1);
     }
 
@@ -808,7 +855,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      *       The starting point of the results to be fetched
      */
     @Override
-    public List<ExperimentSummary> searchExperimentsByStatusWithPagination(String gatewayId, String userName, ExperimentState experimentState, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentSummaryModel> searchExperimentsByStatusWithPagination(String gatewayId, String userName, ExperimentState experimentState, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         if (!validateString(userName)){
             logger.error("Username cannot be empty. Please provide a valid user..");
             AiravataSystemException exception = new AiravataSystemException();
@@ -828,7 +875,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 exception.setMessage("User does not exist in the system. Please provide a valid user..");
                 throw exception;
             }
-            List<ExperimentSummary> summaries = new ArrayList<ExperimentSummary>();
+            List<ExperimentSummaryModel> summaries = new ArrayList<ExperimentSummaryModel>();
             experimentCatalog = RegistryFactory.getExperimentCatalog(gatewayId);
             Map<String, String> filters = new HashMap<String, String>();
             filters.put(Constants.FieldConstants.ExperimentConstants.USER_NAME, userName);
@@ -837,7 +884,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             List<Object> results = experimentCatalog.search(ExperimentCatalogModelType.EXPERIMENT, filters, limit,
                     offset, Constants.FieldConstants.ExperimentConstants.CREATION_TIME, ResultOrderType.DESC);
             for (Object object : results) {
-                summaries.add((ExperimentSummary) object);
+                summaries.add((ExperimentSummaryModel) object);
             }
             return summaries;
         }catch (Exception e) {
@@ -865,7 +912,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      */
     @Deprecated
     @Override
-    public List<ExperimentSummary> searchExperimentsByCreationTime(String gatewayId, String userName, long fromTime, long toTime) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentSummaryModel> searchExperimentsByCreationTime(String gatewayId, String userName, long fromTime, long toTime) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         return searchExperimentsByCreationTimeWithPagination(gatewayId, userName, fromTime, toTime, -1, -1);
     }
 
@@ -887,7 +934,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      *       The starting point of the results to be fetched
      */
     @Override
-    public List<ExperimentSummary> searchExperimentsByCreationTimeWithPagination(String gatewayId, String userName, long fromTime, long toTime, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentSummaryModel> searchExperimentsByCreationTimeWithPagination(String gatewayId, String userName, long fromTime, long toTime, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         if (!validateString(userName)){
             logger.error("Username cannot be empty. Please provide a valid user..");
             AiravataSystemException exception = new AiravataSystemException();
@@ -907,7 +954,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 exception.setMessage("User does not exist in the system. Please provide a valid user..");
                 throw exception;
             }
-            List<ExperimentSummary> summaries = new ArrayList<ExperimentSummary>();
+            List<ExperimentSummaryModel> summaries = new ArrayList<ExperimentSummaryModel>();
             experimentCatalog = RegistryFactory.getExperimentCatalog(gatewayId);
             Map<String, String> filters = new HashMap<String, String>();
             filters.put(Constants.FieldConstants.ExperimentConstants.USER_NAME, userName);
@@ -917,7 +964,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             List<Object> results = experimentCatalog.search(ExperimentCatalogModelType.EXPERIMENT, filters, limit,
                     offset, Constants.FieldConstants.ExperimentConstants.CREATION_TIME, ResultOrderType.DESC);
             for (Object object : results) {
-                summaries.add((ExperimentSummary) object);
+                summaries.add((ExperimentSummaryModel) object);
             }
             return summaries;
         }catch (Exception e) {
@@ -945,7 +992,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      *       The starting point of the results to be fetched
      */
     @Override
-    public List<ExperimentSummary> searchExperiments(String gatewayId, String userName, Map<ExperimentSearchFields, String> filters, int limit, int offset)
+    public List<ExperimentSummaryModel> searchExperiments(String gatewayId, String userName, Map<ExperimentSearchFields, String> filters, int limit, int offset)
             throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         if (!validateString(userName)){
             logger.error("Username cannot be empty. Please provide a valid user..");
@@ -966,7 +1013,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 exception.setMessage("User does not exist in the system. Please provide a valid user..");
                 throw exception;
             }
-            List<ExperimentSummary> summaries = new ArrayList<ExperimentSummary>();
+            List<ExperimentSummaryModel> summaries = new ArrayList<ExperimentSummaryModel>();
             experimentCatalog = RegistryFactory.getExperimentCatalog(gatewayId);
             Map<String, String> regFilters = new HashMap();
             regFilters.put(Constants.FieldConstants.ExperimentConstants.USER_NAME, userName);
@@ -990,7 +1037,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             List<Object> results = experimentCatalog.search(ExperimentCatalogModelType.EXPERIMENT, regFilters, limit,
                     offset, Constants.FieldConstants.ExperimentConstants.CREATION_TIME, ResultOrderType.DESC);
             for (Object object : results) {
-                summaries.add((ExperimentSummary) object);
+                summaries.add((ExperimentSummaryModel) object);
             }
             return summaries;
         }catch (Exception e) {
@@ -1048,7 +1095,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      */
     @Deprecated
     @Override
-    public List<Experiment> getAllExperimentsInProject(String projectId) throws InvalidRequestException,
+    public List<ExperimentModel> getAllExperimentsInProject(String projectId) throws InvalidRequestException,
                                                                                 AiravataClientException,
                                                                                 AiravataSystemException,
                                                                                 ProjectNotFoundException,
@@ -1068,7 +1115,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      *       The starting point of the results to be fetched
      */
     @Override
-    public List<Experiment> getAllExperimentsInProjectWithPagination(String projectId, int limit, int offset)
+    public List<ExperimentModel> getAllExperimentsInProjectWithPagination(String projectId, int limit, int offset)
             throws InvalidRequestException, AiravataClientException, AiravataSystemException, ProjectNotFoundException, TException {
         if (!validateString(projectId)){
             logger.error("Project id cannot be empty. Please provide a valid project ID...");
@@ -1085,13 +1132,13 @@ public class AiravataServerHandler implements Airavata.Iface {
                 exception.setMessage("Project does not exist in the system. Please provide a valid project ID...");
                 throw exception;
             }
-            List<Experiment> experiments = new ArrayList<Experiment>();
+            List<ExperimentModel> experiments = new ArrayList<ExperimentModel>();
             List<Object> list = experimentCatalog.get(ExperimentCatalogModelType.EXPERIMENT,
                     Constants.FieldConstants.ExperimentConstants.PROJECT_ID, projectId, limit, offset,
                     Constants.FieldConstants.ExperimentConstants.CREATION_TIME, ResultOrderType.DESC);
             if (list != null && !list.isEmpty()) {
                 for (Object o : list) {
-                    experiments.add((Experiment) o);
+                    experiments.add((ExperimentModel) o);
                 }
             }
             return experiments;
@@ -1116,7 +1163,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      */
     @Deprecated
     @Override
-    public List<Experiment> getAllUserExperiments(String gatewayId, String userName) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentModel> getAllUserExperiments(String gatewayId, String userName) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         return getAllUserExperimentsWithPagination(gatewayId, userName, -1, -1);
     }
 
@@ -1134,7 +1181,7 @@ public class AiravataServerHandler implements Airavata.Iface {
      *       The starting point of the results to be fetched
      */
     @Override
-    public List<Experiment> getAllUserExperimentsWithPagination(String gatewayId, String userName, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public List<ExperimentModel> getAllUserExperimentsWithPagination(String gatewayId, String userName, int limit, int offset) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         if (!validateString(userName)){
             logger.error("Username cannot be empty. Please provide a valid user..");
             AiravataSystemException exception = new AiravataSystemException();
@@ -1154,14 +1201,14 @@ public class AiravataServerHandler implements Airavata.Iface {
                 exception.setMessage("User does not exist in the system. Please provide a valid user..");
                 throw exception;
             }
-            List<Experiment> experiments = new ArrayList<Experiment>();
+            List<ExperimentModel> experiments = new ArrayList<ExperimentModel>();
             experimentCatalog = RegistryFactory.getExperimentCatalog(gatewayId);
             List<Object> list = experimentCatalog.get(ExperimentCatalogModelType.EXPERIMENT,
                     Constants.FieldConstants.ExperimentConstants.USER_NAME, userName, limit, offset,
                     Constants.FieldConstants.ExperimentConstants.CREATION_TIME, ResultOrderType.DESC);
             if (list != null && !list.isEmpty()){
                 for (Object o : list){
-                    experiments.add((Experiment)o);
+                    experiments.add((ExperimentModel)o);
                 }
             }
             return experiments;
@@ -1197,10 +1244,10 @@ public class AiravataServerHandler implements Airavata.Iface {
      *                                                               rather an Airavata Administrator will be notified to take corrective action.
      */
     @Override
-    public String createExperiment(String gatewayId, Experiment experiment) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
+    public String createExperiment(String gatewayId, ExperimentModel experiment) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
         try {
             experimentCatalog = RegistryFactory.getExperimentCatalog(gatewayId);
-            if (!validateString(experiment.getName())){
+            if (!validateString(experiment.getExperimentName())){
                 logger.error("Cannot create experiments with empty experiment name");
                 AiravataSystemException exception = new AiravataSystemException();
                 exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
@@ -1221,10 +1268,10 @@ public class AiravataServerHandler implements Airavata.Iface {
             if(publisher!=null) {
                 publisher.publish(messageContext);
             }
-            logger.infoId(experimentId, "Created new experiment with experiment name {}", experiment.getName());
+            logger.info(experimentId, "Created new experiment with experiment name {}", experiment.getExperimentName());
             return experimentId;
         } catch (Exception e) {
-            logger.error("Error while creating the experiment with experiment name {}", experiment.getName());
+            logger.error("Error while creating the experiment with experiment name {}", experiment.getExperimentName());
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while creating the experiment. More info : " + e.getMessage());
@@ -1255,13 +1302,13 @@ public class AiravataServerHandler implements Airavata.Iface {
      *                                                                   rather an Airavata Administrator will be notified to take corrective action.
      */
     @Override
-    public Experiment getExperiment(String airavataExperimentId) throws InvalidRequestException, ExperimentNotFoundException, AiravataClientException, AiravataSystemException, TException {
+    public ExperimentModel getExperiment(String airavataExperimentId) throws InvalidRequestException, ExperimentNotFoundException, AiravataClientException, AiravataSystemException, TException {
         try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
             if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)){
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
             }
-            return (Experiment) experimentCatalog.get(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId);
+            return (ExperimentModel) experimentCatalog.get(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId);
         } catch (Exception e) {
             logger.error("Error while retrieving the experiment", e);
             AiravataSystemException exception = new AiravataSystemException();
@@ -1297,23 +1344,23 @@ public class AiravataServerHandler implements Airavata.Iface {
      *                                                                   rather an Airavata Administrator will be notified to take corrective action.
      */
     @Override
-    public void updateExperiment(String airavataExperimentId, Experiment experiment) throws InvalidRequestException, ExperimentNotFoundException, AiravataClientException, AiravataSystemException, TException {
+    public void updateExperiment(String airavataExperimentId, ExperimentModel experiment) throws InvalidRequestException, ExperimentNotFoundException, AiravataClientException, AiravataSystemException, TException {
         try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
             if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)) {
-                logger.errorId(airavataExperimentId, "Update request failed, Experiment {} doesn't exist.", airavataExperimentId);
+                logger.error(airavataExperimentId, "Update request failed, Experiment {} doesn't exist.", airavataExperimentId);
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
             }
             ExperimentStatus experimentStatus = getExperimentStatus(airavataExperimentId);
             if (experimentStatus != null){
-                ExperimentState experimentState = experimentStatus.getExperimentState();
+                ExperimentState experimentState = experimentStatus.getState();
                 switch (experimentState){
                     case CREATED: case VALIDATED:case UNKNOWN:
                         experimentCatalog.update(ExperimentCatalogModelType.EXPERIMENT, experiment, airavataExperimentId);
-                        logger.infoId(airavataExperimentId, "Successfully updated experiment {} ", experiment.getName());
+                        logger.info(airavataExperimentId, "Successfully updated experiment {} ", experiment.getExperimentName());
                         break;
                     default:
-                        logger.errorId(airavataExperimentId, "Error while updating experiment. Update experiment is only valid for experiments " +
+                        logger.error(airavataExperimentId, "Error while updating experiment. Update experiment is only valid for experiments " +
                                 "with status CREATED, VALIDATED, CANCELLED, FAILED and UNKNOWN. Make sure the given " +
                                 "experiment is in one of above statuses... ");
                         AiravataSystemException exception = new AiravataSystemException();
@@ -1325,7 +1372,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 }
             }
         } catch (Exception e) {
-            logger.errorId(airavataExperimentId, "Error while updating experiment", e);
+            logger.error(airavataExperimentId, "Error while updating experiment", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while updating experiment. More info : " + e.getMessage());
@@ -1338,7 +1385,7 @@ public class AiravataServerHandler implements Airavata.Iface {
         try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
             if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)){
-                logger.errorId(airavataExperimentId, "Update experiment configuration failed, experiment {} doesn't exist.", airavataExperimentId);
+                logger.error(airavataExperimentId, "Update experiment configuration failed, experiment {} doesn't exist.", airavataExperimentId);
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
             }
             ExperimentStatus experimentStatus = getExperimentStatus(airavataExperimentId);
@@ -1347,10 +1394,10 @@ public class AiravataServerHandler implements Airavata.Iface {
                 switch (experimentState){
                     case CREATED: case VALIDATED: case CANCELED: case FAILED: case UNKNOWN:
                         experimentCatalog.add(ExpCatChildDataType.EXPERIMENT_CONFIGURATION_DATA, userConfiguration, airavataExperimentId);
-                        logger.infoId(airavataExperimentId, "Successfully updated experiment configuration for experiment {}.", airavataExperimentId);
+                        logger.info(airavataExperimentId, "Successfully updated experiment configuration for experiment {}.", airavataExperimentId);
                         break;
                     default:
-                        logger.errorId(airavataExperimentId, "Error while updating experiment {}. Update experiment is only valid for experiments " +
+                        logger.error(airavataExperimentId, "Error while updating experiment {}. Update experiment is only valid for experiments " +
                                 "with status CREATED, VALIDATED, CANCELLED, FAILED and UNKNOWN. Make sure the given " +
                                 "experiment is in one of above statuses... ", airavataExperimentId);
                         AiravataSystemException exception = new AiravataSystemException();
@@ -1362,7 +1409,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 }
             }
         } catch (Exception e) {
-            logger.errorId(airavataExperimentId, "Error while updating user configuration", e);
+            logger.error(airavataExperimentId, "Error while updating user configuration", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while updating user configuration. " +
@@ -1374,23 +1421,23 @@ public class AiravataServerHandler implements Airavata.Iface {
     }
 
     @Override
-    public void updateResourceScheduleing(String airavataExperimentId, ComputationalResourceScheduling resourceScheduling) throws TException {
+    public void updateResourceScheduleing(String airavataExperimentId, ComputationalResourceSchedulingModel resourceScheduling) throws TException {
         try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
             if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)){
-                logger.infoId(airavataExperimentId, "Update resource scheduling failed, experiment {} doesn't exist.", airavataExperimentId);
+                logger.info(airavataExperimentId, "Update resource scheduling failed, experiment {} doesn't exist.", airavataExperimentId);
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
             }
             ExperimentStatus experimentStatus = getExperimentStatus(airavataExperimentId);
             if (experimentStatus != null){
-                ExperimentState experimentState = experimentStatus.getExperimentState();
+                ExperimentState experimentState = experimentStatus.getState();
                 switch (experimentState){
                     case CREATED: case VALIDATED: case CANCELED: case FAILED: case UNKNOWN:
                         experimentCatalog.add(ExpCatChildDataType.COMPUTATIONAL_RESOURCE_SCHEDULING, resourceScheduling, airavataExperimentId);
-                        logger.infoId(airavataExperimentId, "Successfully updated resource scheduling for the experiment {}.", airavataExperimentId);
+                        logger.info(airavataExperimentId, "Successfully updated resource scheduling for the experiment {}.", airavataExperimentId);
                         break;
                     default:
-                        logger.errorId(airavataExperimentId, "Error while updating scheduling info. Update experiment is only valid for experiments " +
+                        logger.error(airavataExperimentId, "Error while updating scheduling info. Update experiment is only valid for experiments " +
                                 "with status CREATED, VALIDATED, CANCELLED, FAILED and UNKNOWN. Make sure the given " +
                                 "experiment is in one of above statuses... ");
                         AiravataSystemException exception = new AiravataSystemException();
@@ -1402,7 +1449,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 }
             }
         } catch (Exception e) {
-            logger.errorId(airavataExperimentId, "Error while updating scheduling info", e);
+            logger.error(airavataExperimentId, "Error while updating scheduling info", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while updating scheduling info. " +
@@ -1429,11 +1476,11 @@ public class AiravataServerHandler implements Airavata.Iface {
      	try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
  			if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)) {
-                logger.errorId(airavataExperimentId, "Experiment validation failed , experiment {} doesn't exist.", airavataExperimentId);
+                logger.error(airavataExperimentId, "Experiment validation failed , experiment {} doesn't exist.", airavataExperimentId);
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
             }
         } catch (RegistryException e1) {
- 			  logger.errorId(airavataExperimentId, "Error while retrieving projects", e1);
+ 			  logger.error(airavataExperimentId, "Error while retrieving projects", e1);
  	            AiravataSystemException exception = new AiravataSystemException();
  	            exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
  	            exception.setMessage("Error while retrieving projects. More info : " + e1.getMessage());
@@ -1443,10 +1490,10 @@ public class AiravataServerHandler implements Airavata.Iface {
         Client orchestratorClient = getOrchestratorClient();
         try{
         if (orchestratorClient.validateExperiment(airavataExperimentId)) {
-            logger.infoId(airavataExperimentId, "Experiment validation succeed.");
+            logger.info(airavataExperimentId, "Experiment validation succeed.");
             return true;
         } else {
-            logger.infoId(airavataExperimentId, "Experiment validation failed.");
+            logger.info(airavataExperimentId, "Experiment validation failed.");
             return false;
         }}catch (TException e){
             throw e;
@@ -1489,13 +1536,13 @@ public class AiravataServerHandler implements Airavata.Iface {
         try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
             if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)){
-                logger.errorId(airavataExperimentId, "Error while retrieving experiment status, experiment {} doesn't exist.", airavataExperimentId);
+                logger.error(airavataExperimentId, "Error while retrieving experiment status, experiment {} doesn't exist.", airavataExperimentId);
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId +
                                                       " does not exist in the system..");
             }
             return (ExperimentStatus) experimentCatalog.get(ExperimentCatalogModelType.EXPERIMENT_STATUS, airavataExperimentId);
         } catch (Exception e) {
-            logger.errorId(airavataExperimentId, "Error while retrieving the experiment status", e);
+            logger.error(airavataExperimentId, "Error while retrieving the experiment status", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving the experiment status. More info : " + e.getMessage());
@@ -1508,12 +1555,12 @@ public class AiravataServerHandler implements Airavata.Iface {
         try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
             if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)){
-                logger.errorId(airavataExperimentId, "Get experiment outputs failed, experiment {} doesn't exit.", airavataExperimentId);
+                logger.error(airavataExperimentId, "Get experiment outputs failed, experiment {} doesn't exit.", airavataExperimentId);
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
             }
             return (List<OutputDataObjectType>) experimentCatalog.get(ExperimentCatalogModelType.EXPERIMENT_OUTPUT, airavataExperimentId);
         } catch (Exception e) {
-            logger.errorId(airavataExperimentId, "Error while retrieving the experiment outputs", e);
+            logger.error(airavataExperimentId, "Error while retrieving the experiment outputs", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving the experiment outputs. More info : " + e.getMessage());
@@ -1531,7 +1578,7 @@ public class AiravataServerHandler implements Airavata.Iface {
         try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
             if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)){
-                logger.errorId(airavataExperimentId, "Error while retrieving job status, the experiment {} doesn't exist.", airavataExperimentId);
+                logger.error(airavataExperimentId, "Error while retrieving job status, the experiment {} doesn't exist.", airavataExperimentId);
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
             }
             List<Object> workflowNodes = experimentCatalog.get(ExperimentCatalogModelType.WORKFLOW_NODE_DETAIL, Constants.FieldConstants.WorkflowNodeConstants.EXPERIMENT_ID, airavataExperimentId);
@@ -1554,7 +1601,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 }
             }
         } catch (Exception e) {
-            logger.errorId(airavataExperimentId, "Error while retrieving the job statuses", e);
+            logger.error(airavataExperimentId, "Error while retrieving the job statuses", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving the job statuses. More info : " + e.getMessage());
@@ -1564,12 +1611,12 @@ public class AiravataServerHandler implements Airavata.Iface {
     }
 
     @Override
-    public List<JobDetails> getJobDetails(String airavataExperimentId) throws InvalidRequestException, ExperimentNotFoundException, AiravataClientException, AiravataSystemException, TException {
-        List<JobDetails> jobDetailsList = new ArrayList<JobDetails>();
+    public List<JobModel> getJobDetails(String airavataExperimentId) throws InvalidRequestException, ExperimentNotFoundException, AiravataClientException, AiravataSystemException, TException {
+        List<JobModel> jobDetailsList = new ArrayList<JobModel>();
         try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
             if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)){
-                logger.errorId(airavataExperimentId, "Error while retrieving job details, experiment {} doesn't exist.", airavataExperimentId);
+                logger.error(airavataExperimentId, "Error while retrieving job details, experiment {} doesn't exist.", airavataExperimentId);
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
             }
             List<Object> workflowNodes = experimentCatalog.get(ExperimentCatalogModelType.WORKFLOW_NODE_DETAIL, Constants.FieldConstants.WorkflowNodeConstants.EXPERIMENT_ID, airavataExperimentId);
@@ -1591,7 +1638,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 }
             }
         } catch (Exception e) {
-            logger.errorId(airavataExperimentId, "Error while retrieving the job details", e);
+            logger.error(airavataExperimentId, "Error while retrieving the job details", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving the job details. More info : " + e.getMessage());
@@ -1600,42 +1647,6 @@ public class AiravataServerHandler implements Airavata.Iface {
         return jobDetailsList;
     }
 
-    @Override
-    public List<DataTransferDetails> getDataTransferDetails(String airavataExperimentId) throws InvalidRequestException, ExperimentNotFoundException, AiravataClientException, AiravataSystemException, TException {
-        List<DataTransferDetails> dataTransferDetailList = new ArrayList<DataTransferDetails>();
-        try {
-            experimentCatalog = RegistryFactory.getDefaultExpCatalog();
-            if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)) {
-                logger.errorId(airavataExperimentId, "Error while retrieving data transfer details, experiment {} doesn't exit.", airavataExperimentId);
-                throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
-            }
-            List<Object> workflowNodes = experimentCatalog.get(ExperimentCatalogModelType.WORKFLOW_NODE_DETAIL, Constants.FieldConstants.WorkflowNodeConstants.EXPERIMENT_ID, airavataExperimentId);
-            if (workflowNodes != null && !workflowNodes.isEmpty()){
-                for (Object wf : workflowNodes){
-                    String nodeInstanceId = ((WorkflowNodeDetails) wf).getNodeInstanceId();
-                    List<Object> taskDetails = experimentCatalog.get(ExperimentCatalogModelType.TASK_DETAIL, Constants.FieldConstants.TaskDetailConstants.NODE_ID, nodeInstanceId);
-                    if (taskDetails != null && !taskDetails.isEmpty()){
-                        for (Object ts : taskDetails){
-                            String taskID = ((TaskDetails) ts).getTaskID();
-                            List<Object> dataTransferDetails = experimentCatalog.get(ExperimentCatalogModelType.DATA_TRANSFER_DETAIL, Constants.FieldConstants.JobDetaisConstants.TASK_ID, taskID);
-                            if (dataTransferDetails != null && !dataTransferDetails.isEmpty()){
-                                for (Object dataTransfer : dataTransferDetails){
-                                    dataTransferDetailList.add((DataTransferDetails) dataTransfer);
-                                }
-                            }
-                        }
-                    }
-                }
-            }
-        } catch (Exception e) {
-            logger.errorId(airavataExperimentId, "Error while retrieving the data transfer details", e);
-            AiravataSystemException exception = new AiravataSystemException();
-            exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
-            exception.setMessage("Error while retrieving the data transfer details. More info : " + e.getMessage());
-            throw exception;
-        }
-        return dataTransferDetailList;
-    }
 
     /**
      * Launch a previously created and configured experiment. Airavata Server will then start processing the request and appropriate
@@ -1677,23 +1688,23 @@ public class AiravataServerHandler implements Airavata.Iface {
     	try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
 			if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, airavataExperimentId)) {
-                logger.errorId(airavataExperimentId, "Error while launching experiment, experiment {} doesn't exist.", airavataExperimentId);
+                logger.error(airavataExperimentId, "Error while launching experiment, experiment {} doesn't exist.", airavataExperimentId);
                 throw new ExperimentNotFoundException("Requested experiment id " + airavataExperimentId + " does not exist in the system..");
             }
         } catch (RegistryException e1) {
-            logger.errorId(airavataExperimentId, "Error while instantiate the registry instance", e1);
+            logger.error(airavataExperimentId, "Error while instantiate the registry instance", e1);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while instantiate the registry instance. More info : " + e1.getMessage());
             throw exception;
         }
-    	Experiment experiment = getExperiment(airavataExperimentId);
+    	ExperimentModel experiment = getExperiment(airavataExperimentId);
     	OrchestratorService.Client orchestratorClient = getOrchestratorClient();
     	if (orchestratorClient.validateExperiment(airavataExperimentId)) {
     		orchestratorClient.launchExperiment(airavataExperimentId, airavataCredStoreToken);
     	}else {
-            logger.errorId(airavataExperimentId, "Couldn't identify experiment type, experiment {} is neither single application nor workflow.", airavataExperimentId);
-            throw new InvalidRequestException("Experiment '" + airavataExperimentId + "' launch failed. Unable to figureout execution type for application " + experiment.getApplicationId());
+            logger.error(airavataExperimentId, "Couldn't identify experiment type, experiment {} is neither single application nor workflow.", airavataExperimentId);
+            throw new InvalidRequestException("Experiment '" + airavataExperimentId + "' launch failed. Unable to figureout execution type for application " + experiment.getExecutionId());
         }
     }
 
@@ -1754,28 +1765,25 @@ public class AiravataServerHandler implements Airavata.Iface {
         try {
             experimentCatalog = RegistryFactory.getDefaultExpCatalog();
             if (!experimentCatalog.isExist(ExperimentCatalogModelType.EXPERIMENT, existingExperimentID)){
-                logger.errorId(existingExperimentID, "Error while cloning experiment {}, experiment doesn't exist.", existingExperimentID);
+                logger.error(existingExperimentID, "Error while cloning experiment {}, experiment doesn't exist.", existingExperimentID);
                 throw new ExperimentNotFoundException("Requested experiment id " + existingExperimentID + " does not exist in the system..");
             }
-            Experiment existingExperiment = (Experiment) experimentCatalog.get(ExperimentCatalogModelType.EXPERIMENT, existingExperimentID);
+            ExperimentModel existingExperiment = (ExperimentModel) experimentCatalog.get(ExperimentCatalogModelType.EXPERIMENT, existingExperimentID);
             String gatewayId = (String) experimentCatalog.getValue(ExperimentCatalogModelType.EXPERIMENT, existingExperimentID, Constants.FieldConstants.ExperimentConstants.GATEWAY);
             existingExperiment.setCreationTime(AiravataUtils.getCurrentTimestamp().getTime());
-            if (existingExperiment.getApplicationId() != null){
-                List<OutputDataObjectType> applicationOutputs = getApplicationOutputs(existingExperiment.getApplicationId());
+            if (existingExperiment.getExecutionId() != null){
+                List<OutputDataObjectType> applicationOutputs = getApplicationOutputs(existingExperiment.getExecutionId());
                 existingExperiment.setExperimentOutputs(applicationOutputs);
             }
             if (validateString(newExperiementName)){
-                existingExperiment.setName(newExperiementName);
-            }
-            if (existingExperiment.getWorkflowNodeDetailsList() != null){
-                existingExperiment.getWorkflowNodeDetailsList().clear();
+                existingExperiment.setExperimentName(newExperiementName);
             }
             if (existingExperiment.getErrors() != null ){
                 existingExperiment.getErrors().clear();
             }
             return (String) experimentCatalog.add(ExpCatParentDataType.EXPERIMENT, existingExperiment, gatewayId);
         } catch (Exception e) {
-            logger.errorId(existingExperimentID, "Error while cloning the experiment with existing configuration...", e);
+            logger.error(existingExperimentID, "Error while cloning the experiment with existing configuration...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while cloning the experiment with existing configuration. More info : " + e.getMessage());
@@ -1814,7 +1822,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             Client client = getOrchestratorClient();
             client.terminateExperiment(airavataExperimentId, tokenId);
         } catch (RegistryException e) {
-            logger.errorId(airavataExperimentId, "Error while cancelling the experiment...", e);
+            logger.error(airavataExperimentId, "Error while cancelling the experiment...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while cancelling the experiment. More info : " + e.getMessage());
@@ -1860,7 +1868,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog = RegistryFactory.getAppCatalog();
             return appCatalog.getApplicationInterface().getApplicationModule(appModuleId);
         } catch (AppCatalogException e) {
-            logger.errorId(appModuleId, "Error while retrieving application module...", e);
+            logger.error(appModuleId, "Error while retrieving application module...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving the adding application module. More info : " + e.getMessage());
@@ -1883,7 +1891,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog.getApplicationInterface().updateApplicationModule(appModuleId, applicationModule);
             return true;
         } catch (AppCatalogException e) {
-            logger.errorId(appModuleId, "Error while updating application module...", e);
+            logger.error(appModuleId, "Error while updating application module...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while updating application module. More info : " + e.getMessage());
@@ -1922,7 +1930,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog = RegistryFactory.getAppCatalog();
             return appCatalog.getApplicationInterface().removeApplicationModule(appModuleId);
         } catch (AppCatalogException e) {
-            logger.errorId(appModuleId, "Error while deleting application module...", e);
+            logger.error(appModuleId, "Error while deleting application module...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while deleting the application module. More info : " + e.getMessage());
@@ -1967,7 +1975,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog = RegistryFactory.getAppCatalog();
             return appCatalog.getApplicationDeployment().getApplicationDeployement(appDeploymentId);
         } catch (AppCatalogException e) {
-            logger.errorId(appDeploymentId, "Error while retrieving application deployment...", e);
+            logger.error(appDeploymentId, "Error while retrieving application deployment...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving application deployment. More info : " + e.getMessage());
@@ -1990,7 +1998,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog.getApplicationDeployment().updateApplicationDeployment(appDeploymentId, applicationDeployment);
             return true;
         } catch (AppCatalogException e) {
-            logger.errorId(appDeploymentId, "Error while updating application deployment...", e);
+            logger.error(appDeploymentId, "Error while updating application deployment...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while updating application deployment. More info : " + e.getMessage());
@@ -2012,7 +2020,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog.getApplicationDeployment().removeAppDeployment(appDeploymentId);
             return true;
         } catch (AppCatalogException e) {
-            logger.errorId(appDeploymentId, "Error while deleting application deployment...", e);
+            logger.error(appDeploymentId, "Error while deleting application deployment...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while deleting application deployment. More info : " + e.getMessage());
@@ -2064,7 +2072,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             }
             return appDeployments;
         } catch (AppCatalogException e) {
-            logger.errorId(appModuleId, "Error while retrieving application deployments...", e);
+            logger.error(appModuleId, "Error while retrieving application deployments...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving application deployment. More info : " + e.getMessage());
@@ -2109,7 +2117,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog = RegistryFactory.getAppCatalog();
             return appCatalog.getApplicationInterface().getApplicationInterface(appInterfaceId);
         } catch (AppCatalogException e) {
-            logger.errorId(appInterfaceId, "Error while retrieving application interface...", e);
+            logger.error(appInterfaceId, "Error while retrieving application interface...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving application interface. More info : " + e.getMessage());
@@ -2132,7 +2140,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog.getApplicationInterface().updateApplicationInterface(appInterfaceId, applicationInterface);
             return true;
         } catch (AppCatalogException e) {
-            logger.errorId(appInterfaceId, "Error while updating application interface...", e);
+            logger.error(appInterfaceId, "Error while updating application interface...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while updating application interface. More info : " + e.getMessage());
@@ -2153,7 +2161,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog = RegistryFactory.getAppCatalog();
             return appCatalog.getApplicationInterface().removeApplicationInterface(appInterfaceId);
         } catch (AppCatalogException e) {
-            logger.errorId(appInterfaceId, "Error while deleting application interface...", e);
+            logger.error(appInterfaceId, "Error while deleting application interface...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while deleting application interface. More info : " + e.getMessage());
@@ -2229,7 +2237,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog = RegistryFactory.getAppCatalog();
             return appCatalog.getApplicationInterface().getApplicationInputs(appInterfaceId);
         } catch (AppCatalogException e) {
-            logger.errorId(appInterfaceId, "Error while retrieving application inputs...", e);
+            logger.error(appInterfaceId, "Error while retrieving application inputs...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving application inputs. More info : " + e.getMessage());
@@ -2250,7 +2258,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog = RegistryFactory.getAppCatalog();
             return appCatalog.getApplicationInterface().getApplicationOutputs(appInterfaceId);
         } catch (AppCatalogException e) {
-            logger.errorId(appInterfaceId, "Error while retrieving application outputs...", e);
+            logger.error(appInterfaceId, "Error while retrieving application outputs...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving application outputs. More info : " + e.getMessage());
@@ -2292,7 +2300,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             }
             return availableComputeResources;
         } catch (AppCatalogException e) {
-            logger.errorId(appInterfaceId, "Error while saving compute resource...", e);
+            logger.error(appInterfaceId, "Error while saving compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while saving compute resource. More info : " + e.getMessage());
@@ -2334,7 +2342,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog = RegistryFactory.getAppCatalog();
             return appCatalog.getComputeResource().getComputeResource(computeResourceId);
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while retrieving compute resource...", e);
+            logger.error(computeResourceId, "Error while retrieving compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while retrieving compute resource. More info : " + e.getMessage());
@@ -2377,7 +2385,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog.getComputeResource().updateComputeResource(computeResourceId, computeResourceDescription);
             return true;
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while updating compute resource...", e);
+            logger.error(computeResourceId, "Error while updating compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while updaing compute resource. More info : " + e.getMessage());
@@ -2399,7 +2407,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog.getComputeResource().removeComputeResource(computeResourceId);
             return true;
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while deleting compute resource...", e);
+            logger.error(computeResourceId, "Error while deleting compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while deleting compute resource. More info : " + e.getMessage());
@@ -2425,7 +2433,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return addJobSubmissionInterface(computeResource, computeResourceId,
             		computeResource.addLocalJobSubmission(localSubmission), JobSubmissionProtocol.LOCAL, priorityOrder);
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(computeResourceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2449,7 +2457,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             submission.save();
             return true;
         } catch (Exception e) {
-            logger.errorId(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2464,7 +2472,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return appCatalog.getComputeResource().getLocalJobSubmission(jobSubmissionId);
         } catch (AppCatalogException e) {
             String errorMsg = "Error while retrieving local job submission interface to resource compute resource...";
-            logger.errorId(jobSubmissionId, errorMsg, e);
+            logger.error(jobSubmissionId, errorMsg, e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage(errorMsg + e.getMessage());
@@ -2501,7 +2509,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return addJobSubmissionInterface(computeResource, computeResourceId,
             		computeResource.addSSHJobSubmission(sshJobSubmission), JobSubmissionProtocol.SSH, priorityOrder);
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(computeResourceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2516,7 +2524,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return appCatalog.getComputeResource().getSSHJobSubmission(jobSubmissionId);
         } catch (AppCatalogException e) {
             String errorMsg = "Error while retrieving SSH job submission interface to resource compute resource...";
-            logger.errorId(jobSubmissionId, errorMsg, e);
+            logger.error(jobSubmissionId, errorMsg, e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage(errorMsg + e.getMessage());
@@ -2542,7 +2550,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return addJobSubmissionInterface(computeResource, computeResourceId,
                     computeResource.addCloudJobSubmission(cloudJobSubmission), JobSubmissionProtocol.CLOUD, priorityOrder);
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(computeResourceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2557,7 +2565,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return appCatalog.getComputeResource().getCloudJobSubmission(jobSubmissionId);
         } catch (AppCatalogException e) {
             String errorMsg = "Error while retrieving Cloud job submission interface to resource compute resource...";
-            logger.errorId(jobSubmissionId, errorMsg, e);
+            logger.error(jobSubmissionId, errorMsg, e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage(errorMsg + e.getMessage());
@@ -2591,7 +2599,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return appCatalog.getComputeResource().getUNICOREJobSubmission(jobSubmissionId);
         } catch (AppCatalogException e) {
             String errorMsg = "Error while retrieving Unicore job submission interface to resource compute resource...";
-            logger.errorId(jobSubmissionId, errorMsg, e);
+            logger.error(jobSubmissionId, errorMsg, e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage(errorMsg + e.getMessage());
@@ -2615,7 +2623,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             submission.save();
             return true;
         } catch (Exception e) {
-            logger.errorId(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2639,7 +2647,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             submission.save();
             return true;
         } catch (Exception e) {
-            logger.errorId(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2655,7 +2663,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             submission.save();
             return true;
         } catch (Exception e) {
-            logger.errorId(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2681,7 +2689,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return addDataMovementInterface(computeResource, computeResourceId,
             		computeResource.addLocalDataMovement(localDataMovement), DataMovementProtocol.LOCAL, priorityOrder);
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while adding data movement interface to resource compute resource...", e);
+            logger.error(computeResourceId, "Error while adding data movement interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding data movement interface to resource compute resource. More info : " + e.getMessage());
@@ -2705,7 +2713,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             movment.save();
             return true;
         } catch (Exception e) {
-            logger.errorId(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2720,7 +2728,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return appCatalog.getComputeResource().getLocalDataMovement(dataMovementId);
         } catch (AppCatalogException e) {
             String errorMsg = "Error while retrieving local data movement interface to resource compute resource...";
-            logger.errorId(dataMovementId, errorMsg, e);
+            logger.error(dataMovementId, errorMsg, e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage(errorMsg + e.getMessage());
@@ -2757,7 +2765,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return addDataMovementInterface(computeResource, computeResourceId,
             		computeResource.addScpDataMovement(scpDataMovement), DataMovementProtocol.SCP, priorityOrder);
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while adding data movement interface to resource compute resource...", e);
+            logger.error(computeResourceId, "Error while adding data movement interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding data movement interface to resource compute resource. More info : " + e.getMessage());
@@ -2782,7 +2790,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             movment.save();
             return true;
         } catch (Exception e) {
-            logger.errorId(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2797,7 +2805,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return appCatalog.getComputeResource().getSCPDataMovement(dataMovementId);
         } catch (AppCatalogException e) {
             String errorMsg = "Error while retrieving SCP data movement interface to resource compute resource...";
-            logger.errorId(dataMovementId, errorMsg, e);
+            logger.error(dataMovementId, errorMsg, e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage(errorMsg + e.getMessage());
@@ -2813,7 +2821,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return addDataMovementInterface(computeResource, computeResourceId,
                     computeResource.addUnicoreDataMovement(unicoreDataMovement), DataMovementProtocol.UNICORE_STORAGE_SERVICE, priorityOrder);
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while adding data movement interface to resource compute resource...", e);
+            logger.error(computeResourceId, "Error while adding data movement interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding data movement interface to resource compute resource. More info : " + e.getMessage());
@@ -2829,7 +2837,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             movment.save();
             return true;
         } catch (Exception e) {
-            logger.errorId(dataMovementInterfaceId, "Error while updating unicore data movement to compute resource...", e);
+            logger.error(dataMovementInterfaceId, "Error while updating unicore data movement to compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while updating unicore data movement to compute resource. More info : " + e.getMessage());
@@ -2844,7 +2852,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return appCatalog.getComputeResource().getUNICOREDataMovement(dataMovementId);
         } catch (AppCatalogException e) {
             String errorMsg = "Error while retrieving UNICORE data movement interface...";
-            logger.errorId(dataMovementId, errorMsg, e);
+            logger.error(dataMovementId, errorMsg, e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage(errorMsg + e.getMessage());
@@ -2870,7 +2878,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return addDataMovementInterface(computeResource, computeResourceId,
             		computeResource.addGridFTPDataMovement(gridFTPDataMovement), DataMovementProtocol.GridFTP, priorityOrder);
         } catch (AppCatalogException e) {
-            logger.errorId(computeResourceId, "Error while adding data movement interface to resource compute resource...", e);
+            logger.error(computeResourceId, "Error while adding data movement interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding data movement interface to resource compute resource. More info : " + e.getMessage());
@@ -2895,7 +2903,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             movment.save();
             return true;
         } catch (Exception e) {
-            logger.errorId(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
+            logger.error(jobSubmissionInterfaceId, "Error while adding job submission interface to resource compute resource...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while adding job submission interface to resource compute resource. More info : " + e.getMessage());
@@ -2910,7 +2918,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             return appCatalog.getComputeResource().getGridFTPDataMovement(dataMovementId);
         } catch (AppCatalogException e) {
             String errorMsg = "Error while retrieving GridFTP data movement interface to resource compute resource...";
-            logger.errorId(dataMovementId, errorMsg, e);
+            logger.error(dataMovementId, errorMsg, e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage(errorMsg + e.getMessage());
@@ -2982,7 +2990,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog.getComputeResource().removeJobSubmissionInterface(computeResourceId, jobSubmissionInterfaceId);
             return true;
         } catch (AppCatalogException e) {
-            logger.errorId(jobSubmissionInterfaceId, "Error while deleting job submission interface...", e);
+            logger.error(jobSubmissionInterfaceId, "Error while deleting job submission interface...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while deleting job submission interface. More info : " + e.getMessage());
@@ -3004,7 +3012,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             appCatalog.getComputeResource().removeDataMovementInterface(computeResourceId, dataMovementInterfaceId);
             return true;
         } catch (AppCatalogException e) {
-            logger.errorId(dataMovementInterfaceId, "Error while deleting data movement interface...", e);
+            logger.error(dataMovementInterfaceId, "Error while deleting data movement interface...", e);
             AiravataSystemException exception = new AiravataSystemException();
             exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
             exception.setMessage("Error while deleting data movement interface. More info : " + e.getMessa

<TRUNCATED>

[24/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/OutputDataObjectType.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/OutputDataObjectType.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/OutputDataObjectType.java
new file mode 100644
index 0000000..8805e67
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/OutputDataObjectType.java
@@ -0,0 +1,1279 @@
+/**
+ * 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.application.io;
+
+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"})
+/**
+ * Application Outputs. The paramters describe how outputs generated by the application.
+ * 
+ * name:
+ *   Name of the parameter.
+ * 
+ * value:
+ *   Value of the parameter.
+ * 
+ * type:
+ *   Data type of the parameter
+ * 
+ * applicationArguement:
+ *   The argument flag sent to the application. Such as -p pressure.
+ * 
+ * standardInput:
+ *   When this value is set, the parameter is sent as standard input rather than a parameter.
+ *   Typically this is passed using redirection operator ">".
+ * 
+ * userFriendlyDescription:
+ *   Description to be displayed at the user interface.
+ * 
+ * metaData:
+ *   Any metadat. This is typically ignore by Airavata and is used by gateways for application configuration.
+ * 
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class OutputDataObjectType implements org.apache.thrift.TBase<OutputDataObjectType, OutputDataObjectType._Fields>, java.io.Serializable, Cloneable, Comparable<OutputDataObjectType> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OutputDataObjectType");
+
+  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)2);
+  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)3);
+  private static final org.apache.thrift.protocol.TField APPLICATION_ARGUMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationArgument", org.apache.thrift.protocol.TType.STRING, (short)4);
+  private static final org.apache.thrift.protocol.TField IS_REQUIRED_FIELD_DESC = new org.apache.thrift.protocol.TField("isRequired", org.apache.thrift.protocol.TType.BOOL, (short)5);
+  private static final org.apache.thrift.protocol.TField REQUIRED_TO_ADDED_TO_COMMAND_LINE_FIELD_DESC = new org.apache.thrift.protocol.TField("requiredToAddedToCommandLine", org.apache.thrift.protocol.TType.BOOL, (short)6);
+  private static final org.apache.thrift.protocol.TField DATA_MOVEMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("dataMovement", org.apache.thrift.protocol.TType.BOOL, (short)7);
+  private static final org.apache.thrift.protocol.TField LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("location", org.apache.thrift.protocol.TType.STRING, (short)8);
+  private static final org.apache.thrift.protocol.TField SEARCH_QUERY_FIELD_DESC = new org.apache.thrift.protocol.TField("searchQuery", org.apache.thrift.protocol.TType.STRING, (short)9);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new OutputDataObjectTypeStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new OutputDataObjectTypeTupleSchemeFactory());
+  }
+
+  private String name; // required
+  private String value; // optional
+  private DataType type; // optional
+  private String applicationArgument; // optional
+  private boolean isRequired; // optional
+  private boolean requiredToAddedToCommandLine; // optional
+  private boolean dataMovement; // optional
+  private String location; // optional
+  private String searchQuery; // 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 {
+    NAME((short)1, "name"),
+    VALUE((short)2, "value"),
+    /**
+     * 
+     * @see DataType
+     */
+    TYPE((short)3, "type"),
+    APPLICATION_ARGUMENT((short)4, "applicationArgument"),
+    IS_REQUIRED((short)5, "isRequired"),
+    REQUIRED_TO_ADDED_TO_COMMAND_LINE((short)6, "requiredToAddedToCommandLine"),
+    DATA_MOVEMENT((short)7, "dataMovement"),
+    LOCATION((short)8, "location"),
+    SEARCH_QUERY((short)9, "searchQuery");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // NAME
+          return NAME;
+        case 2: // VALUE
+          return VALUE;
+        case 3: // TYPE
+          return TYPE;
+        case 4: // APPLICATION_ARGUMENT
+          return APPLICATION_ARGUMENT;
+        case 5: // IS_REQUIRED
+          return IS_REQUIRED;
+        case 6: // REQUIRED_TO_ADDED_TO_COMMAND_LINE
+          return REQUIRED_TO_ADDED_TO_COMMAND_LINE;
+        case 7: // DATA_MOVEMENT
+          return DATA_MOVEMENT;
+        case 8: // LOCATION
+          return LOCATION;
+        case 9: // SEARCH_QUERY
+          return SEARCH_QUERY;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __ISREQUIRED_ISSET_ID = 0;
+  private static final int __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID = 1;
+  private static final int __DATAMOVEMENT_ISSET_ID = 2;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.VALUE,_Fields.TYPE,_Fields.APPLICATION_ARGUMENT,_Fields.IS_REQUIRED,_Fields.REQUIRED_TO_ADDED_TO_COMMAND_LINE,_Fields.DATA_MOVEMENT,_Fields.LOCATION,_Fields.SEARCH_QUERY};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DataType.class)));
+    tmpMap.put(_Fields.APPLICATION_ARGUMENT, new org.apache.thrift.meta_data.FieldMetaData("applicationArgument", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.IS_REQUIRED, new org.apache.thrift.meta_data.FieldMetaData("isRequired", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.REQUIRED_TO_ADDED_TO_COMMAND_LINE, new org.apache.thrift.meta_data.FieldMetaData("requiredToAddedToCommandLine", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.DATA_MOVEMENT, new org.apache.thrift.meta_data.FieldMetaData("dataMovement", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.LOCATION, new org.apache.thrift.meta_data.FieldMetaData("location", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.SEARCH_QUERY, new org.apache.thrift.meta_data.FieldMetaData("searchQuery", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(OutputDataObjectType.class, metaDataMap);
+  }
+
+  public OutputDataObjectType() {
+  }
+
+  public OutputDataObjectType(
+    String name)
+  {
+    this();
+    this.name = name;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public OutputDataObjectType(OutputDataObjectType other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetName()) {
+      this.name = other.name;
+    }
+    if (other.isSetValue()) {
+      this.value = other.value;
+    }
+    if (other.isSetType()) {
+      this.type = other.type;
+    }
+    if (other.isSetApplicationArgument()) {
+      this.applicationArgument = other.applicationArgument;
+    }
+    this.isRequired = other.isRequired;
+    this.requiredToAddedToCommandLine = other.requiredToAddedToCommandLine;
+    this.dataMovement = other.dataMovement;
+    if (other.isSetLocation()) {
+      this.location = other.location;
+    }
+    if (other.isSetSearchQuery()) {
+      this.searchQuery = other.searchQuery;
+    }
+  }
+
+  public OutputDataObjectType deepCopy() {
+    return new OutputDataObjectType(this);
+  }
+
+  @Override
+  public void clear() {
+    this.name = null;
+    this.value = null;
+    this.type = null;
+    this.applicationArgument = null;
+    setIsRequiredIsSet(false);
+    this.isRequired = false;
+    setRequiredToAddedToCommandLineIsSet(false);
+    this.requiredToAddedToCommandLine = false;
+    setDataMovementIsSet(false);
+    this.dataMovement = false;
+    this.location = null;
+    this.searchQuery = null;
+  }
+
+  public String getName() {
+    return this.name;
+  }
+
+  public void setName(String name) {
+    this.name = name;
+  }
+
+  public void unsetName() {
+    this.name = null;
+  }
+
+  /** Returns true if field name is set (has been assigned a value) and false otherwise */
+  public boolean isSetName() {
+    return this.name != null;
+  }
+
+  public void setNameIsSet(boolean value) {
+    if (!value) {
+      this.name = null;
+    }
+  }
+
+  public String getValue() {
+    return this.value;
+  }
+
+  public void setValue(String value) {
+    this.value = value;
+  }
+
+  public void unsetValue() {
+    this.value = null;
+  }
+
+  /** Returns true if field value is set (has been assigned a value) and false otherwise */
+  public boolean isSetValue() {
+    return this.value != null;
+  }
+
+  public void setValueIsSet(boolean value) {
+    if (!value) {
+      this.value = null;
+    }
+  }
+
+  /**
+   * 
+   * @see DataType
+   */
+  public DataType getType() {
+    return this.type;
+  }
+
+  /**
+   * 
+   * @see DataType
+   */
+  public void setType(DataType type) {
+    this.type = type;
+  }
+
+  public void unsetType() {
+    this.type = null;
+  }
+
+  /** Returns true if field type is set (has been assigned a value) and false otherwise */
+  public boolean isSetType() {
+    return this.type != null;
+  }
+
+  public void setTypeIsSet(boolean value) {
+    if (!value) {
+      this.type = null;
+    }
+  }
+
+  public String getApplicationArgument() {
+    return this.applicationArgument;
+  }
+
+  public void setApplicationArgument(String applicationArgument) {
+    this.applicationArgument = applicationArgument;
+  }
+
+  public void unsetApplicationArgument() {
+    this.applicationArgument = null;
+  }
+
+  /** Returns true if field applicationArgument is set (has been assigned a value) and false otherwise */
+  public boolean isSetApplicationArgument() {
+    return this.applicationArgument != null;
+  }
+
+  public void setApplicationArgumentIsSet(boolean value) {
+    if (!value) {
+      this.applicationArgument = null;
+    }
+  }
+
+  public boolean isIsRequired() {
+    return this.isRequired;
+  }
+
+  public void setIsRequired(boolean isRequired) {
+    this.isRequired = isRequired;
+    setIsRequiredIsSet(true);
+  }
+
+  public void unsetIsRequired() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ISREQUIRED_ISSET_ID);
+  }
+
+  /** Returns true if field isRequired is set (has been assigned a value) and false otherwise */
+  public boolean isSetIsRequired() {
+    return EncodingUtils.testBit(__isset_bitfield, __ISREQUIRED_ISSET_ID);
+  }
+
+  public void setIsRequiredIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ISREQUIRED_ISSET_ID, value);
+  }
+
+  public boolean isRequiredToAddedToCommandLine() {
+    return this.requiredToAddedToCommandLine;
+  }
+
+  public void setRequiredToAddedToCommandLine(boolean requiredToAddedToCommandLine) {
+    this.requiredToAddedToCommandLine = requiredToAddedToCommandLine;
+    setRequiredToAddedToCommandLineIsSet(true);
+  }
+
+  public void unsetRequiredToAddedToCommandLine() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID);
+  }
+
+  /** Returns true if field requiredToAddedToCommandLine is set (has been assigned a value) and false otherwise */
+  public boolean isSetRequiredToAddedToCommandLine() {
+    return EncodingUtils.testBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID);
+  }
+
+  public void setRequiredToAddedToCommandLineIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID, value);
+  }
+
+  public boolean isDataMovement() {
+    return this.dataMovement;
+  }
+
+  public void setDataMovement(boolean dataMovement) {
+    this.dataMovement = dataMovement;
+    setDataMovementIsSet(true);
+  }
+
+  public void unsetDataMovement() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __DATAMOVEMENT_ISSET_ID);
+  }
+
+  /** Returns true if field dataMovement is set (has been assigned a value) and false otherwise */
+  public boolean isSetDataMovement() {
+    return EncodingUtils.testBit(__isset_bitfield, __DATAMOVEMENT_ISSET_ID);
+  }
+
+  public void setDataMovementIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __DATAMOVEMENT_ISSET_ID, value);
+  }
+
+  public String getLocation() {
+    return this.location;
+  }
+
+  public void setLocation(String location) {
+    this.location = location;
+  }
+
+  public void unsetLocation() {
+    this.location = null;
+  }
+
+  /** Returns true if field location is set (has been assigned a value) and false otherwise */
+  public boolean isSetLocation() {
+    return this.location != null;
+  }
+
+  public void setLocationIsSet(boolean value) {
+    if (!value) {
+      this.location = null;
+    }
+  }
+
+  public String getSearchQuery() {
+    return this.searchQuery;
+  }
+
+  public void setSearchQuery(String searchQuery) {
+    this.searchQuery = searchQuery;
+  }
+
+  public void unsetSearchQuery() {
+    this.searchQuery = null;
+  }
+
+  /** Returns true if field searchQuery is set (has been assigned a value) and false otherwise */
+  public boolean isSetSearchQuery() {
+    return this.searchQuery != null;
+  }
+
+  public void setSearchQueryIsSet(boolean value) {
+    if (!value) {
+      this.searchQuery = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case NAME:
+      if (value == null) {
+        unsetName();
+      } else {
+        setName((String)value);
+      }
+      break;
+
+    case VALUE:
+      if (value == null) {
+        unsetValue();
+      } else {
+        setValue((String)value);
+      }
+      break;
+
+    case TYPE:
+      if (value == null) {
+        unsetType();
+      } else {
+        setType((DataType)value);
+      }
+      break;
+
+    case APPLICATION_ARGUMENT:
+      if (value == null) {
+        unsetApplicationArgument();
+      } else {
+        setApplicationArgument((String)value);
+      }
+      break;
+
+    case IS_REQUIRED:
+      if (value == null) {
+        unsetIsRequired();
+      } else {
+        setIsRequired((Boolean)value);
+      }
+      break;
+
+    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
+      if (value == null) {
+        unsetRequiredToAddedToCommandLine();
+      } else {
+        setRequiredToAddedToCommandLine((Boolean)value);
+      }
+      break;
+
+    case DATA_MOVEMENT:
+      if (value == null) {
+        unsetDataMovement();
+      } else {
+        setDataMovement((Boolean)value);
+      }
+      break;
+
+    case LOCATION:
+      if (value == null) {
+        unsetLocation();
+      } else {
+        setLocation((String)value);
+      }
+      break;
+
+    case SEARCH_QUERY:
+      if (value == null) {
+        unsetSearchQuery();
+      } else {
+        setSearchQuery((String)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case NAME:
+      return getName();
+
+    case VALUE:
+      return getValue();
+
+    case TYPE:
+      return getType();
+
+    case APPLICATION_ARGUMENT:
+      return getApplicationArgument();
+
+    case IS_REQUIRED:
+      return Boolean.valueOf(isIsRequired());
+
+    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
+      return Boolean.valueOf(isRequiredToAddedToCommandLine());
+
+    case DATA_MOVEMENT:
+      return Boolean.valueOf(isDataMovement());
+
+    case LOCATION:
+      return getLocation();
+
+    case SEARCH_QUERY:
+      return getSearchQuery();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case NAME:
+      return isSetName();
+    case VALUE:
+      return isSetValue();
+    case TYPE:
+      return isSetType();
+    case APPLICATION_ARGUMENT:
+      return isSetApplicationArgument();
+    case IS_REQUIRED:
+      return isSetIsRequired();
+    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
+      return isSetRequiredToAddedToCommandLine();
+    case DATA_MOVEMENT:
+      return isSetDataMovement();
+    case LOCATION:
+      return isSetLocation();
+    case SEARCH_QUERY:
+      return isSetSearchQuery();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof OutputDataObjectType)
+      return this.equals((OutputDataObjectType)that);
+    return false;
+  }
+
+  public boolean equals(OutputDataObjectType that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_name = true && this.isSetName();
+    boolean that_present_name = true && that.isSetName();
+    if (this_present_name || that_present_name) {
+      if (!(this_present_name && that_present_name))
+        return false;
+      if (!this.name.equals(that.name))
+        return false;
+    }
+
+    boolean this_present_value = true && this.isSetValue();
+    boolean that_present_value = true && that.isSetValue();
+    if (this_present_value || that_present_value) {
+      if (!(this_present_value && that_present_value))
+        return false;
+      if (!this.value.equals(that.value))
+        return false;
+    }
+
+    boolean this_present_type = true && this.isSetType();
+    boolean that_present_type = true && that.isSetType();
+    if (this_present_type || that_present_type) {
+      if (!(this_present_type && that_present_type))
+        return false;
+      if (!this.type.equals(that.type))
+        return false;
+    }
+
+    boolean this_present_applicationArgument = true && this.isSetApplicationArgument();
+    boolean that_present_applicationArgument = true && that.isSetApplicationArgument();
+    if (this_present_applicationArgument || that_present_applicationArgument) {
+      if (!(this_present_applicationArgument && that_present_applicationArgument))
+        return false;
+      if (!this.applicationArgument.equals(that.applicationArgument))
+        return false;
+    }
+
+    boolean this_present_isRequired = true && this.isSetIsRequired();
+    boolean that_present_isRequired = true && that.isSetIsRequired();
+    if (this_present_isRequired || that_present_isRequired) {
+      if (!(this_present_isRequired && that_present_isRequired))
+        return false;
+      if (this.isRequired != that.isRequired)
+        return false;
+    }
+
+    boolean this_present_requiredToAddedToCommandLine = true && this.isSetRequiredToAddedToCommandLine();
+    boolean that_present_requiredToAddedToCommandLine = true && that.isSetRequiredToAddedToCommandLine();
+    if (this_present_requiredToAddedToCommandLine || that_present_requiredToAddedToCommandLine) {
+      if (!(this_present_requiredToAddedToCommandLine && that_present_requiredToAddedToCommandLine))
+        return false;
+      if (this.requiredToAddedToCommandLine != that.requiredToAddedToCommandLine)
+        return false;
+    }
+
+    boolean this_present_dataMovement = true && this.isSetDataMovement();
+    boolean that_present_dataMovement = true && that.isSetDataMovement();
+    if (this_present_dataMovement || that_present_dataMovement) {
+      if (!(this_present_dataMovement && that_present_dataMovement))
+        return false;
+      if (this.dataMovement != that.dataMovement)
+        return false;
+    }
+
+    boolean this_present_location = true && this.isSetLocation();
+    boolean that_present_location = true && that.isSetLocation();
+    if (this_present_location || that_present_location) {
+      if (!(this_present_location && that_present_location))
+        return false;
+      if (!this.location.equals(that.location))
+        return false;
+    }
+
+    boolean this_present_searchQuery = true && this.isSetSearchQuery();
+    boolean that_present_searchQuery = true && that.isSetSearchQuery();
+    if (this_present_searchQuery || that_present_searchQuery) {
+      if (!(this_present_searchQuery && that_present_searchQuery))
+        return false;
+      if (!this.searchQuery.equals(that.searchQuery))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_name = true && (isSetName());
+    list.add(present_name);
+    if (present_name)
+      list.add(name);
+
+    boolean present_value = true && (isSetValue());
+    list.add(present_value);
+    if (present_value)
+      list.add(value);
+
+    boolean present_type = true && (isSetType());
+    list.add(present_type);
+    if (present_type)
+      list.add(type.getValue());
+
+    boolean present_applicationArgument = true && (isSetApplicationArgument());
+    list.add(present_applicationArgument);
+    if (present_applicationArgument)
+      list.add(applicationArgument);
+
+    boolean present_isRequired = true && (isSetIsRequired());
+    list.add(present_isRequired);
+    if (present_isRequired)
+      list.add(isRequired);
+
+    boolean present_requiredToAddedToCommandLine = true && (isSetRequiredToAddedToCommandLine());
+    list.add(present_requiredToAddedToCommandLine);
+    if (present_requiredToAddedToCommandLine)
+      list.add(requiredToAddedToCommandLine);
+
+    boolean present_dataMovement = true && (isSetDataMovement());
+    list.add(present_dataMovement);
+    if (present_dataMovement)
+      list.add(dataMovement);
+
+    boolean present_location = true && (isSetLocation());
+    list.add(present_location);
+    if (present_location)
+      list.add(location);
+
+    boolean present_searchQuery = true && (isSetSearchQuery());
+    list.add(present_searchQuery);
+    if (present_searchQuery)
+      list.add(searchQuery);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(OutputDataObjectType other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetName()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetValue()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetType()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetApplicationArgument()).compareTo(other.isSetApplicationArgument());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetApplicationArgument()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationArgument, other.applicationArgument);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetIsRequired()).compareTo(other.isSetIsRequired());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetIsRequired()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isRequired, other.isRequired);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetRequiredToAddedToCommandLine()).compareTo(other.isSetRequiredToAddedToCommandLine());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetRequiredToAddedToCommandLine()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.requiredToAddedToCommandLine, other.requiredToAddedToCommandLine);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetDataMovement()).compareTo(other.isSetDataMovement());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetDataMovement()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dataMovement, other.dataMovement);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetLocation()).compareTo(other.isSetLocation());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetLocation()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.location, other.location);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetSearchQuery()).compareTo(other.isSetSearchQuery());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetSearchQuery()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.searchQuery, other.searchQuery);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("OutputDataObjectType(");
+    boolean first = true;
+
+    sb.append("name:");
+    if (this.name == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.name);
+    }
+    first = false;
+    if (isSetValue()) {
+      if (!first) sb.append(", ");
+      sb.append("value:");
+      if (this.value == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.value);
+      }
+      first = false;
+    }
+    if (isSetType()) {
+      if (!first) sb.append(", ");
+      sb.append("type:");
+      if (this.type == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.type);
+      }
+      first = false;
+    }
+    if (isSetApplicationArgument()) {
+      if (!first) sb.append(", ");
+      sb.append("applicationArgument:");
+      if (this.applicationArgument == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.applicationArgument);
+      }
+      first = false;
+    }
+    if (isSetIsRequired()) {
+      if (!first) sb.append(", ");
+      sb.append("isRequired:");
+      sb.append(this.isRequired);
+      first = false;
+    }
+    if (isSetRequiredToAddedToCommandLine()) {
+      if (!first) sb.append(", ");
+      sb.append("requiredToAddedToCommandLine:");
+      sb.append(this.requiredToAddedToCommandLine);
+      first = false;
+    }
+    if (isSetDataMovement()) {
+      if (!first) sb.append(", ");
+      sb.append("dataMovement:");
+      sb.append(this.dataMovement);
+      first = false;
+    }
+    if (isSetLocation()) {
+      if (!first) sb.append(", ");
+      sb.append("location:");
+      if (this.location == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.location);
+      }
+      first = false;
+    }
+    if (isSetSearchQuery()) {
+      if (!first) sb.append(", ");
+      sb.append("searchQuery:");
+      if (this.searchQuery == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.searchQuery);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetName()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class OutputDataObjectTypeStandardSchemeFactory implements SchemeFactory {
+    public OutputDataObjectTypeStandardScheme getScheme() {
+      return new OutputDataObjectTypeStandardScheme();
+    }
+  }
+
+  private static class OutputDataObjectTypeStandardScheme extends StandardScheme<OutputDataObjectType> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, OutputDataObjectType struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // NAME
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.name = iprot.readString();
+              struct.setNameIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // VALUE
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.value = iprot.readString();
+              struct.setValueIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // TYPE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.type = org.apache.airavata.model.application.io.DataType.findByValue(iprot.readI32());
+              struct.setTypeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // APPLICATION_ARGUMENT
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.applicationArgument = iprot.readString();
+              struct.setApplicationArgumentIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // IS_REQUIRED
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.isRequired = iprot.readBool();
+              struct.setIsRequiredIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // REQUIRED_TO_ADDED_TO_COMMAND_LINE
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.requiredToAddedToCommandLine = iprot.readBool();
+              struct.setRequiredToAddedToCommandLineIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // DATA_MOVEMENT
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.dataMovement = iprot.readBool();
+              struct.setDataMovementIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 8: // LOCATION
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.location = iprot.readString();
+              struct.setLocationIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 9: // SEARCH_QUERY
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.searchQuery = iprot.readString();
+              struct.setSearchQueryIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, OutputDataObjectType struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.name != null) {
+        oprot.writeFieldBegin(NAME_FIELD_DESC);
+        oprot.writeString(struct.name);
+        oprot.writeFieldEnd();
+      }
+      if (struct.value != null) {
+        if (struct.isSetValue()) {
+          oprot.writeFieldBegin(VALUE_FIELD_DESC);
+          oprot.writeString(struct.value);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.type != null) {
+        if (struct.isSetType()) {
+          oprot.writeFieldBegin(TYPE_FIELD_DESC);
+          oprot.writeI32(struct.type.getValue());
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.applicationArgument != null) {
+        if (struct.isSetApplicationArgument()) {
+          oprot.writeFieldBegin(APPLICATION_ARGUMENT_FIELD_DESC);
+          oprot.writeString(struct.applicationArgument);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetIsRequired()) {
+        oprot.writeFieldBegin(IS_REQUIRED_FIELD_DESC);
+        oprot.writeBool(struct.isRequired);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetRequiredToAddedToCommandLine()) {
+        oprot.writeFieldBegin(REQUIRED_TO_ADDED_TO_COMMAND_LINE_FIELD_DESC);
+        oprot.writeBool(struct.requiredToAddedToCommandLine);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetDataMovement()) {
+        oprot.writeFieldBegin(DATA_MOVEMENT_FIELD_DESC);
+        oprot.writeBool(struct.dataMovement);
+        oprot.writeFieldEnd();
+      }
+      if (struct.location != null) {
+        if (struct.isSetLocation()) {
+          oprot.writeFieldBegin(LOCATION_FIELD_DESC);
+          oprot.writeString(struct.location);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.searchQuery != null) {
+        if (struct.isSetSearchQuery()) {
+          oprot.writeFieldBegin(SEARCH_QUERY_FIELD_DESC);
+          oprot.writeString(struct.searchQuery);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class OutputDataObjectTypeTupleSchemeFactory implements SchemeFactory {
+    public OutputDataObjectTypeTupleScheme getScheme() {
+      return new OutputDataObjectTypeTupleScheme();
+    }
+  }
+
+  private static class OutputDataObjectTypeTupleScheme extends TupleScheme<OutputDataObjectType> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, OutputDataObjectType struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeString(struct.name);
+      BitSet optionals = new BitSet();
+      if (struct.isSetValue()) {
+        optionals.set(0);
+      }
+      if (struct.isSetType()) {
+        optionals.set(1);
+      }
+      if (struct.isSetApplicationArgument()) {
+        optionals.set(2);
+      }
+      if (struct.isSetIsRequired()) {
+        optionals.set(3);
+      }
+      if (struct.isSetRequiredToAddedToCommandLine()) {
+        optionals.set(4);
+      }
+      if (struct.isSetDataMovement()) {
+        optionals.set(5);
+      }
+      if (struct.isSetLocation()) {
+        optionals.set(6);
+      }
+      if (struct.isSetSearchQuery()) {
+        optionals.set(7);
+      }
+      oprot.writeBitSet(optionals, 8);
+      if (struct.isSetValue()) {
+        oprot.writeString(struct.value);
+      }
+      if (struct.isSetType()) {
+        oprot.writeI32(struct.type.getValue());
+      }
+      if (struct.isSetApplicationArgument()) {
+        oprot.writeString(struct.applicationArgument);
+      }
+      if (struct.isSetIsRequired()) {
+        oprot.writeBool(struct.isRequired);
+      }
+      if (struct.isSetRequiredToAddedToCommandLine()) {
+        oprot.writeBool(struct.requiredToAddedToCommandLine);
+      }
+      if (struct.isSetDataMovement()) {
+        oprot.writeBool(struct.dataMovement);
+      }
+      if (struct.isSetLocation()) {
+        oprot.writeString(struct.location);
+      }
+      if (struct.isSetSearchQuery()) {
+        oprot.writeString(struct.searchQuery);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, OutputDataObjectType struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.name = iprot.readString();
+      struct.setNameIsSet(true);
+      BitSet incoming = iprot.readBitSet(8);
+      if (incoming.get(0)) {
+        struct.value = iprot.readString();
+        struct.setValueIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.type = org.apache.airavata.model.application.io.DataType.findByValue(iprot.readI32());
+        struct.setTypeIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.applicationArgument = iprot.readString();
+        struct.setApplicationArgumentIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.isRequired = iprot.readBool();
+        struct.setIsRequiredIsSet(true);
+      }
+      if (incoming.get(4)) {
+        struct.requiredToAddedToCommandLine = iprot.readBool();
+        struct.setRequiredToAddedToCommandLineIsSet(true);
+      }
+      if (incoming.get(5)) {
+        struct.dataMovement = iprot.readBool();
+        struct.setDataMovementIsSet(true);
+      }
+      if (incoming.get(6)) {
+        struct.location = iprot.readString();
+        struct.setLocationIsSet(true);
+      }
+      if (incoming.get(7)) {
+        struct.searchQuery = iprot.readString();
+        struct.setSearchQueryIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ErrorModel.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ErrorModel.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ErrorModel.java
new file mode 100644
index 0000000..3579d28
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/commons/ErrorModel.java
@@ -0,0 +1,984 @@
+/**
+ * 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.commons;
+
+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"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ErrorModel implements org.apache.thrift.TBase<ErrorModel, ErrorModel._Fields>, java.io.Serializable, Cloneable, Comparable<ErrorModel> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ErrorModel");
+
+  private static final org.apache.thrift.protocol.TField ERROR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("errorId", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField CREATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTime", org.apache.thrift.protocol.TType.I64, (short)2);
+  private static final org.apache.thrift.protocol.TField ACTUAL_ERROR_MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("actualErrorMessage", org.apache.thrift.protocol.TType.STRING, (short)3);
+  private static final org.apache.thrift.protocol.TField USER_FRIENDLY_MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("userFriendlyMessage", org.apache.thrift.protocol.TType.STRING, (short)4);
+  private static final org.apache.thrift.protocol.TField TRANSIENT_OR_PERSISTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("transientOrPersistent", org.apache.thrift.protocol.TType.BOOL, (short)5);
+  private static final org.apache.thrift.protocol.TField ROOT_CAUSE_ERROR_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("rootCauseErrorIdList", org.apache.thrift.protocol.TType.LIST, (short)6);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ErrorModelStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ErrorModelTupleSchemeFactory());
+  }
+
+  private String errorId; // required
+  private long creationTime; // optional
+  private String actualErrorMessage; // optional
+  private String userFriendlyMessage; // optional
+  private boolean transientOrPersistent; // optional
+  private List<String> rootCauseErrorIdList; // 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 {
+    ERROR_ID((short)1, "errorId"),
+    CREATION_TIME((short)2, "creationTime"),
+    ACTUAL_ERROR_MESSAGE((short)3, "actualErrorMessage"),
+    USER_FRIENDLY_MESSAGE((short)4, "userFriendlyMessage"),
+    TRANSIENT_OR_PERSISTENT((short)5, "transientOrPersistent"),
+    ROOT_CAUSE_ERROR_ID_LIST((short)6, "rootCauseErrorIdList");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // ERROR_ID
+          return ERROR_ID;
+        case 2: // CREATION_TIME
+          return CREATION_TIME;
+        case 3: // ACTUAL_ERROR_MESSAGE
+          return ACTUAL_ERROR_MESSAGE;
+        case 4: // USER_FRIENDLY_MESSAGE
+          return USER_FRIENDLY_MESSAGE;
+        case 5: // TRANSIENT_OR_PERSISTENT
+          return TRANSIENT_OR_PERSISTENT;
+        case 6: // ROOT_CAUSE_ERROR_ID_LIST
+          return ROOT_CAUSE_ERROR_ID_LIST;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __CREATIONTIME_ISSET_ID = 0;
+  private static final int __TRANSIENTORPERSISTENT_ISSET_ID = 1;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.CREATION_TIME,_Fields.ACTUAL_ERROR_MESSAGE,_Fields.USER_FRIENDLY_MESSAGE,_Fields.TRANSIENT_OR_PERSISTENT,_Fields.ROOT_CAUSE_ERROR_ID_LIST};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.ERROR_ID, new org.apache.thrift.meta_data.FieldMetaData("errorId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.CREATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("creationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.ACTUAL_ERROR_MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("actualErrorMessage", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.USER_FRIENDLY_MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("userFriendlyMessage", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.TRANSIENT_OR_PERSISTENT, new org.apache.thrift.meta_data.FieldMetaData("transientOrPersistent", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.ROOT_CAUSE_ERROR_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("rootCauseErrorIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
+            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ErrorModel.class, metaDataMap);
+  }
+
+  public ErrorModel() {
+    this.errorId = "DO_NOT_SET_AT_CLIENTS";
+
+    this.transientOrPersistent = false;
+
+  }
+
+  public ErrorModel(
+    String errorId)
+  {
+    this();
+    this.errorId = errorId;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ErrorModel(ErrorModel other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetErrorId()) {
+      this.errorId = other.errorId;
+    }
+    this.creationTime = other.creationTime;
+    if (other.isSetActualErrorMessage()) {
+      this.actualErrorMessage = other.actualErrorMessage;
+    }
+    if (other.isSetUserFriendlyMessage()) {
+      this.userFriendlyMessage = other.userFriendlyMessage;
+    }
+    this.transientOrPersistent = other.transientOrPersistent;
+    if (other.isSetRootCauseErrorIdList()) {
+      List<String> __this__rootCauseErrorIdList = new ArrayList<String>(other.rootCauseErrorIdList);
+      this.rootCauseErrorIdList = __this__rootCauseErrorIdList;
+    }
+  }
+
+  public ErrorModel deepCopy() {
+    return new ErrorModel(this);
+  }
+
+  @Override
+  public void clear() {
+    this.errorId = "DO_NOT_SET_AT_CLIENTS";
+
+    setCreationTimeIsSet(false);
+    this.creationTime = 0;
+    this.actualErrorMessage = null;
+    this.userFriendlyMessage = null;
+    this.transientOrPersistent = false;
+
+    this.rootCauseErrorIdList = null;
+  }
+
+  public String getErrorId() {
+    return this.errorId;
+  }
+
+  public void setErrorId(String errorId) {
+    this.errorId = errorId;
+  }
+
+  public void unsetErrorId() {
+    this.errorId = null;
+  }
+
+  /** Returns true if field errorId is set (has been assigned a value) and false otherwise */
+  public boolean isSetErrorId() {
+    return this.errorId != null;
+  }
+
+  public void setErrorIdIsSet(boolean value) {
+    if (!value) {
+      this.errorId = null;
+    }
+  }
+
+  public long getCreationTime() {
+    return this.creationTime;
+  }
+
+  public void setCreationTime(long creationTime) {
+    this.creationTime = creationTime;
+    setCreationTimeIsSet(true);
+  }
+
+  public void unsetCreationTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  /** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetCreationTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
+  }
+
+  public void setCreationTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CREATIONTIME_ISSET_ID, value);
+  }
+
+  public String getActualErrorMessage() {
+    return this.actualErrorMessage;
+  }
+
+  public void setActualErrorMessage(String actualErrorMessage) {
+    this.actualErrorMessage = actualErrorMessage;
+  }
+
+  public void unsetActualErrorMessage() {
+    this.actualErrorMessage = null;
+  }
+
+  /** Returns true if field actualErrorMessage is set (has been assigned a value) and false otherwise */
+  public boolean isSetActualErrorMessage() {
+    return this.actualErrorMessage != null;
+  }
+
+  public void setActualErrorMessageIsSet(boolean value) {
+    if (!value) {
+      this.actualErrorMessage = null;
+    }
+  }
+
+  public String getUserFriendlyMessage() {
+    return this.userFriendlyMessage;
+  }
+
+  public void setUserFriendlyMessage(String userFriendlyMessage) {
+    this.userFriendlyMessage = userFriendlyMessage;
+  }
+
+  public void unsetUserFriendlyMessage() {
+    this.userFriendlyMessage = null;
+  }
+
+  /** Returns true if field userFriendlyMessage is set (has been assigned a value) and false otherwise */
+  public boolean isSetUserFriendlyMessage() {
+    return this.userFriendlyMessage != null;
+  }
+
+  public void setUserFriendlyMessageIsSet(boolean value) {
+    if (!value) {
+      this.userFriendlyMessage = null;
+    }
+  }
+
+  public boolean isTransientOrPersistent() {
+    return this.transientOrPersistent;
+  }
+
+  public void setTransientOrPersistent(boolean transientOrPersistent) {
+    this.transientOrPersistent = transientOrPersistent;
+    setTransientOrPersistentIsSet(true);
+  }
+
+  public void unsetTransientOrPersistent() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TRANSIENTORPERSISTENT_ISSET_ID);
+  }
+
+  /** Returns true if field transientOrPersistent is set (has been assigned a value) and false otherwise */
+  public boolean isSetTransientOrPersistent() {
+    return EncodingUtils.testBit(__isset_bitfield, __TRANSIENTORPERSISTENT_ISSET_ID);
+  }
+
+  public void setTransientOrPersistentIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TRANSIENTORPERSISTENT_ISSET_ID, value);
+  }
+
+  public int getRootCauseErrorIdListSize() {
+    return (this.rootCauseErrorIdList == null) ? 0 : this.rootCauseErrorIdList.size();
+  }
+
+  public java.util.Iterator<String> getRootCauseErrorIdListIterator() {
+    return (this.rootCauseErrorIdList == null) ? null : this.rootCauseErrorIdList.iterator();
+  }
+
+  public void addToRootCauseErrorIdList(String elem) {
+    if (this.rootCauseErrorIdList == null) {
+      this.rootCauseErrorIdList = new ArrayList<String>();
+    }
+    this.rootCauseErrorIdList.add(elem);
+  }
+
+  public List<String> getRootCauseErrorIdList() {
+    return this.rootCauseErrorIdList;
+  }
+
+  public void setRootCauseErrorIdList(List<String> rootCauseErrorIdList) {
+    this.rootCauseErrorIdList = rootCauseErrorIdList;
+  }
+
+  public void unsetRootCauseErrorIdList() {
+    this.rootCauseErrorIdList = null;
+  }
+
+  /** Returns true if field rootCauseErrorIdList is set (has been assigned a value) and false otherwise */
+  public boolean isSetRootCauseErrorIdList() {
+    return this.rootCauseErrorIdList != null;
+  }
+
+  public void setRootCauseErrorIdListIsSet(boolean value) {
+    if (!value) {
+      this.rootCauseErrorIdList = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case ERROR_ID:
+      if (value == null) {
+        unsetErrorId();
+      } else {
+        setErrorId((String)value);
+      }
+      break;
+
+    case CREATION_TIME:
+      if (value == null) {
+        unsetCreationTime();
+      } else {
+        setCreationTime((Long)value);
+      }
+      break;
+
+    case ACTUAL_ERROR_MESSAGE:
+      if (value == null) {
+        unsetActualErrorMessage();
+      } else {
+        setActualErrorMessage((String)value);
+      }
+      break;
+
+    case USER_FRIENDLY_MESSAGE:
+      if (value == null) {
+        unsetUserFriendlyMessage();
+      } else {
+        setUserFriendlyMessage((String)value);
+      }
+      break;
+
+    case TRANSIENT_OR_PERSISTENT:
+      if (value == null) {
+        unsetTransientOrPersistent();
+      } else {
+        setTransientOrPersistent((Boolean)value);
+      }
+      break;
+
+    case ROOT_CAUSE_ERROR_ID_LIST:
+      if (value == null) {
+        unsetRootCauseErrorIdList();
+      } else {
+        setRootCauseErrorIdList((List<String>)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case ERROR_ID:
+      return getErrorId();
+
+    case CREATION_TIME:
+      return Long.valueOf(getCreationTime());
+
+    case ACTUAL_ERROR_MESSAGE:
+      return getActualErrorMessage();
+
+    case USER_FRIENDLY_MESSAGE:
+      return getUserFriendlyMessage();
+
+    case TRANSIENT_OR_PERSISTENT:
+      return Boolean.valueOf(isTransientOrPersistent());
+
+    case ROOT_CAUSE_ERROR_ID_LIST:
+      return getRootCauseErrorIdList();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case ERROR_ID:
+      return isSetErrorId();
+    case CREATION_TIME:
+      return isSetCreationTime();
+    case ACTUAL_ERROR_MESSAGE:
+      return isSetActualErrorMessage();
+    case USER_FRIENDLY_MESSAGE:
+      return isSetUserFriendlyMessage();
+    case TRANSIENT_OR_PERSISTENT:
+      return isSetTransientOrPersistent();
+    case ROOT_CAUSE_ERROR_ID_LIST:
+      return isSetRootCauseErrorIdList();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ErrorModel)
+      return this.equals((ErrorModel)that);
+    return false;
+  }
+
+  public boolean equals(ErrorModel that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_errorId = true && this.isSetErrorId();
+    boolean that_present_errorId = true && that.isSetErrorId();
+    if (this_present_errorId || that_present_errorId) {
+      if (!(this_present_errorId && that_present_errorId))
+        return false;
+      if (!this.errorId.equals(that.errorId))
+        return false;
+    }
+
+    boolean this_present_creationTime = true && this.isSetCreationTime();
+    boolean that_present_creationTime = true && that.isSetCreationTime();
+    if (this_present_creationTime || that_present_creationTime) {
+      if (!(this_present_creationTime && that_present_creationTime))
+        return false;
+      if (this.creationTime != that.creationTime)
+        return false;
+    }
+
+    boolean this_present_actualErrorMessage = true && this.isSetActualErrorMessage();
+    boolean that_present_actualErrorMessage = true && that.isSetActualErrorMessage();
+    if (this_present_actualErrorMessage || that_present_actualErrorMessage) {
+      if (!(this_present_actualErrorMessage && that_present_actualErrorMessage))
+        return false;
+      if (!this.actualErrorMessage.equals(that.actualErrorMessage))
+        return false;
+    }
+
+    boolean this_present_userFriendlyMessage = true && this.isSetUserFriendlyMessage();
+    boolean that_present_userFriendlyMessage = true && that.isSetUserFriendlyMessage();
+    if (this_present_userFriendlyMessage || that_present_userFriendlyMessage) {
+      if (!(this_present_userFriendlyMessage && that_present_userFriendlyMessage))
+        return false;
+      if (!this.userFriendlyMessage.equals(that.userFriendlyMessage))
+        return false;
+    }
+
+    boolean this_present_transientOrPersistent = true && this.isSetTransientOrPersistent();
+    boolean that_present_transientOrPersistent = true && that.isSetTransientOrPersistent();
+    if (this_present_transientOrPersistent || that_present_transientOrPersistent) {
+      if (!(this_present_transientOrPersistent && that_present_transientOrPersistent))
+        return false;
+      if (this.transientOrPersistent != that.transientOrPersistent)
+        return false;
+    }
+
+    boolean this_present_rootCauseErrorIdList = true && this.isSetRootCauseErrorIdList();
+    boolean that_present_rootCauseErrorIdList = true && that.isSetRootCauseErrorIdList();
+    if (this_present_rootCauseErrorIdList || that_present_rootCauseErrorIdList) {
+      if (!(this_present_rootCauseErrorIdList && that_present_rootCauseErrorIdList))
+        return false;
+      if (!this.rootCauseErrorIdList.equals(that.rootCauseErrorIdList))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_errorId = true && (isSetErrorId());
+    list.add(present_errorId);
+    if (present_errorId)
+      list.add(errorId);
+
+    boolean present_creationTime = true && (isSetCreationTime());
+    list.add(present_creationTime);
+    if (present_creationTime)
+      list.add(creationTime);
+
+    boolean present_actualErrorMessage = true && (isSetActualErrorMessage());
+    list.add(present_actualErrorMessage);
+    if (present_actualErrorMessage)
+      list.add(actualErrorMessage);
+
+    boolean present_userFriendlyMessage = true && (isSetUserFriendlyMessage());
+    list.add(present_userFriendlyMessage);
+    if (present_userFriendlyMessage)
+      list.add(userFriendlyMessage);
+
+    boolean present_transientOrPersistent = true && (isSetTransientOrPersistent());
+    list.add(present_transientOrPersistent);
+    if (present_transientOrPersistent)
+      list.add(transientOrPersistent);
+
+    boolean present_rootCauseErrorIdList = true && (isSetRootCauseErrorIdList());
+    list.add(present_rootCauseErrorIdList);
+    if (present_rootCauseErrorIdList)
+      list.add(rootCauseErrorIdList);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ErrorModel other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetErrorId()).compareTo(other.isSetErrorId());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetErrorId()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorId, other.errorId);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetCreationTime()).compareTo(other.isSetCreationTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetCreationTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTime, other.creationTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetActualErrorMessage()).compareTo(other.isSetActualErrorMessage());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetActualErrorMessage()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.actualErrorMessage, other.actualErrorMessage);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetUserFriendlyMessage()).compareTo(other.isSetUserFriendlyMessage());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetUserFriendlyMessage()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userFriendlyMessage, other.userFriendlyMessage);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTransientOrPersistent()).compareTo(other.isSetTransientOrPersistent());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTransientOrPersistent()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transientOrPersistent, other.transientOrPersistent);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetRootCauseErrorIdList()).compareTo(other.isSetRootCauseErrorIdList());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetRootCauseErrorIdList()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rootCauseErrorIdList, other.rootCauseErrorIdList);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ErrorModel(");
+    boolean first = true;
+
+    sb.append("errorId:");
+    if (this.errorId == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.errorId);
+    }
+    first = false;
+    if (isSetCreationTime()) {
+      if (!first) sb.append(", ");
+      sb.append("creationTime:");
+      sb.append(this.creationTime);
+      first = false;
+    }
+    if (isSetActualErrorMessage()) {
+      if (!first) sb.append(", ");
+      sb.append("actualErrorMessage:");
+      if (this.actualErrorMessage == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.actualErrorMessage);
+      }
+      first = false;
+    }
+    if (isSetUserFriendlyMessage()) {
+      if (!first) sb.append(", ");
+      sb.append("userFriendlyMessage:");
+      if (this.userFriendlyMessage == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.userFriendlyMessage);
+      }
+      first = false;
+    }
+    if (isSetTransientOrPersistent()) {
+      if (!first) sb.append(", ");
+      sb.append("transientOrPersistent:");
+      sb.append(this.transientOrPersistent);
+      first = false;
+    }
+    if (isSetRootCauseErrorIdList()) {
+      if (!first) sb.append(", ");
+      sb.append("rootCauseErrorIdList:");
+      if (this.rootCauseErrorIdList == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.rootCauseErrorIdList);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetErrorId()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'errorId' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ErrorModelStandardSchemeFactory implements SchemeFactory {
+    public ErrorModelStandardScheme getScheme() {
+      return new ErrorModelStandardScheme();
+    }
+  }
+
+  private static class ErrorModelStandardScheme extends StandardScheme<ErrorModel> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ErrorModel struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // ERROR_ID
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.errorId = iprot.readString();
+              struct.setErrorIdIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // CREATION_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.creationTime = iprot.readI64();
+              struct.setCreationTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // ACTUAL_ERROR_MESSAGE
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.actualErrorMessage = iprot.readString();
+              struct.setActualErrorMessageIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // USER_FRIENDLY_MESSAGE
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.userFriendlyMessage = iprot.readString();
+              struct.setUserFriendlyMessageIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // TRANSIENT_OR_PERSISTENT
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.transientOrPersistent = iprot.readBool();
+              struct.setTransientOrPersistentIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // ROOT_CAUSE_ERROR_ID_LIST
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
+                struct.rootCauseErrorIdList = new ArrayList<String>(_list0.size);
+                String _elem1;
+                for (int _i2 = 0; _i2 < _list0.size; ++_i2)
+                {
+                  _elem1 = iprot.readString();
+                  struct.rootCauseErrorIdList.add(_elem1);
+                }
+                iprot.readListEnd();
+              }
+              struct.setRootCauseErrorIdListIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ErrorModel struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.errorId != null) {
+        oprot.writeFieldBegin(ERROR_ID_FIELD_DESC);
+        oprot.writeString(struct.errorId);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetCreationTime()) {
+        oprot.writeFieldBegin(CREATION_TIME_FIELD_DESC);
+        oprot.writeI64(struct.creationTime);
+        oprot.writeFieldEnd();
+      }
+      if (struct.actualErrorMessage != null) {
+        if (struct.isSetActualErrorMessage()) {
+          oprot.writeFieldBegin(ACTUAL_ERROR_MESSAGE_FIELD_DESC);
+          oprot.writeString(struct.actualErrorMessage);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.userFriendlyMessage != null) {
+        if (struct.isSetUserFriendlyMessage()) {
+          oprot.writeFieldBegin(USER_FRIENDLY_MESSAGE_FIELD_DESC);
+          oprot.writeString(struct.userFriendlyMessage);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetTransientOrPersistent()) {
+        oprot.writeFieldBegin(TRANSIENT_OR_PERSISTENT_FIELD_DESC);
+        oprot.writeBool(struct.transientOrPersistent);
+        oprot.writeFieldEnd();
+      }
+      if (struct.rootCauseErrorIdList != null) {
+        if (struct.isSetRootCauseErrorIdList()) {
+          oprot.writeFieldBegin(ROOT_CAUSE_ERROR_ID_LIST_FIELD_DESC);
+          {
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.rootCauseErrorIdList.size()));
+            for (String _iter3 : struct.rootCauseErrorIdList)
+            {
+              oprot.writeString(_iter3);
+            }
+            oprot.writeListEnd();
+          }
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ErrorModelTupleSchemeFactory implements SchemeFactory {
+    public ErrorModelTupleScheme getScheme() {
+      return new ErrorModelTupleScheme();
+    }
+  }
+
+  private static class ErrorModelTupleScheme extends TupleScheme<ErrorModel> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ErrorModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeString(struct.errorId);
+      BitSet optionals = new BitSet();
+      if (struct.isSetCreationTime()) {
+        optionals.set(0);
+      }
+      if (struct.isSetActualErrorMessage()) {
+        optionals.set(1);
+      }
+      if (struct.isSetUserFriendlyMessage()) {
+        optionals.set(2);
+      }
+      if (struct.isSetTransientOrPersistent()) {
+        optionals.set(3);
+      }
+      if (struct.isSetRootCauseErrorIdList()) {
+        optionals.set(4);
+      }
+      oprot.writeBitSet(optionals, 5);
+      if (struct.isSetCreationTime()) {
+        oprot.writeI64(struct.creationTime);
+      }
+      if (struct.isSetActualErrorMessage()) {
+        oprot.writeString(struct.actualErrorMessage);
+      }
+      if (struct.isSetUserFriendlyMessage()) {
+        oprot.writeString(struct.userFriendlyMessage);
+      }
+      if (struct.isSetTransientOrPersistent()) {
+        oprot.writeBool(struct.transientOrPersistent);
+      }
+      if (struct.isSetRootCauseErrorIdList()) {
+        {
+          oprot.writeI32(struct.rootCauseErrorIdList.size());
+          for (String _iter4 : struct.rootCauseErrorIdList)
+          {
+            oprot.writeString(_iter4);
+          }
+        }
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ErrorModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.errorId = iprot.readString();
+      struct.setErrorIdIsSet(true);
+      BitSet incoming = iprot.readBitSet(5);
+      if (incoming.get(0)) {
+        struct.creationTime = iprot.readI64();
+        struct.setCreationTimeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.actualErrorMessage = iprot.readString();
+        struct.setActualErrorMessageIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.userFriendlyMessage = iprot.readString();
+        struct.setUserFriendlyMessageIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.transientOrPersistent = iprot.readBool();
+        struct.setTransientOrPersistentIsSet(true);
+      }
+      if (incoming.get(4)) {
+        {
+          org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+          struct.rootCauseErrorIdList = new ArrayList<String>(_list5.size);
+          String _elem6;
+          for (int _i7 = 0; _i7 < _list5.size; ++_i7)
+          {
+            _elem6 = iprot.readString();
+            struct.rootCauseErrorIdList.add(_elem6);
+          }
+        }
+        struct.setRootCauseErrorIdListIsSet(true);
+      }
+    }
+  }
+
+}
+


[26/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
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/OutputDataObjectType.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/OutputDataObjectType.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/OutputDataObjectType.java
deleted file mode 100644
index 849c49d..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/OutputDataObjectType.java
+++ /dev/null
@@ -1,1279 +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 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"})
-/**
- * Application Outputs. The paramters describe how outputs generated by the application.
- * 
- * name:
- *   Name of the parameter.
- * 
- * value:
- *   Value of the parameter.
- * 
- * type:
- *   Data type of the parameter
- * 
- * applicationArguement:
- *   The argument flag sent to the application. Such as -p pressure.
- * 
- * standardInput:
- *   When this value is set, the parameter is sent as standard input rather than a parameter.
- *   Typically this is passed using redirection operator ">".
- * 
- * userFriendlyDescription:
- *   Description to be displayed at the user interface.
- * 
- * metaData:
- *   Any metadat. This is typically ignore by Airavata and is used by gateways for application configuration.
- * 
- */
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class OutputDataObjectType implements org.apache.thrift.TBase<OutputDataObjectType, OutputDataObjectType._Fields>, java.io.Serializable, Cloneable, Comparable<OutputDataObjectType> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OutputDataObjectType");
-
-  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)3);
-  private static final org.apache.thrift.protocol.TField APPLICATION_ARGUMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationArgument", org.apache.thrift.protocol.TType.STRING, (short)4);
-  private static final org.apache.thrift.protocol.TField IS_REQUIRED_FIELD_DESC = new org.apache.thrift.protocol.TField("isRequired", org.apache.thrift.protocol.TType.BOOL, (short)5);
-  private static final org.apache.thrift.protocol.TField REQUIRED_TO_ADDED_TO_COMMAND_LINE_FIELD_DESC = new org.apache.thrift.protocol.TField("requiredToAddedToCommandLine", org.apache.thrift.protocol.TType.BOOL, (short)6);
-  private static final org.apache.thrift.protocol.TField DATA_MOVEMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("dataMovement", org.apache.thrift.protocol.TType.BOOL, (short)7);
-  private static final org.apache.thrift.protocol.TField LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("location", org.apache.thrift.protocol.TType.STRING, (short)8);
-  private static final org.apache.thrift.protocol.TField SEARCH_QUERY_FIELD_DESC = new org.apache.thrift.protocol.TField("searchQuery", org.apache.thrift.protocol.TType.STRING, (short)9);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new OutputDataObjectTypeStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new OutputDataObjectTypeTupleSchemeFactory());
-  }
-
-  private String name; // required
-  private String value; // optional
-  private DataType type; // optional
-  private String applicationArgument; // optional
-  private boolean isRequired; // optional
-  private boolean requiredToAddedToCommandLine; // optional
-  private boolean dataMovement; // optional
-  private String location; // optional
-  private String searchQuery; // 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 {
-    NAME((short)1, "name"),
-    VALUE((short)2, "value"),
-    /**
-     * 
-     * @see DataType
-     */
-    TYPE((short)3, "type"),
-    APPLICATION_ARGUMENT((short)4, "applicationArgument"),
-    IS_REQUIRED((short)5, "isRequired"),
-    REQUIRED_TO_ADDED_TO_COMMAND_LINE((short)6, "requiredToAddedToCommandLine"),
-    DATA_MOVEMENT((short)7, "dataMovement"),
-    LOCATION((short)8, "location"),
-    SEARCH_QUERY((short)9, "searchQuery");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // NAME
-          return NAME;
-        case 2: // VALUE
-          return VALUE;
-        case 3: // TYPE
-          return TYPE;
-        case 4: // APPLICATION_ARGUMENT
-          return APPLICATION_ARGUMENT;
-        case 5: // IS_REQUIRED
-          return IS_REQUIRED;
-        case 6: // REQUIRED_TO_ADDED_TO_COMMAND_LINE
-          return REQUIRED_TO_ADDED_TO_COMMAND_LINE;
-        case 7: // DATA_MOVEMENT
-          return DATA_MOVEMENT;
-        case 8: // LOCATION
-          return LOCATION;
-        case 9: // SEARCH_QUERY
-          return SEARCH_QUERY;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __ISREQUIRED_ISSET_ID = 0;
-  private static final int __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID = 1;
-  private static final int __DATAMOVEMENT_ISSET_ID = 2;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.VALUE,_Fields.TYPE,_Fields.APPLICATION_ARGUMENT,_Fields.IS_REQUIRED,_Fields.REQUIRED_TO_ADDED_TO_COMMAND_LINE,_Fields.DATA_MOVEMENT,_Fields.LOCATION,_Fields.SEARCH_QUERY};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DataType.class)));
-    tmpMap.put(_Fields.APPLICATION_ARGUMENT, new org.apache.thrift.meta_data.FieldMetaData("applicationArgument", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.IS_REQUIRED, new org.apache.thrift.meta_data.FieldMetaData("isRequired", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.REQUIRED_TO_ADDED_TO_COMMAND_LINE, new org.apache.thrift.meta_data.FieldMetaData("requiredToAddedToCommandLine", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.DATA_MOVEMENT, new org.apache.thrift.meta_data.FieldMetaData("dataMovement", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.LOCATION, new org.apache.thrift.meta_data.FieldMetaData("location", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.SEARCH_QUERY, new org.apache.thrift.meta_data.FieldMetaData("searchQuery", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(OutputDataObjectType.class, metaDataMap);
-  }
-
-  public OutputDataObjectType() {
-  }
-
-  public OutputDataObjectType(
-    String name)
-  {
-    this();
-    this.name = name;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public OutputDataObjectType(OutputDataObjectType other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetName()) {
-      this.name = other.name;
-    }
-    if (other.isSetValue()) {
-      this.value = other.value;
-    }
-    if (other.isSetType()) {
-      this.type = other.type;
-    }
-    if (other.isSetApplicationArgument()) {
-      this.applicationArgument = other.applicationArgument;
-    }
-    this.isRequired = other.isRequired;
-    this.requiredToAddedToCommandLine = other.requiredToAddedToCommandLine;
-    this.dataMovement = other.dataMovement;
-    if (other.isSetLocation()) {
-      this.location = other.location;
-    }
-    if (other.isSetSearchQuery()) {
-      this.searchQuery = other.searchQuery;
-    }
-  }
-
-  public OutputDataObjectType deepCopy() {
-    return new OutputDataObjectType(this);
-  }
-
-  @Override
-  public void clear() {
-    this.name = null;
-    this.value = null;
-    this.type = null;
-    this.applicationArgument = null;
-    setIsRequiredIsSet(false);
-    this.isRequired = false;
-    setRequiredToAddedToCommandLineIsSet(false);
-    this.requiredToAddedToCommandLine = false;
-    setDataMovementIsSet(false);
-    this.dataMovement = false;
-    this.location = null;
-    this.searchQuery = null;
-  }
-
-  public String getName() {
-    return this.name;
-  }
-
-  public void setName(String name) {
-    this.name = name;
-  }
-
-  public void unsetName() {
-    this.name = null;
-  }
-
-  /** Returns true if field name is set (has been assigned a value) and false otherwise */
-  public boolean isSetName() {
-    return this.name != null;
-  }
-
-  public void setNameIsSet(boolean value) {
-    if (!value) {
-      this.name = null;
-    }
-  }
-
-  public String getValue() {
-    return this.value;
-  }
-
-  public void setValue(String value) {
-    this.value = value;
-  }
-
-  public void unsetValue() {
-    this.value = null;
-  }
-
-  /** Returns true if field value is set (has been assigned a value) and false otherwise */
-  public boolean isSetValue() {
-    return this.value != null;
-  }
-
-  public void setValueIsSet(boolean value) {
-    if (!value) {
-      this.value = null;
-    }
-  }
-
-  /**
-   * 
-   * @see DataType
-   */
-  public DataType getType() {
-    return this.type;
-  }
-
-  /**
-   * 
-   * @see DataType
-   */
-  public void setType(DataType type) {
-    this.type = type;
-  }
-
-  public void unsetType() {
-    this.type = null;
-  }
-
-  /** Returns true if field type is set (has been assigned a value) and false otherwise */
-  public boolean isSetType() {
-    return this.type != null;
-  }
-
-  public void setTypeIsSet(boolean value) {
-    if (!value) {
-      this.type = null;
-    }
-  }
-
-  public String getApplicationArgument() {
-    return this.applicationArgument;
-  }
-
-  public void setApplicationArgument(String applicationArgument) {
-    this.applicationArgument = applicationArgument;
-  }
-
-  public void unsetApplicationArgument() {
-    this.applicationArgument = null;
-  }
-
-  /** Returns true if field applicationArgument is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationArgument() {
-    return this.applicationArgument != null;
-  }
-
-  public void setApplicationArgumentIsSet(boolean value) {
-    if (!value) {
-      this.applicationArgument = null;
-    }
-  }
-
-  public boolean isIsRequired() {
-    return this.isRequired;
-  }
-
-  public void setIsRequired(boolean isRequired) {
-    this.isRequired = isRequired;
-    setIsRequiredIsSet(true);
-  }
-
-  public void unsetIsRequired() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ISREQUIRED_ISSET_ID);
-  }
-
-  /** Returns true if field isRequired is set (has been assigned a value) and false otherwise */
-  public boolean isSetIsRequired() {
-    return EncodingUtils.testBit(__isset_bitfield, __ISREQUIRED_ISSET_ID);
-  }
-
-  public void setIsRequiredIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ISREQUIRED_ISSET_ID, value);
-  }
-
-  public boolean isRequiredToAddedToCommandLine() {
-    return this.requiredToAddedToCommandLine;
-  }
-
-  public void setRequiredToAddedToCommandLine(boolean requiredToAddedToCommandLine) {
-    this.requiredToAddedToCommandLine = requiredToAddedToCommandLine;
-    setRequiredToAddedToCommandLineIsSet(true);
-  }
-
-  public void unsetRequiredToAddedToCommandLine() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID);
-  }
-
-  /** Returns true if field requiredToAddedToCommandLine is set (has been assigned a value) and false otherwise */
-  public boolean isSetRequiredToAddedToCommandLine() {
-    return EncodingUtils.testBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID);
-  }
-
-  public void setRequiredToAddedToCommandLineIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID, value);
-  }
-
-  public boolean isDataMovement() {
-    return this.dataMovement;
-  }
-
-  public void setDataMovement(boolean dataMovement) {
-    this.dataMovement = dataMovement;
-    setDataMovementIsSet(true);
-  }
-
-  public void unsetDataMovement() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __DATAMOVEMENT_ISSET_ID);
-  }
-
-  /** Returns true if field dataMovement is set (has been assigned a value) and false otherwise */
-  public boolean isSetDataMovement() {
-    return EncodingUtils.testBit(__isset_bitfield, __DATAMOVEMENT_ISSET_ID);
-  }
-
-  public void setDataMovementIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __DATAMOVEMENT_ISSET_ID, value);
-  }
-
-  public String getLocation() {
-    return this.location;
-  }
-
-  public void setLocation(String location) {
-    this.location = location;
-  }
-
-  public void unsetLocation() {
-    this.location = null;
-  }
-
-  /** Returns true if field location is set (has been assigned a value) and false otherwise */
-  public boolean isSetLocation() {
-    return this.location != null;
-  }
-
-  public void setLocationIsSet(boolean value) {
-    if (!value) {
-      this.location = null;
-    }
-  }
-
-  public String getSearchQuery() {
-    return this.searchQuery;
-  }
-
-  public void setSearchQuery(String searchQuery) {
-    this.searchQuery = searchQuery;
-  }
-
-  public void unsetSearchQuery() {
-    this.searchQuery = null;
-  }
-
-  /** Returns true if field searchQuery is set (has been assigned a value) and false otherwise */
-  public boolean isSetSearchQuery() {
-    return this.searchQuery != null;
-  }
-
-  public void setSearchQueryIsSet(boolean value) {
-    if (!value) {
-      this.searchQuery = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case NAME:
-      if (value == null) {
-        unsetName();
-      } else {
-        setName((String)value);
-      }
-      break;
-
-    case VALUE:
-      if (value == null) {
-        unsetValue();
-      } else {
-        setValue((String)value);
-      }
-      break;
-
-    case TYPE:
-      if (value == null) {
-        unsetType();
-      } else {
-        setType((DataType)value);
-      }
-      break;
-
-    case APPLICATION_ARGUMENT:
-      if (value == null) {
-        unsetApplicationArgument();
-      } else {
-        setApplicationArgument((String)value);
-      }
-      break;
-
-    case IS_REQUIRED:
-      if (value == null) {
-        unsetIsRequired();
-      } else {
-        setIsRequired((Boolean)value);
-      }
-      break;
-
-    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
-      if (value == null) {
-        unsetRequiredToAddedToCommandLine();
-      } else {
-        setRequiredToAddedToCommandLine((Boolean)value);
-      }
-      break;
-
-    case DATA_MOVEMENT:
-      if (value == null) {
-        unsetDataMovement();
-      } else {
-        setDataMovement((Boolean)value);
-      }
-      break;
-
-    case LOCATION:
-      if (value == null) {
-        unsetLocation();
-      } else {
-        setLocation((String)value);
-      }
-      break;
-
-    case SEARCH_QUERY:
-      if (value == null) {
-        unsetSearchQuery();
-      } else {
-        setSearchQuery((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case NAME:
-      return getName();
-
-    case VALUE:
-      return getValue();
-
-    case TYPE:
-      return getType();
-
-    case APPLICATION_ARGUMENT:
-      return getApplicationArgument();
-
-    case IS_REQUIRED:
-      return Boolean.valueOf(isIsRequired());
-
-    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
-      return Boolean.valueOf(isRequiredToAddedToCommandLine());
-
-    case DATA_MOVEMENT:
-      return Boolean.valueOf(isDataMovement());
-
-    case LOCATION:
-      return getLocation();
-
-    case SEARCH_QUERY:
-      return getSearchQuery();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case NAME:
-      return isSetName();
-    case VALUE:
-      return isSetValue();
-    case TYPE:
-      return isSetType();
-    case APPLICATION_ARGUMENT:
-      return isSetApplicationArgument();
-    case IS_REQUIRED:
-      return isSetIsRequired();
-    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
-      return isSetRequiredToAddedToCommandLine();
-    case DATA_MOVEMENT:
-      return isSetDataMovement();
-    case LOCATION:
-      return isSetLocation();
-    case SEARCH_QUERY:
-      return isSetSearchQuery();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof OutputDataObjectType)
-      return this.equals((OutputDataObjectType)that);
-    return false;
-  }
-
-  public boolean equals(OutputDataObjectType that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_name = true && this.isSetName();
-    boolean that_present_name = true && that.isSetName();
-    if (this_present_name || that_present_name) {
-      if (!(this_present_name && that_present_name))
-        return false;
-      if (!this.name.equals(that.name))
-        return false;
-    }
-
-    boolean this_present_value = true && this.isSetValue();
-    boolean that_present_value = true && that.isSetValue();
-    if (this_present_value || that_present_value) {
-      if (!(this_present_value && that_present_value))
-        return false;
-      if (!this.value.equals(that.value))
-        return false;
-    }
-
-    boolean this_present_type = true && this.isSetType();
-    boolean that_present_type = true && that.isSetType();
-    if (this_present_type || that_present_type) {
-      if (!(this_present_type && that_present_type))
-        return false;
-      if (!this.type.equals(that.type))
-        return false;
-    }
-
-    boolean this_present_applicationArgument = true && this.isSetApplicationArgument();
-    boolean that_present_applicationArgument = true && that.isSetApplicationArgument();
-    if (this_present_applicationArgument || that_present_applicationArgument) {
-      if (!(this_present_applicationArgument && that_present_applicationArgument))
-        return false;
-      if (!this.applicationArgument.equals(that.applicationArgument))
-        return false;
-    }
-
-    boolean this_present_isRequired = true && this.isSetIsRequired();
-    boolean that_present_isRequired = true && that.isSetIsRequired();
-    if (this_present_isRequired || that_present_isRequired) {
-      if (!(this_present_isRequired && that_present_isRequired))
-        return false;
-      if (this.isRequired != that.isRequired)
-        return false;
-    }
-
-    boolean this_present_requiredToAddedToCommandLine = true && this.isSetRequiredToAddedToCommandLine();
-    boolean that_present_requiredToAddedToCommandLine = true && that.isSetRequiredToAddedToCommandLine();
-    if (this_present_requiredToAddedToCommandLine || that_present_requiredToAddedToCommandLine) {
-      if (!(this_present_requiredToAddedToCommandLine && that_present_requiredToAddedToCommandLine))
-        return false;
-      if (this.requiredToAddedToCommandLine != that.requiredToAddedToCommandLine)
-        return false;
-    }
-
-    boolean this_present_dataMovement = true && this.isSetDataMovement();
-    boolean that_present_dataMovement = true && that.isSetDataMovement();
-    if (this_present_dataMovement || that_present_dataMovement) {
-      if (!(this_present_dataMovement && that_present_dataMovement))
-        return false;
-      if (this.dataMovement != that.dataMovement)
-        return false;
-    }
-
-    boolean this_present_location = true && this.isSetLocation();
-    boolean that_present_location = true && that.isSetLocation();
-    if (this_present_location || that_present_location) {
-      if (!(this_present_location && that_present_location))
-        return false;
-      if (!this.location.equals(that.location))
-        return false;
-    }
-
-    boolean this_present_searchQuery = true && this.isSetSearchQuery();
-    boolean that_present_searchQuery = true && that.isSetSearchQuery();
-    if (this_present_searchQuery || that_present_searchQuery) {
-      if (!(this_present_searchQuery && that_present_searchQuery))
-        return false;
-      if (!this.searchQuery.equals(that.searchQuery))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_name = true && (isSetName());
-    list.add(present_name);
-    if (present_name)
-      list.add(name);
-
-    boolean present_value = true && (isSetValue());
-    list.add(present_value);
-    if (present_value)
-      list.add(value);
-
-    boolean present_type = true && (isSetType());
-    list.add(present_type);
-    if (present_type)
-      list.add(type.getValue());
-
-    boolean present_applicationArgument = true && (isSetApplicationArgument());
-    list.add(present_applicationArgument);
-    if (present_applicationArgument)
-      list.add(applicationArgument);
-
-    boolean present_isRequired = true && (isSetIsRequired());
-    list.add(present_isRequired);
-    if (present_isRequired)
-      list.add(isRequired);
-
-    boolean present_requiredToAddedToCommandLine = true && (isSetRequiredToAddedToCommandLine());
-    list.add(present_requiredToAddedToCommandLine);
-    if (present_requiredToAddedToCommandLine)
-      list.add(requiredToAddedToCommandLine);
-
-    boolean present_dataMovement = true && (isSetDataMovement());
-    list.add(present_dataMovement);
-    if (present_dataMovement)
-      list.add(dataMovement);
-
-    boolean present_location = true && (isSetLocation());
-    list.add(present_location);
-    if (present_location)
-      list.add(location);
-
-    boolean present_searchQuery = true && (isSetSearchQuery());
-    list.add(present_searchQuery);
-    if (present_searchQuery)
-      list.add(searchQuery);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(OutputDataObjectType other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetValue()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetType()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetApplicationArgument()).compareTo(other.isSetApplicationArgument());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetApplicationArgument()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationArgument, other.applicationArgument);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetIsRequired()).compareTo(other.isSetIsRequired());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetIsRequired()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isRequired, other.isRequired);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetRequiredToAddedToCommandLine()).compareTo(other.isSetRequiredToAddedToCommandLine());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetRequiredToAddedToCommandLine()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.requiredToAddedToCommandLine, other.requiredToAddedToCommandLine);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetDataMovement()).compareTo(other.isSetDataMovement());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetDataMovement()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dataMovement, other.dataMovement);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetLocation()).compareTo(other.isSetLocation());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetLocation()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.location, other.location);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetSearchQuery()).compareTo(other.isSetSearchQuery());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetSearchQuery()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.searchQuery, other.searchQuery);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("OutputDataObjectType(");
-    boolean first = true;
-
-    sb.append("name:");
-    if (this.name == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.name);
-    }
-    first = false;
-    if (isSetValue()) {
-      if (!first) sb.append(", ");
-      sb.append("value:");
-      if (this.value == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.value);
-      }
-      first = false;
-    }
-    if (isSetType()) {
-      if (!first) sb.append(", ");
-      sb.append("type:");
-      if (this.type == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.type);
-      }
-      first = false;
-    }
-    if (isSetApplicationArgument()) {
-      if (!first) sb.append(", ");
-      sb.append("applicationArgument:");
-      if (this.applicationArgument == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.applicationArgument);
-      }
-      first = false;
-    }
-    if (isSetIsRequired()) {
-      if (!first) sb.append(", ");
-      sb.append("isRequired:");
-      sb.append(this.isRequired);
-      first = false;
-    }
-    if (isSetRequiredToAddedToCommandLine()) {
-      if (!first) sb.append(", ");
-      sb.append("requiredToAddedToCommandLine:");
-      sb.append(this.requiredToAddedToCommandLine);
-      first = false;
-    }
-    if (isSetDataMovement()) {
-      if (!first) sb.append(", ");
-      sb.append("dataMovement:");
-      sb.append(this.dataMovement);
-      first = false;
-    }
-    if (isSetLocation()) {
-      if (!first) sb.append(", ");
-      sb.append("location:");
-      if (this.location == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.location);
-      }
-      first = false;
-    }
-    if (isSetSearchQuery()) {
-      if (!first) sb.append(", ");
-      sb.append("searchQuery:");
-      if (this.searchQuery == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.searchQuery);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetName()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class OutputDataObjectTypeStandardSchemeFactory implements SchemeFactory {
-    public OutputDataObjectTypeStandardScheme getScheme() {
-      return new OutputDataObjectTypeStandardScheme();
-    }
-  }
-
-  private static class OutputDataObjectTypeStandardScheme extends StandardScheme<OutputDataObjectType> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, OutputDataObjectType struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.name = iprot.readString();
-              struct.setNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // VALUE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.value = iprot.readString();
-              struct.setValueIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // TYPE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.type = org.apache.airavata.model.appcatalog.appinterface.DataType.findByValue(iprot.readI32());
-              struct.setTypeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // APPLICATION_ARGUMENT
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationArgument = iprot.readString();
-              struct.setApplicationArgumentIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // IS_REQUIRED
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.isRequired = iprot.readBool();
-              struct.setIsRequiredIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // REQUIRED_TO_ADDED_TO_COMMAND_LINE
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.requiredToAddedToCommandLine = iprot.readBool();
-              struct.setRequiredToAddedToCommandLineIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // DATA_MOVEMENT
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.dataMovement = iprot.readBool();
-              struct.setDataMovementIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // LOCATION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.location = iprot.readString();
-              struct.setLocationIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // SEARCH_QUERY
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.searchQuery = iprot.readString();
-              struct.setSearchQueryIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, OutputDataObjectType struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.name != null) {
-        oprot.writeFieldBegin(NAME_FIELD_DESC);
-        oprot.writeString(struct.name);
-        oprot.writeFieldEnd();
-      }
-      if (struct.value != null) {
-        if (struct.isSetValue()) {
-          oprot.writeFieldBegin(VALUE_FIELD_DESC);
-          oprot.writeString(struct.value);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.type != null) {
-        if (struct.isSetType()) {
-          oprot.writeFieldBegin(TYPE_FIELD_DESC);
-          oprot.writeI32(struct.type.getValue());
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.applicationArgument != null) {
-        if (struct.isSetApplicationArgument()) {
-          oprot.writeFieldBegin(APPLICATION_ARGUMENT_FIELD_DESC);
-          oprot.writeString(struct.applicationArgument);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.isSetIsRequired()) {
-        oprot.writeFieldBegin(IS_REQUIRED_FIELD_DESC);
-        oprot.writeBool(struct.isRequired);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetRequiredToAddedToCommandLine()) {
-        oprot.writeFieldBegin(REQUIRED_TO_ADDED_TO_COMMAND_LINE_FIELD_DESC);
-        oprot.writeBool(struct.requiredToAddedToCommandLine);
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetDataMovement()) {
-        oprot.writeFieldBegin(DATA_MOVEMENT_FIELD_DESC);
-        oprot.writeBool(struct.dataMovement);
-        oprot.writeFieldEnd();
-      }
-      if (struct.location != null) {
-        if (struct.isSetLocation()) {
-          oprot.writeFieldBegin(LOCATION_FIELD_DESC);
-          oprot.writeString(struct.location);
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.searchQuery != null) {
-        if (struct.isSetSearchQuery()) {
-          oprot.writeFieldBegin(SEARCH_QUERY_FIELD_DESC);
-          oprot.writeString(struct.searchQuery);
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class OutputDataObjectTypeTupleSchemeFactory implements SchemeFactory {
-    public OutputDataObjectTypeTupleScheme getScheme() {
-      return new OutputDataObjectTypeTupleScheme();
-    }
-  }
-
-  private static class OutputDataObjectTypeTupleScheme extends TupleScheme<OutputDataObjectType> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, OutputDataObjectType struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.name);
-      BitSet optionals = new BitSet();
-      if (struct.isSetValue()) {
-        optionals.set(0);
-      }
-      if (struct.isSetType()) {
-        optionals.set(1);
-      }
-      if (struct.isSetApplicationArgument()) {
-        optionals.set(2);
-      }
-      if (struct.isSetIsRequired()) {
-        optionals.set(3);
-      }
-      if (struct.isSetRequiredToAddedToCommandLine()) {
-        optionals.set(4);
-      }
-      if (struct.isSetDataMovement()) {
-        optionals.set(5);
-      }
-      if (struct.isSetLocation()) {
-        optionals.set(6);
-      }
-      if (struct.isSetSearchQuery()) {
-        optionals.set(7);
-      }
-      oprot.writeBitSet(optionals, 8);
-      if (struct.isSetValue()) {
-        oprot.writeString(struct.value);
-      }
-      if (struct.isSetType()) {
-        oprot.writeI32(struct.type.getValue());
-      }
-      if (struct.isSetApplicationArgument()) {
-        oprot.writeString(struct.applicationArgument);
-      }
-      if (struct.isSetIsRequired()) {
-        oprot.writeBool(struct.isRequired);
-      }
-      if (struct.isSetRequiredToAddedToCommandLine()) {
-        oprot.writeBool(struct.requiredToAddedToCommandLine);
-      }
-      if (struct.isSetDataMovement()) {
-        oprot.writeBool(struct.dataMovement);
-      }
-      if (struct.isSetLocation()) {
-        oprot.writeString(struct.location);
-      }
-      if (struct.isSetSearchQuery()) {
-        oprot.writeString(struct.searchQuery);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, OutputDataObjectType struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.name = iprot.readString();
-      struct.setNameIsSet(true);
-      BitSet incoming = iprot.readBitSet(8);
-      if (incoming.get(0)) {
-        struct.value = iprot.readString();
-        struct.setValueIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.type = org.apache.airavata.model.appcatalog.appinterface.DataType.findByValue(iprot.readI32());
-        struct.setTypeIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.applicationArgument = iprot.readString();
-        struct.setApplicationArgumentIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.isRequired = iprot.readBool();
-        struct.setIsRequiredIsSet(true);
-      }
-      if (incoming.get(4)) {
-        struct.requiredToAddedToCommandLine = iprot.readBool();
-        struct.setRequiredToAddedToCommandLineIsSet(true);
-      }
-      if (incoming.get(5)) {
-        struct.dataMovement = iprot.readBool();
-        struct.setDataMovementIsSet(true);
-      }
-      if (incoming.get(6)) {
-        struct.location = iprot.readString();
-        struct.setLocationIsSet(true);
-      }
-      if (incoming.get(7)) {
-        struct.searchQuery = iprot.readString();
-        struct.setSearchQueryIsSet(true);
-      }
-    }
-  }
-
-}
-

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/applicationInterfaceModelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/applicationInterfaceModelConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/applicationInterfaceModelConstants.java
deleted file mode 100644
index b97f68a..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/applicationInterfaceModelConstants.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.appinterface;
-
-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 applicationInterfaceModelConstants {
-
-  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/application_interface_modelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/application_interface_modelConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/application_interface_modelConstants.java
new file mode 100644
index 0000000..ce024ef
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/application_interface_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.appinterface;
+
+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_interface_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/computeresource/AuthenticationMode.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/AuthenticationMode.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/AuthenticationMode.java
deleted file mode 100644
index 762d031..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/AuthenticationMode.java
+++ /dev/null
@@ -1,70 +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.computeresource;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-/**
- * AuthenticationMode
- * 
- * SERVER_ISSUED: use CA credentials to generate a certificate based on user name.
- * server properties.
- * MYPROXY_ISSUED: rely on GSI method implementation already provided
- * by Airavata security libs.
- */
-@SuppressWarnings("all") public enum AuthenticationMode implements org.apache.thrift.TEnum {
-  SERVER_ISSUED(0),
-  MYPROXY_ISSUED(1);
-
-  private final int value;
-
-  private AuthenticationMode(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 AuthenticationMode findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return SERVER_ISSUED;
-      case 1:
-        return MYPROXY_ISSUED;
-      default:
-        return null;
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/BatchQueue.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/BatchQueue.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/BatchQueue.java
index c96ccc6..f5b212d 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/BatchQueue.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/BatchQueue.java
@@ -57,7 +57,7 @@ import org.slf4j.LoggerFactory;
  * maxRunTime:
  *  Maximum allowed run time in hours.
  */
-@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 BatchQueue implements org.apache.thrift.TBase<BatchQueue, BatchQueue._Fields>, java.io.Serializable, Cloneable, Comparable<BatchQueue> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BatchQueue");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloudJobSubmission.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloudJobSubmission.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloudJobSubmission.java
index 6bc4fa3..a965f3d 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloudJobSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloudJobSubmission.java
@@ -56,7 +56,7 @@ import org.slf4j.LoggerFactory;
  * 
  * 
  */
-@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 CloudJobSubmission implements org.apache.thrift.TBase<CloudJobSubmission, CloudJobSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<CloudJobSubmission> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CloudJobSubmission");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloundJobSubmission.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloundJobSubmission.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloundJobSubmission.java
deleted file mode 100644
index 84b6d64..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloundJobSubmission.java
+++ /dev/null
@@ -1,908 +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.computeresource;
-
-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;
-
-/**
- * Cloud Job Submission
- * 
- * 
- */
-@SuppressWarnings("all") public class CloundJobSubmission implements org.apache.thrift.TBase<CloundJobSubmission, CloundJobSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<CloundJobSubmission> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CloundJobSubmission");
-
-  private static final org.apache.thrift.protocol.TField JOB_SUBMISSION_INTERFACE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("jobSubmissionInterfaceId", org.apache.thrift.protocol.TType.STRING, (short)1);
-  private static final org.apache.thrift.protocol.TField SECURITY_PROTOCOL_FIELD_DESC = new org.apache.thrift.protocol.TField("securityProtocol", org.apache.thrift.protocol.TType.I32, (short)2);
-  private static final org.apache.thrift.protocol.TField NODE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("nodeId", org.apache.thrift.protocol.TType.STRING, (short)3);
-  private static final org.apache.thrift.protocol.TField EXECUTABLE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("executableType", org.apache.thrift.protocol.TType.STRING, (short)4);
-  private static final org.apache.thrift.protocol.TField PROVIDER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("providerName", org.apache.thrift.protocol.TType.I32, (short)5);
-  private static final org.apache.thrift.protocol.TField USER_ACCOUNT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("userAccountName", org.apache.thrift.protocol.TType.STRING, (short)6);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new CloundJobSubmissionStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new CloundJobSubmissionTupleSchemeFactory());
-  }
-
-  private String jobSubmissionInterfaceId; // required
-  private SecurityProtocol securityProtocol; // required
-  private String nodeId; // required
-  private String executableType; // required
-  private ProviderName providerName; // required
-  private String userAccountName; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-    JOB_SUBMISSION_INTERFACE_ID((short)1, "jobSubmissionInterfaceId"),
-    /**
-     * 
-     * @see SecurityProtocol
-     */
-    SECURITY_PROTOCOL((short)2, "securityProtocol"),
-    NODE_ID((short)3, "nodeId"),
-    EXECUTABLE_TYPE((short)4, "executableType"),
-    /**
-     * 
-     * @see ProviderName
-     */
-    PROVIDER_NAME((short)5, "providerName"),
-    USER_ACCOUNT_NAME((short)6, "userAccountName");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // JOB_SUBMISSION_INTERFACE_ID
-          return JOB_SUBMISSION_INTERFACE_ID;
-        case 2: // SECURITY_PROTOCOL
-          return SECURITY_PROTOCOL;
-        case 3: // NODE_ID
-          return NODE_ID;
-        case 4: // EXECUTABLE_TYPE
-          return EXECUTABLE_TYPE;
-        case 5: // PROVIDER_NAME
-          return PROVIDER_NAME;
-        case 6: // USER_ACCOUNT_NAME
-          return USER_ACCOUNT_NAME;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.JOB_SUBMISSION_INTERFACE_ID, new org.apache.thrift.meta_data.FieldMetaData("jobSubmissionInterfaceId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.SECURITY_PROTOCOL, new org.apache.thrift.meta_data.FieldMetaData("securityProtocol", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, SecurityProtocol.class)));
-    tmpMap.put(_Fields.NODE_ID, new org.apache.thrift.meta_data.FieldMetaData("nodeId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.EXECUTABLE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("executableType", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.PROVIDER_NAME, new org.apache.thrift.meta_data.FieldMetaData("providerName", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ProviderName.class)));
-    tmpMap.put(_Fields.USER_ACCOUNT_NAME, new org.apache.thrift.meta_data.FieldMetaData("userAccountName", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CloundJobSubmission.class, metaDataMap);
-  }
-
-  public CloundJobSubmission() {
-    this.jobSubmissionInterfaceId = "DO_NOT_SET_AT_CLIENTS";
-
-  }
-
-  public CloundJobSubmission(
-    String jobSubmissionInterfaceId,
-    SecurityProtocol securityProtocol,
-    String nodeId,
-    String executableType,
-    ProviderName providerName,
-    String userAccountName)
-  {
-    this();
-    this.jobSubmissionInterfaceId = jobSubmissionInterfaceId;
-    this.securityProtocol = securityProtocol;
-    this.nodeId = nodeId;
-    this.executableType = executableType;
-    this.providerName = providerName;
-    this.userAccountName = userAccountName;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public CloundJobSubmission(CloundJobSubmission other) {
-    if (other.isSetJobSubmissionInterfaceId()) {
-      this.jobSubmissionInterfaceId = other.jobSubmissionInterfaceId;
-    }
-    if (other.isSetSecurityProtocol()) {
-      this.securityProtocol = other.securityProtocol;
-    }
-    if (other.isSetNodeId()) {
-      this.nodeId = other.nodeId;
-    }
-    if (other.isSetExecutableType()) {
-      this.executableType = other.executableType;
-    }
-    if (other.isSetProviderName()) {
-      this.providerName = other.providerName;
-    }
-    if (other.isSetUserAccountName()) {
-      this.userAccountName = other.userAccountName;
-    }
-  }
-
-  public CloundJobSubmission deepCopy() {
-    return new CloundJobSubmission(this);
-  }
-
-  @Override
-  public void clear() {
-    this.jobSubmissionInterfaceId = "DO_NOT_SET_AT_CLIENTS";
-
-    this.securityProtocol = null;
-    this.nodeId = null;
-    this.executableType = null;
-    this.providerName = null;
-    this.userAccountName = null;
-  }
-
-  public String getJobSubmissionInterfaceId() {
-    return this.jobSubmissionInterfaceId;
-  }
-
-  public void setJobSubmissionInterfaceId(String jobSubmissionInterfaceId) {
-    this.jobSubmissionInterfaceId = jobSubmissionInterfaceId;
-  }
-
-  public void unsetJobSubmissionInterfaceId() {
-    this.jobSubmissionInterfaceId = null;
-  }
-
-  /** Returns true if field jobSubmissionInterfaceId is set (has been assigned a value) and false otherwise */
-  public boolean isSetJobSubmissionInterfaceId() {
-    return this.jobSubmissionInterfaceId != null;
-  }
-
-  public void setJobSubmissionInterfaceIdIsSet(boolean value) {
-    if (!value) {
-      this.jobSubmissionInterfaceId = null;
-    }
-  }
-
-  /**
-   * 
-   * @see SecurityProtocol
-   */
-  public SecurityProtocol getSecurityProtocol() {
-    return this.securityProtocol;
-  }
-
-  /**
-   * 
-   * @see SecurityProtocol
-   */
-  public void setSecurityProtocol(SecurityProtocol securityProtocol) {
-    this.securityProtocol = securityProtocol;
-  }
-
-  public void unsetSecurityProtocol() {
-    this.securityProtocol = null;
-  }
-
-  /** Returns true if field securityProtocol is set (has been assigned a value) and false otherwise */
-  public boolean isSetSecurityProtocol() {
-    return this.securityProtocol != null;
-  }
-
-  public void setSecurityProtocolIsSet(boolean value) {
-    if (!value) {
-      this.securityProtocol = null;
-    }
-  }
-
-  public String getNodeId() {
-    return this.nodeId;
-  }
-
-  public void setNodeId(String nodeId) {
-    this.nodeId = nodeId;
-  }
-
-  public void unsetNodeId() {
-    this.nodeId = null;
-  }
-
-  /** Returns true if field nodeId is set (has been assigned a value) and false otherwise */
-  public boolean isSetNodeId() {
-    return this.nodeId != null;
-  }
-
-  public void setNodeIdIsSet(boolean value) {
-    if (!value) {
-      this.nodeId = null;
-    }
-  }
-
-  public String getExecutableType() {
-    return this.executableType;
-  }
-
-  public void setExecutableType(String executableType) {
-    this.executableType = executableType;
-  }
-
-  public void unsetExecutableType() {
-    this.executableType = null;
-  }
-
-  /** Returns true if field executableType is set (has been assigned a value) and false otherwise */
-  public boolean isSetExecutableType() {
-    return this.executableType != null;
-  }
-
-  public void setExecutableTypeIsSet(boolean value) {
-    if (!value) {
-      this.executableType = null;
-    }
-  }
-
-  /**
-   * 
-   * @see ProviderName
-   */
-  public ProviderName getProviderName() {
-    return this.providerName;
-  }
-
-  /**
-   * 
-   * @see ProviderName
-   */
-  public void setProviderName(ProviderName providerName) {
-    this.providerName = providerName;
-  }
-
-  public void unsetProviderName() {
-    this.providerName = null;
-  }
-
-  /** Returns true if field providerName is set (has been assigned a value) and false otherwise */
-  public boolean isSetProviderName() {
-    return this.providerName != null;
-  }
-
-  public void setProviderNameIsSet(boolean value) {
-    if (!value) {
-      this.providerName = null;
-    }
-  }
-
-  public String getUserAccountName() {
-    return this.userAccountName;
-  }
-
-  public void setUserAccountName(String userAccountName) {
-    this.userAccountName = userAccountName;
-  }
-
-  public void unsetUserAccountName() {
-    this.userAccountName = null;
-  }
-
-  /** Returns true if field userAccountName is set (has been assigned a value) and false otherwise */
-  public boolean isSetUserAccountName() {
-    return this.userAccountName != null;
-  }
-
-  public void setUserAccountNameIsSet(boolean value) {
-    if (!value) {
-      this.userAccountName = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case JOB_SUBMISSION_INTERFACE_ID:
-      if (value == null) {
-        unsetJobSubmissionInterfaceId();
-      } else {
-        setJobSubmissionInterfaceId((String)value);
-      }
-      break;
-
-    case SECURITY_PROTOCOL:
-      if (value == null) {
-        unsetSecurityProtocol();
-      } else {
-        setSecurityProtocol((SecurityProtocol)value);
-      }
-      break;
-
-    case NODE_ID:
-      if (value == null) {
-        unsetNodeId();
-      } else {
-        setNodeId((String)value);
-      }
-      break;
-
-    case EXECUTABLE_TYPE:
-      if (value == null) {
-        unsetExecutableType();
-      } else {
-        setExecutableType((String)value);
-      }
-      break;
-
-    case PROVIDER_NAME:
-      if (value == null) {
-        unsetProviderName();
-      } else {
-        setProviderName((ProviderName)value);
-      }
-      break;
-
-    case USER_ACCOUNT_NAME:
-      if (value == null) {
-        unsetUserAccountName();
-      } else {
-        setUserAccountName((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case JOB_SUBMISSION_INTERFACE_ID:
-      return getJobSubmissionInterfaceId();
-
-    case SECURITY_PROTOCOL:
-      return getSecurityProtocol();
-
-    case NODE_ID:
-      return getNodeId();
-
-    case EXECUTABLE_TYPE:
-      return getExecutableType();
-
-    case PROVIDER_NAME:
-      return getProviderName();
-
-    case USER_ACCOUNT_NAME:
-      return getUserAccountName();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case JOB_SUBMISSION_INTERFACE_ID:
-      return isSetJobSubmissionInterfaceId();
-    case SECURITY_PROTOCOL:
-      return isSetSecurityProtocol();
-    case NODE_ID:
-      return isSetNodeId();
-    case EXECUTABLE_TYPE:
-      return isSetExecutableType();
-    case PROVIDER_NAME:
-      return isSetProviderName();
-    case USER_ACCOUNT_NAME:
-      return isSetUserAccountName();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof CloundJobSubmission)
-      return this.equals((CloundJobSubmission)that);
-    return false;
-  }
-
-  public boolean equals(CloundJobSubmission that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_jobSubmissionInterfaceId = true && this.isSetJobSubmissionInterfaceId();
-    boolean that_present_jobSubmissionInterfaceId = true && that.isSetJobSubmissionInterfaceId();
-    if (this_present_jobSubmissionInterfaceId || that_present_jobSubmissionInterfaceId) {
-      if (!(this_present_jobSubmissionInterfaceId && that_present_jobSubmissionInterfaceId))
-        return false;
-      if (!this.jobSubmissionInterfaceId.equals(that.jobSubmissionInterfaceId))
-        return false;
-    }
-
-    boolean this_present_securityProtocol = true && this.isSetSecurityProtocol();
-    boolean that_present_securityProtocol = true && that.isSetSecurityProtocol();
-    if (this_present_securityProtocol || that_present_securityProtocol) {
-      if (!(this_present_securityProtocol && that_present_securityProtocol))
-        return false;
-      if (!this.securityProtocol.equals(that.securityProtocol))
-        return false;
-    }
-
-    boolean this_present_nodeId = true && this.isSetNodeId();
-    boolean that_present_nodeId = true && that.isSetNodeId();
-    if (this_present_nodeId || that_present_nodeId) {
-      if (!(this_present_nodeId && that_present_nodeId))
-        return false;
-      if (!this.nodeId.equals(that.nodeId))
-        return false;
-    }
-
-    boolean this_present_executableType = true && this.isSetExecutableType();
-    boolean that_present_executableType = true && that.isSetExecutableType();
-    if (this_present_executableType || that_present_executableType) {
-      if (!(this_present_executableType && that_present_executableType))
-        return false;
-      if (!this.executableType.equals(that.executableType))
-        return false;
-    }
-
-    boolean this_present_providerName = true && this.isSetProviderName();
-    boolean that_present_providerName = true && that.isSetProviderName();
-    if (this_present_providerName || that_present_providerName) {
-      if (!(this_present_providerName && that_present_providerName))
-        return false;
-      if (!this.providerName.equals(that.providerName))
-        return false;
-    }
-
-    boolean this_present_userAccountName = true && this.isSetUserAccountName();
-    boolean that_present_userAccountName = true && that.isSetUserAccountName();
-    if (this_present_userAccountName || that_present_userAccountName) {
-      if (!(this_present_userAccountName && that_present_userAccountName))
-        return false;
-      if (!this.userAccountName.equals(that.userAccountName))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  @Override
-  public int compareTo(CloundJobSubmission other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetJobSubmissionInterfaceId()).compareTo(other.isSetJobSubmissionInterfaceId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetJobSubmissionInterfaceId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobSubmissionInterfaceId, other.jobSubmissionInterfaceId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetSecurityProtocol()).compareTo(other.isSetSecurityProtocol());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetSecurityProtocol()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.securityProtocol, other.securityProtocol);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetNodeId()).compareTo(other.isSetNodeId());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetNodeId()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nodeId, other.nodeId);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetExecutableType()).compareTo(other.isSetExecutableType());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExecutableType()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.executableType, other.executableType);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetProviderName()).compareTo(other.isSetProviderName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetProviderName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.providerName, other.providerName);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetUserAccountName()).compareTo(other.isSetUserAccountName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetUserAccountName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userAccountName, other.userAccountName);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("CloundJobSubmission(");
-    boolean first = true;
-
-    sb.append("jobSubmissionInterfaceId:");
-    if (this.jobSubmissionInterfaceId == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.jobSubmissionInterfaceId);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("securityProtocol:");
-    if (this.securityProtocol == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.securityProtocol);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("nodeId:");
-    if (this.nodeId == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.nodeId);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("executableType:");
-    if (this.executableType == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.executableType);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("providerName:");
-    if (this.providerName == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.providerName);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("userAccountName:");
-    if (this.userAccountName == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.userAccountName);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetJobSubmissionInterfaceId()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobSubmissionInterfaceId' is unset! Struct:" + toString());
-    }
-
-    if (!isSetSecurityProtocol()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'securityProtocol' is unset! Struct:" + toString());
-    }
-
-    if (!isSetNodeId()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'nodeId' is unset! Struct:" + toString());
-    }
-
-    if (!isSetExecutableType()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'executableType' is unset! Struct:" + toString());
-    }
-
-    if (!isSetProviderName()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'providerName' is unset! Struct:" + toString());
-    }
-
-    if (!isSetUserAccountName()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'userAccountName' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class CloundJobSubmissionStandardSchemeFactory implements SchemeFactory {
-    public CloundJobSubmissionStandardScheme getScheme() {
-      return new CloundJobSubmissionStandardScheme();
-    }
-  }
-
-  private static class CloundJobSubmissionStandardScheme extends StandardScheme<CloundJobSubmission> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, CloundJobSubmission struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // JOB_SUBMISSION_INTERFACE_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.jobSubmissionInterfaceId = iprot.readString();
-              struct.setJobSubmissionInterfaceIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // SECURITY_PROTOCOL
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.securityProtocol = SecurityProtocol.findByValue(iprot.readI32());
-              struct.setSecurityProtocolIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // NODE_ID
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.nodeId = iprot.readString();
-              struct.setNodeIdIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // EXECUTABLE_TYPE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.executableType = iprot.readString();
-              struct.setExecutableTypeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // PROVIDER_NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.providerName = ProviderName.findByValue(iprot.readI32());
-              struct.setProviderNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // USER_ACCOUNT_NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.userAccountName = iprot.readString();
-              struct.setUserAccountNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, CloundJobSubmission struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.jobSubmissionInterfaceId != null) {
-        oprot.writeFieldBegin(JOB_SUBMISSION_INTERFACE_ID_FIELD_DESC);
-        oprot.writeString(struct.jobSubmissionInterfaceId);
-        oprot.writeFieldEnd();
-      }
-      if (struct.securityProtocol != null) {
-        oprot.writeFieldBegin(SECURITY_PROTOCOL_FIELD_DESC);
-        oprot.writeI32(struct.securityProtocol.getValue());
-        oprot.writeFieldEnd();
-      }
-      if (struct.nodeId != null) {
-        oprot.writeFieldBegin(NODE_ID_FIELD_DESC);
-        oprot.writeString(struct.nodeId);
-        oprot.writeFieldEnd();
-      }
-      if (struct.executableType != null) {
-        oprot.writeFieldBegin(EXECUTABLE_TYPE_FIELD_DESC);
-        oprot.writeString(struct.executableType);
-        oprot.writeFieldEnd();
-      }
-      if (struct.providerName != null) {
-        oprot.writeFieldBegin(PROVIDER_NAME_FIELD_DESC);
-        oprot.writeI32(struct.providerName.getValue());
-        oprot.writeFieldEnd();
-      }
-      if (struct.userAccountName != null) {
-        oprot.writeFieldBegin(USER_ACCOUNT_NAME_FIELD_DESC);
-        oprot.writeString(struct.userAccountName);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class CloundJobSubmissionTupleSchemeFactory implements SchemeFactory {
-    public CloundJobSubmissionTupleScheme getScheme() {
-      return new CloundJobSubmissionTupleScheme();
-    }
-  }
-
-  private static class CloundJobSubmissionTupleScheme extends TupleScheme<CloundJobSubmission> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, CloundJobSubmission struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeString(struct.jobSubmissionInterfaceId);
-      oprot.writeI32(struct.securityProtocol.getValue());
-      oprot.writeString(struct.nodeId);
-      oprot.writeString(struct.executableType);
-      oprot.writeI32(struct.providerName.getValue());
-      oprot.writeString(struct.userAccountName);
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, CloundJobSubmission struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.jobSubmissionInterfaceId = iprot.readString();
-      struct.setJobSubmissionInterfaceIdIsSet(true);
-      struct.securityProtocol = SecurityProtocol.findByValue(iprot.readI32());
-      struct.setSecurityProtocolIsSet(true);
-      struct.nodeId = iprot.readString();
-      struct.setNodeIdIsSet(true);
-      struct.executableType = iprot.readString();
-      struct.setExecutableTypeIsSet(true);
-      struct.providerName = ProviderName.findByValue(iprot.readI32());
-      struct.setProviderNameIsSet(true);
-      struct.userAccountName = iprot.readString();
-      struct.setUserAccountNameIsSet(true);
-    }
-  }
-
-}
-


[08/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentSearchFields.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentSearchFields.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentSearchFields.java
deleted file mode 100644
index 76c126b..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentSearchFields.java
+++ /dev/null
@@ -1,74 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum ExperimentSearchFields implements org.apache.thrift.TEnum {
-  EXPERIMENT_NAME(0),
-  EXPERIMENT_DESC(1),
-  APPLICATION_ID(2),
-  FROM_DATE(3),
-  TO_DATE(4),
-  STATUS(5);
-
-  private final int value;
-
-  private ExperimentSearchFields(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 ExperimentSearchFields findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return EXPERIMENT_NAME;
-      case 1:
-        return EXPERIMENT_DESC;
-      case 2:
-        return APPLICATION_ID;
-      case 3:
-        return FROM_DATE;
-      case 4:
-        return TO_DATE;
-      case 5:
-        return STATUS;
-      default:
-        return null;
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentState.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentState.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentState.java
deleted file mode 100644
index 806200f..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentState.java
+++ /dev/null
@@ -1,89 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum ExperimentState implements org.apache.thrift.TEnum {
-  CREATED(0),
-  VALIDATED(1),
-  SCHEDULED(2),
-  LAUNCHED(3),
-  EXECUTING(4),
-  CANCELING(5),
-  CANCELED(6),
-  SUSPENDED(7),
-  COMPLETED(8),
-  FAILED(9),
-  UNKNOWN(10);
-
-  private final int value;
-
-  private ExperimentState(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 ExperimentState findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return CREATED;
-      case 1:
-        return VALIDATED;
-      case 2:
-        return SCHEDULED;
-      case 3:
-        return LAUNCHED;
-      case 4:
-        return EXECUTING;
-      case 5:
-        return CANCELING;
-      case 6:
-        return CANCELED;
-      case 7:
-        return SUSPENDED;
-      case 8:
-        return COMPLETED;
-      case 9:
-        return FAILED;
-      case 10:
-        return UNKNOWN;
-      default:
-        return null;
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentStatistics.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentStatistics.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentStatistics.java
deleted file mode 100644
index 20c8997..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentStatistics.java
+++ /dev/null
@@ -1,1332 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ExperimentStatistics implements org.apache.thrift.TBase<ExperimentStatistics, ExperimentStatistics._Fields>, java.io.Serializable, Cloneable, Comparable<ExperimentStatistics> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExperimentStatistics");
-
-  private static final org.apache.thrift.protocol.TField ALL_EXPERIMENT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("allExperimentCount", org.apache.thrift.protocol.TType.I32, (short)1);
-  private static final org.apache.thrift.protocol.TField COMPLETED_EXPERIMENT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("completedExperimentCount", org.apache.thrift.protocol.TType.I32, (short)2);
-  private static final org.apache.thrift.protocol.TField CANCELLED_EXPERIMENT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("cancelledExperimentCount", org.apache.thrift.protocol.TType.I32, (short)3);
-  private static final org.apache.thrift.protocol.TField FAILED_EXPERIMENT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("failedExperimentCount", org.apache.thrift.protocol.TType.I32, (short)4);
-  private static final org.apache.thrift.protocol.TField ALL_EXPERIMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("allExperiments", org.apache.thrift.protocol.TType.LIST, (short)5);
-  private static final org.apache.thrift.protocol.TField COMPLETED_EXPERIMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("completedExperiments", org.apache.thrift.protocol.TType.LIST, (short)6);
-  private static final org.apache.thrift.protocol.TField FAILED_EXPERIMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("failedExperiments", org.apache.thrift.protocol.TType.LIST, (short)7);
-  private static final org.apache.thrift.protocol.TField CANCELLED_EXPERIMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("cancelledExperiments", org.apache.thrift.protocol.TType.LIST, (short)8);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ExperimentStatisticsStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ExperimentStatisticsTupleSchemeFactory());
-  }
-
-  private int allExperimentCount; // required
-  private int completedExperimentCount; // required
-  private int cancelledExperimentCount; // optional
-  private int failedExperimentCount; // required
-  private List<ExperimentSummary> allExperiments; // required
-  private List<ExperimentSummary> completedExperiments; // optional
-  private List<ExperimentSummary> failedExperiments; // optional
-  private List<ExperimentSummary> cancelledExperiments; // 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 {
-    ALL_EXPERIMENT_COUNT((short)1, "allExperimentCount"),
-    COMPLETED_EXPERIMENT_COUNT((short)2, "completedExperimentCount"),
-    CANCELLED_EXPERIMENT_COUNT((short)3, "cancelledExperimentCount"),
-    FAILED_EXPERIMENT_COUNT((short)4, "failedExperimentCount"),
-    ALL_EXPERIMENTS((short)5, "allExperiments"),
-    COMPLETED_EXPERIMENTS((short)6, "completedExperiments"),
-    FAILED_EXPERIMENTS((short)7, "failedExperiments"),
-    CANCELLED_EXPERIMENTS((short)8, "cancelledExperiments");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // ALL_EXPERIMENT_COUNT
-          return ALL_EXPERIMENT_COUNT;
-        case 2: // COMPLETED_EXPERIMENT_COUNT
-          return COMPLETED_EXPERIMENT_COUNT;
-        case 3: // CANCELLED_EXPERIMENT_COUNT
-          return CANCELLED_EXPERIMENT_COUNT;
-        case 4: // FAILED_EXPERIMENT_COUNT
-          return FAILED_EXPERIMENT_COUNT;
-        case 5: // ALL_EXPERIMENTS
-          return ALL_EXPERIMENTS;
-        case 6: // COMPLETED_EXPERIMENTS
-          return COMPLETED_EXPERIMENTS;
-        case 7: // FAILED_EXPERIMENTS
-          return FAILED_EXPERIMENTS;
-        case 8: // CANCELLED_EXPERIMENTS
-          return CANCELLED_EXPERIMENTS;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __ALLEXPERIMENTCOUNT_ISSET_ID = 0;
-  private static final int __COMPLETEDEXPERIMENTCOUNT_ISSET_ID = 1;
-  private static final int __CANCELLEDEXPERIMENTCOUNT_ISSET_ID = 2;
-  private static final int __FAILEDEXPERIMENTCOUNT_ISSET_ID = 3;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.CANCELLED_EXPERIMENT_COUNT,_Fields.COMPLETED_EXPERIMENTS,_Fields.FAILED_EXPERIMENTS,_Fields.CANCELLED_EXPERIMENTS};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.ALL_EXPERIMENT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("allExperimentCount", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.COMPLETED_EXPERIMENT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("completedExperimentCount", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.CANCELLED_EXPERIMENT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("cancelledExperimentCount", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.FAILED_EXPERIMENT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("failedExperimentCount", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.ALL_EXPERIMENTS, new org.apache.thrift.meta_data.FieldMetaData("allExperiments", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        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, ExperimentSummary.class))));
-    tmpMap.put(_Fields.COMPLETED_EXPERIMENTS, new org.apache.thrift.meta_data.FieldMetaData("completedExperiments", 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, ExperimentSummary.class))));
-    tmpMap.put(_Fields.FAILED_EXPERIMENTS, new org.apache.thrift.meta_data.FieldMetaData("failedExperiments", 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, ExperimentSummary.class))));
-    tmpMap.put(_Fields.CANCELLED_EXPERIMENTS, new org.apache.thrift.meta_data.FieldMetaData("cancelledExperiments", 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, ExperimentSummary.class))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ExperimentStatistics.class, metaDataMap);
-  }
-
-  public ExperimentStatistics() {
-  }
-
-  public ExperimentStatistics(
-    int allExperimentCount,
-    int completedExperimentCount,
-    int failedExperimentCount,
-    List<ExperimentSummary> allExperiments)
-  {
-    this();
-    this.allExperimentCount = allExperimentCount;
-    setAllExperimentCountIsSet(true);
-    this.completedExperimentCount = completedExperimentCount;
-    setCompletedExperimentCountIsSet(true);
-    this.failedExperimentCount = failedExperimentCount;
-    setFailedExperimentCountIsSet(true);
-    this.allExperiments = allExperiments;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ExperimentStatistics(ExperimentStatistics other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.allExperimentCount = other.allExperimentCount;
-    this.completedExperimentCount = other.completedExperimentCount;
-    this.cancelledExperimentCount = other.cancelledExperimentCount;
-    this.failedExperimentCount = other.failedExperimentCount;
-    if (other.isSetAllExperiments()) {
-      List<ExperimentSummary> __this__allExperiments = new ArrayList<ExperimentSummary>(other.allExperiments.size());
-      for (ExperimentSummary other_element : other.allExperiments) {
-        __this__allExperiments.add(new ExperimentSummary(other_element));
-      }
-      this.allExperiments = __this__allExperiments;
-    }
-    if (other.isSetCompletedExperiments()) {
-      List<ExperimentSummary> __this__completedExperiments = new ArrayList<ExperimentSummary>(other.completedExperiments.size());
-      for (ExperimentSummary other_element : other.completedExperiments) {
-        __this__completedExperiments.add(new ExperimentSummary(other_element));
-      }
-      this.completedExperiments = __this__completedExperiments;
-    }
-    if (other.isSetFailedExperiments()) {
-      List<ExperimentSummary> __this__failedExperiments = new ArrayList<ExperimentSummary>(other.failedExperiments.size());
-      for (ExperimentSummary other_element : other.failedExperiments) {
-        __this__failedExperiments.add(new ExperimentSummary(other_element));
-      }
-      this.failedExperiments = __this__failedExperiments;
-    }
-    if (other.isSetCancelledExperiments()) {
-      List<ExperimentSummary> __this__cancelledExperiments = new ArrayList<ExperimentSummary>(other.cancelledExperiments.size());
-      for (ExperimentSummary other_element : other.cancelledExperiments) {
-        __this__cancelledExperiments.add(new ExperimentSummary(other_element));
-      }
-      this.cancelledExperiments = __this__cancelledExperiments;
-    }
-  }
-
-  public ExperimentStatistics deepCopy() {
-    return new ExperimentStatistics(this);
-  }
-
-  @Override
-  public void clear() {
-    setAllExperimentCountIsSet(false);
-    this.allExperimentCount = 0;
-    setCompletedExperimentCountIsSet(false);
-    this.completedExperimentCount = 0;
-    setCancelledExperimentCountIsSet(false);
-    this.cancelledExperimentCount = 0;
-    setFailedExperimentCountIsSet(false);
-    this.failedExperimentCount = 0;
-    this.allExperiments = null;
-    this.completedExperiments = null;
-    this.failedExperiments = null;
-    this.cancelledExperiments = null;
-  }
-
-  public int getAllExperimentCount() {
-    return this.allExperimentCount;
-  }
-
-  public void setAllExperimentCount(int allExperimentCount) {
-    this.allExperimentCount = allExperimentCount;
-    setAllExperimentCountIsSet(true);
-  }
-
-  public void unsetAllExperimentCount() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ALLEXPERIMENTCOUNT_ISSET_ID);
-  }
-
-  /** Returns true if field allExperimentCount is set (has been assigned a value) and false otherwise */
-  public boolean isSetAllExperimentCount() {
-    return EncodingUtils.testBit(__isset_bitfield, __ALLEXPERIMENTCOUNT_ISSET_ID);
-  }
-
-  public void setAllExperimentCountIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ALLEXPERIMENTCOUNT_ISSET_ID, value);
-  }
-
-  public int getCompletedExperimentCount() {
-    return this.completedExperimentCount;
-  }
-
-  public void setCompletedExperimentCount(int completedExperimentCount) {
-    this.completedExperimentCount = completedExperimentCount;
-    setCompletedExperimentCountIsSet(true);
-  }
-
-  public void unsetCompletedExperimentCount() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __COMPLETEDEXPERIMENTCOUNT_ISSET_ID);
-  }
-
-  /** Returns true if field completedExperimentCount is set (has been assigned a value) and false otherwise */
-  public boolean isSetCompletedExperimentCount() {
-    return EncodingUtils.testBit(__isset_bitfield, __COMPLETEDEXPERIMENTCOUNT_ISSET_ID);
-  }
-
-  public void setCompletedExperimentCountIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __COMPLETEDEXPERIMENTCOUNT_ISSET_ID, value);
-  }
-
-  public int getCancelledExperimentCount() {
-    return this.cancelledExperimentCount;
-  }
-
-  public void setCancelledExperimentCount(int cancelledExperimentCount) {
-    this.cancelledExperimentCount = cancelledExperimentCount;
-    setCancelledExperimentCountIsSet(true);
-  }
-
-  public void unsetCancelledExperimentCount() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CANCELLEDEXPERIMENTCOUNT_ISSET_ID);
-  }
-
-  /** Returns true if field cancelledExperimentCount is set (has been assigned a value) and false otherwise */
-  public boolean isSetCancelledExperimentCount() {
-    return EncodingUtils.testBit(__isset_bitfield, __CANCELLEDEXPERIMENTCOUNT_ISSET_ID);
-  }
-
-  public void setCancelledExperimentCountIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CANCELLEDEXPERIMENTCOUNT_ISSET_ID, value);
-  }
-
-  public int getFailedExperimentCount() {
-    return this.failedExperimentCount;
-  }
-
-  public void setFailedExperimentCount(int failedExperimentCount) {
-    this.failedExperimentCount = failedExperimentCount;
-    setFailedExperimentCountIsSet(true);
-  }
-
-  public void unsetFailedExperimentCount() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __FAILEDEXPERIMENTCOUNT_ISSET_ID);
-  }
-
-  /** Returns true if field failedExperimentCount is set (has been assigned a value) and false otherwise */
-  public boolean isSetFailedExperimentCount() {
-    return EncodingUtils.testBit(__isset_bitfield, __FAILEDEXPERIMENTCOUNT_ISSET_ID);
-  }
-
-  public void setFailedExperimentCountIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __FAILEDEXPERIMENTCOUNT_ISSET_ID, value);
-  }
-
-  public int getAllExperimentsSize() {
-    return (this.allExperiments == null) ? 0 : this.allExperiments.size();
-  }
-
-  public java.util.Iterator<ExperimentSummary> getAllExperimentsIterator() {
-    return (this.allExperiments == null) ? null : this.allExperiments.iterator();
-  }
-
-  public void addToAllExperiments(ExperimentSummary elem) {
-    if (this.allExperiments == null) {
-      this.allExperiments = new ArrayList<ExperimentSummary>();
-    }
-    this.allExperiments.add(elem);
-  }
-
-  public List<ExperimentSummary> getAllExperiments() {
-    return this.allExperiments;
-  }
-
-  public void setAllExperiments(List<ExperimentSummary> allExperiments) {
-    this.allExperiments = allExperiments;
-  }
-
-  public void unsetAllExperiments() {
-    this.allExperiments = null;
-  }
-
-  /** Returns true if field allExperiments is set (has been assigned a value) and false otherwise */
-  public boolean isSetAllExperiments() {
-    return this.allExperiments != null;
-  }
-
-  public void setAllExperimentsIsSet(boolean value) {
-    if (!value) {
-      this.allExperiments = null;
-    }
-  }
-
-  public int getCompletedExperimentsSize() {
-    return (this.completedExperiments == null) ? 0 : this.completedExperiments.size();
-  }
-
-  public java.util.Iterator<ExperimentSummary> getCompletedExperimentsIterator() {
-    return (this.completedExperiments == null) ? null : this.completedExperiments.iterator();
-  }
-
-  public void addToCompletedExperiments(ExperimentSummary elem) {
-    if (this.completedExperiments == null) {
-      this.completedExperiments = new ArrayList<ExperimentSummary>();
-    }
-    this.completedExperiments.add(elem);
-  }
-
-  public List<ExperimentSummary> getCompletedExperiments() {
-    return this.completedExperiments;
-  }
-
-  public void setCompletedExperiments(List<ExperimentSummary> completedExperiments) {
-    this.completedExperiments = completedExperiments;
-  }
-
-  public void unsetCompletedExperiments() {
-    this.completedExperiments = null;
-  }
-
-  /** Returns true if field completedExperiments is set (has been assigned a value) and false otherwise */
-  public boolean isSetCompletedExperiments() {
-    return this.completedExperiments != null;
-  }
-
-  public void setCompletedExperimentsIsSet(boolean value) {
-    if (!value) {
-      this.completedExperiments = null;
-    }
-  }
-
-  public int getFailedExperimentsSize() {
-    return (this.failedExperiments == null) ? 0 : this.failedExperiments.size();
-  }
-
-  public java.util.Iterator<ExperimentSummary> getFailedExperimentsIterator() {
-    return (this.failedExperiments == null) ? null : this.failedExperiments.iterator();
-  }
-
-  public void addToFailedExperiments(ExperimentSummary elem) {
-    if (this.failedExperiments == null) {
-      this.failedExperiments = new ArrayList<ExperimentSummary>();
-    }
-    this.failedExperiments.add(elem);
-  }
-
-  public List<ExperimentSummary> getFailedExperiments() {
-    return this.failedExperiments;
-  }
-
-  public void setFailedExperiments(List<ExperimentSummary> failedExperiments) {
-    this.failedExperiments = failedExperiments;
-  }
-
-  public void unsetFailedExperiments() {
-    this.failedExperiments = null;
-  }
-
-  /** Returns true if field failedExperiments is set (has been assigned a value) and false otherwise */
-  public boolean isSetFailedExperiments() {
-    return this.failedExperiments != null;
-  }
-
-  public void setFailedExperimentsIsSet(boolean value) {
-    if (!value) {
-      this.failedExperiments = null;
-    }
-  }
-
-  public int getCancelledExperimentsSize() {
-    return (this.cancelledExperiments == null) ? 0 : this.cancelledExperiments.size();
-  }
-
-  public java.util.Iterator<ExperimentSummary> getCancelledExperimentsIterator() {
-    return (this.cancelledExperiments == null) ? null : this.cancelledExperiments.iterator();
-  }
-
-  public void addToCancelledExperiments(ExperimentSummary elem) {
-    if (this.cancelledExperiments == null) {
-      this.cancelledExperiments = new ArrayList<ExperimentSummary>();
-    }
-    this.cancelledExperiments.add(elem);
-  }
-
-  public List<ExperimentSummary> getCancelledExperiments() {
-    return this.cancelledExperiments;
-  }
-
-  public void setCancelledExperiments(List<ExperimentSummary> cancelledExperiments) {
-    this.cancelledExperiments = cancelledExperiments;
-  }
-
-  public void unsetCancelledExperiments() {
-    this.cancelledExperiments = null;
-  }
-
-  /** Returns true if field cancelledExperiments is set (has been assigned a value) and false otherwise */
-  public boolean isSetCancelledExperiments() {
-    return this.cancelledExperiments != null;
-  }
-
-  public void setCancelledExperimentsIsSet(boolean value) {
-    if (!value) {
-      this.cancelledExperiments = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case ALL_EXPERIMENT_COUNT:
-      if (value == null) {
-        unsetAllExperimentCount();
-      } else {
-        setAllExperimentCount((Integer)value);
-      }
-      break;
-
-    case COMPLETED_EXPERIMENT_COUNT:
-      if (value == null) {
-        unsetCompletedExperimentCount();
-      } else {
-        setCompletedExperimentCount((Integer)value);
-      }
-      break;
-
-    case CANCELLED_EXPERIMENT_COUNT:
-      if (value == null) {
-        unsetCancelledExperimentCount();
-      } else {
-        setCancelledExperimentCount((Integer)value);
-      }
-      break;
-
-    case FAILED_EXPERIMENT_COUNT:
-      if (value == null) {
-        unsetFailedExperimentCount();
-      } else {
-        setFailedExperimentCount((Integer)value);
-      }
-      break;
-
-    case ALL_EXPERIMENTS:
-      if (value == null) {
-        unsetAllExperiments();
-      } else {
-        setAllExperiments((List<ExperimentSummary>)value);
-      }
-      break;
-
-    case COMPLETED_EXPERIMENTS:
-      if (value == null) {
-        unsetCompletedExperiments();
-      } else {
-        setCompletedExperiments((List<ExperimentSummary>)value);
-      }
-      break;
-
-    case FAILED_EXPERIMENTS:
-      if (value == null) {
-        unsetFailedExperiments();
-      } else {
-        setFailedExperiments((List<ExperimentSummary>)value);
-      }
-      break;
-
-    case CANCELLED_EXPERIMENTS:
-      if (value == null) {
-        unsetCancelledExperiments();
-      } else {
-        setCancelledExperiments((List<ExperimentSummary>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case ALL_EXPERIMENT_COUNT:
-      return Integer.valueOf(getAllExperimentCount());
-
-    case COMPLETED_EXPERIMENT_COUNT:
-      return Integer.valueOf(getCompletedExperimentCount());
-
-    case CANCELLED_EXPERIMENT_COUNT:
-      return Integer.valueOf(getCancelledExperimentCount());
-
-    case FAILED_EXPERIMENT_COUNT:
-      return Integer.valueOf(getFailedExperimentCount());
-
-    case ALL_EXPERIMENTS:
-      return getAllExperiments();
-
-    case COMPLETED_EXPERIMENTS:
-      return getCompletedExperiments();
-
-    case FAILED_EXPERIMENTS:
-      return getFailedExperiments();
-
-    case CANCELLED_EXPERIMENTS:
-      return getCancelledExperiments();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case ALL_EXPERIMENT_COUNT:
-      return isSetAllExperimentCount();
-    case COMPLETED_EXPERIMENT_COUNT:
-      return isSetCompletedExperimentCount();
-    case CANCELLED_EXPERIMENT_COUNT:
-      return isSetCancelledExperimentCount();
-    case FAILED_EXPERIMENT_COUNT:
-      return isSetFailedExperimentCount();
-    case ALL_EXPERIMENTS:
-      return isSetAllExperiments();
-    case COMPLETED_EXPERIMENTS:
-      return isSetCompletedExperiments();
-    case FAILED_EXPERIMENTS:
-      return isSetFailedExperiments();
-    case CANCELLED_EXPERIMENTS:
-      return isSetCancelledExperiments();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ExperimentStatistics)
-      return this.equals((ExperimentStatistics)that);
-    return false;
-  }
-
-  public boolean equals(ExperimentStatistics that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_allExperimentCount = true;
-    boolean that_present_allExperimentCount = true;
-    if (this_present_allExperimentCount || that_present_allExperimentCount) {
-      if (!(this_present_allExperimentCount && that_present_allExperimentCount))
-        return false;
-      if (this.allExperimentCount != that.allExperimentCount)
-        return false;
-    }
-
-    boolean this_present_completedExperimentCount = true;
-    boolean that_present_completedExperimentCount = true;
-    if (this_present_completedExperimentCount || that_present_completedExperimentCount) {
-      if (!(this_present_completedExperimentCount && that_present_completedExperimentCount))
-        return false;
-      if (this.completedExperimentCount != that.completedExperimentCount)
-        return false;
-    }
-
-    boolean this_present_cancelledExperimentCount = true && this.isSetCancelledExperimentCount();
-    boolean that_present_cancelledExperimentCount = true && that.isSetCancelledExperimentCount();
-    if (this_present_cancelledExperimentCount || that_present_cancelledExperimentCount) {
-      if (!(this_present_cancelledExperimentCount && that_present_cancelledExperimentCount))
-        return false;
-      if (this.cancelledExperimentCount != that.cancelledExperimentCount)
-        return false;
-    }
-
-    boolean this_present_failedExperimentCount = true;
-    boolean that_present_failedExperimentCount = true;
-    if (this_present_failedExperimentCount || that_present_failedExperimentCount) {
-      if (!(this_present_failedExperimentCount && that_present_failedExperimentCount))
-        return false;
-      if (this.failedExperimentCount != that.failedExperimentCount)
-        return false;
-    }
-
-    boolean this_present_allExperiments = true && this.isSetAllExperiments();
-    boolean that_present_allExperiments = true && that.isSetAllExperiments();
-    if (this_present_allExperiments || that_present_allExperiments) {
-      if (!(this_present_allExperiments && that_present_allExperiments))
-        return false;
-      if (!this.allExperiments.equals(that.allExperiments))
-        return false;
-    }
-
-    boolean this_present_completedExperiments = true && this.isSetCompletedExperiments();
-    boolean that_present_completedExperiments = true && that.isSetCompletedExperiments();
-    if (this_present_completedExperiments || that_present_completedExperiments) {
-      if (!(this_present_completedExperiments && that_present_completedExperiments))
-        return false;
-      if (!this.completedExperiments.equals(that.completedExperiments))
-        return false;
-    }
-
-    boolean this_present_failedExperiments = true && this.isSetFailedExperiments();
-    boolean that_present_failedExperiments = true && that.isSetFailedExperiments();
-    if (this_present_failedExperiments || that_present_failedExperiments) {
-      if (!(this_present_failedExperiments && that_present_failedExperiments))
-        return false;
-      if (!this.failedExperiments.equals(that.failedExperiments))
-        return false;
-    }
-
-    boolean this_present_cancelledExperiments = true && this.isSetCancelledExperiments();
-    boolean that_present_cancelledExperiments = true && that.isSetCancelledExperiments();
-    if (this_present_cancelledExperiments || that_present_cancelledExperiments) {
-      if (!(this_present_cancelledExperiments && that_present_cancelledExperiments))
-        return false;
-      if (!this.cancelledExperiments.equals(that.cancelledExperiments))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_allExperimentCount = true;
-    list.add(present_allExperimentCount);
-    if (present_allExperimentCount)
-      list.add(allExperimentCount);
-
-    boolean present_completedExperimentCount = true;
-    list.add(present_completedExperimentCount);
-    if (present_completedExperimentCount)
-      list.add(completedExperimentCount);
-
-    boolean present_cancelledExperimentCount = true && (isSetCancelledExperimentCount());
-    list.add(present_cancelledExperimentCount);
-    if (present_cancelledExperimentCount)
-      list.add(cancelledExperimentCount);
-
-    boolean present_failedExperimentCount = true;
-    list.add(present_failedExperimentCount);
-    if (present_failedExperimentCount)
-      list.add(failedExperimentCount);
-
-    boolean present_allExperiments = true && (isSetAllExperiments());
-    list.add(present_allExperiments);
-    if (present_allExperiments)
-      list.add(allExperiments);
-
-    boolean present_completedExperiments = true && (isSetCompletedExperiments());
-    list.add(present_completedExperiments);
-    if (present_completedExperiments)
-      list.add(completedExperiments);
-
-    boolean present_failedExperiments = true && (isSetFailedExperiments());
-    list.add(present_failedExperiments);
-    if (present_failedExperiments)
-      list.add(failedExperiments);
-
-    boolean present_cancelledExperiments = true && (isSetCancelledExperiments());
-    list.add(present_cancelledExperiments);
-    if (present_cancelledExperiments)
-      list.add(cancelledExperiments);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ExperimentStatistics other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetAllExperimentCount()).compareTo(other.isSetAllExperimentCount());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAllExperimentCount()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.allExperimentCount, other.allExperimentCount);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCompletedExperimentCount()).compareTo(other.isSetCompletedExperimentCount());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCompletedExperimentCount()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.completedExperimentCount, other.completedExperimentCount);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCancelledExperimentCount()).compareTo(other.isSetCancelledExperimentCount());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCancelledExperimentCount()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cancelledExperimentCount, other.cancelledExperimentCount);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetFailedExperimentCount()).compareTo(other.isSetFailedExperimentCount());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetFailedExperimentCount()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.failedExperimentCount, other.failedExperimentCount);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetAllExperiments()).compareTo(other.isSetAllExperiments());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAllExperiments()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.allExperiments, other.allExperiments);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCompletedExperiments()).compareTo(other.isSetCompletedExperiments());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCompletedExperiments()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.completedExperiments, other.completedExperiments);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetFailedExperiments()).compareTo(other.isSetFailedExperiments());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetFailedExperiments()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.failedExperiments, other.failedExperiments);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCancelledExperiments()).compareTo(other.isSetCancelledExperiments());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCancelledExperiments()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cancelledExperiments, other.cancelledExperiments);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ExperimentStatistics(");
-    boolean first = true;
-
-    sb.append("allExperimentCount:");
-    sb.append(this.allExperimentCount);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("completedExperimentCount:");
-    sb.append(this.completedExperimentCount);
-    first = false;
-    if (isSetCancelledExperimentCount()) {
-      if (!first) sb.append(", ");
-      sb.append("cancelledExperimentCount:");
-      sb.append(this.cancelledExperimentCount);
-      first = false;
-    }
-    if (!first) sb.append(", ");
-    sb.append("failedExperimentCount:");
-    sb.append(this.failedExperimentCount);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("allExperiments:");
-    if (this.allExperiments == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.allExperiments);
-    }
-    first = false;
-    if (isSetCompletedExperiments()) {
-      if (!first) sb.append(", ");
-      sb.append("completedExperiments:");
-      if (this.completedExperiments == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.completedExperiments);
-      }
-      first = false;
-    }
-    if (isSetFailedExperiments()) {
-      if (!first) sb.append(", ");
-      sb.append("failedExperiments:");
-      if (this.failedExperiments == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.failedExperiments);
-      }
-      first = false;
-    }
-    if (isSetCancelledExperiments()) {
-      if (!first) sb.append(", ");
-      sb.append("cancelledExperiments:");
-      if (this.cancelledExperiments == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.cancelledExperiments);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetAllExperimentCount()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'allExperimentCount' is unset! Struct:" + toString());
-    }
-
-    if (!isSetCompletedExperimentCount()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'completedExperimentCount' is unset! Struct:" + toString());
-    }
-
-    if (!isSetFailedExperimentCount()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'failedExperimentCount' is unset! Struct:" + toString());
-    }
-
-    if (!isSetAllExperiments()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'allExperiments' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ExperimentStatisticsStandardSchemeFactory implements SchemeFactory {
-    public ExperimentStatisticsStandardScheme getScheme() {
-      return new ExperimentStatisticsStandardScheme();
-    }
-  }
-
-  private static class ExperimentStatisticsStandardScheme extends StandardScheme<ExperimentStatistics> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ExperimentStatistics struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // ALL_EXPERIMENT_COUNT
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.allExperimentCount = iprot.readI32();
-              struct.setAllExperimentCountIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // COMPLETED_EXPERIMENT_COUNT
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.completedExperimentCount = iprot.readI32();
-              struct.setCompletedExperimentCountIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // CANCELLED_EXPERIMENT_COUNT
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.cancelledExperimentCount = iprot.readI32();
-              struct.setCancelledExperimentCountIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // FAILED_EXPERIMENT_COUNT
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.failedExperimentCount = iprot.readI32();
-              struct.setFailedExperimentCountIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // ALL_EXPERIMENTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list152 = iprot.readListBegin();
-                struct.allExperiments = new ArrayList<ExperimentSummary>(_list152.size);
-                ExperimentSummary _elem153;
-                for (int _i154 = 0; _i154 < _list152.size; ++_i154)
-                {
-                  _elem153 = new ExperimentSummary();
-                  _elem153.read(iprot);
-                  struct.allExperiments.add(_elem153);
-                }
-                iprot.readListEnd();
-              }
-              struct.setAllExperimentsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // COMPLETED_EXPERIMENTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list155 = iprot.readListBegin();
-                struct.completedExperiments = new ArrayList<ExperimentSummary>(_list155.size);
-                ExperimentSummary _elem156;
-                for (int _i157 = 0; _i157 < _list155.size; ++_i157)
-                {
-                  _elem156 = new ExperimentSummary();
-                  _elem156.read(iprot);
-                  struct.completedExperiments.add(_elem156);
-                }
-                iprot.readListEnd();
-              }
-              struct.setCompletedExperimentsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // FAILED_EXPERIMENTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list158 = iprot.readListBegin();
-                struct.failedExperiments = new ArrayList<ExperimentSummary>(_list158.size);
-                ExperimentSummary _elem159;
-                for (int _i160 = 0; _i160 < _list158.size; ++_i160)
-                {
-                  _elem159 = new ExperimentSummary();
-                  _elem159.read(iprot);
-                  struct.failedExperiments.add(_elem159);
-                }
-                iprot.readListEnd();
-              }
-              struct.setFailedExperimentsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // CANCELLED_EXPERIMENTS
-            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
-              {
-                org.apache.thrift.protocol.TList _list161 = iprot.readListBegin();
-                struct.cancelledExperiments = new ArrayList<ExperimentSummary>(_list161.size);
-                ExperimentSummary _elem162;
-                for (int _i163 = 0; _i163 < _list161.size; ++_i163)
-                {
-                  _elem162 = new ExperimentSummary();
-                  _elem162.read(iprot);
-                  struct.cancelledExperiments.add(_elem162);
-                }
-                iprot.readListEnd();
-              }
-              struct.setCancelledExperimentsIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ExperimentStatistics struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      oprot.writeFieldBegin(ALL_EXPERIMENT_COUNT_FIELD_DESC);
-      oprot.writeI32(struct.allExperimentCount);
-      oprot.writeFieldEnd();
-      oprot.writeFieldBegin(COMPLETED_EXPERIMENT_COUNT_FIELD_DESC);
-      oprot.writeI32(struct.completedExperimentCount);
-      oprot.writeFieldEnd();
-      if (struct.isSetCancelledExperimentCount()) {
-        oprot.writeFieldBegin(CANCELLED_EXPERIMENT_COUNT_FIELD_DESC);
-        oprot.writeI32(struct.cancelledExperimentCount);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldBegin(FAILED_EXPERIMENT_COUNT_FIELD_DESC);
-      oprot.writeI32(struct.failedExperimentCount);
-      oprot.writeFieldEnd();
-      if (struct.allExperiments != null) {
-        oprot.writeFieldBegin(ALL_EXPERIMENTS_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.allExperiments.size()));
-          for (ExperimentSummary _iter164 : struct.allExperiments)
-          {
-            _iter164.write(oprot);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      if (struct.completedExperiments != null) {
-        if (struct.isSetCompletedExperiments()) {
-          oprot.writeFieldBegin(COMPLETED_EXPERIMENTS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.completedExperiments.size()));
-            for (ExperimentSummary _iter165 : struct.completedExperiments)
-            {
-              _iter165.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.failedExperiments != null) {
-        if (struct.isSetFailedExperiments()) {
-          oprot.writeFieldBegin(FAILED_EXPERIMENTS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.failedExperiments.size()));
-            for (ExperimentSummary _iter166 : struct.failedExperiments)
-            {
-              _iter166.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      if (struct.cancelledExperiments != null) {
-        if (struct.isSetCancelledExperiments()) {
-          oprot.writeFieldBegin(CANCELLED_EXPERIMENTS_FIELD_DESC);
-          {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cancelledExperiments.size()));
-            for (ExperimentSummary _iter167 : struct.cancelledExperiments)
-            {
-              _iter167.write(oprot);
-            }
-            oprot.writeListEnd();
-          }
-          oprot.writeFieldEnd();
-        }
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ExperimentStatisticsTupleSchemeFactory implements SchemeFactory {
-    public ExperimentStatisticsTupleScheme getScheme() {
-      return new ExperimentStatisticsTupleScheme();
-    }
-  }
-
-  private static class ExperimentStatisticsTupleScheme extends TupleScheme<ExperimentStatistics> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ExperimentStatistics struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeI32(struct.allExperimentCount);
-      oprot.writeI32(struct.completedExperimentCount);
-      oprot.writeI32(struct.failedExperimentCount);
-      {
-        oprot.writeI32(struct.allExperiments.size());
-        for (ExperimentSummary _iter168 : struct.allExperiments)
-        {
-          _iter168.write(oprot);
-        }
-      }
-      BitSet optionals = new BitSet();
-      if (struct.isSetCancelledExperimentCount()) {
-        optionals.set(0);
-      }
-      if (struct.isSetCompletedExperiments()) {
-        optionals.set(1);
-      }
-      if (struct.isSetFailedExperiments()) {
-        optionals.set(2);
-      }
-      if (struct.isSetCancelledExperiments()) {
-        optionals.set(3);
-      }
-      oprot.writeBitSet(optionals, 4);
-      if (struct.isSetCancelledExperimentCount()) {
-        oprot.writeI32(struct.cancelledExperimentCount);
-      }
-      if (struct.isSetCompletedExperiments()) {
-        {
-          oprot.writeI32(struct.completedExperiments.size());
-          for (ExperimentSummary _iter169 : struct.completedExperiments)
-          {
-            _iter169.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetFailedExperiments()) {
-        {
-          oprot.writeI32(struct.failedExperiments.size());
-          for (ExperimentSummary _iter170 : struct.failedExperiments)
-          {
-            _iter170.write(oprot);
-          }
-        }
-      }
-      if (struct.isSetCancelledExperiments()) {
-        {
-          oprot.writeI32(struct.cancelledExperiments.size());
-          for (ExperimentSummary _iter171 : struct.cancelledExperiments)
-          {
-            _iter171.write(oprot);
-          }
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ExperimentStatistics struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.allExperimentCount = iprot.readI32();
-      struct.setAllExperimentCountIsSet(true);
-      struct.completedExperimentCount = iprot.readI32();
-      struct.setCompletedExperimentCountIsSet(true);
-      struct.failedExperimentCount = iprot.readI32();
-      struct.setFailedExperimentCountIsSet(true);
-      {
-        org.apache.thrift.protocol.TList _list172 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-        struct.allExperiments = new ArrayList<ExperimentSummary>(_list172.size);
-        ExperimentSummary _elem173;
-        for (int _i174 = 0; _i174 < _list172.size; ++_i174)
-        {
-          _elem173 = new ExperimentSummary();
-          _elem173.read(iprot);
-          struct.allExperiments.add(_elem173);
-        }
-      }
-      struct.setAllExperimentsIsSet(true);
-      BitSet incoming = iprot.readBitSet(4);
-      if (incoming.get(0)) {
-        struct.cancelledExperimentCount = iprot.readI32();
-        struct.setCancelledExperimentCountIsSet(true);
-      }
-      if (incoming.get(1)) {
-        {
-          org.apache.thrift.protocol.TList _list175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.completedExperiments = new ArrayList<ExperimentSummary>(_list175.size);
-          ExperimentSummary _elem176;
-          for (int _i177 = 0; _i177 < _list175.size; ++_i177)
-          {
-            _elem176 = new ExperimentSummary();
-            _elem176.read(iprot);
-            struct.completedExperiments.add(_elem176);
-          }
-        }
-        struct.setCompletedExperimentsIsSet(true);
-      }
-      if (incoming.get(2)) {
-        {
-          org.apache.thrift.protocol.TList _list178 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.failedExperiments = new ArrayList<ExperimentSummary>(_list178.size);
-          ExperimentSummary _elem179;
-          for (int _i180 = 0; _i180 < _list178.size; ++_i180)
-          {
-            _elem179 = new ExperimentSummary();
-            _elem179.read(iprot);
-            struct.failedExperiments.add(_elem179);
-          }
-        }
-        struct.setFailedExperimentsIsSet(true);
-      }
-      if (incoming.get(3)) {
-        {
-          org.apache.thrift.protocol.TList _list181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.cancelledExperiments = new ArrayList<ExperimentSummary>(_list181.size);
-          ExperimentSummary _elem182;
-          for (int _i183 = 0; _i183 < _list181.size; ++_i183)
-          {
-            _elem182 = new ExperimentSummary();
-            _elem182.read(iprot);
-            struct.cancelledExperiments.add(_elem182);
-          }
-        }
-        struct.setCancelledExperimentsIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentStatus.java
deleted file mode 100644
index 5c2bb6b..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/ExperimentStatus.java
+++ /dev/null
@@ -1,525 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class ExperimentStatus implements org.apache.thrift.TBase<ExperimentStatus, ExperimentStatus._Fields>, java.io.Serializable, Cloneable, Comparable<ExperimentStatus> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExperimentStatus");
-
-  private static final org.apache.thrift.protocol.TField EXPERIMENT_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentState", org.apache.thrift.protocol.TType.I32, (short)1);
-  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ExperimentStatusStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ExperimentStatusTupleSchemeFactory());
-  }
-
-  private ExperimentState experimentState; // required
-  private long timeOfStateChange; // 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 {
-    /**
-     * 
-     * @see ExperimentState
-     */
-    EXPERIMENT_STATE((short)1, "experimentState"),
-    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // EXPERIMENT_STATE
-          return EXPERIMENT_STATE;
-        case 2: // TIME_OF_STATE_CHANGE
-          return TIME_OF_STATE_CHANGE;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.EXPERIMENT_STATE, new org.apache.thrift.meta_data.FieldMetaData("experimentState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ExperimentState.class)));
-    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ExperimentStatus.class, metaDataMap);
-  }
-
-  public ExperimentStatus() {
-  }
-
-  public ExperimentStatus(
-    ExperimentState experimentState)
-  {
-    this();
-    this.experimentState = experimentState;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ExperimentStatus(ExperimentStatus other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetExperimentState()) {
-      this.experimentState = other.experimentState;
-    }
-    this.timeOfStateChange = other.timeOfStateChange;
-  }
-
-  public ExperimentStatus deepCopy() {
-    return new ExperimentStatus(this);
-  }
-
-  @Override
-  public void clear() {
-    this.experimentState = null;
-    setTimeOfStateChangeIsSet(false);
-    this.timeOfStateChange = 0;
-  }
-
-  /**
-   * 
-   * @see ExperimentState
-   */
-  public ExperimentState getExperimentState() {
-    return this.experimentState;
-  }
-
-  /**
-   * 
-   * @see ExperimentState
-   */
-  public void setExperimentState(ExperimentState experimentState) {
-    this.experimentState = experimentState;
-  }
-
-  public void unsetExperimentState() {
-    this.experimentState = null;
-  }
-
-  /** Returns true if field experimentState is set (has been assigned a value) and false otherwise */
-  public boolean isSetExperimentState() {
-    return this.experimentState != null;
-  }
-
-  public void setExperimentStateIsSet(boolean value) {
-    if (!value) {
-      this.experimentState = null;
-    }
-  }
-
-  public long getTimeOfStateChange() {
-    return this.timeOfStateChange;
-  }
-
-  public void setTimeOfStateChange(long timeOfStateChange) {
-    this.timeOfStateChange = timeOfStateChange;
-    setTimeOfStateChangeIsSet(true);
-  }
-
-  public void unsetTimeOfStateChange() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
-  public boolean isSetTimeOfStateChange() {
-    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  public void setTimeOfStateChangeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case EXPERIMENT_STATE:
-      if (value == null) {
-        unsetExperimentState();
-      } else {
-        setExperimentState((ExperimentState)value);
-      }
-      break;
-
-    case TIME_OF_STATE_CHANGE:
-      if (value == null) {
-        unsetTimeOfStateChange();
-      } else {
-        setTimeOfStateChange((Long)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case EXPERIMENT_STATE:
-      return getExperimentState();
-
-    case TIME_OF_STATE_CHANGE:
-      return Long.valueOf(getTimeOfStateChange());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case EXPERIMENT_STATE:
-      return isSetExperimentState();
-    case TIME_OF_STATE_CHANGE:
-      return isSetTimeOfStateChange();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ExperimentStatus)
-      return this.equals((ExperimentStatus)that);
-    return false;
-  }
-
-  public boolean equals(ExperimentStatus that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_experimentState = true && this.isSetExperimentState();
-    boolean that_present_experimentState = true && that.isSetExperimentState();
-    if (this_present_experimentState || that_present_experimentState) {
-      if (!(this_present_experimentState && that_present_experimentState))
-        return false;
-      if (!this.experimentState.equals(that.experimentState))
-        return false;
-    }
-
-    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
-    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
-    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
-      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
-        return false;
-      if (this.timeOfStateChange != that.timeOfStateChange)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_experimentState = true && (isSetExperimentState());
-    list.add(present_experimentState);
-    if (present_experimentState)
-      list.add(experimentState.getValue());
-
-    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
-    list.add(present_timeOfStateChange);
-    if (present_timeOfStateChange)
-      list.add(timeOfStateChange);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(ExperimentStatus other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetExperimentState()).compareTo(other.isSetExperimentState());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExperimentState()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentState, other.experimentState);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTimeOfStateChange()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ExperimentStatus(");
-    boolean first = true;
-
-    sb.append("experimentState:");
-    if (this.experimentState == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.experimentState);
-    }
-    first = false;
-    if (isSetTimeOfStateChange()) {
-      if (!first) sb.append(", ");
-      sb.append("timeOfStateChange:");
-      sb.append(this.timeOfStateChange);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetExperimentState()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentState' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ExperimentStatusStandardSchemeFactory implements SchemeFactory {
-    public ExperimentStatusStandardScheme getScheme() {
-      return new ExperimentStatusStandardScheme();
-    }
-  }
-
-  private static class ExperimentStatusStandardScheme extends StandardScheme<ExperimentStatus> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, ExperimentStatus struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // EXPERIMENT_STATE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.experimentState = org.apache.airavata.model.workspace.experiment.ExperimentState.findByValue(iprot.readI32());
-              struct.setExperimentStateIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // TIME_OF_STATE_CHANGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.timeOfStateChange = iprot.readI64();
-              struct.setTimeOfStateChangeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, ExperimentStatus struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.experimentState != null) {
-        oprot.writeFieldBegin(EXPERIMENT_STATE_FIELD_DESC);
-        oprot.writeI32(struct.experimentState.getValue());
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
-        oprot.writeI64(struct.timeOfStateChange);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ExperimentStatusTupleSchemeFactory implements SchemeFactory {
-    public ExperimentStatusTupleScheme getScheme() {
-      return new ExperimentStatusTupleScheme();
-    }
-  }
-
-  private static class ExperimentStatusTupleScheme extends TupleScheme<ExperimentStatus> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, ExperimentStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeI32(struct.experimentState.getValue());
-      BitSet optionals = new BitSet();
-      if (struct.isSetTimeOfStateChange()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeI64(struct.timeOfStateChange);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, ExperimentStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.experimentState = org.apache.airavata.model.workspace.experiment.ExperimentState.findByValue(iprot.readI32());
-      struct.setExperimentStateIsSet(true);
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        struct.timeOfStateChange = iprot.readI64();
-        struct.setTimeOfStateChangeIsSet(true);
-      }
-    }
-  }
-
-}
-


[04/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskState.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskState.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskState.java
deleted file mode 100644
index a5fb605..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskState.java
+++ /dev/null
@@ -1,95 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum TaskState implements org.apache.thrift.TEnum {
-  WAITING(0),
-  STARTED(1),
-  PRE_PROCESSING(2),
-  CONFIGURING_WORKSPACE(3),
-  INPUT_DATA_STAGING(4),
-  OUTPUT_DATA_STAGING(5),
-  POST_PROCESSING(6),
-  EXECUTING(7),
-  CANCELING(8),
-  CANCELED(9),
-  COMPLETED(10),
-  FAILED(11),
-  UNKNOWN(12);
-
-  private final int value;
-
-  private TaskState(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 TaskState findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return WAITING;
-      case 1:
-        return STARTED;
-      case 2:
-        return PRE_PROCESSING;
-      case 3:
-        return CONFIGURING_WORKSPACE;
-      case 4:
-        return INPUT_DATA_STAGING;
-      case 5:
-        return OUTPUT_DATA_STAGING;
-      case 6:
-        return POST_PROCESSING;
-      case 7:
-        return EXECUTING;
-      case 8:
-        return CANCELING;
-      case 9:
-        return CANCELED;
-      case 10:
-        return COMPLETED;
-      case 11:
-        return FAILED;
-      case 12:
-        return UNKNOWN;
-      default:
-        return null;
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskStatus.java
deleted file mode 100644
index ca8a3ce..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TaskStatus.java
+++ /dev/null
@@ -1,525 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class TaskStatus implements org.apache.thrift.TBase<TaskStatus, TaskStatus._Fields>, java.io.Serializable, Cloneable, Comparable<TaskStatus> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskStatus");
-
-  private static final org.apache.thrift.protocol.TField EXECUTION_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("executionState", org.apache.thrift.protocol.TType.I32, (short)1);
-  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new TaskStatusStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new TaskStatusTupleSchemeFactory());
-  }
-
-  private TaskState executionState; // required
-  private long timeOfStateChange; // 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 {
-    /**
-     * 
-     * @see TaskState
-     */
-    EXECUTION_STATE((short)1, "executionState"),
-    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // EXECUTION_STATE
-          return EXECUTION_STATE;
-        case 2: // TIME_OF_STATE_CHANGE
-          return TIME_OF_STATE_CHANGE;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.EXECUTION_STATE, new org.apache.thrift.meta_data.FieldMetaData("executionState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TaskState.class)));
-    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TaskStatus.class, metaDataMap);
-  }
-
-  public TaskStatus() {
-  }
-
-  public TaskStatus(
-    TaskState executionState)
-  {
-    this();
-    this.executionState = executionState;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public TaskStatus(TaskStatus other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetExecutionState()) {
-      this.executionState = other.executionState;
-    }
-    this.timeOfStateChange = other.timeOfStateChange;
-  }
-
-  public TaskStatus deepCopy() {
-    return new TaskStatus(this);
-  }
-
-  @Override
-  public void clear() {
-    this.executionState = null;
-    setTimeOfStateChangeIsSet(false);
-    this.timeOfStateChange = 0;
-  }
-
-  /**
-   * 
-   * @see TaskState
-   */
-  public TaskState getExecutionState() {
-    return this.executionState;
-  }
-
-  /**
-   * 
-   * @see TaskState
-   */
-  public void setExecutionState(TaskState executionState) {
-    this.executionState = executionState;
-  }
-
-  public void unsetExecutionState() {
-    this.executionState = null;
-  }
-
-  /** Returns true if field executionState is set (has been assigned a value) and false otherwise */
-  public boolean isSetExecutionState() {
-    return this.executionState != null;
-  }
-
-  public void setExecutionStateIsSet(boolean value) {
-    if (!value) {
-      this.executionState = null;
-    }
-  }
-
-  public long getTimeOfStateChange() {
-    return this.timeOfStateChange;
-  }
-
-  public void setTimeOfStateChange(long timeOfStateChange) {
-    this.timeOfStateChange = timeOfStateChange;
-    setTimeOfStateChangeIsSet(true);
-  }
-
-  public void unsetTimeOfStateChange() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
-  public boolean isSetTimeOfStateChange() {
-    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  public void setTimeOfStateChangeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case EXECUTION_STATE:
-      if (value == null) {
-        unsetExecutionState();
-      } else {
-        setExecutionState((TaskState)value);
-      }
-      break;
-
-    case TIME_OF_STATE_CHANGE:
-      if (value == null) {
-        unsetTimeOfStateChange();
-      } else {
-        setTimeOfStateChange((Long)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case EXECUTION_STATE:
-      return getExecutionState();
-
-    case TIME_OF_STATE_CHANGE:
-      return Long.valueOf(getTimeOfStateChange());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case EXECUTION_STATE:
-      return isSetExecutionState();
-    case TIME_OF_STATE_CHANGE:
-      return isSetTimeOfStateChange();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof TaskStatus)
-      return this.equals((TaskStatus)that);
-    return false;
-  }
-
-  public boolean equals(TaskStatus that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_executionState = true && this.isSetExecutionState();
-    boolean that_present_executionState = true && that.isSetExecutionState();
-    if (this_present_executionState || that_present_executionState) {
-      if (!(this_present_executionState && that_present_executionState))
-        return false;
-      if (!this.executionState.equals(that.executionState))
-        return false;
-    }
-
-    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
-    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
-    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
-      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
-        return false;
-      if (this.timeOfStateChange != that.timeOfStateChange)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_executionState = true && (isSetExecutionState());
-    list.add(present_executionState);
-    if (present_executionState)
-      list.add(executionState.getValue());
-
-    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
-    list.add(present_timeOfStateChange);
-    if (present_timeOfStateChange)
-      list.add(timeOfStateChange);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(TaskStatus other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetExecutionState()).compareTo(other.isSetExecutionState());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExecutionState()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.executionState, other.executionState);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTimeOfStateChange()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("TaskStatus(");
-    boolean first = true;
-
-    sb.append("executionState:");
-    if (this.executionState == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.executionState);
-    }
-    first = false;
-    if (isSetTimeOfStateChange()) {
-      if (!first) sb.append(", ");
-      sb.append("timeOfStateChange:");
-      sb.append(this.timeOfStateChange);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetExecutionState()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'executionState' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class TaskStatusStandardSchemeFactory implements SchemeFactory {
-    public TaskStatusStandardScheme getScheme() {
-      return new TaskStatusStandardScheme();
-    }
-  }
-
-  private static class TaskStatusStandardScheme extends StandardScheme<TaskStatus> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, TaskStatus struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // EXECUTION_STATE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.executionState = org.apache.airavata.model.workspace.experiment.TaskState.findByValue(iprot.readI32());
-              struct.setExecutionStateIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // TIME_OF_STATE_CHANGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.timeOfStateChange = iprot.readI64();
-              struct.setTimeOfStateChangeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, TaskStatus struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.executionState != null) {
-        oprot.writeFieldBegin(EXECUTION_STATE_FIELD_DESC);
-        oprot.writeI32(struct.executionState.getValue());
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
-        oprot.writeI64(struct.timeOfStateChange);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class TaskStatusTupleSchemeFactory implements SchemeFactory {
-    public TaskStatusTupleScheme getScheme() {
-      return new TaskStatusTupleScheme();
-    }
-  }
-
-  private static class TaskStatusTupleScheme extends TupleScheme<TaskStatus> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, TaskStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeI32(struct.executionState.getValue());
-      BitSet optionals = new BitSet();
-      if (struct.isSetTimeOfStateChange()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeI64(struct.timeOfStateChange);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, TaskStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.executionState = org.apache.airavata.model.workspace.experiment.TaskState.findByValue(iprot.readI32());
-      struct.setExecutionStateIsSet(true);
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        struct.timeOfStateChange = iprot.readI64();
-        struct.setTimeOfStateChangeIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TransferState.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TransferState.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TransferState.java
deleted file mode 100644
index 9fafc51..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TransferState.java
+++ /dev/null
@@ -1,95 +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.workspace.experiment;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift.TEnum;
-
-public enum TransferState implements org.apache.thrift.TEnum {
-  DIRECTORY_SETUP(0),
-  UPLOAD(1),
-  DOWNLOAD(2),
-  ACTIVE(3),
-  COMPLETE(4),
-  STDOUT_DOWNLOAD(5),
-  STDERROR_DOWNLOAD(6),
-  CANCELING(7),
-  CANCELED(8),
-  FAILED(9),
-  HELD(10),
-  SUSPENDED(11),
-  UNKNOWN(12);
-
-  private final int value;
-
-  private TransferState(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 TransferState findByValue(int value) { 
-    switch (value) {
-      case 0:
-        return DIRECTORY_SETUP;
-      case 1:
-        return UPLOAD;
-      case 2:
-        return DOWNLOAD;
-      case 3:
-        return ACTIVE;
-      case 4:
-        return COMPLETE;
-      case 5:
-        return STDOUT_DOWNLOAD;
-      case 6:
-        return STDERROR_DOWNLOAD;
-      case 7:
-        return CANCELING;
-      case 8:
-        return CANCELED;
-      case 9:
-        return FAILED;
-      case 10:
-        return HELD;
-      case 11:
-        return SUSPENDED;
-      case 12:
-        return UNKNOWN;
-      default:
-        return null;
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TransferStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TransferStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TransferStatus.java
deleted file mode 100644
index e4c0d88..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/workspace/experiment/TransferStatus.java
+++ /dev/null
@@ -1,525 +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.workspace.experiment;
-
-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"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
-public class TransferStatus implements org.apache.thrift.TBase<TransferStatus, TransferStatus._Fields>, java.io.Serializable, Cloneable, Comparable<TransferStatus> {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TransferStatus");
-
-  private static final org.apache.thrift.protocol.TField TRANSFER_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("transferState", org.apache.thrift.protocol.TType.I32, (short)1);
-  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new TransferStatusStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new TransferStatusTupleSchemeFactory());
-  }
-
-  private TransferState transferState; // required
-  private long timeOfStateChange; // 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 {
-    /**
-     * 
-     * @see TransferState
-     */
-    TRANSFER_STATE((short)1, "transferState"),
-    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // TRANSFER_STATE
-          return TRANSFER_STATE;
-        case 2: // TIME_OF_STATE_CHANGE
-          return TIME_OF_STATE_CHANGE;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
-  private byte __isset_bitfield = 0;
-  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE};
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.TRANSFER_STATE, new org.apache.thrift.meta_data.FieldMetaData("transferState", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TransferState.class)));
-    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TransferStatus.class, metaDataMap);
-  }
-
-  public TransferStatus() {
-  }
-
-  public TransferStatus(
-    TransferState transferState)
-  {
-    this();
-    this.transferState = transferState;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public TransferStatus(TransferStatus other) {
-    __isset_bitfield = other.__isset_bitfield;
-    if (other.isSetTransferState()) {
-      this.transferState = other.transferState;
-    }
-    this.timeOfStateChange = other.timeOfStateChange;
-  }
-
-  public TransferStatus deepCopy() {
-    return new TransferStatus(this);
-  }
-
-  @Override
-  public void clear() {
-    this.transferState = null;
-    setTimeOfStateChangeIsSet(false);
-    this.timeOfStateChange = 0;
-  }
-
-  /**
-   * 
-   * @see TransferState
-   */
-  public TransferState getTransferState() {
-    return this.transferState;
-  }
-
-  /**
-   * 
-   * @see TransferState
-   */
-  public void setTransferState(TransferState transferState) {
-    this.transferState = transferState;
-  }
-
-  public void unsetTransferState() {
-    this.transferState = null;
-  }
-
-  /** Returns true if field transferState is set (has been assigned a value) and false otherwise */
-  public boolean isSetTransferState() {
-    return this.transferState != null;
-  }
-
-  public void setTransferStateIsSet(boolean value) {
-    if (!value) {
-      this.transferState = null;
-    }
-  }
-
-  public long getTimeOfStateChange() {
-    return this.timeOfStateChange;
-  }
-
-  public void setTimeOfStateChange(long timeOfStateChange) {
-    this.timeOfStateChange = timeOfStateChange;
-    setTimeOfStateChangeIsSet(true);
-  }
-
-  public void unsetTimeOfStateChange() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
-  public boolean isSetTimeOfStateChange() {
-    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
-  }
-
-  public void setTimeOfStateChangeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case TRANSFER_STATE:
-      if (value == null) {
-        unsetTransferState();
-      } else {
-        setTransferState((TransferState)value);
-      }
-      break;
-
-    case TIME_OF_STATE_CHANGE:
-      if (value == null) {
-        unsetTimeOfStateChange();
-      } else {
-        setTimeOfStateChange((Long)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case TRANSFER_STATE:
-      return getTransferState();
-
-    case TIME_OF_STATE_CHANGE:
-      return Long.valueOf(getTimeOfStateChange());
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case TRANSFER_STATE:
-      return isSetTransferState();
-    case TIME_OF_STATE_CHANGE:
-      return isSetTimeOfStateChange();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof TransferStatus)
-      return this.equals((TransferStatus)that);
-    return false;
-  }
-
-  public boolean equals(TransferStatus that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_transferState = true && this.isSetTransferState();
-    boolean that_present_transferState = true && that.isSetTransferState();
-    if (this_present_transferState || that_present_transferState) {
-      if (!(this_present_transferState && that_present_transferState))
-        return false;
-      if (!this.transferState.equals(that.transferState))
-        return false;
-    }
-
-    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
-    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
-    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
-      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
-        return false;
-      if (this.timeOfStateChange != that.timeOfStateChange)
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    List<Object> list = new ArrayList<Object>();
-
-    boolean present_transferState = true && (isSetTransferState());
-    list.add(present_transferState);
-    if (present_transferState)
-      list.add(transferState.getValue());
-
-    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
-    list.add(present_timeOfStateChange);
-    if (present_timeOfStateChange)
-      list.add(timeOfStateChange);
-
-    return list.hashCode();
-  }
-
-  @Override
-  public int compareTo(TransferStatus other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-
-    lastComparison = Boolean.valueOf(isSetTransferState()).compareTo(other.isSetTransferState());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTransferState()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferState, other.transferState);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTimeOfStateChange()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("TransferStatus(");
-    boolean first = true;
-
-    sb.append("transferState:");
-    if (this.transferState == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.transferState);
-    }
-    first = false;
-    if (isSetTimeOfStateChange()) {
-      if (!first) sb.append(", ");
-      sb.append("timeOfStateChange:");
-      sb.append(this.timeOfStateChange);
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    if (!isSetTransferState()) {
-      throw new org.apache.thrift.protocol.TProtocolException("Required field 'transferState' is unset! Struct:" + toString());
-    }
-
-    // check for sub-struct validity
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class TransferStatusStandardSchemeFactory implements SchemeFactory {
-    public TransferStatusStandardScheme getScheme() {
-      return new TransferStatusStandardScheme();
-    }
-  }
-
-  private static class TransferStatusStandardScheme extends StandardScheme<TransferStatus> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, TransferStatus struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // TRANSFER_STATE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.transferState = org.apache.airavata.model.workspace.experiment.TransferState.findByValue(iprot.readI32());
-              struct.setTransferStateIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // TIME_OF_STATE_CHANGE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
-              struct.timeOfStateChange = iprot.readI64();
-              struct.setTimeOfStateChangeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, TransferStatus struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.transferState != null) {
-        oprot.writeFieldBegin(TRANSFER_STATE_FIELD_DESC);
-        oprot.writeI32(struct.transferState.getValue());
-        oprot.writeFieldEnd();
-      }
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
-        oprot.writeI64(struct.timeOfStateChange);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class TransferStatusTupleSchemeFactory implements SchemeFactory {
-    public TransferStatusTupleScheme getScheme() {
-      return new TransferStatusTupleScheme();
-    }
-  }
-
-  private static class TransferStatusTupleScheme extends TupleScheme<TransferStatus> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, TransferStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      oprot.writeI32(struct.transferState.getValue());
-      BitSet optionals = new BitSet();
-      if (struct.isSetTimeOfStateChange()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetTimeOfStateChange()) {
-        oprot.writeI64(struct.timeOfStateChange);
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, TransferStatus struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      struct.transferState = org.apache.airavata.model.workspace.experiment.TransferState.findByValue(iprot.readI32());
-      struct.setTransferStateIsSet(true);
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        struct.timeOfStateChange = iprot.readI64();
-        struct.setTimeOfStateChangeIsSet(true);
-      }
-    }
-  }
-
-}
-


[14/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ProcessState.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ProcessState.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ProcessState.java
new file mode 100644
index 0000000..05a7d82
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ProcessState.java
@@ -0,0 +1,77 @@
+/**
+ * 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.status;
+
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+public enum ProcessState implements org.apache.thrift.TEnum {
+  CREATED(0),
+  VALIDATED(1),
+  EXECUTING(2),
+  COMPLETED(3),
+  FAILED(4),
+  CANCELLING(5),
+  CANCELED(6);
+
+  private final int value;
+
+  private ProcessState(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 ProcessState findByValue(int value) { 
+    switch (value) {
+      case 0:
+        return CREATED;
+      case 1:
+        return VALIDATED;
+      case 2:
+        return EXECUTING;
+      case 3:
+        return COMPLETED;
+      case 4:
+        return FAILED;
+      case 5:
+        return CANCELLING;
+      case 6:
+        return CANCELED;
+      default:
+        return null;
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ProcessStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ProcessStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ProcessStatus.java
new file mode 100644
index 0000000..68ff8a7
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/ProcessStatus.java
@@ -0,0 +1,631 @@
+/**
+ * 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.status;
+
+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"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class ProcessStatus implements org.apache.thrift.TBase<ProcessStatus, ProcessStatus._Fields>, java.io.Serializable, Cloneable, Comparable<ProcessStatus> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ProcessStatus");
+
+  private static final org.apache.thrift.protocol.TField STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("state", org.apache.thrift.protocol.TType.I32, (short)1);
+  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
+  private static final org.apache.thrift.protocol.TField REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("reason", org.apache.thrift.protocol.TType.STRING, (short)3);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new ProcessStatusStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new ProcessStatusTupleSchemeFactory());
+  }
+
+  private ProcessState state; // required
+  private long timeOfStateChange; // optional
+  private String reason; // 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 {
+    /**
+     * 
+     * @see ProcessState
+     */
+    STATE((short)1, "state"),
+    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange"),
+    REASON((short)3, "reason");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // STATE
+          return STATE;
+        case 2: // TIME_OF_STATE_CHANGE
+          return TIME_OF_STATE_CHANGE;
+        case 3: // REASON
+          return REASON;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE,_Fields.REASON};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ProcessState.class)));
+    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.REASON, new org.apache.thrift.meta_data.FieldMetaData("reason", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ProcessStatus.class, metaDataMap);
+  }
+
+  public ProcessStatus() {
+  }
+
+  public ProcessStatus(
+    ProcessState state)
+  {
+    this();
+    this.state = state;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public ProcessStatus(ProcessStatus other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetState()) {
+      this.state = other.state;
+    }
+    this.timeOfStateChange = other.timeOfStateChange;
+    if (other.isSetReason()) {
+      this.reason = other.reason;
+    }
+  }
+
+  public ProcessStatus deepCopy() {
+    return new ProcessStatus(this);
+  }
+
+  @Override
+  public void clear() {
+    this.state = null;
+    setTimeOfStateChangeIsSet(false);
+    this.timeOfStateChange = 0;
+    this.reason = null;
+  }
+
+  /**
+   * 
+   * @see ProcessState
+   */
+  public ProcessState getState() {
+    return this.state;
+  }
+
+  /**
+   * 
+   * @see ProcessState
+   */
+  public void setState(ProcessState state) {
+    this.state = state;
+  }
+
+  public void unsetState() {
+    this.state = null;
+  }
+
+  /** Returns true if field state is set (has been assigned a value) and false otherwise */
+  public boolean isSetState() {
+    return this.state != null;
+  }
+
+  public void setStateIsSet(boolean value) {
+    if (!value) {
+      this.state = null;
+    }
+  }
+
+  public long getTimeOfStateChange() {
+    return this.timeOfStateChange;
+  }
+
+  public void setTimeOfStateChange(long timeOfStateChange) {
+    this.timeOfStateChange = timeOfStateChange;
+    setTimeOfStateChangeIsSet(true);
+  }
+
+  public void unsetTimeOfStateChange() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
+  }
+
+  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
+  public boolean isSetTimeOfStateChange() {
+    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
+  }
+
+  public void setTimeOfStateChangeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
+  }
+
+  public String getReason() {
+    return this.reason;
+  }
+
+  public void setReason(String reason) {
+    this.reason = reason;
+  }
+
+  public void unsetReason() {
+    this.reason = null;
+  }
+
+  /** Returns true if field reason is set (has been assigned a value) and false otherwise */
+  public boolean isSetReason() {
+    return this.reason != null;
+  }
+
+  public void setReasonIsSet(boolean value) {
+    if (!value) {
+      this.reason = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case STATE:
+      if (value == null) {
+        unsetState();
+      } else {
+        setState((ProcessState)value);
+      }
+      break;
+
+    case TIME_OF_STATE_CHANGE:
+      if (value == null) {
+        unsetTimeOfStateChange();
+      } else {
+        setTimeOfStateChange((Long)value);
+      }
+      break;
+
+    case REASON:
+      if (value == null) {
+        unsetReason();
+      } else {
+        setReason((String)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case STATE:
+      return getState();
+
+    case TIME_OF_STATE_CHANGE:
+      return Long.valueOf(getTimeOfStateChange());
+
+    case REASON:
+      return getReason();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case STATE:
+      return isSetState();
+    case TIME_OF_STATE_CHANGE:
+      return isSetTimeOfStateChange();
+    case REASON:
+      return isSetReason();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof ProcessStatus)
+      return this.equals((ProcessStatus)that);
+    return false;
+  }
+
+  public boolean equals(ProcessStatus that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_state = true && this.isSetState();
+    boolean that_present_state = true && that.isSetState();
+    if (this_present_state || that_present_state) {
+      if (!(this_present_state && that_present_state))
+        return false;
+      if (!this.state.equals(that.state))
+        return false;
+    }
+
+    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
+    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
+    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
+      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
+        return false;
+      if (this.timeOfStateChange != that.timeOfStateChange)
+        return false;
+    }
+
+    boolean this_present_reason = true && this.isSetReason();
+    boolean that_present_reason = true && that.isSetReason();
+    if (this_present_reason || that_present_reason) {
+      if (!(this_present_reason && that_present_reason))
+        return false;
+      if (!this.reason.equals(that.reason))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_state = true && (isSetState());
+    list.add(present_state);
+    if (present_state)
+      list.add(state.getValue());
+
+    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
+    list.add(present_timeOfStateChange);
+    if (present_timeOfStateChange)
+      list.add(timeOfStateChange);
+
+    boolean present_reason = true && (isSetReason());
+    list.add(present_reason);
+    if (present_reason)
+      list.add(reason);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(ProcessStatus other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetState()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTimeOfStateChange()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetReason()).compareTo(other.isSetReason());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetReason()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reason, other.reason);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("ProcessStatus(");
+    boolean first = true;
+
+    sb.append("state:");
+    if (this.state == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.state);
+    }
+    first = false;
+    if (isSetTimeOfStateChange()) {
+      if (!first) sb.append(", ");
+      sb.append("timeOfStateChange:");
+      sb.append(this.timeOfStateChange);
+      first = false;
+    }
+    if (isSetReason()) {
+      if (!first) sb.append(", ");
+      sb.append("reason:");
+      if (this.reason == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.reason);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetState()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'state' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class ProcessStatusStandardSchemeFactory implements SchemeFactory {
+    public ProcessStatusStandardScheme getScheme() {
+      return new ProcessStatusStandardScheme();
+    }
+  }
+
+  private static class ProcessStatusStandardScheme extends StandardScheme<ProcessStatus> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, ProcessStatus struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // STATE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.state = org.apache.airavata.model.status.ProcessState.findByValue(iprot.readI32());
+              struct.setStateIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // TIME_OF_STATE_CHANGE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.timeOfStateChange = iprot.readI64();
+              struct.setTimeOfStateChangeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // REASON
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.reason = iprot.readString();
+              struct.setReasonIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, ProcessStatus struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.state != null) {
+        oprot.writeFieldBegin(STATE_FIELD_DESC);
+        oprot.writeI32(struct.state.getValue());
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetTimeOfStateChange()) {
+        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
+        oprot.writeI64(struct.timeOfStateChange);
+        oprot.writeFieldEnd();
+      }
+      if (struct.reason != null) {
+        if (struct.isSetReason()) {
+          oprot.writeFieldBegin(REASON_FIELD_DESC);
+          oprot.writeString(struct.reason);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class ProcessStatusTupleSchemeFactory implements SchemeFactory {
+    public ProcessStatusTupleScheme getScheme() {
+      return new ProcessStatusTupleScheme();
+    }
+  }
+
+  private static class ProcessStatusTupleScheme extends TupleScheme<ProcessStatus> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, ProcessStatus struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeI32(struct.state.getValue());
+      BitSet optionals = new BitSet();
+      if (struct.isSetTimeOfStateChange()) {
+        optionals.set(0);
+      }
+      if (struct.isSetReason()) {
+        optionals.set(1);
+      }
+      oprot.writeBitSet(optionals, 2);
+      if (struct.isSetTimeOfStateChange()) {
+        oprot.writeI64(struct.timeOfStateChange);
+      }
+      if (struct.isSetReason()) {
+        oprot.writeString(struct.reason);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, ProcessStatus struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.state = org.apache.airavata.model.status.ProcessState.findByValue(iprot.readI32());
+      struct.setStateIsSet(true);
+      BitSet incoming = iprot.readBitSet(2);
+      if (incoming.get(0)) {
+        struct.timeOfStateChange = iprot.readI64();
+        struct.setTimeOfStateChangeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.reason = iprot.readString();
+        struct.setReasonIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/TaskState.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/TaskState.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/TaskState.java
new file mode 100644
index 0000000..8a63c47
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/TaskState.java
@@ -0,0 +1,71 @@
+/**
+ * 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.status;
+
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+public enum TaskState implements org.apache.thrift.TEnum {
+  CREATED(0),
+  EXECUTING(1),
+  COMPLETED(2),
+  FAILED(3),
+  CANCELED(4);
+
+  private final int value;
+
+  private TaskState(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 TaskState findByValue(int value) { 
+    switch (value) {
+      case 0:
+        return CREATED;
+      case 1:
+        return EXECUTING;
+      case 2:
+        return COMPLETED;
+      case 3:
+        return FAILED;
+      case 4:
+        return CANCELED;
+      default:
+        return null;
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/TaskStatus.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/TaskStatus.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/TaskStatus.java
new file mode 100644
index 0000000..9730fac
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/status/TaskStatus.java
@@ -0,0 +1,631 @@
+/**
+ * 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.status;
+
+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"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class TaskStatus implements org.apache.thrift.TBase<TaskStatus, TaskStatus._Fields>, java.io.Serializable, Cloneable, Comparable<TaskStatus> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TaskStatus");
+
+  private static final org.apache.thrift.protocol.TField STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("state", org.apache.thrift.protocol.TType.I32, (short)1);
+  private static final org.apache.thrift.protocol.TField TIME_OF_STATE_CHANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("timeOfStateChange", org.apache.thrift.protocol.TType.I64, (short)2);
+  private static final org.apache.thrift.protocol.TField REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("reason", org.apache.thrift.protocol.TType.STRING, (short)3);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new TaskStatusStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new TaskStatusTupleSchemeFactory());
+  }
+
+  private TaskState state; // required
+  private long timeOfStateChange; // optional
+  private String reason; // 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 {
+    /**
+     * 
+     * @see TaskState
+     */
+    STATE((short)1, "state"),
+    TIME_OF_STATE_CHANGE((short)2, "timeOfStateChange"),
+    REASON((short)3, "reason");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // STATE
+          return STATE;
+        case 2: // TIME_OF_STATE_CHANGE
+          return TIME_OF_STATE_CHANGE;
+        case 3: // REASON
+          return REASON;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __TIMEOFSTATECHANGE_ISSET_ID = 0;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.TIME_OF_STATE_CHANGE,_Fields.REASON};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TaskState.class)));
+    tmpMap.put(_Fields.TIME_OF_STATE_CHANGE, new org.apache.thrift.meta_data.FieldMetaData("timeOfStateChange", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.REASON, new org.apache.thrift.meta_data.FieldMetaData("reason", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TaskStatus.class, metaDataMap);
+  }
+
+  public TaskStatus() {
+  }
+
+  public TaskStatus(
+    TaskState state)
+  {
+    this();
+    this.state = state;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public TaskStatus(TaskStatus other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetState()) {
+      this.state = other.state;
+    }
+    this.timeOfStateChange = other.timeOfStateChange;
+    if (other.isSetReason()) {
+      this.reason = other.reason;
+    }
+  }
+
+  public TaskStatus deepCopy() {
+    return new TaskStatus(this);
+  }
+
+  @Override
+  public void clear() {
+    this.state = null;
+    setTimeOfStateChangeIsSet(false);
+    this.timeOfStateChange = 0;
+    this.reason = null;
+  }
+
+  /**
+   * 
+   * @see TaskState
+   */
+  public TaskState getState() {
+    return this.state;
+  }
+
+  /**
+   * 
+   * @see TaskState
+   */
+  public void setState(TaskState state) {
+    this.state = state;
+  }
+
+  public void unsetState() {
+    this.state = null;
+  }
+
+  /** Returns true if field state is set (has been assigned a value) and false otherwise */
+  public boolean isSetState() {
+    return this.state != null;
+  }
+
+  public void setStateIsSet(boolean value) {
+    if (!value) {
+      this.state = null;
+    }
+  }
+
+  public long getTimeOfStateChange() {
+    return this.timeOfStateChange;
+  }
+
+  public void setTimeOfStateChange(long timeOfStateChange) {
+    this.timeOfStateChange = timeOfStateChange;
+    setTimeOfStateChangeIsSet(true);
+  }
+
+  public void unsetTimeOfStateChange() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
+  }
+
+  /** Returns true if field timeOfStateChange is set (has been assigned a value) and false otherwise */
+  public boolean isSetTimeOfStateChange() {
+    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
+  }
+
+  public void setTimeOfStateChangeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID, value);
+  }
+
+  public String getReason() {
+    return this.reason;
+  }
+
+  public void setReason(String reason) {
+    this.reason = reason;
+  }
+
+  public void unsetReason() {
+    this.reason = null;
+  }
+
+  /** Returns true if field reason is set (has been assigned a value) and false otherwise */
+  public boolean isSetReason() {
+    return this.reason != null;
+  }
+
+  public void setReasonIsSet(boolean value) {
+    if (!value) {
+      this.reason = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case STATE:
+      if (value == null) {
+        unsetState();
+      } else {
+        setState((TaskState)value);
+      }
+      break;
+
+    case TIME_OF_STATE_CHANGE:
+      if (value == null) {
+        unsetTimeOfStateChange();
+      } else {
+        setTimeOfStateChange((Long)value);
+      }
+      break;
+
+    case REASON:
+      if (value == null) {
+        unsetReason();
+      } else {
+        setReason((String)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case STATE:
+      return getState();
+
+    case TIME_OF_STATE_CHANGE:
+      return Long.valueOf(getTimeOfStateChange());
+
+    case REASON:
+      return getReason();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case STATE:
+      return isSetState();
+    case TIME_OF_STATE_CHANGE:
+      return isSetTimeOfStateChange();
+    case REASON:
+      return isSetReason();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof TaskStatus)
+      return this.equals((TaskStatus)that);
+    return false;
+  }
+
+  public boolean equals(TaskStatus that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_state = true && this.isSetState();
+    boolean that_present_state = true && that.isSetState();
+    if (this_present_state || that_present_state) {
+      if (!(this_present_state && that_present_state))
+        return false;
+      if (!this.state.equals(that.state))
+        return false;
+    }
+
+    boolean this_present_timeOfStateChange = true && this.isSetTimeOfStateChange();
+    boolean that_present_timeOfStateChange = true && that.isSetTimeOfStateChange();
+    if (this_present_timeOfStateChange || that_present_timeOfStateChange) {
+      if (!(this_present_timeOfStateChange && that_present_timeOfStateChange))
+        return false;
+      if (this.timeOfStateChange != that.timeOfStateChange)
+        return false;
+    }
+
+    boolean this_present_reason = true && this.isSetReason();
+    boolean that_present_reason = true && that.isSetReason();
+    if (this_present_reason || that_present_reason) {
+      if (!(this_present_reason && that_present_reason))
+        return false;
+      if (!this.reason.equals(that.reason))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_state = true && (isSetState());
+    list.add(present_state);
+    if (present_state)
+      list.add(state.getValue());
+
+    boolean present_timeOfStateChange = true && (isSetTimeOfStateChange());
+    list.add(present_timeOfStateChange);
+    if (present_timeOfStateChange)
+      list.add(timeOfStateChange);
+
+    boolean present_reason = true && (isSetReason());
+    list.add(present_reason);
+    if (present_reason)
+      list.add(reason);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(TaskStatus other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetState()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTimeOfStateChange()).compareTo(other.isSetTimeOfStateChange());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTimeOfStateChange()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timeOfStateChange, other.timeOfStateChange);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetReason()).compareTo(other.isSetReason());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetReason()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reason, other.reason);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("TaskStatus(");
+    boolean first = true;
+
+    sb.append("state:");
+    if (this.state == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.state);
+    }
+    first = false;
+    if (isSetTimeOfStateChange()) {
+      if (!first) sb.append(", ");
+      sb.append("timeOfStateChange:");
+      sb.append(this.timeOfStateChange);
+      first = false;
+    }
+    if (isSetReason()) {
+      if (!first) sb.append(", ");
+      sb.append("reason:");
+      if (this.reason == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.reason);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetState()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'state' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class TaskStatusStandardSchemeFactory implements SchemeFactory {
+    public TaskStatusStandardScheme getScheme() {
+      return new TaskStatusStandardScheme();
+    }
+  }
+
+  private static class TaskStatusStandardScheme extends StandardScheme<TaskStatus> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, TaskStatus struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // STATE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.state = org.apache.airavata.model.status.TaskState.findByValue(iprot.readI32());
+              struct.setStateIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // TIME_OF_STATE_CHANGE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.timeOfStateChange = iprot.readI64();
+              struct.setTimeOfStateChangeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // REASON
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.reason = iprot.readString();
+              struct.setReasonIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, TaskStatus struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.state != null) {
+        oprot.writeFieldBegin(STATE_FIELD_DESC);
+        oprot.writeI32(struct.state.getValue());
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetTimeOfStateChange()) {
+        oprot.writeFieldBegin(TIME_OF_STATE_CHANGE_FIELD_DESC);
+        oprot.writeI64(struct.timeOfStateChange);
+        oprot.writeFieldEnd();
+      }
+      if (struct.reason != null) {
+        if (struct.isSetReason()) {
+          oprot.writeFieldBegin(REASON_FIELD_DESC);
+          oprot.writeString(struct.reason);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class TaskStatusTupleSchemeFactory implements SchemeFactory {
+    public TaskStatusTupleScheme getScheme() {
+      return new TaskStatusTupleScheme();
+    }
+  }
+
+  private static class TaskStatusTupleScheme extends TupleScheme<TaskStatus> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, TaskStatus struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeI32(struct.state.getValue());
+      BitSet optionals = new BitSet();
+      if (struct.isSetTimeOfStateChange()) {
+        optionals.set(0);
+      }
+      if (struct.isSetReason()) {
+        optionals.set(1);
+      }
+      oprot.writeBitSet(optionals, 2);
+      if (struct.isSetTimeOfStateChange()) {
+        oprot.writeI64(struct.timeOfStateChange);
+      }
+      if (struct.isSetReason()) {
+        oprot.writeString(struct.reason);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, TaskStatus struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.state = org.apache.airavata.model.status.TaskState.findByValue(iprot.readI32());
+      struct.setStateIsSet(true);
+      BitSet incoming = iprot.readBitSet(2);
+      if (incoming.get(0)) {
+        struct.timeOfStateChange = iprot.readI64();
+        struct.setTimeOfStateChangeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.reason = iprot.readString();
+        struct.setReasonIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/DataStagingTaskModel.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/DataStagingTaskModel.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/DataStagingTaskModel.java
new file mode 100644
index 0000000..7332cdf
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/DataStagingTaskModel.java
@@ -0,0 +1,826 @@
+/**
+ * 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.task;
+
+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"})
+/**
+ * DataStagingTaskModel: A structure holding the data staging task details.
+ * 
+ * Source and Destination locations includes standard representation of protocol, host, port and path
+ *   A friendly description of the task, usally used to communicate information to users.
+ * 
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class DataStagingTaskModel implements org.apache.thrift.TBase<DataStagingTaskModel, DataStagingTaskModel._Fields>, java.io.Serializable, Cloneable, Comparable<DataStagingTaskModel> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DataStagingTaskModel");
+
+  private static final org.apache.thrift.protocol.TField SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("source", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField DESTINATION_FIELD_DESC = new org.apache.thrift.protocol.TField("destination", org.apache.thrift.protocol.TType.STRING, (short)2);
+  private static final org.apache.thrift.protocol.TField TRANSFER_START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("transferStartTime", org.apache.thrift.protocol.TType.I64, (short)3);
+  private static final org.apache.thrift.protocol.TField TRANSFER_END_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("transferEndTime", org.apache.thrift.protocol.TType.I64, (short)4);
+  private static final org.apache.thrift.protocol.TField TRANSFER_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("transferRate", org.apache.thrift.protocol.TType.STRING, (short)5);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new DataStagingTaskModelStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new DataStagingTaskModelTupleSchemeFactory());
+  }
+
+  private String source; // required
+  private String destination; // required
+  private long transferStartTime; // optional
+  private long transferEndTime; // optional
+  private String transferRate; // 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 {
+    SOURCE((short)1, "source"),
+    DESTINATION((short)2, "destination"),
+    TRANSFER_START_TIME((short)3, "transferStartTime"),
+    TRANSFER_END_TIME((short)4, "transferEndTime"),
+    TRANSFER_RATE((short)5, "transferRate");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // SOURCE
+          return SOURCE;
+        case 2: // DESTINATION
+          return DESTINATION;
+        case 3: // TRANSFER_START_TIME
+          return TRANSFER_START_TIME;
+        case 4: // TRANSFER_END_TIME
+          return TRANSFER_END_TIME;
+        case 5: // TRANSFER_RATE
+          return TRANSFER_RATE;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __TRANSFERSTARTTIME_ISSET_ID = 0;
+  private static final int __TRANSFERENDTIME_ISSET_ID = 1;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.TRANSFER_START_TIME,_Fields.TRANSFER_END_TIME,_Fields.TRANSFER_RATE};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.SOURCE, new org.apache.thrift.meta_data.FieldMetaData("source", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.DESTINATION, new org.apache.thrift.meta_data.FieldMetaData("destination", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.TRANSFER_START_TIME, new org.apache.thrift.meta_data.FieldMetaData("transferStartTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.TRANSFER_END_TIME, new org.apache.thrift.meta_data.FieldMetaData("transferEndTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.TRANSFER_RATE, new org.apache.thrift.meta_data.FieldMetaData("transferRate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(DataStagingTaskModel.class, metaDataMap);
+  }
+
+  public DataStagingTaskModel() {
+  }
+
+  public DataStagingTaskModel(
+    String source,
+    String destination)
+  {
+    this();
+    this.source = source;
+    this.destination = destination;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public DataStagingTaskModel(DataStagingTaskModel other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetSource()) {
+      this.source = other.source;
+    }
+    if (other.isSetDestination()) {
+      this.destination = other.destination;
+    }
+    this.transferStartTime = other.transferStartTime;
+    this.transferEndTime = other.transferEndTime;
+    if (other.isSetTransferRate()) {
+      this.transferRate = other.transferRate;
+    }
+  }
+
+  public DataStagingTaskModel deepCopy() {
+    return new DataStagingTaskModel(this);
+  }
+
+  @Override
+  public void clear() {
+    this.source = null;
+    this.destination = null;
+    setTransferStartTimeIsSet(false);
+    this.transferStartTime = 0;
+    setTransferEndTimeIsSet(false);
+    this.transferEndTime = 0;
+    this.transferRate = null;
+  }
+
+  public String getSource() {
+    return this.source;
+  }
+
+  public void setSource(String source) {
+    this.source = source;
+  }
+
+  public void unsetSource() {
+    this.source = null;
+  }
+
+  /** Returns true if field source is set (has been assigned a value) and false otherwise */
+  public boolean isSetSource() {
+    return this.source != null;
+  }
+
+  public void setSourceIsSet(boolean value) {
+    if (!value) {
+      this.source = null;
+    }
+  }
+
+  public String getDestination() {
+    return this.destination;
+  }
+
+  public void setDestination(String destination) {
+    this.destination = destination;
+  }
+
+  public void unsetDestination() {
+    this.destination = null;
+  }
+
+  /** Returns true if field destination is set (has been assigned a value) and false otherwise */
+  public boolean isSetDestination() {
+    return this.destination != null;
+  }
+
+  public void setDestinationIsSet(boolean value) {
+    if (!value) {
+      this.destination = null;
+    }
+  }
+
+  public long getTransferStartTime() {
+    return this.transferStartTime;
+  }
+
+  public void setTransferStartTime(long transferStartTime) {
+    this.transferStartTime = transferStartTime;
+    setTransferStartTimeIsSet(true);
+  }
+
+  public void unsetTransferStartTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TRANSFERSTARTTIME_ISSET_ID);
+  }
+
+  /** Returns true if field transferStartTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetTransferStartTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __TRANSFERSTARTTIME_ISSET_ID);
+  }
+
+  public void setTransferStartTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TRANSFERSTARTTIME_ISSET_ID, value);
+  }
+
+  public long getTransferEndTime() {
+    return this.transferEndTime;
+  }
+
+  public void setTransferEndTime(long transferEndTime) {
+    this.transferEndTime = transferEndTime;
+    setTransferEndTimeIsSet(true);
+  }
+
+  public void unsetTransferEndTime() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TRANSFERENDTIME_ISSET_ID);
+  }
+
+  /** Returns true if field transferEndTime is set (has been assigned a value) and false otherwise */
+  public boolean isSetTransferEndTime() {
+    return EncodingUtils.testBit(__isset_bitfield, __TRANSFERENDTIME_ISSET_ID);
+  }
+
+  public void setTransferEndTimeIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TRANSFERENDTIME_ISSET_ID, value);
+  }
+
+  public String getTransferRate() {
+    return this.transferRate;
+  }
+
+  public void setTransferRate(String transferRate) {
+    this.transferRate = transferRate;
+  }
+
+  public void unsetTransferRate() {
+    this.transferRate = null;
+  }
+
+  /** Returns true if field transferRate is set (has been assigned a value) and false otherwise */
+  public boolean isSetTransferRate() {
+    return this.transferRate != null;
+  }
+
+  public void setTransferRateIsSet(boolean value) {
+    if (!value) {
+      this.transferRate = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case SOURCE:
+      if (value == null) {
+        unsetSource();
+      } else {
+        setSource((String)value);
+      }
+      break;
+
+    case DESTINATION:
+      if (value == null) {
+        unsetDestination();
+      } else {
+        setDestination((String)value);
+      }
+      break;
+
+    case TRANSFER_START_TIME:
+      if (value == null) {
+        unsetTransferStartTime();
+      } else {
+        setTransferStartTime((Long)value);
+      }
+      break;
+
+    case TRANSFER_END_TIME:
+      if (value == null) {
+        unsetTransferEndTime();
+      } else {
+        setTransferEndTime((Long)value);
+      }
+      break;
+
+    case TRANSFER_RATE:
+      if (value == null) {
+        unsetTransferRate();
+      } else {
+        setTransferRate((String)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case SOURCE:
+      return getSource();
+
+    case DESTINATION:
+      return getDestination();
+
+    case TRANSFER_START_TIME:
+      return Long.valueOf(getTransferStartTime());
+
+    case TRANSFER_END_TIME:
+      return Long.valueOf(getTransferEndTime());
+
+    case TRANSFER_RATE:
+      return getTransferRate();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case SOURCE:
+      return isSetSource();
+    case DESTINATION:
+      return isSetDestination();
+    case TRANSFER_START_TIME:
+      return isSetTransferStartTime();
+    case TRANSFER_END_TIME:
+      return isSetTransferEndTime();
+    case TRANSFER_RATE:
+      return isSetTransferRate();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof DataStagingTaskModel)
+      return this.equals((DataStagingTaskModel)that);
+    return false;
+  }
+
+  public boolean equals(DataStagingTaskModel that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_source = true && this.isSetSource();
+    boolean that_present_source = true && that.isSetSource();
+    if (this_present_source || that_present_source) {
+      if (!(this_present_source && that_present_source))
+        return false;
+      if (!this.source.equals(that.source))
+        return false;
+    }
+
+    boolean this_present_destination = true && this.isSetDestination();
+    boolean that_present_destination = true && that.isSetDestination();
+    if (this_present_destination || that_present_destination) {
+      if (!(this_present_destination && that_present_destination))
+        return false;
+      if (!this.destination.equals(that.destination))
+        return false;
+    }
+
+    boolean this_present_transferStartTime = true && this.isSetTransferStartTime();
+    boolean that_present_transferStartTime = true && that.isSetTransferStartTime();
+    if (this_present_transferStartTime || that_present_transferStartTime) {
+      if (!(this_present_transferStartTime && that_present_transferStartTime))
+        return false;
+      if (this.transferStartTime != that.transferStartTime)
+        return false;
+    }
+
+    boolean this_present_transferEndTime = true && this.isSetTransferEndTime();
+    boolean that_present_transferEndTime = true && that.isSetTransferEndTime();
+    if (this_present_transferEndTime || that_present_transferEndTime) {
+      if (!(this_present_transferEndTime && that_present_transferEndTime))
+        return false;
+      if (this.transferEndTime != that.transferEndTime)
+        return false;
+    }
+
+    boolean this_present_transferRate = true && this.isSetTransferRate();
+    boolean that_present_transferRate = true && that.isSetTransferRate();
+    if (this_present_transferRate || that_present_transferRate) {
+      if (!(this_present_transferRate && that_present_transferRate))
+        return false;
+      if (!this.transferRate.equals(that.transferRate))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_source = true && (isSetSource());
+    list.add(present_source);
+    if (present_source)
+      list.add(source);
+
+    boolean present_destination = true && (isSetDestination());
+    list.add(present_destination);
+    if (present_destination)
+      list.add(destination);
+
+    boolean present_transferStartTime = true && (isSetTransferStartTime());
+    list.add(present_transferStartTime);
+    if (present_transferStartTime)
+      list.add(transferStartTime);
+
+    boolean present_transferEndTime = true && (isSetTransferEndTime());
+    list.add(present_transferEndTime);
+    if (present_transferEndTime)
+      list.add(transferEndTime);
+
+    boolean present_transferRate = true && (isSetTransferRate());
+    list.add(present_transferRate);
+    if (present_transferRate)
+      list.add(transferRate);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(DataStagingTaskModel other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetSource()).compareTo(other.isSetSource());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetSource()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source, other.source);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetDestination()).compareTo(other.isSetDestination());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetDestination()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.destination, other.destination);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTransferStartTime()).compareTo(other.isSetTransferStartTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTransferStartTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferStartTime, other.transferStartTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTransferEndTime()).compareTo(other.isSetTransferEndTime());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTransferEndTime()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferEndTime, other.transferEndTime);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetTransferRate()).compareTo(other.isSetTransferRate());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetTransferRate()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferRate, other.transferRate);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("DataStagingTaskModel(");
+    boolean first = true;
+
+    sb.append("source:");
+    if (this.source == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.source);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("destination:");
+    if (this.destination == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.destination);
+    }
+    first = false;
+    if (isSetTransferStartTime()) {
+      if (!first) sb.append(", ");
+      sb.append("transferStartTime:");
+      sb.append(this.transferStartTime);
+      first = false;
+    }
+    if (isSetTransferEndTime()) {
+      if (!first) sb.append(", ");
+      sb.append("transferEndTime:");
+      sb.append(this.transferEndTime);
+      first = false;
+    }
+    if (isSetTransferRate()) {
+      if (!first) sb.append(", ");
+      sb.append("transferRate:");
+      if (this.transferRate == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.transferRate);
+      }
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetSource()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'source' is unset! Struct:" + toString());
+    }
+
+    if (!isSetDestination()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'destination' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class DataStagingTaskModelStandardSchemeFactory implements SchemeFactory {
+    public DataStagingTaskModelStandardScheme getScheme() {
+      return new DataStagingTaskModelStandardScheme();
+    }
+  }
+
+  private static class DataStagingTaskModelStandardScheme extends StandardScheme<DataStagingTaskModel> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, DataStagingTaskModel struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // SOURCE
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.source = iprot.readString();
+              struct.setSourceIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // DESTINATION
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.destination = iprot.readString();
+              struct.setDestinationIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // TRANSFER_START_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.transferStartTime = iprot.readI64();
+              struct.setTransferStartTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // TRANSFER_END_TIME
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.transferEndTime = iprot.readI64();
+              struct.setTransferEndTimeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // TRANSFER_RATE
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.transferRate = iprot.readString();
+              struct.setTransferRateIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, DataStagingTaskModel struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.source != null) {
+        oprot.writeFieldBegin(SOURCE_FIELD_DESC);
+        oprot.writeString(struct.source);
+        oprot.writeFieldEnd();
+      }
+      if (struct.destination != null) {
+        oprot.writeFieldBegin(DESTINATION_FIELD_DESC);
+        oprot.writeString(struct.destination);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetTransferStartTime()) {
+        oprot.writeFieldBegin(TRANSFER_START_TIME_FIELD_DESC);
+        oprot.writeI64(struct.transferStartTime);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetTransferEndTime()) {
+        oprot.writeFieldBegin(TRANSFER_END_TIME_FIELD_DESC);
+        oprot.writeI64(struct.transferEndTime);
+        oprot.writeFieldEnd();
+      }
+      if (struct.transferRate != null) {
+        if (struct.isSetTransferRate()) {
+          oprot.writeFieldBegin(TRANSFER_RATE_FIELD_DESC);
+          oprot.writeString(struct.transferRate);
+          oprot.writeFieldEnd();
+        }
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class DataStagingTaskModelTupleSchemeFactory implements SchemeFactory {
+    public DataStagingTaskModelTupleScheme getScheme() {
+      return new DataStagingTaskModelTupleScheme();
+    }
+  }
+
+  private static class DataStagingTaskModelTupleScheme extends TupleScheme<DataStagingTaskModel> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, DataStagingTaskModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeString(struct.source);
+      oprot.writeString(struct.destination);
+      BitSet optionals = new BitSet();
+      if (struct.isSetTransferStartTime()) {
+        optionals.set(0);
+      }
+      if (struct.isSetTransferEndTime()) {
+        optionals.set(1);
+      }
+      if (struct.isSetTransferRate()) {
+        optionals.set(2);
+      }
+      oprot.writeBitSet(optionals, 3);
+      if (struct.isSetTransferStartTime()) {
+        oprot.writeI64(struct.transferStartTime);
+      }
+      if (struct.isSetTransferEndTime()) {
+        oprot.writeI64(struct.transferEndTime);
+      }
+      if (struct.isSetTransferRate()) {
+        oprot.writeString(struct.transferRate);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, DataStagingTaskModel struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.source = iprot.readString();
+      struct.setSourceIsSet(true);
+      struct.destination = iprot.readString();
+      struct.setDestinationIsSet(true);
+      BitSet incoming = iprot.readBitSet(3);
+      if (incoming.get(0)) {
+        struct.transferStartTime = iprot.readI64();
+        struct.setTransferStartTimeIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.transferEndTime = iprot.readI64();
+        struct.setTransferEndTimeIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.transferRate = iprot.readString();
+        struct.setTransferRateIsSet(true);
+      }
+    }
+  }
+
+}
+


[25/31] airavata git commit: generated new data model classes.

Posted by sh...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ComputeResourceDescription.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ComputeResourceDescription.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ComputeResourceDescription.java
index 4d23297..b62ad72 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ComputeResourceDescription.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ComputeResourceDescription.java
@@ -80,7 +80,7 @@ import org.slf4j.LoggerFactory;
  *  Map of file systems type and the path.
  * 
  */
-@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 ComputeResourceDescription implements org.apache.thrift.TBase<ComputeResourceDescription, ComputeResourceDescription._Fields>, java.io.Serializable, Cloneable, Comparable<ComputeResourceDescription> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ComputeResourceDescription");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/DataMovementInterface.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/DataMovementInterface.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/DataMovementInterface.java
index 1f54b34..05583e1 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/DataMovementInterface.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/DataMovementInterface.java
@@ -61,7 +61,7 @@ import org.slf4j.LoggerFactory;
  *   Lower the numerical number, higher the priority
  * 
  */
-@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 DataMovementInterface implements org.apache.thrift.TBase<DataMovementInterface, DataMovementInterface._Fields>, java.io.Serializable, Cloneable, Comparable<DataMovementInterface> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DataMovementInterface");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GlobusJobSubmission.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GlobusJobSubmission.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GlobusJobSubmission.java
index 683725c..9f837e5 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GlobusJobSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GlobusJobSubmission.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 GlobusJobSubmission implements org.apache.thrift.TBase<GlobusJobSubmission, GlobusJobSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<GlobusJobSubmission> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GlobusJobSubmission");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GridFTPDataMovement.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GridFTPDataMovement.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GridFTPDataMovement.java
index 397250d..f4332eb 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GridFTPDataMovement.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GridFTPDataMovement.java
@@ -60,7 +60,7 @@ import org.slf4j.LoggerFactory;
  * sshPort:
  *  If a non-default port needs to used, specify it.
  */
-@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 GridFTPDataMovement implements org.apache.thrift.TBase<GridFTPDataMovement, GridFTPDataMovement._Fields>, java.io.Serializable, Cloneable, Comparable<GridFTPDataMovement> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GridFTPDataMovement");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/JobSubmissionInterface.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/JobSubmissionInterface.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/JobSubmissionInterface.java
index 2dbb356..689c6ea 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/JobSubmissionInterface.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/JobSubmissionInterface.java
@@ -61,7 +61,7 @@ import org.slf4j.LoggerFactory;
  *   Lower the numerical number, higher the priority
  * 
  */
-@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 JobSubmissionInterface implements org.apache.thrift.TBase<JobSubmissionInterface, JobSubmissionInterface._Fields>, java.io.Serializable, Cloneable, Comparable<JobSubmissionInterface> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("JobSubmissionInterface");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALDataMovement.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALDataMovement.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALDataMovement.java
index 019c787..dc04208 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALDataMovement.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALDataMovement.java
@@ -60,7 +60,7 @@ import org.slf4j.LoggerFactory;
  * sshPort:
  *  If a non-defualt port needs to used, specify it.
  */
-@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 LOCALDataMovement implements org.apache.thrift.TBase<LOCALDataMovement, LOCALDataMovement._Fields>, java.io.Serializable, Cloneable, Comparable<LOCALDataMovement> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LOCALDataMovement");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALSubmission.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALSubmission.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALSubmission.java
index b12a056..d990416 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALSubmission.java
@@ -60,7 +60,7 @@ import org.slf4j.LoggerFactory;
  * sshPort:
  *  If a non-default port needs to used, specify it.
  */
-@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 LOCALSubmission implements org.apache.thrift.TBase<LOCALSubmission, LOCALSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<LOCALSubmission> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LOCALSubmission");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManager.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManager.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManager.java
index aecbf35..2d714bd 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManager.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManager.java
@@ -68,7 +68,7 @@ import org.slf4j.LoggerFactory;
  *  An enumeration of commonly used manager commands.
  * 
  */
-@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 ResourceJobManager implements org.apache.thrift.TBase<ResourceJobManager, ResourceJobManager._Fields>, java.io.Serializable, Cloneable, Comparable<ResourceJobManager> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ResourceJobManager");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SCPDataMovement.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SCPDataMovement.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SCPDataMovement.java
index aa5369d..61e7c44 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SCPDataMovement.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SCPDataMovement.java
@@ -60,7 +60,7 @@ import org.slf4j.LoggerFactory;
  * sshPort:
  *  If a non-default port needs to used, specify it.
  */
-@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 SCPDataMovement implements org.apache.thrift.TBase<SCPDataMovement, SCPDataMovement._Fields>, java.io.Serializable, Cloneable, Comparable<SCPDataMovement> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SCPDataMovement");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SSHJobSubmission.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SSHJobSubmission.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SSHJobSubmission.java
index 6361ee4..7ebfa72 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SSHJobSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SSHJobSubmission.java
@@ -60,7 +60,7 @@ import org.slf4j.LoggerFactory;
  * sshPort:
  *  If a non-default port needs to used, specify it.
  */
-@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 SSHJobSubmission implements org.apache.thrift.TBase<SSHJobSubmission, SSHJobSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<SSHJobSubmission> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SSHJobSubmission");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreDataMovement.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreDataMovement.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreDataMovement.java
index 0cef00a..806a05e 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreDataMovement.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreDataMovement.java
@@ -57,7 +57,7 @@ import org.slf4j.LoggerFactory;
  * unicoreEndPointURL:
  *  unicoreGateway End Point. The provider will query this service to fetch required service end points.
  */
-@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 UnicoreDataMovement implements org.apache.thrift.TBase<UnicoreDataMovement, UnicoreDataMovement._Fields>, java.io.Serializable, Cloneable, Comparable<UnicoreDataMovement> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnicoreDataMovement");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreJobSubmission.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreJobSubmission.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreJobSubmission.java
index e5cd82b..c8fb9ed 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreJobSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreJobSubmission.java
@@ -59,7 +59,7 @@ import org.slf4j.LoggerFactory;
  * authenticationMode
  *  The authenticationMode defines the way certificate is fetched.
  */
-@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 UnicoreJobSubmission implements org.apache.thrift.TBase<UnicoreJobSubmission, UnicoreJobSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<UnicoreJobSubmission> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnicoreJobSubmission");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/computeResourceModelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/computeResourceModelConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/computeResourceModelConstants.java
deleted file mode 100644
index 01dbf98..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/computeResourceModelConstants.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.computeresource;
-
-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 computeResourceModelConstants {
-
-  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/computeresource/compute_resource_modelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/compute_resource_modelConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/compute_resource_modelConstants.java
new file mode 100644
index 0000000..59d3681
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/compute_resource_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.computeresource;
+
+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 compute_resource_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/gatewayprofile/ComputeResourcePreference.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/ComputeResourcePreference.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/ComputeResourcePreference.java
index 9d4268f..f5914e8 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/ComputeResourcePreference.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/ComputeResourcePreference.java
@@ -81,7 +81,7 @@ import org.slf4j.LoggerFactory;
  *    account to be used has to be added to the allocation.
  * 
  */
-@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 ComputeResourcePreference implements org.apache.thrift.TBase<ComputeResourcePreference, ComputeResourcePreference._Fields>, java.io.Serializable, Cloneable, Comparable<ComputeResourcePreference> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ComputeResourcePreference");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/GatewayResourceProfile.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/GatewayResourceProfile.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/GatewayResourceProfile.java
index 515c18d..605e8b9 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/GatewayResourceProfile.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/GatewayResourceProfile.java
@@ -62,7 +62,7 @@ import org.slf4j.LoggerFactory;
  * 
  * 
  */
-@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 GatewayResourceProfile implements org.apache.thrift.TBase<GatewayResourceProfile, GatewayResourceProfile._Fields>, java.io.Serializable, Cloneable, Comparable<GatewayResourceProfile> {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GatewayResourceProfile");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/gatewayResourceProfileModelConstants.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/gatewayResourceProfileModelConstants.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/gatewayResourceProfileModelConstants.java
deleted file mode 100644
index 21d4a56..0000000
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/gatewayResourceProfileModelConstants.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.gatewayprofile;
-
-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 gatewayResourceProfileModelConstants {
-
-  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/application/io/DataType.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/DataType.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/DataType.java
new file mode 100644
index 0000000..78ef9a1
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/DataType.java
@@ -0,0 +1,78 @@
+/**
+ * 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.application.io;
+
+
+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;
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/51fa27b8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/InputDataObjectType.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/InputDataObjectType.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/InputDataObjectType.java
new file mode 100644
index 0000000..b0f9b7d
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/InputDataObjectType.java
@@ -0,0 +1,1481 @@
+/**
+ * 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.application.io;
+
+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"})
+/**
+ * Application Inputs. The paramters describe how inputs are passed to the application.
+ * 
+ * name:
+ *   Name of the parameter.
+ * 
+ * value:
+ *   Value of the parameter. A default value could be set during registration.
+ * 
+ * type:
+ *   Data type of the parameter
+ * 
+ * applicationArguement:
+ *   The argument flag sent to the application. Such as -p pressure.
+ * 
+ * standardInput:
+ *   When this value is set, the parameter is sent as standard input rather than a parameter.
+ *   Typically this is passed using redirection operator ">".
+ * 
+ * userFriendlyDescription:
+ *   Description to be displayed at the user interface.
+ * 
+ * metaData:
+ *   Any metadat. This is typically ignore by Airavata and is used by gateways for application configuration.
+ * 
+ */
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-12")
+public class InputDataObjectType implements org.apache.thrift.TBase<InputDataObjectType, InputDataObjectType._Fields>, java.io.Serializable, Cloneable, Comparable<InputDataObjectType> {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InputDataObjectType");
+
+  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)2);
+  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)3);
+  private static final org.apache.thrift.protocol.TField APPLICATION_ARGUMENT_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationArgument", org.apache.thrift.protocol.TType.STRING, (short)4);
+  private static final org.apache.thrift.protocol.TField STANDARD_INPUT_FIELD_DESC = new org.apache.thrift.protocol.TField("standardInput", org.apache.thrift.protocol.TType.BOOL, (short)5);
+  private static final org.apache.thrift.protocol.TField USER_FRIENDLY_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("userFriendlyDescription", org.apache.thrift.protocol.TType.STRING, (short)6);
+  private static final org.apache.thrift.protocol.TField META_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("metaData", org.apache.thrift.protocol.TType.STRING, (short)7);
+  private static final org.apache.thrift.protocol.TField INPUT_ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField("inputOrder", org.apache.thrift.protocol.TType.I32, (short)8);
+  private static final org.apache.thrift.protocol.TField IS_REQUIRED_FIELD_DESC = new org.apache.thrift.protocol.TField("isRequired", org.apache.thrift.protocol.TType.BOOL, (short)9);
+  private static final org.apache.thrift.protocol.TField REQUIRED_TO_ADDED_TO_COMMAND_LINE_FIELD_DESC = new org.apache.thrift.protocol.TField("requiredToAddedToCommandLine", org.apache.thrift.protocol.TType.BOOL, (short)10);
+  private static final org.apache.thrift.protocol.TField DATA_STAGED_FIELD_DESC = new org.apache.thrift.protocol.TField("dataStaged", org.apache.thrift.protocol.TType.BOOL, (short)11);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new InputDataObjectTypeStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new InputDataObjectTypeTupleSchemeFactory());
+  }
+
+  private String name; // required
+  private String value; // optional
+  private DataType type; // optional
+  private String applicationArgument; // optional
+  private boolean standardInput; // optional
+  private String userFriendlyDescription; // optional
+  private String metaData; // optional
+  private int inputOrder; // optional
+  private boolean isRequired; // optional
+  private boolean requiredToAddedToCommandLine; // optional
+  private boolean dataStaged; // 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 {
+    NAME((short)1, "name"),
+    VALUE((short)2, "value"),
+    /**
+     * 
+     * @see DataType
+     */
+    TYPE((short)3, "type"),
+    APPLICATION_ARGUMENT((short)4, "applicationArgument"),
+    STANDARD_INPUT((short)5, "standardInput"),
+    USER_FRIENDLY_DESCRIPTION((short)6, "userFriendlyDescription"),
+    META_DATA((short)7, "metaData"),
+    INPUT_ORDER((short)8, "inputOrder"),
+    IS_REQUIRED((short)9, "isRequired"),
+    REQUIRED_TO_ADDED_TO_COMMAND_LINE((short)10, "requiredToAddedToCommandLine"),
+    DATA_STAGED((short)11, "dataStaged");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // NAME
+          return NAME;
+        case 2: // VALUE
+          return VALUE;
+        case 3: // TYPE
+          return TYPE;
+        case 4: // APPLICATION_ARGUMENT
+          return APPLICATION_ARGUMENT;
+        case 5: // STANDARD_INPUT
+          return STANDARD_INPUT;
+        case 6: // USER_FRIENDLY_DESCRIPTION
+          return USER_FRIENDLY_DESCRIPTION;
+        case 7: // META_DATA
+          return META_DATA;
+        case 8: // INPUT_ORDER
+          return INPUT_ORDER;
+        case 9: // IS_REQUIRED
+          return IS_REQUIRED;
+        case 10: // REQUIRED_TO_ADDED_TO_COMMAND_LINE
+          return REQUIRED_TO_ADDED_TO_COMMAND_LINE;
+        case 11: // DATA_STAGED
+          return DATA_STAGED;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __STANDARDINPUT_ISSET_ID = 0;
+  private static final int __INPUTORDER_ISSET_ID = 1;
+  private static final int __ISREQUIRED_ISSET_ID = 2;
+  private static final int __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID = 3;
+  private static final int __DATASTAGED_ISSET_ID = 4;
+  private byte __isset_bitfield = 0;
+  private static final _Fields optionals[] = {_Fields.VALUE,_Fields.TYPE,_Fields.APPLICATION_ARGUMENT,_Fields.STANDARD_INPUT,_Fields.USER_FRIENDLY_DESCRIPTION,_Fields.META_DATA,_Fields.INPUT_ORDER,_Fields.IS_REQUIRED,_Fields.REQUIRED_TO_ADDED_TO_COMMAND_LINE,_Fields.DATA_STAGED};
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DataType.class)));
+    tmpMap.put(_Fields.APPLICATION_ARGUMENT, new org.apache.thrift.meta_data.FieldMetaData("applicationArgument", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.STANDARD_INPUT, new org.apache.thrift.meta_data.FieldMetaData("standardInput", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.USER_FRIENDLY_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("userFriendlyDescription", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.META_DATA, new org.apache.thrift.meta_data.FieldMetaData("metaData", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.INPUT_ORDER, new org.apache.thrift.meta_data.FieldMetaData("inputOrder", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    tmpMap.put(_Fields.IS_REQUIRED, new org.apache.thrift.meta_data.FieldMetaData("isRequired", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.REQUIRED_TO_ADDED_TO_COMMAND_LINE, new org.apache.thrift.meta_data.FieldMetaData("requiredToAddedToCommandLine", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    tmpMap.put(_Fields.DATA_STAGED, new org.apache.thrift.meta_data.FieldMetaData("dataStaged", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(InputDataObjectType.class, metaDataMap);
+  }
+
+  public InputDataObjectType() {
+    this.standardInput = false;
+
+    this.dataStaged = false;
+
+  }
+
+  public InputDataObjectType(
+    String name)
+  {
+    this();
+    this.name = name;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public InputDataObjectType(InputDataObjectType other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetName()) {
+      this.name = other.name;
+    }
+    if (other.isSetValue()) {
+      this.value = other.value;
+    }
+    if (other.isSetType()) {
+      this.type = other.type;
+    }
+    if (other.isSetApplicationArgument()) {
+      this.applicationArgument = other.applicationArgument;
+    }
+    this.standardInput = other.standardInput;
+    if (other.isSetUserFriendlyDescription()) {
+      this.userFriendlyDescription = other.userFriendlyDescription;
+    }
+    if (other.isSetMetaData()) {
+      this.metaData = other.metaData;
+    }
+    this.inputOrder = other.inputOrder;
+    this.isRequired = other.isRequired;
+    this.requiredToAddedToCommandLine = other.requiredToAddedToCommandLine;
+    this.dataStaged = other.dataStaged;
+  }
+
+  public InputDataObjectType deepCopy() {
+    return new InputDataObjectType(this);
+  }
+
+  @Override
+  public void clear() {
+    this.name = null;
+    this.value = null;
+    this.type = null;
+    this.applicationArgument = null;
+    this.standardInput = false;
+
+    this.userFriendlyDescription = null;
+    this.metaData = null;
+    setInputOrderIsSet(false);
+    this.inputOrder = 0;
+    setIsRequiredIsSet(false);
+    this.isRequired = false;
+    setRequiredToAddedToCommandLineIsSet(false);
+    this.requiredToAddedToCommandLine = false;
+    this.dataStaged = false;
+
+  }
+
+  public String getName() {
+    return this.name;
+  }
+
+  public void setName(String name) {
+    this.name = name;
+  }
+
+  public void unsetName() {
+    this.name = null;
+  }
+
+  /** Returns true if field name is set (has been assigned a value) and false otherwise */
+  public boolean isSetName() {
+    return this.name != null;
+  }
+
+  public void setNameIsSet(boolean value) {
+    if (!value) {
+      this.name = null;
+    }
+  }
+
+  public String getValue() {
+    return this.value;
+  }
+
+  public void setValue(String value) {
+    this.value = value;
+  }
+
+  public void unsetValue() {
+    this.value = null;
+  }
+
+  /** Returns true if field value is set (has been assigned a value) and false otherwise */
+  public boolean isSetValue() {
+    return this.value != null;
+  }
+
+  public void setValueIsSet(boolean value) {
+    if (!value) {
+      this.value = null;
+    }
+  }
+
+  /**
+   * 
+   * @see DataType
+   */
+  public DataType getType() {
+    return this.type;
+  }
+
+  /**
+   * 
+   * @see DataType
+   */
+  public void setType(DataType type) {
+    this.type = type;
+  }
+
+  public void unsetType() {
+    this.type = null;
+  }
+
+  /** Returns true if field type is set (has been assigned a value) and false otherwise */
+  public boolean isSetType() {
+    return this.type != null;
+  }
+
+  public void setTypeIsSet(boolean value) {
+    if (!value) {
+      this.type = null;
+    }
+  }
+
+  public String getApplicationArgument() {
+    return this.applicationArgument;
+  }
+
+  public void setApplicationArgument(String applicationArgument) {
+    this.applicationArgument = applicationArgument;
+  }
+
+  public void unsetApplicationArgument() {
+    this.applicationArgument = null;
+  }
+
+  /** Returns true if field applicationArgument is set (has been assigned a value) and false otherwise */
+  public boolean isSetApplicationArgument() {
+    return this.applicationArgument != null;
+  }
+
+  public void setApplicationArgumentIsSet(boolean value) {
+    if (!value) {
+      this.applicationArgument = null;
+    }
+  }
+
+  public boolean isStandardInput() {
+    return this.standardInput;
+  }
+
+  public void setStandardInput(boolean standardInput) {
+    this.standardInput = standardInput;
+    setStandardInputIsSet(true);
+  }
+
+  public void unsetStandardInput() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __STANDARDINPUT_ISSET_ID);
+  }
+
+  /** Returns true if field standardInput is set (has been assigned a value) and false otherwise */
+  public boolean isSetStandardInput() {
+    return EncodingUtils.testBit(__isset_bitfield, __STANDARDINPUT_ISSET_ID);
+  }
+
+  public void setStandardInputIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __STANDARDINPUT_ISSET_ID, value);
+  }
+
+  public String getUserFriendlyDescription() {
+    return this.userFriendlyDescription;
+  }
+
+  public void setUserFriendlyDescription(String userFriendlyDescription) {
+    this.userFriendlyDescription = userFriendlyDescription;
+  }
+
+  public void unsetUserFriendlyDescription() {
+    this.userFriendlyDescription = null;
+  }
+
+  /** Returns true if field userFriendlyDescription is set (has been assigned a value) and false otherwise */
+  public boolean isSetUserFriendlyDescription() {
+    return this.userFriendlyDescription != null;
+  }
+
+  public void setUserFriendlyDescriptionIsSet(boolean value) {
+    if (!value) {
+      this.userFriendlyDescription = null;
+    }
+  }
+
+  public String getMetaData() {
+    return this.metaData;
+  }
+
+  public void setMetaData(String metaData) {
+    this.metaData = metaData;
+  }
+
+  public void unsetMetaData() {
+    this.metaData = null;
+  }
+
+  /** Returns true if field metaData is set (has been assigned a value) and false otherwise */
+  public boolean isSetMetaData() {
+    return this.metaData != null;
+  }
+
+  public void setMetaDataIsSet(boolean value) {
+    if (!value) {
+      this.metaData = null;
+    }
+  }
+
+  public int getInputOrder() {
+    return this.inputOrder;
+  }
+
+  public void setInputOrder(int inputOrder) {
+    this.inputOrder = inputOrder;
+    setInputOrderIsSet(true);
+  }
+
+  public void unsetInputOrder() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __INPUTORDER_ISSET_ID);
+  }
+
+  /** Returns true if field inputOrder is set (has been assigned a value) and false otherwise */
+  public boolean isSetInputOrder() {
+    return EncodingUtils.testBit(__isset_bitfield, __INPUTORDER_ISSET_ID);
+  }
+
+  public void setInputOrderIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __INPUTORDER_ISSET_ID, value);
+  }
+
+  public boolean isIsRequired() {
+    return this.isRequired;
+  }
+
+  public void setIsRequired(boolean isRequired) {
+    this.isRequired = isRequired;
+    setIsRequiredIsSet(true);
+  }
+
+  public void unsetIsRequired() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ISREQUIRED_ISSET_ID);
+  }
+
+  /** Returns true if field isRequired is set (has been assigned a value) and false otherwise */
+  public boolean isSetIsRequired() {
+    return EncodingUtils.testBit(__isset_bitfield, __ISREQUIRED_ISSET_ID);
+  }
+
+  public void setIsRequiredIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ISREQUIRED_ISSET_ID, value);
+  }
+
+  public boolean isRequiredToAddedToCommandLine() {
+    return this.requiredToAddedToCommandLine;
+  }
+
+  public void setRequiredToAddedToCommandLine(boolean requiredToAddedToCommandLine) {
+    this.requiredToAddedToCommandLine = requiredToAddedToCommandLine;
+    setRequiredToAddedToCommandLineIsSet(true);
+  }
+
+  public void unsetRequiredToAddedToCommandLine() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID);
+  }
+
+  /** Returns true if field requiredToAddedToCommandLine is set (has been assigned a value) and false otherwise */
+  public boolean isSetRequiredToAddedToCommandLine() {
+    return EncodingUtils.testBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID);
+  }
+
+  public void setRequiredToAddedToCommandLineIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID, value);
+  }
+
+  public boolean isDataStaged() {
+    return this.dataStaged;
+  }
+
+  public void setDataStaged(boolean dataStaged) {
+    this.dataStaged = dataStaged;
+    setDataStagedIsSet(true);
+  }
+
+  public void unsetDataStaged() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __DATASTAGED_ISSET_ID);
+  }
+
+  /** Returns true if field dataStaged is set (has been assigned a value) and false otherwise */
+  public boolean isSetDataStaged() {
+    return EncodingUtils.testBit(__isset_bitfield, __DATASTAGED_ISSET_ID);
+  }
+
+  public void setDataStagedIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __DATASTAGED_ISSET_ID, value);
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case NAME:
+      if (value == null) {
+        unsetName();
+      } else {
+        setName((String)value);
+      }
+      break;
+
+    case VALUE:
+      if (value == null) {
+        unsetValue();
+      } else {
+        setValue((String)value);
+      }
+      break;
+
+    case TYPE:
+      if (value == null) {
+        unsetType();
+      } else {
+        setType((DataType)value);
+      }
+      break;
+
+    case APPLICATION_ARGUMENT:
+      if (value == null) {
+        unsetApplicationArgument();
+      } else {
+        setApplicationArgument((String)value);
+      }
+      break;
+
+    case STANDARD_INPUT:
+      if (value == null) {
+        unsetStandardInput();
+      } else {
+        setStandardInput((Boolean)value);
+      }
+      break;
+
+    case USER_FRIENDLY_DESCRIPTION:
+      if (value == null) {
+        unsetUserFriendlyDescription();
+      } else {
+        setUserFriendlyDescription((String)value);
+      }
+      break;
+
+    case META_DATA:
+      if (value == null) {
+        unsetMetaData();
+      } else {
+        setMetaData((String)value);
+      }
+      break;
+
+    case INPUT_ORDER:
+      if (value == null) {
+        unsetInputOrder();
+      } else {
+        setInputOrder((Integer)value);
+      }
+      break;
+
+    case IS_REQUIRED:
+      if (value == null) {
+        unsetIsRequired();
+      } else {
+        setIsRequired((Boolean)value);
+      }
+      break;
+
+    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
+      if (value == null) {
+        unsetRequiredToAddedToCommandLine();
+      } else {
+        setRequiredToAddedToCommandLine((Boolean)value);
+      }
+      break;
+
+    case DATA_STAGED:
+      if (value == null) {
+        unsetDataStaged();
+      } else {
+        setDataStaged((Boolean)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case NAME:
+      return getName();
+
+    case VALUE:
+      return getValue();
+
+    case TYPE:
+      return getType();
+
+    case APPLICATION_ARGUMENT:
+      return getApplicationArgument();
+
+    case STANDARD_INPUT:
+      return Boolean.valueOf(isStandardInput());
+
+    case USER_FRIENDLY_DESCRIPTION:
+      return getUserFriendlyDescription();
+
+    case META_DATA:
+      return getMetaData();
+
+    case INPUT_ORDER:
+      return Integer.valueOf(getInputOrder());
+
+    case IS_REQUIRED:
+      return Boolean.valueOf(isIsRequired());
+
+    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
+      return Boolean.valueOf(isRequiredToAddedToCommandLine());
+
+    case DATA_STAGED:
+      return Boolean.valueOf(isDataStaged());
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case NAME:
+      return isSetName();
+    case VALUE:
+      return isSetValue();
+    case TYPE:
+      return isSetType();
+    case APPLICATION_ARGUMENT:
+      return isSetApplicationArgument();
+    case STANDARD_INPUT:
+      return isSetStandardInput();
+    case USER_FRIENDLY_DESCRIPTION:
+      return isSetUserFriendlyDescription();
+    case META_DATA:
+      return isSetMetaData();
+    case INPUT_ORDER:
+      return isSetInputOrder();
+    case IS_REQUIRED:
+      return isSetIsRequired();
+    case REQUIRED_TO_ADDED_TO_COMMAND_LINE:
+      return isSetRequiredToAddedToCommandLine();
+    case DATA_STAGED:
+      return isSetDataStaged();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof InputDataObjectType)
+      return this.equals((InputDataObjectType)that);
+    return false;
+  }
+
+  public boolean equals(InputDataObjectType that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_name = true && this.isSetName();
+    boolean that_present_name = true && that.isSetName();
+    if (this_present_name || that_present_name) {
+      if (!(this_present_name && that_present_name))
+        return false;
+      if (!this.name.equals(that.name))
+        return false;
+    }
+
+    boolean this_present_value = true && this.isSetValue();
+    boolean that_present_value = true && that.isSetValue();
+    if (this_present_value || that_present_value) {
+      if (!(this_present_value && that_present_value))
+        return false;
+      if (!this.value.equals(that.value))
+        return false;
+    }
+
+    boolean this_present_type = true && this.isSetType();
+    boolean that_present_type = true && that.isSetType();
+    if (this_present_type || that_present_type) {
+      if (!(this_present_type && that_present_type))
+        return false;
+      if (!this.type.equals(that.type))
+        return false;
+    }
+
+    boolean this_present_applicationArgument = true && this.isSetApplicationArgument();
+    boolean that_present_applicationArgument = true && that.isSetApplicationArgument();
+    if (this_present_applicationArgument || that_present_applicationArgument) {
+      if (!(this_present_applicationArgument && that_present_applicationArgument))
+        return false;
+      if (!this.applicationArgument.equals(that.applicationArgument))
+        return false;
+    }
+
+    boolean this_present_standardInput = true && this.isSetStandardInput();
+    boolean that_present_standardInput = true && that.isSetStandardInput();
+    if (this_present_standardInput || that_present_standardInput) {
+      if (!(this_present_standardInput && that_present_standardInput))
+        return false;
+      if (this.standardInput != that.standardInput)
+        return false;
+    }
+
+    boolean this_present_userFriendlyDescription = true && this.isSetUserFriendlyDescription();
+    boolean that_present_userFriendlyDescription = true && that.isSetUserFriendlyDescription();
+    if (this_present_userFriendlyDescription || that_present_userFriendlyDescription) {
+      if (!(this_present_userFriendlyDescription && that_present_userFriendlyDescription))
+        return false;
+      if (!this.userFriendlyDescription.equals(that.userFriendlyDescription))
+        return false;
+    }
+
+    boolean this_present_metaData = true && this.isSetMetaData();
+    boolean that_present_metaData = true && that.isSetMetaData();
+    if (this_present_metaData || that_present_metaData) {
+      if (!(this_present_metaData && that_present_metaData))
+        return false;
+      if (!this.metaData.equals(that.metaData))
+        return false;
+    }
+
+    boolean this_present_inputOrder = true && this.isSetInputOrder();
+    boolean that_present_inputOrder = true && that.isSetInputOrder();
+    if (this_present_inputOrder || that_present_inputOrder) {
+      if (!(this_present_inputOrder && that_present_inputOrder))
+        return false;
+      if (this.inputOrder != that.inputOrder)
+        return false;
+    }
+
+    boolean this_present_isRequired = true && this.isSetIsRequired();
+    boolean that_present_isRequired = true && that.isSetIsRequired();
+    if (this_present_isRequired || that_present_isRequired) {
+      if (!(this_present_isRequired && that_present_isRequired))
+        return false;
+      if (this.isRequired != that.isRequired)
+        return false;
+    }
+
+    boolean this_present_requiredToAddedToCommandLine = true && this.isSetRequiredToAddedToCommandLine();
+    boolean that_present_requiredToAddedToCommandLine = true && that.isSetRequiredToAddedToCommandLine();
+    if (this_present_requiredToAddedToCommandLine || that_present_requiredToAddedToCommandLine) {
+      if (!(this_present_requiredToAddedToCommandLine && that_present_requiredToAddedToCommandLine))
+        return false;
+      if (this.requiredToAddedToCommandLine != that.requiredToAddedToCommandLine)
+        return false;
+    }
+
+    boolean this_present_dataStaged = true && this.isSetDataStaged();
+    boolean that_present_dataStaged = true && that.isSetDataStaged();
+    if (this_present_dataStaged || that_present_dataStaged) {
+      if (!(this_present_dataStaged && that_present_dataStaged))
+        return false;
+      if (this.dataStaged != that.dataStaged)
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    List<Object> list = new ArrayList<Object>();
+
+    boolean present_name = true && (isSetName());
+    list.add(present_name);
+    if (present_name)
+      list.add(name);
+
+    boolean present_value = true && (isSetValue());
+    list.add(present_value);
+    if (present_value)
+      list.add(value);
+
+    boolean present_type = true && (isSetType());
+    list.add(present_type);
+    if (present_type)
+      list.add(type.getValue());
+
+    boolean present_applicationArgument = true && (isSetApplicationArgument());
+    list.add(present_applicationArgument);
+    if (present_applicationArgument)
+      list.add(applicationArgument);
+
+    boolean present_standardInput = true && (isSetStandardInput());
+    list.add(present_standardInput);
+    if (present_standardInput)
+      list.add(standardInput);
+
+    boolean present_userFriendlyDescription = true && (isSetUserFriendlyDescription());
+    list.add(present_userFriendlyDescription);
+    if (present_userFriendlyDescription)
+      list.add(userFriendlyDescription);
+
+    boolean present_metaData = true && (isSetMetaData());
+    list.add(present_metaData);
+    if (present_metaData)
+      list.add(metaData);
+
+    boolean present_inputOrder = true && (isSetInputOrder());
+    list.add(present_inputOrder);
+    if (present_inputOrder)
+      list.add(inputOrder);
+
+    boolean present_isRequired = true && (isSetIsRequired());
+    list.add(present_isRequired);
+    if (present_isRequired)
+      list.add(isRequired);
+
+    boolean present_requiredToAddedToCommandLine = true && (isSetRequiredToAddedToCommandLine());
+    list.add(present_requiredToAddedToCommandLine);
+    if (present_requiredToAddedToCommandLine)
+      list.add(requiredToAddedToCommandLine);
+
+    boolean present_dataStaged = true && (isSetDataStaged());
+    list.add(present_dataStaged);
+    if (present_dataStaged)
+      list.add(dataStaged);
+
+    return list.hashCode();
+  }
+
+  @Override
+  public int compareTo(InputDataObjectType other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+
+    lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetName()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetValue()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetType()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetApplicationArgument()).compareTo(other.isSetApplicationArgument());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetApplicationArgument()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationArgument, other.applicationArgument);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetStandardInput()).compareTo(other.isSetStandardInput());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetStandardInput()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.standardInput, other.standardInput);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetUserFriendlyDescription()).compareTo(other.isSetUserFriendlyDescription());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetUserFriendlyDescription()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userFriendlyDescription, other.userFriendlyDescription);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetMetaData()).compareTo(other.isSetMetaData());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetMetaData()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.metaData, other.metaData);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetInputOrder()).compareTo(other.isSetInputOrder());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetInputOrder()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.inputOrder, other.inputOrder);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetIsRequired()).compareTo(other.isSetIsRequired());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetIsRequired()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isRequired, other.isRequired);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetRequiredToAddedToCommandLine()).compareTo(other.isSetRequiredToAddedToCommandLine());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetRequiredToAddedToCommandLine()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.requiredToAddedToCommandLine, other.requiredToAddedToCommandLine);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetDataStaged()).compareTo(other.isSetDataStaged());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetDataStaged()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dataStaged, other.dataStaged);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("InputDataObjectType(");
+    boolean first = true;
+
+    sb.append("name:");
+    if (this.name == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.name);
+    }
+    first = false;
+    if (isSetValue()) {
+      if (!first) sb.append(", ");
+      sb.append("value:");
+      if (this.value == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.value);
+      }
+      first = false;
+    }
+    if (isSetType()) {
+      if (!first) sb.append(", ");
+      sb.append("type:");
+      if (this.type == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.type);
+      }
+      first = false;
+    }
+    if (isSetApplicationArgument()) {
+      if (!first) sb.append(", ");
+      sb.append("applicationArgument:");
+      if (this.applicationArgument == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.applicationArgument);
+      }
+      first = false;
+    }
+    if (isSetStandardInput()) {
+      if (!first) sb.append(", ");
+      sb.append("standardInput:");
+      sb.append(this.standardInput);
+      first = false;
+    }
+    if (isSetUserFriendlyDescription()) {
+      if (!first) sb.append(", ");
+      sb.append("userFriendlyDescription:");
+      if (this.userFriendlyDescription == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.userFriendlyDescription);
+      }
+      first = false;
+    }
+    if (isSetMetaData()) {
+      if (!first) sb.append(", ");
+      sb.append("metaData:");
+      if (this.metaData == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.metaData);
+      }
+      first = false;
+    }
+    if (isSetInputOrder()) {
+      if (!first) sb.append(", ");
+      sb.append("inputOrder:");
+      sb.append(this.inputOrder);
+      first = false;
+    }
+    if (isSetIsRequired()) {
+      if (!first) sb.append(", ");
+      sb.append("isRequired:");
+      sb.append(this.isRequired);
+      first = false;
+    }
+    if (isSetRequiredToAddedToCommandLine()) {
+      if (!first) sb.append(", ");
+      sb.append("requiredToAddedToCommandLine:");
+      sb.append(this.requiredToAddedToCommandLine);
+      first = false;
+    }
+    if (isSetDataStaged()) {
+      if (!first) sb.append(", ");
+      sb.append("dataStaged:");
+      sb.append(this.dataStaged);
+      first = false;
+    }
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    if (!isSetName()) {
+      throw new org.apache.thrift.protocol.TProtocolException("Required field 'name' is unset! Struct:" + toString());
+    }
+
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class InputDataObjectTypeStandardSchemeFactory implements SchemeFactory {
+    public InputDataObjectTypeStandardScheme getScheme() {
+      return new InputDataObjectTypeStandardScheme();
+    }
+  }
+
+  private static class InputDataObjectTypeStandardScheme extends StandardScheme<InputDataObjectType> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, InputDataObjectType struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // NAME
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.name = iprot.readString();
+              struct.setNameIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // VALUE
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.value = iprot.readString();
+              struct.setValueIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // TYPE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.type = org.apache.airavata.model.application.io.DataType.findByValue(iprot.readI32());
+              struct.setTypeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // APPLICATION_ARGUMENT
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.applicationArgument = iprot.readString();
+              struct.setApplicationArgumentIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 5: // STANDARD_INPUT
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.standardInput = iprot.readBool();
+              struct.setStandardInputIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 6: // USER_FRIENDLY_DESCRIPTION
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.userFriendlyDescription = iprot.readString();
+              struct.setUserFriendlyDescriptionIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 7: // META_DATA
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.metaData = iprot.readString();
+              struct.setMetaDataIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 8: // INPUT_ORDER
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.inputOrder = iprot.readI32();
+              struct.setInputOrderIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 9: // IS_REQUIRED
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.isRequired = iprot.readBool();
+              struct.setIsRequiredIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 10: // REQUIRED_TO_ADDED_TO_COMMAND_LINE
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.requiredToAddedToCommandLine = iprot.readBool();
+              struct.setRequiredToAddedToCommandLineIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 11: // DATA_STAGED
+            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+              struct.dataStaged = iprot.readBool();
+              struct.setDataStagedIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, InputDataObjectType struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.name != null) {
+        oprot.writeFieldBegin(NAME_FIELD_DESC);
+        oprot.writeString(struct.name);
+        oprot.writeFieldEnd();
+      }
+      if (struct.value != null) {
+        if (struct.isSetValue()) {
+          oprot.writeFieldBegin(VALUE_FIELD_DESC);
+          oprot.writeString(struct.value);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.type != null) {
+        if (struct.isSetType()) {
+          oprot.writeFieldBegin(TYPE_FIELD_DESC);
+          oprot.writeI32(struct.type.getValue());
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.applicationArgument != null) {
+        if (struct.isSetApplicationArgument()) {
+          oprot.writeFieldBegin(APPLICATION_ARGUMENT_FIELD_DESC);
+          oprot.writeString(struct.applicationArgument);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetStandardInput()) {
+        oprot.writeFieldBegin(STANDARD_INPUT_FIELD_DESC);
+        oprot.writeBool(struct.standardInput);
+        oprot.writeFieldEnd();
+      }
+      if (struct.userFriendlyDescription != null) {
+        if (struct.isSetUserFriendlyDescription()) {
+          oprot.writeFieldBegin(USER_FRIENDLY_DESCRIPTION_FIELD_DESC);
+          oprot.writeString(struct.userFriendlyDescription);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.metaData != null) {
+        if (struct.isSetMetaData()) {
+          oprot.writeFieldBegin(META_DATA_FIELD_DESC);
+          oprot.writeString(struct.metaData);
+          oprot.writeFieldEnd();
+        }
+      }
+      if (struct.isSetInputOrder()) {
+        oprot.writeFieldBegin(INPUT_ORDER_FIELD_DESC);
+        oprot.writeI32(struct.inputOrder);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetIsRequired()) {
+        oprot.writeFieldBegin(IS_REQUIRED_FIELD_DESC);
+        oprot.writeBool(struct.isRequired);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetRequiredToAddedToCommandLine()) {
+        oprot.writeFieldBegin(REQUIRED_TO_ADDED_TO_COMMAND_LINE_FIELD_DESC);
+        oprot.writeBool(struct.requiredToAddedToCommandLine);
+        oprot.writeFieldEnd();
+      }
+      if (struct.isSetDataStaged()) {
+        oprot.writeFieldBegin(DATA_STAGED_FIELD_DESC);
+        oprot.writeBool(struct.dataStaged);
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class InputDataObjectTypeTupleSchemeFactory implements SchemeFactory {
+    public InputDataObjectTypeTupleScheme getScheme() {
+      return new InputDataObjectTypeTupleScheme();
+    }
+  }
+
+  private static class InputDataObjectTypeTupleScheme extends TupleScheme<InputDataObjectType> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, InputDataObjectType struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      oprot.writeString(struct.name);
+      BitSet optionals = new BitSet();
+      if (struct.isSetValue()) {
+        optionals.set(0);
+      }
+      if (struct.isSetType()) {
+        optionals.set(1);
+      }
+      if (struct.isSetApplicationArgument()) {
+        optionals.set(2);
+      }
+      if (struct.isSetStandardInput()) {
+        optionals.set(3);
+      }
+      if (struct.isSetUserFriendlyDescription()) {
+        optionals.set(4);
+      }
+      if (struct.isSetMetaData()) {
+        optionals.set(5);
+      }
+      if (struct.isSetInputOrder()) {
+        optionals.set(6);
+      }
+      if (struct.isSetIsRequired()) {
+        optionals.set(7);
+      }
+      if (struct.isSetRequiredToAddedToCommandLine()) {
+        optionals.set(8);
+      }
+      if (struct.isSetDataStaged()) {
+        optionals.set(9);
+      }
+      oprot.writeBitSet(optionals, 10);
+      if (struct.isSetValue()) {
+        oprot.writeString(struct.value);
+      }
+      if (struct.isSetType()) {
+        oprot.writeI32(struct.type.getValue());
+      }
+      if (struct.isSetApplicationArgument()) {
+        oprot.writeString(struct.applicationArgument);
+      }
+      if (struct.isSetStandardInput()) {
+        oprot.writeBool(struct.standardInput);
+      }
+      if (struct.isSetUserFriendlyDescription()) {
+        oprot.writeString(struct.userFriendlyDescription);
+      }
+      if (struct.isSetMetaData()) {
+        oprot.writeString(struct.metaData);
+      }
+      if (struct.isSetInputOrder()) {
+        oprot.writeI32(struct.inputOrder);
+      }
+      if (struct.isSetIsRequired()) {
+        oprot.writeBool(struct.isRequired);
+      }
+      if (struct.isSetRequiredToAddedToCommandLine()) {
+        oprot.writeBool(struct.requiredToAddedToCommandLine);
+      }
+      if (struct.isSetDataStaged()) {
+        oprot.writeBool(struct.dataStaged);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, InputDataObjectType struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      struct.name = iprot.readString();
+      struct.setNameIsSet(true);
+      BitSet incoming = iprot.readBitSet(10);
+      if (incoming.get(0)) {
+        struct.value = iprot.readString();
+        struct.setValueIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.type = org.apache.airavata.model.application.io.DataType.findByValue(iprot.readI32());
+        struct.setTypeIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.applicationArgument = iprot.readString();
+        struct.setApplicationArgumentIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.standardInput = iprot.readBool();
+        struct.setStandardInputIsSet(true);
+      }
+      if (incoming.get(4)) {
+        struct.userFriendlyDescription = iprot.readString();
+        struct.setUserFriendlyDescriptionIsSet(true);
+      }
+      if (incoming.get(5)) {
+        struct.metaData = iprot.readString();
+        struct.setMetaDataIsSet(true);
+      }
+      if (incoming.get(6)) {
+        struct.inputOrder = iprot.readI32();
+        struct.setInputOrderIsSet(true);
+      }
+      if (incoming.get(7)) {
+        struct.isRequired = iprot.readBool();
+        struct.setIsRequiredIsSet(true);
+      }
+      if (incoming.get(8)) {
+        struct.requiredToAddedToCommandLine = iprot.readBool();
+        struct.setRequiredToAddedToCommandLineIsSet(true);
+      }
+      if (incoming.get(9)) {
+        struct.dataStaged = iprot.readBool();
+        struct.setDataStagedIsSet(true);
+      }
+    }
+  }
+
+}
+