Added regex to validate Context state

This commit is contained in:
Luca Frosini 2024-07-02 17:30:34 +02:00
parent 25f9c744c0
commit 2913f117be
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public interface Context extends EntityElement, SchemaMixedElement {
public void setName(String name); public void setName(String name);
@ISProperty(name = STATE) @ISProperty(name = STATE, mandatory=true, nullable=false, regexpr = "[a-z]+")
public String getState(); public String getState();
public void setState(String state); public void setState(String state);