Added regex to validate Context state
This commit is contained in:
parent
25f9c744c0
commit
2913f117be
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue