View Javadoc
1   package fr.ifremer.reefdb.dto;
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.QuadrigeBean;
27  import java.util.Collection;
28  import javax.annotation.Generated;
29  
30  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:00 CEST 2022")
31  public interface ErrorDTO extends QuadrigeBean {
32  
33      String PROPERTY_ERROR = "error";
34  
35      String PROPERTY_WARNING = "warning";
36  
37      String PROPERTY_CONTROL = "control";
38  
39      String PROPERTY_CONTROL_ELEMENT_CODE = "controlElementCode";
40  
41      String PROPERTY_MESSAGE = "message";
42  
43      String PROPERTY_PROPERTY_NAME = "propertyName";
44  
45      String PROPERTY_PMFM_ID = "pmfmId";
46  
47      String PROPERTY_INDIVIDUAL_ID = "individualId";
48  
49      boolean isError();
50  
51      void setError(boolean error);
52  
53      boolean isWarning();
54  
55      void setWarning(boolean warning);
56  
57      boolean isControl();
58  
59      void setControl(boolean control);
60  
61      String getControlElementCode();
62  
63      void setControlElementCode(String controlElementCode);
64  
65      String getMessage();
66  
67      void setMessage(String message);
68  
69      String getPropertyName(int index);
70  
71      boolean isPropertyNameEmpty();
72  
73      int sizePropertyName();
74  
75      void addPropertyName(String propertyName);
76  
77      void addAllPropertyName(Collection<String> propertyName);
78  
79      boolean removePropertyName(String propertyName);
80  
81      boolean removeAllPropertyName(Collection<String> propertyName);
82  
83      boolean containsPropertyName(String propertyName);
84  
85      boolean containsAllPropertyName(Collection<String> propertyName);
86  
87      Collection<String> getPropertyName();
88  
89      void setPropertyName(Collection<String> propertyName);
90  
91      Integer getPmfmId();
92  
93      void setPmfmId(Integer pmfmId);
94  
95      Integer getIndividualId();
96  
97      void setIndividualId(Integer individualId);
98  
99  } //ErrorDTO