From 20221ba2b72fdc8d9109360f96296d7f62cf80af Mon Sep 17 00:00:00 2001 From: Saad Sahibjan Date: Tue, 28 Apr 2020 13:57:25 +0530 Subject: [PATCH] Add serialVersionUID enrollment configuration bean --- .../mgt/EnrollmentConfiguration.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/configuration/mgt/EnrollmentConfiguration.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/configuration/mgt/EnrollmentConfiguration.java index 7074729423..99a7e3c29a 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/configuration/mgt/EnrollmentConfiguration.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/configuration/mgt/EnrollmentConfiguration.java @@ -18,9 +18,12 @@ package org.wso2.carbon.device.mgt.common.configuration.mgt; +import java.io.Serializable; import java.util.List; -public class EnrollmentConfiguration { +public class EnrollmentConfiguration implements Serializable { + + private static final long serialVersionUID = 9141110402306622023L; private List serialNumbers; private List userConfigurations; @@ -52,7 +55,10 @@ public class EnrollmentConfiguration { this.groupConfigurations = groupConfigurations; } - public class UserConfiguration { + public class UserConfiguration implements Serializable { + + private static final long serialVersionUID = 2787527415452188898L; + private String username; private List serialNumbers; @@ -73,7 +79,10 @@ public class EnrollmentConfiguration { } } - public class GroupConfiguration { + public class GroupConfiguration implements Serializable { + + private static final long serialVersionUID = 6168826487754358181L; + private String groupName; private List serialNumbers;