ref #10222 handle count in Container
[cdmlib.git] / cdmlib-api / src / main / java / eu / etaxonomy / cdm / api / dto / portal / FeatureDto.java
1 /**
2 * Copyright (C) 2023 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9 package eu.etaxonomy.cdm.api.dto.portal;
10
11 import java.util.ArrayList;
12 import java.util.List;
13
14 /**
15 * @author a.mueller
16 * @date 10.01.2023
17 */
18 public class FeatureDto extends CdmBaseDto {
19
20 private String label;
21
22 private List<FactDto> facts = new ArrayList<>();
23
24 public String getLabel() {
25 return label;
26 }
27 public void setLabel(String label) {
28 this.label = label;
29 }
30
31 public List<FactDto> getFacts() {
32 return facts;
33 }
34 public void addFact(FactDto factDto) {
35 facts.add(factDto);
36 }
37 }