super();
this.formProperty = formProperty;
validationConstraints = new ArrayList<FormFieldValidationConstraint>();
if(formProperty.isRequired()) {
validationConstraints.add(new FormFieldValidationConstraintImpl("required", null));
}
if(!formProperty.isWritable()) {
validationConstraints.add(new FormFieldValidationConstraintImpl("readonly", null));
}
}