View Javadoc
1   package fr.ifremer.reefdb.dto.referential;
2   
3   /*-
4    * #%L
5    * Reef DB :: Core
6    * $Id:$
7    * $HeadURL:$
8    * %%
9    * Copyright (C) 2014 - 2022 Ifremer
10   * %%
11   * This program is free software: you can redistribute it and/or modify
12   * it under the terms of the GNU Affero General Public License as published by
13   * the Free Software Foundation, either version 3 of the License, or
14   * (at your option) any later version.
15   * 
16   * This program is distributed in the hope that it will be useful,
17   * but WITHOUT ANY WARRANTY; without even the implied warranty of
18   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19   * GNU General Public License for more details.
20   * 
21   * You should have received a copy of the GNU Affero General Public License
22   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
23   * #L%
24   */
25  
26  import fr.ifremer.quadrige3.ui.core.dto.CommentAware;
27  import fr.ifremer.quadrige3.ui.core.dto.referential.BaseReferentialDTO;
28  import java.util.Collection;
29  import java.util.List;
30  import javax.annotation.Generated;
31  
32  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:00 CEST 2022")
33  public interface TaxonGroupDTO extends CommentAware, BaseReferentialDTO {
34  
35      String PROPERTY_LABEL = "label";
36  
37      String PROPERTY_COMMENT = "comment";
38  
39      String PROPERTY_TYPE = "type";
40  
41      String PROPERTY_UPDATE = "update";
42  
43      String PROPERTY_EXCLUSIVE = "exclusive";
44  
45      String PROPERTY_TAXONS = "taxons";
46  
47      String PROPERTY_PARENT_TAXON_GROUP = "parentTaxonGroup";
48  
49      String getLabel();
50  
51      void setLabel(String label);
52  
53      String getComment();
54  
55      void setComment(String comment);
56  
57      String getType();
58  
59      void setType(String type);
60  
61      boolean isUpdate();
62  
63      void setUpdate(boolean update);
64  
65      boolean isExclusive();
66  
67      void setExclusive(boolean exclusive);
68  
69      TaxonDTO getTaxons(int index);
70  
71      boolean isTaxonsEmpty();
72  
73      int sizeTaxons();
74  
75      void addTaxons(TaxonDTO taxons);
76  
77      void addAllTaxons(Collection<TaxonDTO> taxons);
78  
79      boolean removeTaxons(TaxonDTO taxons);
80  
81      boolean removeAllTaxons(Collection<TaxonDTO> taxons);
82  
83      boolean containsTaxons(TaxonDTO taxons);
84  
85      boolean containsAllTaxons(Collection<TaxonDTO> taxons);
86  
87      List<TaxonDTO> getTaxons();
88  
89      void setTaxons(List<TaxonDTO> taxons);
90  
91      TaxonGroupDTO getParentTaxonGroup();
92  
93      void setParentTaxonGroup(TaxonGroupDTO parentTaxonGroup);
94  
95  } //TaxonGroupDTO