My bean have annotated field
@Size(min=5,message="Surname should have {min} chars",groups=IClientExtendedForm.class)
@NotNull(groups=IClientExtendedForm.class)
private String password;
granite plugin generates
[Size(groups="ClientExtendedForm", min="5", max="
2147483647", message="Surname should have {min} chars")]
[NotNull(groups="IClientExtendedForm", message="{javax.validation.constraints.NotNull.message}")]
public function get password():String {
return _password;
}
plus interface
package {
public interface IClientExtendedForm {