implemented adding/updating of item properties

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-10-15 09:26:16 +02:00
parent 846ef4a27a
commit 832be23e8c
7 changed files with 49 additions and 23 deletions

View File

@@ -1,7 +1,6 @@
/* © SRSoftware 2025 */
package de.srsoftware.umbrella.core.model;
import static de.srsoftware.tools.Optionals.nullable;
import static de.srsoftware.umbrella.core.Constants.*;
import de.srsoftware.tools.Mappable;
@@ -45,4 +44,9 @@ public class Property implements Mappable {
if (unit != null) map.put(UNIT,unit);
return map;
}
public Property value(Object newVal){
value = newVal;
return this;
}
}