Merge branch 'master' into 'master'

Update Item bean by adding Nullable value

See merge request entgra/carbon-device-mgt!572
4.x.x
Dharmakeerthi Lasantha 4 years ago
commit c489c39107

@ -43,6 +43,7 @@ public class Item {
private APITable apiTable; private APITable apiTable;
private Text text; private Text text;
private InputList inputList; private InputList inputList;
private String nullableValue;
@XmlElement(name = "Label") @XmlElement(name = "Label")
public String getLabel() { public String getLabel() {
@ -62,7 +63,7 @@ public class Item {
this.tooltip = tooltip; this.tooltip = tooltip;
} }
@XmlElement(name = "Key") @XmlElement(name = "Key", required = true)
public String getKey() { public String getKey() {
return key; return key;
} }
@ -71,7 +72,7 @@ public class Item {
this.key = key; this.key = key;
} }
@XmlElement(name = "Value") @XmlElement(name = "Value", required = true)
public String getValue() { public String getValue() {
return value; return value;
} }
@ -187,4 +188,13 @@ public class Item {
public void setInputList(InputList inputList) { public void setInputList(InputList inputList) {
this.inputList = inputList; this.inputList = inputList;
} }
@XmlElement(name = "NullableValue")
public String getNullableValue() {
return nullableValue;
}
public void setNullableValue(String nullableValue) {
this.nullableValue = nullableValue;
}
} }

Loading…
Cancel
Save