3738394041424344454647
public boolean isVotePersisted() { return vote != null && vote.getId() != null; } Object onAddRowFromOptions() { Option option = new Option(); vote.getOptions().add(option); voteService.persist(vote);