airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: adding missing class
Date Mon, 27 Jun 2016 20:09:16 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 08e9b45fc -> cded43e86


adding missing class


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

Branch: refs/heads/develop
Commit: cded43e86b4cb97abc0a0236a52fa3bc5ff0b001
Parents: 08e9b45
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Jun 27 16:09:12 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Jun 27 16:09:12 2016 -0400

----------------------------------------------------------------------
 .../model/experiment/ProjectSearchFields.java   | 62 ++++++++++++++++++++
 1 file changed, 62 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/cded43e8/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ProjectSearchFields.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ProjectSearchFields.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ProjectSearchFields.java
new file mode 100644
index 0000000..d805c78
--- /dev/null
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ProjectSearchFields.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.3)
+ *
+ * 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 ProjectSearchFields implements org.apache.thrift.TEnum {
+  PROJECT_NAME(0),
+  PROJECT_DESCRIPTION(1);
+
+  private final int value;
+
+  private ProjectSearchFields(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 ProjectSearchFields findByValue(int value) { 
+    switch (value) {
+      case 0:
+        return PROJECT_NAME;
+      case 1:
+        return PROJECT_DESCRIPTION;
+      default:
+        return null;
+    }
+  }
+}


Mime
View raw message