Salome HOME
Convert Boolean to boolean
authorBojnourdi <kavoos.bojnourdi@edf.fr>
Mon, 24 Aug 2015 14:50:04 +0000 (16:50 +0200)
committerBojnourdi <kavoos.bojnourdi@edf.fr>
Mon, 24 Aug 2015 14:50:04 +0000 (16:50 +0200)
projects/GDE-transferables/src/com/edf/gde/transferables/FileTO.java

index fc2cecc3024e73ab7197e304c233b5db50dd0599..a145d6ca712df940ae37df7772548c834a1bedc6 100644 (file)
@@ -21,8 +21,8 @@ public class FileTO implements Serializable {
     private String checksum;
     private Date creationDate;
     private Date updateDate;
-    private Boolean valid;
-    private Boolean deleted;
+    private boolean valid;
+    private boolean deleted;
     private Date deletionDate;
     private long attributeGroupId;
     private List<ChunkTO> chunks;
@@ -31,7 +31,7 @@ public class FileTO implements Serializable {
     public FileTO() {
     }
 
-    public FileTO(long id, String name, long length, String checksum, Date creationDate, Date updateDate, Boolean valid, Boolean deleted, Date deletionDate, long attributeGroupId, Collection<ChunkTO> chunkCollection, long dataProfileId) {
+    public FileTO(long id, String name, long length, String checksum, Date creationDate, Date updateDate, boolean valid, boolean deleted, Date deletionDate, long attributeGroupId, Collection<ChunkTO> chunkCollection, long dataProfileId) {
         this.id = id;
         this.name = name;
         this.length = length;
@@ -94,19 +94,19 @@ public class FileTO implements Serializable {
         this.updateDate = updateDate;
     }
 
-    public Boolean getValid() {
+    public boolean getValid() {
         return valid;
     }
 
-    public void setValid(Boolean valid) {
+    public void setValid(boolean valid) {
         this.valid = valid;
     }
 
-    public Boolean getDeleted() {
+    public boolean getDeleted() {
         return deleted;
     }
 
-    public void setDeleted(Boolean deleted) {
+    public void setDeleted(boolean deleted) {
         this.deleted = deleted;
     }