* Added a description to the feature object

* Added the COMMAND enum to the Operation class
This commit is contained in:
Dulitha Wijewantha 2015-01-23 21:52:00 +05:30
parent 9e68b5fdb8
commit 7f3516b2a6
2 changed files with 10 additions and 1 deletions

View File

@ -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;

View File

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