public boolean isWorkEstimationVotingComplete() { for (User user : getProject().getTeamMembers()) { RequirementEstimationVote vote = getEstimationVote(user); if (vote == null || vote.getEstimatedWork() == null) return false; } return true; }
public boolean containsWorkEstimationVotes() { for (RequirementEstimationVote vote : getEstimationVotes()) { if (vote.getEstimatedWork() != null) return true; } return false; }