View Javadoc
1   package fr.ifremer.dali.ui.swing.content.extraction.list.external;
2   
3   /*
4    * #%L
5    * Dali :: UI
6    * $Id:$
7    * $HeadURL:$
8    * %%
9    * Copyright (C) 2014 - 2015 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.swing.model.AbstractEmptyUIModel;
27  
28  /**
29   * Created by Ludovic on 26/05/2015.
30   */
31  public class ExternalChooseUIModel extends AbstractEmptyUIModel<ExternalChooseUIModel> {
32  
33      private String email;
34      /** Constant <code>PROPERTY_EMAIL="email"</code> */
35      public static final String PROPERTY_EMAIL = "email";
36  
37      private String fileName;
38      /** Constant <code>PROPERTY_FILE_NAME="fileName"</code> */
39      public static final String PROPERTY_FILE_NAME = "fileName";
40  
41      /**
42       * <p>Getter for the field <code>email</code>.</p>
43       *
44       * @return a {@link java.lang.String} object.
45       */
46      public String getEmail() {
47          return email;
48      }
49  
50      /**
51       * <p>Setter for the field <code>email</code>.</p>
52       *
53       * @param email a {@link java.lang.String} object.
54       */
55      public void setEmail(String email) {
56          String oldValue = this.email;
57          this.email = email;
58          firePropertyChange(PROPERTY_EMAIL, oldValue, email);
59      }
60  
61      /**
62       * <p>Getter for the field <code>fileName</code>.</p>
63       *
64       * @return a {@link java.lang.String} object.
65       */
66      public String getFileName() {
67          return fileName;
68      }
69  
70      /**
71       * <p>Setter for the field <code>fileName</code>.</p>
72       *
73       * @param fileName a {@link java.lang.String} object.
74       */
75      public void setFileName(String fileName) {
76          String oldValue = this.fileName;
77          this.fileName = fileName;
78          firePropertyChange(PROPERTY_FILE_NAME, oldValue, fileName);
79      }
80  }