View Javadoc
1   package fr.ifremer.dali.dto.referential.pmfm;
2   
3   import fr.ifremer.quadrige3.ui.core.dto.referential.BaseReferentialDTOBean;
4   import javax.annotation.Generated;
5   
6   @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:03 CEST 2022")
7   public abstract class AbstractParameterGroupDTOBean extends BaseReferentialDTOBean implements ParameterGroupDTO {
8   
9       private static final long serialVersionUID = 3486175567243404337L;
10  
11      protected String description;
12  
13      protected ParameterGroupDTO parentParameterGroup;
14  
15      @Override
16      public String getDescription() {
17          return description;
18      }
19  
20      @Override
21      public void setDescription(String description) {
22          String oldValue = getDescription();
23          this.description = description;
24          firePropertyChange(PROPERTY_DESCRIPTION, oldValue, description);
25      }
26  
27      @Override
28      public ParameterGroupDTO getParentParameterGroup() {
29          return parentParameterGroup;
30      }
31  
32      @Override
33      public void setParentParameterGroup(ParameterGroupDTO parentParameterGroup) {
34          ParameterGroupDTO oldValue = getParentParameterGroup();
35          this.parentParameterGroup = parentParameterGroup;
36          firePropertyChange(PROPERTY_PARENT_PARAMETER_GROUP, oldValue, parentParameterGroup);
37      }
38  
39  } //AbstractParameterGroupDTOBean