/** @return a string array of the searchable fields for a model object */ @Override public List<SearchableField> getSearchableStrings() { List<SearchableField> searchString = new ArrayList<>(); searchString.addAll( Arrays.asList( new SearchableField("Short Name", getShortName()), new SearchableField("Description", getDescription()))); searchString.add(new SearchableField("Members", Utilities.commaSeparatedValues(teamMembers))); if (productOwnerProperty().get() != null) searchString.add(new SearchableField("PO", getProductOwner().getShortName())); if (scrumMasterProperty().get() != null) searchString.add(new SearchableField("SM", getScrumMaster().getShortName())); return searchString; }
public List<Person> getTeamMembers() { List<Person> list = new ArrayList<>(); list.addAll(teamMembers); return list; }
public List<Person> getDevTeam() { List<Person> list = new ArrayList<>(); list.addAll(devTeam); return list; }