@Test public void testGetGroupKey() { final AisProject project = new AisProject("", Arrays.asList(new DetailCategory(null, "x", "", true, null, null))); Assert.assertEquals("a", project.getGroupKey(new Interview("a", 1))); }
@Override public String getGroupKey(final Object interview) { return ((Interview) interview).getParticipantId(); }
AisProject implements IMultiObjectModel<AisProject, Interview>, IDetailCategoryProvider { @Override public String getGroupKey(final Object interview) { return ((Interview) interview).getParticipantId(); } }
AisProject implements IMultiObjectModel<AisProject, Interview>, IDetailCategoryProvider { @Override public String getGroupKey(final Object interview) { return ((Interview) interview).getParticipantId(); } AisProject(final String label, final List<DetailCategory> categories); }
AisProject implements IMultiObjectModel<AisProject, Interview>, IDetailCategoryProvider { @Override public String getGroupKey(final Object interview) { return ((Interview) interview).getParticipantId(); } AisProject(final String label, final List<DetailCategory> categories); String getLabel(); AisProject setLabel(final String value); List<Interview> getInterviews(); AisProject setInterviews(final List<Interview> value); AisProject setCategories(final List<DetailCategory> value); @Override String getGroupKey(final Object interview); @Override Map<String, List<Interview>> getSubModelObjects(); @Override List<DetailCategory> provide(); @Override List<DetailCategory> provideSelectables(); @Override AisProject clone(); @Override int hashCode(); @Override boolean equals(final Object otherObject); }
AisProject implements IMultiObjectModel<AisProject, Interview>, IDetailCategoryProvider { @Override public String getGroupKey(final Object interview) { return ((Interview) interview).getParticipantId(); } AisProject(final String label, final List<DetailCategory> categories); String getLabel(); AisProject setLabel(final String value); List<Interview> getInterviews(); AisProject setInterviews(final List<Interview> value); AisProject setCategories(final List<DetailCategory> value); @Override String getGroupKey(final Object interview); @Override Map<String, List<Interview>> getSubModelObjects(); @Override List<DetailCategory> provide(); @Override List<DetailCategory> provideSelectables(); @Override AisProject clone(); @Override int hashCode(); @Override boolean equals(final Object otherObject);  }