Merge branch 'improvements' into 'master'

Improve policy bean classes

See merge request entgra/carbon-device-mgt!573
merge-requests/574/head
Dharmakeerthi Lasantha 4 years ago
commit d89277a8e7

@ -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;
}
}

@ -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;
}
}

Loading…
Cancel
Save