import org.joda.time.DateTime;
+import eu.etaxonomy.cdm.api.dto.portal.TaxonPageDto;
+import eu.etaxonomy.cdm.api.dto.portal.TaxonPageDto.ConceptRelationDTO;
import eu.etaxonomy.cdm.common.CdmUtils;
import eu.etaxonomy.cdm.format.taxon.TaxonRelationshipFormatter;
import eu.etaxonomy.cdm.model.common.Language;
*
* @author a.mueller
* @since 15.08.2018
+ * @deprecated not needed anymore after fully switching to {@link TaxonPageDto}
+ * and {@link ConceptRelationDTO}
*/
+@Deprecated
public class TaxonRelationshipsDTO {
private static final String SENSU_SEPARATOR = ", ";
+ /**
+ * @deprecated not needed anymore after fully switching to {@link TaxonPageDto}
+ * and {@link ConceptRelationDTO}
+ */
+ @Deprecated
public class TaxonRelationDTO{
private boolean doubtful = false;
loadBaseData(taxon, result);
result.setLastUpdated(getLastUpdated(null, taxon));
result.setLabel(CdmUtils.Nz(taxon.getTitleCache()));
-// result.setTypedTaxonLabel(getTypedTaxonLabel(taxon, config));
+// result.setTypedTaxonLabel(getTypedTaxonLabel(taxon, config));
result.setTaggedLabel(getTaggedTaxon(taxon, config));
if (name != null) {
handleName(config, result, name, result);