[ 
https://issues.apache.org/jira/browse/AIRAVATA-2728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457041#comment-16457041
 ] 

ASF GitHub Bot commented on AIRAVATA-2728:
------------------------------------------

machristie commented on a change in pull request #191: [AIRAVATA-2728] 
Refactoring Experiment Catalog Implementation
URL: https://github.com/apache/airavata/pull/191#discussion_r184798694
 
 

 ##########
 File path: 
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/ExperimentOutputEntity.java
 ##########
 @@ -21,29 +21,63 @@
 package org.apache.airavata.registry.core.entities.expcatalog;
 
 import javax.persistence.*;
+import java.io.Serializable;
 
+/**
+ * The persistent class for the experiment_output database table.
+ */
 @Entity
-@Table(name = "EXPCAT_EXPERIMENT_OUTPUT")
+@Table(name = "EXPERIMENT_OUTPUT")
 @IdClass(ExperimentOutputPK.class)
-public class ExperimentOutputEntity {
+public class ExperimentOutputEntity implements Serializable {
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "EXPERIMENT_ID")
     private String experimentId;
-    public String name;
-    public String value;
-    public String type;
-    public String applicationArgument;
-    public boolean isRequired;
-    public boolean requiredToAddedToCommandLine;
-    public boolean dataMovement;
-    public String location;
-    public String searchQuery;
-    public boolean outputStreaming;
-    public String storageResourceId;
 
+    @Id
+    @Column(name = "OUTPUT_NAME")
+    private String name;
+
+    @Lob
+    @Column(name = "OUTPUT_VALUE")
+    private String value;
+
+    @Column(name = "OUTPUT_TYPE")
+    private String type;
+
+    @Column(name = "APPLICATION_ARGUMENT")
+    private String applicationArgument;
+
+    @Column(name = "REQUIRED")
+    private boolean isRequired;
+
+    @Column(name = "REQUIRED_TO_ADDED_TO_COMMANDLINE")
 
 Review comment:
   The name of the column is REQUIRED_TO_ADDED_TO_CMD.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Refactoring Experiment Catalog Implementation
> ---------------------------------------------
>
>                 Key: AIRAVATA-2728
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2728
>             Project: Airavata
>          Issue Type: Improvement
>          Components: Registry API
>            Reporter: Sneha Tilak
>            Assignee: Sneha Tilak
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to