001package org.gbif.api.model.collections.descriptors; 002 003import java.io.Serializable; 004import java.util.ArrayList; 005import java.util.Date; 006import java.util.HashMap; 007import java.util.List; 008import java.util.Map; 009import lombok.Data; 010import org.gbif.api.v2.RankedName; 011import org.gbif.api.vocabulary.Country; 012import org.gbif.api.vocabulary.Rank; 013import org.gbif.api.vocabulary.TypeStatus; 014 015@Data 016public class Descriptor implements Serializable { 017 018 private long key; 019 private Long descriptorGroupKey; 020 private Integer usageKey; 021 private String usageName; 022 private Rank usageRank; 023 private Country country; 024 private Integer individualCount; 025 private List<String> identifiedBy; 026 private Date dateIdentified; 027 private List<String> typeStatus; 028 private List<String> recordedBy; 029 private String discipline; 030 private String objectClassification; 031 private List<RankedName> taxonClassification; 032 private List<String> issues = new ArrayList<>(); 033 private Map<String, String> verbatim = new HashMap<>(); 034}