}
@Override
public void setValues(FormPropertyDefinition otherDefinition) {
if(!(otherDefinition instanceof BooleanPropertyDefinition)) {
throw new SimpleWorkflowException("An instance of BooleanPropertyDefinition is required to set values");
}
BooleanPropertyDefinition datePropertyDefinition = (BooleanPropertyDefinition) otherDefinition;
setName(datePropertyDefinition.getName());
setMandatory(datePropertyDefinition.isMandatory());