Merge branch 'master' into 'master'

Update item bean class to get documentation link from xml

See merge request entgra/carbon-device-mgt!768
This commit is contained in:
Dharmakeerthi Lasantha 2021-05-13 03:42:45 +00:00
commit 3868f3abe8

View File

@ -27,6 +27,7 @@ public class Item {
private String label; private String label;
private String tooltip; private String tooltip;
private String docLink;
private String key; private String key;
private String value; private String value;
private boolean isRequired; private boolean isRequired;
@ -65,6 +66,16 @@ public class Item {
this.tooltip = tooltip; this.tooltip = tooltip;
} }
@XmlElement(name = "DocLink")
public String getDocLink() {
return docLink;
}
public void setDocLink(String docLink) {
this.docLink = docLink;
}
@XmlElement(name = "Key", required = true) @XmlElement(name = "Key", required = true)
public String getKey() { public String getKey() {
return key; return key;