View Javadoc
1   package fr.ifremer.dali.dto.data.photo;
2   
3   import fr.ifremer.dali.dto.data.sampling.SamplingOperationDTO;
4   import fr.ifremer.dali.dto.referential.PhotoTypeDTO;
5   import fr.ifremer.quadrige3.ui.core.dto.QuadrigeAbstractBean;
6   import java.util.Date;
7   import javax.annotation.Generated;
8   
9   @Generated(value = "org.nuiton.eugene.java.SimpleJavaBeanTransformer", date = "Mon May 09 09:01:03 CEST 2022")
10  public abstract class AbstractPhotoDTOBean extends QuadrigeAbstractBean implements PhotoDTO {
11  
12      private static final long serialVersionUID = 3702864021082748516L;
13  
14      protected String name;
15  
16      protected String caption;
17  
18      protected Date date;
19  
20      protected String direction;
21  
22      protected String path;
23  
24      protected String fullPath;
25  
26      protected boolean dirty;
27  
28      protected Integer remoteId;
29  
30      protected SamplingOperationDTO samplingOperation;
31  
32      protected PhotoTypeDTO photoType;
33  
34      @Override
35      public String getName() {
36          return name;
37      }
38  
39      @Override
40      public void setName(String name) {
41          String oldValue = getName();
42          this.name = name;
43          firePropertyChange(PROPERTY_NAME, oldValue, name);
44      }
45  
46      @Override
47      public String getCaption() {
48          return caption;
49      }
50  
51      @Override
52      public void setCaption(String caption) {
53          String oldValue = getCaption();
54          this.caption = caption;
55          firePropertyChange(PROPERTY_CAPTION, oldValue, caption);
56      }
57  
58      @Override
59      public Date getDate() {
60          return date;
61      }
62  
63      @Override
64      public void setDate(Date date) {
65          Date oldValue = getDate();
66          this.date = date;
67          firePropertyChange(PROPERTY_DATE, oldValue, date);
68      }
69  
70      @Override
71      public String getDirection() {
72          return direction;
73      }
74  
75      @Override
76      public void setDirection(String direction) {
77          String oldValue = getDirection();
78          this.direction = direction;
79          firePropertyChange(PROPERTY_DIRECTION, oldValue, direction);
80      }
81  
82      @Override
83      public String getPath() {
84          return path;
85      }
86  
87      @Override
88      public void setPath(String path) {
89          String oldValue = getPath();
90          this.path = path;
91          firePropertyChange(PROPERTY_PATH, oldValue, path);
92      }
93  
94      @Override
95      public String getFullPath() {
96          return fullPath;
97      }
98  
99      @Override
100     public void setFullPath(String fullPath) {
101         String oldValue = getFullPath();
102         this.fullPath = fullPath;
103         firePropertyChange(PROPERTY_FULL_PATH, oldValue, fullPath);
104     }
105 
106     @Override
107     public boolean isDirty() {
108         return dirty;
109     }
110 
111     @Override
112     public void setDirty(boolean dirty) {
113         boolean oldValue = isDirty();
114         this.dirty = dirty;
115         firePropertyChange(PROPERTY_DIRTY, oldValue, dirty);
116     }
117 
118     @Override
119     public Integer getRemoteId() {
120         return remoteId;
121     }
122 
123     @Override
124     public void setRemoteId(Integer remoteId) {
125         Integer oldValue = getRemoteId();
126         this.remoteId = remoteId;
127         firePropertyChange(PROPERTY_REMOTE_ID, oldValue, remoteId);
128     }
129 
130     @Override
131     public SamplingOperationDTO getSamplingOperation() {
132         return samplingOperation;
133     }
134 
135     @Override
136     public void setSamplingOperation(SamplingOperationDTO samplingOperation) {
137         SamplingOperationDTO oldValue = getSamplingOperation();
138         this.samplingOperation = samplingOperation;
139         firePropertyChange(PROPERTY_SAMPLING_OPERATION, oldValue, samplingOperation);
140     }
141 
142     @Override
143     public PhotoTypeDTO getPhotoType() {
144         return photoType;
145     }
146 
147     @Override
148     public void setPhotoType(PhotoTypeDTO photoType) {
149         PhotoTypeDTO oldValue = getPhotoType();
150         this.photoType = photoType;
151         firePropertyChange(PROPERTY_PHOTO_TYPE, oldValue, photoType);
152     }
153 
154 } //AbstractPhotoDTOBean