mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
* Added a description to the feature object
* Added the COMMAND enum to the Operation class
This commit is contained in:
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…
Reference in New Issue
Block a user