From 0879a75f7bd46c5e69036d571d5fc23a9aa5823b Mon Sep 17 00:00:00 2001 From: geethkokila Date: Wed, 30 Nov 2016 17:46:01 +0530 Subject: [PATCH] Fixing the serializing issue of device groups. --- .../wso2/carbon/policy/mgt/common/DeviceGroupWrapper.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/DeviceGroupWrapper.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/DeviceGroupWrapper.java index 3457873b08..dc30981603 100644 --- a/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/DeviceGroupWrapper.java +++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/DeviceGroupWrapper.java @@ -22,8 +22,12 @@ package org.wso2.carbon.policy.mgt.common; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; + @ApiModel(value = "DeviceGroupWrapper", description = "This class carries information related to device groups expect users and devices.") -public class DeviceGroupWrapper { +public class DeviceGroupWrapper implements Serializable { + + private static final long serialVersionUID = 1998101722L; @ApiModelProperty(name = "id", value = "Id of the group", required = true) private int id;