airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] branch develop updated: AIRAVATA-2727 Allow max fields to be nullable
Date Mon, 13 Aug 2018 16:42:54 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new 76728d4  AIRAVATA-2727 Allow max fields to be nullable
76728d4 is described below

commit 76728d40d7924b789147cc865ff9aaa1c30abce9
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Mon Aug 13 12:41:30 2018 -0400

    AIRAVATA-2727 Allow max fields to be nullable
---
 .../appcatalog/BatchQueueResourcePolicyEntity.java     | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/BatchQueueResourcePolicyEntity.java
b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/BatchQueueResourcePolicyEntity.java
index 4979884..4cb3abb 100644
--- a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/BatchQueueResourcePolicyEntity.java
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/BatchQueueResourcePolicyEntity.java
@@ -47,13 +47,13 @@ public class BatchQueueResourcePolicyEntity implements Serializable {
     private String queuename;
 
     @Column(name = "MAX_ALLOWED_NODES")
-    private int maxAllowedNodes;
+    private Integer maxAllowedNodes;
 
     @Column(name = "MAX_ALLOWED_CORES")
-    private int maxAllowedCores;
+    private Integer maxAllowedCores;
 
     @Column(name = "MAX_ALLOWED_WALLTIME")
-    private int maxAllowedWalltime;
+    private Integer maxAllowedWalltime;
 
     @ManyToOne(targetEntity = GroupResourceProfileEntity.class, cascade = CascadeType.MERGE)
     @JoinColumn(name = "GROUP_RESOURCE_PROFILE_ID")
@@ -94,27 +94,27 @@ public class BatchQueueResourcePolicyEntity implements Serializable {
         this.queuename = queuename;
     }
 
-    public int getMaxAllowedNodes() {
+    public Integer getMaxAllowedNodes() {
         return maxAllowedNodes;
     }
 
-    public void setMaxAllowedNodes(int maxAllowedNodes) {
+    public void setMaxAllowedNodes(Integer maxAllowedNodes) {
         this.maxAllowedNodes = maxAllowedNodes;
     }
 
-    public int getMaxAllowedCores() {
+    public Integer getMaxAllowedCores() {
         return maxAllowedCores;
     }
 
-    public void setMaxAllowedCores(int maxAllowedCores) {
+    public void setMaxAllowedCores(Integer maxAllowedCores) {
         this.maxAllowedCores = maxAllowedCores;
     }
 
-    public int getMaxAllowedWalltime() {
+    public Integer getMaxAllowedWalltime() {
         return maxAllowedWalltime;
     }
 
-    public void setMaxAllowedWalltime(int maxAllowedWalltime) {
+    public void setMaxAllowedWalltime(Integer maxAllowedWalltime) {
         this.maxAllowedWalltime = maxAllowedWalltime;
     }
 


Mime
View raw message