From 6c947962d6a19a420908064f5cb66d60638398c7 Mon Sep 17 00:00:00 2001 From: Kaveesha Date: Wed, 12 May 2021 15:00:56 +0530 Subject: [PATCH] Update item bean class to get documentation link from xml --- .../carbon/device/mgt/common/policy/mgt/ui/Item.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Item.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Item.java index faf97d7e11..43927eb876 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Item.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Item.java @@ -27,6 +27,7 @@ public class Item { private String label; private String tooltip; + private String docLink; private String key; private String value; private boolean isRequired; @@ -65,6 +66,16 @@ public class Item { this.tooltip = tooltip; } + @XmlElement(name = "DocLink") + public String getDocLink() { + return docLink; + } + + public void setDocLink(String docLink) { + this.docLink = docLink; + } + + @XmlElement(name = "Key", required = true) public String getKey() { return key;