diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Column.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Column.java index 5e4c419a3b5..4ecdb313ae9 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Column.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Column.java @@ -31,6 +31,7 @@ public class Column { private Select select; private Input input; private Upload upload; + private Checkbox checkbox; @XmlAttribute(name = "name", required = true) public String getName() { return name; } @@ -86,4 +87,13 @@ public class Column { public void setUpload(Upload upload) { this.upload = upload; } + + @XmlElement(name = "Checkbox") + public Checkbox getCheckbox() { + return checkbox; + } + + public void setCheckbox(Checkbox checkbox) { + this.checkbox = checkbox; + } } diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java index e1bbf40a06d..966df5de59f 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java @@ -24,6 +24,7 @@ import javax.xml.bind.annotation.XmlRootElement; public class Upload { private String placeholderValue; private Boolean showContent; + private Boolean setFileName; @XmlElement(name = "Placeholder") public String getPlaceholderValue() { @@ -42,4 +43,13 @@ public class Upload { public void setShowContent(Boolean showContent) { this.showContent = showContent; } + + @XmlElement(name = "SetFileName") + public Boolean getSetFileName() { + return setFileName; + } + + public void setSetFileName(Boolean setFileName) { + this.setFileName = setFileName; + } }