View Javadoc
1   package fr.ifremer.reefdb.dto.referential.pmfm;
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.Set;
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 FractionDTO extends CommentAware, BaseReferentialDTO {
34  
35      String PROPERTY_DESCRIPTION = "description";
36  
37      String PROPERTY_COMMENT = "comment";
38  
39      String PROPERTY_MATRIXES = "matrixes";
40  
41      String getDescription();
42  
43      void setDescription(String description);
44  
45      String getComment();
46  
47      void setComment(String comment);
48  
49      MatrixDTO getMatrixes(int index);
50  
51      boolean isMatrixesEmpty();
52  
53      int sizeMatrixes();
54  
55      void addMatrixes(MatrixDTO matrixes);
56  
57      void addAllMatrixes(Collection<MatrixDTO> matrixes);
58  
59      boolean removeMatrixes(MatrixDTO matrixes);
60  
61      boolean removeAllMatrixes(Collection<MatrixDTO> matrixes);
62  
63      boolean containsMatrixes(MatrixDTO matrixes);
64  
65      boolean containsAllMatrixes(Collection<MatrixDTO> matrixes);
66  
67      Set<MatrixDTO> getMatrixes();
68  
69      void setMatrixes(Set<MatrixDTO> matrixes);
70  
71  } //FractionDTO