Gilad Chaplik has uploaded a new change for review. Change subject: common: fix de-serialization issues ......................................................................
common: fix de-serialization issues Handle List of VmNumaNode in VM entity. Change-Id: Iaf63772f358a6358a4d15fe474c81ba907bf61f9 Signed-off-by: Gilad Chaplik <[email protected]> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VM.java 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/06/27806/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VM.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VM.java index 2d97d1f..9842fa4 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VM.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VM.java @@ -88,6 +88,7 @@ this.setStatisticsData(vmStatistics); this.setImages(new ArrayList<DiskImage>()); this.setInterfaces(new ArrayList<VmNetworkInterface>()); + this.setvNumaNodeList(new ArrayList<VmNumaNode>()); this.setDiskMap(new HashMap<Guid, Disk>()); this.setCdPath(""); this.setFloppyPath(""); @@ -208,18 +209,22 @@ this.vmStatic.setDescription(value); } + @Override public String getComment() { return this.vmStatic.getComment(); } + @Override public void setComment(String value) { this.vmStatic.setComment(value); } + @Override public String getStopReason() { return this.vmDynamic.getStopReason(); } + @Override public void setStopReason(String value) { this.vmDynamic.setStopReason(value); } @@ -1769,4 +1774,7 @@ return vmStatic.getvNumaNodeList(); } + public void setvNumaNodeList(List<VmNumaNode> vNumaNodeList) { + vmStatic.setvNumaNodeList(vNumaNodeList); + } } -- To view, visit http://gerrit.ovirt.org/27806 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaf63772f358a6358a4d15fe474c81ba907bf61f9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Gilad Chaplik <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
