Merge branch 'improvements' into 'master'

Improve policy bean classes

See merge request entgra/carbon-device-mgt!573
revert-70ac1926
Dharmakeerthi Lasantha 4 years ago
commit d89277a8e7

@ -31,6 +31,7 @@ public class Column {
private Select select; private Select select;
private Input input; private Input input;
private Upload upload; private Upload upload;
private Checkbox checkbox;
@XmlAttribute(name = "name", required = true) @XmlAttribute(name = "name", required = true)
public String getName() { return name; } public String getName() { return name; }
@ -86,4 +87,13 @@ public class Column {
public void setUpload(Upload upload) { public void setUpload(Upload upload) {
this.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 { public class Upload {
private String placeholderValue; private String placeholderValue;
private Boolean showContent; private Boolean showContent;
private Boolean setFileName;
@XmlElement(name = "Placeholder") @XmlElement(name = "Placeholder")
public String getPlaceholderValue() { public String getPlaceholderValue() {
@ -42,4 +43,13 @@ public class Upload {
public void setShowContent(Boolean showContent) { public void setShowContent(Boolean showContent) {
this.showContent = showContent; this.showContent = showContent;
} }
@XmlElement(name = "SetFileName")
public Boolean getSetFileName() {
return setFileName;
}
public void setSetFileName(Boolean setFileName) {
this.setFileName = setFileName;
}
} }

Loading…
Cancel
Save