001package org.gbif.api.model.common; 002 003import lombok.AllArgsConstructor; 004import lombok.Data; 005 006import lombok.NoArgsConstructor; 007 008import org.gbif.api.v2.RankedName; 009import org.gbif.api.v2.Usage; 010 011import java.util.List; 012 013/** 014 * Represents a classification of a taxon, including its usage, accepted usage, 015 * and any issues associated with it. 016 */ 017@Data 018@AllArgsConstructor 019@NoArgsConstructor 020public class Classification { 021 022 /** The usage that has been matched to */ 023 private Usage usage; 024 /** The accepted usage of the taxon */ 025 private Usage acceptedUsage; 026 /** The taxonomic status **/ 027 private String taxonomicStatus; 028 /** The full taxonomic classification of the taxon */ 029 private List<RankedName> classification; 030 /** The IUCN status of the taxon */ 031 private String iucnRedListCategoryCode; 032 /** The issues associated with the match to this classification */ 033 private List<String> issues; 034}