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.
|
getAnnotatedJson
public SettingsInfo(java.util.Collection<Setting> settings)
public java.util.Map<java.lang.String,java.lang.Object> getIdToSettingsMap()
protected javax.json.JsonObjectBuilder convertToJson()
Data
Data.getAnnotatedJson()
and
a time stamp is added to the object.convertToJson
in class Data