* Added a description to the feature object

* Added the COMMAND enum to the Operation class
merge-requests/7/head
Dulitha Wijewantha 10 years ago
parent 9e68b5fdb8
commit 7f3516b2a6

@ -21,6 +21,7 @@ public class Feature {
private int id;
private String name;
private String description;
private String deviceType;
private List<MetadataEntry> metadataEntries;
@ -56,6 +57,14 @@ public class Feature {
this.deviceType = deviceType;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public static class MetadataEntry {
private int id;

@ -24,7 +24,7 @@ import java.util.Properties;
public class Operation {
public enum Type {
CONFIG, MESSAGE, INFO
CONFIG, MESSAGE, INFO, COMMAND
}
private String code;

Loading…
Cancel
Save