use of org.openremote.model.value.ObjectValue in project openremote by openremote.
the class GeoJSONFeature method setProperty.
protected GeoJSONFeature setProperty(String name, Value value) {
ObjectValue properties = objectValue.getObject("properties").orElse(Values.createObject());
properties.put(name, value);
if (!objectValue.hasKey("properties"))
objectValue.put("properties", properties);
return this;
}
Aggregations