View Javadoc
1   package fr.ifremer.quadrige3.ui.core.dto;
2   
3   /*-
4    * #%L
5    * Quadrige3 Core :: UI Core Common
6    * %%
7    * Copyright (C) 2017 - 2024 Ifremer
8    * %%
9    * This program is free software: you can redistribute it and/or modify
10   * it under the terms of the GNU Affero General Public License as published by
11   * the Free Software Foundation, either version 3 of the License, or
12   * (at your option) any later version.
13   * 
14   * This program is distributed in the hope that it will be useful,
15   * but WITHOUT ANY WARRANTY; without even the implied warranty of
16   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   * GNU General Public License for more details.
18   * 
19   * You should have received a copy of the GNU Affero General Public License
20   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
21   * #L%
22   */
23  import java.util.Collection;
24  import javax.annotation.Generated;
25  
26  @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon Jul 22 16:58:51 CEST 2024")
27  public interface ErrorDTO extends QuadrigeBean {
28  
29      String PROPERTY_ERROR = "error";
30  
31      String PROPERTY_WARNING = "warning";
32  
33      String PROPERTY_CONTROL = "control";
34  
35      String PROPERTY_CONTROL_ELEMENT_CODE = "controlElementCode";
36  
37      String PROPERTY_MESSAGE = "message";
38  
39      String PROPERTY_PROPERTY_NAME = "propertyName";
40  
41      String PROPERTY_PMFM_ID = "pmfmId";
42  
43      String PROPERTY_INDIVIDUAL_ID = "individualId";
44  
45      boolean isError();
46  
47      void setError(boolean error);
48  
49      boolean isWarning();
50  
51      void setWarning(boolean warning);
52  
53      boolean isControl();
54  
55      void setControl(boolean control);
56  
57      String getControlElementCode();
58  
59      void setControlElementCode(String controlElementCode);
60  
61      String getMessage();
62  
63      void setMessage(String message);
64  
65      String getPropertyName(int index);
66  
67      boolean isPropertyNameEmpty();
68  
69      int sizePropertyName();
70  
71      void addPropertyName(String propertyName);
72  
73      void addAllPropertyName(Collection<String> propertyName);
74  
75      boolean removePropertyName(String propertyName);
76  
77      boolean removeAllPropertyName(Collection<String> propertyName);
78  
79      boolean containsPropertyName(String propertyName);
80  
81      boolean containsAllPropertyName(Collection<String> propertyName);
82  
83      Collection<String> getPropertyName();
84  
85      void setPropertyName(Collection<String> propertyName);
86  
87      Integer getPmfmId();
88  
89      void setPmfmId(Integer pmfmId);
90  
91      Integer getIndividualId();
92  
93      void setIndividualId(Integer individualId);
94  
95  } //ErrorDTO