@Override
public void parseTextEntry(final String entryText) {
object = validateAndParse(entryText);
final Consent valid = ((OneToOneAssociation) getField()).isAssociationValid(getParent(), object);
if (valid.isVetoed()) {
throw new InvalidEntryException(valid.getReason());
}
if (getValueAssociation().isMandatory() && object == null) {
throw new InvalidEntryException("Mandatory field cannot be empty");
}
}