SeriesGroup extends DefaultTagable implements Comparable<SeriesGroup> { public Type getType() { return type; } SeriesGroup(); private  SeriesGroup(Type type);  SeriesGroup(String name);  SeriesGroup(LocalDateTime date); boolean isNeedUpateFromGlobaTags(); void setNeedUpateFromGlobaTags(boolean needUpateFromGlobaTags); void updateDicomTags(); Type getType(); String getUID(); LocalDateTime getDate(); void setDate(LocalDateTime date); String getDisplayName(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override int compareTo(SeriesGroup that); void addLayerChangeListener(SeriesDataListener listener); void removeLayerChangeListener(SeriesDataListener listener); void fireDataChanged(); static final SeriesGroup DATE_SERIE; static final String DEFAULT_SERIE_NAME; }
@Test public void testGetters() { assertThat(s1.getType()).isEqualTo(SeriesGroup.Type.NONE); assertThat(s2.getType()).isEqualTo(SeriesGroup.Type.DATE); assertThat(s3.getType()).isEqualTo(SeriesGroup.Type.NAME); }