* Added a description to the feature object

* Added the COMMAND enum to the Operation class
4.x.x
Dulitha Wijewantha 10 years ago
parent 9e68b5fdb8
commit 7f3516b2a6

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

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

Loading…
Cancel
Save