public class SettingsInfo extends Data
| Constructor and Description |
|---|
SettingsInfo(java.util.Collection<Setting> settings) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.json.JsonObjectBuilder |
convertToJson()
Converts this piece of data to JSON, which is then suitable of being stored in a database.
|
java.util.Map<java.lang.String,java.lang.Object> |
getIdToSettingsMap() |
protected java.lang.String |
getKey()
Returns a key with which data of this type can be identified.
|
getAnnotatedJsonpublic SettingsInfo(java.util.Collection<Setting> settings)
public java.util.Map<java.lang.String,java.lang.Object> getIdToSettingsMap()
protected javax.json.JsonObjectBuilder convertToJson()
DataData.getAnnotatedJson() and
a time stamp is added to the object.convertToJson in class Data