View Javadoc
1   package fr.ifremer.dali.dto.referential;
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 AbstractSamplingEquipmentDTOBean extends BaseReferentialDTOBean implements SamplingEquipmentDTO {
8   
9       private static final long serialVersionUID = 7003716670643855669L;
10  
11      protected String description;
12  
13      protected Double size;
14  
15      protected String comment;
16  
17      protected UnitDTO unit;
18  
19      @Override
20      public String getDescription() {
21          return description;
22      }
23  
24      @Override
25      public void setDescription(String description) {
26          String oldValue = getDescription();
27          this.description = description;
28          firePropertyChange(PROPERTY_DESCRIPTION, oldValue, description);
29      }
30  
31      @Override
32      public Double getSize() {
33          return size;
34      }
35  
36      @Override
37      public void setSize(Double size) {
38          Double oldValue = getSize();
39          this.size = size;
40          firePropertyChange(PROPERTY_SIZE, oldValue, size);
41      }
42  
43      @Override
44      public String getComment() {
45          return comment;
46      }
47  
48      @Override
49      public void setComment(String comment) {
50          String oldValue = getComment();
51          this.comment = comment;
52          firePropertyChange(PROPERTY_COMMENT, oldValue, comment);
53      }
54  
55      @Override
56      public UnitDTO getUnit() {
57          return unit;
58      }
59  
60      @Override
61      public void setUnit(UnitDTO unit) {
62          UnitDTO oldValue = getUnit();
63          this.unit = unit;
64          firePropertyChange(PROPERTY_UNIT, oldValue, unit);
65      }
66  
67  } //AbstractSamplingEquipmentDTOBean