Daniel Erez has uploaded a new change for review.

Change subject: core: DiskImage - added vmSnapshotDescription
......................................................................

core: DiskImage - added vmSnapshotDescription

Added vmSnapshotDescription member/setter/getter to
DiskImage to accompany the existing vmSnapshotId
(needed for displaying snapshot's descritopn in client).

Change-Id: Ic658ab2603a8033af7ddd6bd57b34b880f34b393
Signed-off-by: Daniel Erez <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DiskImage.java
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/22/26322/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DiskImage.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DiskImage.java
index e0fbdfc..5a862f8 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DiskImage.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DiskImage.java
@@ -34,6 +34,7 @@
     private double actualDiskWithSnapthotsSize;
     private ArrayList<Guid> quotaIds;
     private ArrayList<String> quotaNames;
+    private String vmSnapshotDescription;
 
     public DiskImage() {
         setParentId(Guid.Empty);
@@ -233,6 +234,14 @@
         getImage().setSnapshotId(snapshotId);
     }
 
+    public String getVmSnapshotDescription() {
+        return vmSnapshotDescription;
+    }
+
+    public void setVmSnapshotDescription(String vmSnapshotDescription) {
+        this.vmSnapshotDescription = vmSnapshotDescription;
+    }
+
     public ArrayList<String> getStoragePath() {
         return storagePath;
     }


-- 
To view, visit http://gerrit.ovirt.org/26322
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic658ab2603a8033af7ddd6bd57b34b880f34b393
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to