View Javadoc
1   package fr.ifremer.dali.ui.swing.content.manage.program.programs.users;
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  
27  import fr.ifremer.dali.ui.swing.content.manage.program.programs.ProgramsTableRowModel;
28  import fr.ifremer.quadrige3.ui.swing.model.AbstractEmptyUIModel;
29  
30  /**
31   * <p>UsersDialogUIModel class.</p>
32   *
33   */
34  public class UsersDialogUIModel extends AbstractEmptyUIModel<UsersDialogUIModel> {
35  
36      private Boolean managerList;
37  
38      private ProgramsTableRowModel program;
39      /** Constant <code>PROPERTY_PROGRAM="program"</code> */
40      public static final String PROPERTY_PROGRAM = "program";
41  
42      /**
43       * <p>Getter for the field <code>program</code>.</p>
44       *
45       * @return a {@link fr.ifremer.dali.ui.swing.content.manage.program.programs.ProgramsTableRowModel} object.
46       */
47      public ProgramsTableRowModel getProgram() {
48          return program;
49      }
50  
51      /**
52       * <p>Setter for the field <code>program</code>.</p>
53       *
54       * @param program a {@link fr.ifremer.dali.ui.swing.content.manage.program.programs.ProgramsTableRowModel} object.
55       */
56      public void setProgram(ProgramsTableRowModel program) {
57          this.program = program;
58          firePropertyChange(PROPERTY_PROGRAM, null, program);
59      }
60  
61      /**
62       * <p>Getter for the field <code>managerList</code>.</p>
63       *
64       * @return a {@link java.lang.Boolean} object.
65       */
66      public Boolean getManagerList() {
67          return managerList;
68      }
69  
70      /**
71       * <p>Setter for the field <code>managerList</code>.</p>
72       *
73       * @param managerList a {@link java.lang.Boolean} object.
74       */
75      public void setManagerList(Boolean managerList) {
76          this.managerList = managerList;
77      }
78  }