mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Improve Input class in policy ui Configuration
This commit is contained in:
parent
56dec687c0
commit
f99bbe36de
@ -28,6 +28,9 @@ public class Input {
|
||||
private String type;
|
||||
private String placeholderValue;
|
||||
private List<Rule> rules;
|
||||
private String apiUrl;
|
||||
private String arrayPath;
|
||||
private String dataKey;
|
||||
|
||||
@XmlElement(name = "Type")
|
||||
public String getType() {
|
||||
@ -52,4 +55,31 @@ public class Input {
|
||||
public List<Rule> getRules() { return rules; }
|
||||
|
||||
public void setRules(List<Rule> rules) { this.rules = rules; }
|
||||
|
||||
@XmlElement(name = "Url")
|
||||
public String getUrl() {
|
||||
return apiUrl;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.apiUrl = url;
|
||||
}
|
||||
|
||||
@XmlElement(name = "ArrayPath")
|
||||
public String getArrayPath() {
|
||||
return arrayPath;
|
||||
}
|
||||
|
||||
public void setArrayPath(String arrayPath) {
|
||||
this.arrayPath = arrayPath;
|
||||
}
|
||||
|
||||
@XmlElement(name = "DataKey")
|
||||
public String getDataKey() {
|
||||
return dataKey;
|
||||
}
|
||||
|
||||
public void setDataKey(String dataKey) {
|
||||
this.dataKey = dataKey;
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,6 +45,7 @@ public class Item {
|
||||
private InputList inputList;
|
||||
private String nullableValue;
|
||||
private String divider;
|
||||
private boolean isHidden;
|
||||
|
||||
@XmlElement(name = "Label")
|
||||
public String getLabel() {
|
||||
@ -207,4 +208,13 @@ public class Item {
|
||||
public void setDivider(String divider) {
|
||||
this.divider = divider;
|
||||
}
|
||||
|
||||
@XmlElement(name = "Hidden")
|
||||
public boolean isHidden() {
|
||||
return isHidden;
|
||||
}
|
||||
|
||||
public void setHidden(boolean hidden) {
|
||||
isHidden = hidden;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user