View Javadoc

1   /*
2    * SymmetricDS is an open source database synchronization solution.
3    *   
4    * Copyright (C) Chris Henson <chenson42@users.sourceforge.net>,
5    *               Eric Long <erilong@users.sourceforge.net>,
6    *
7    * This library is free software; you can redistribute it and/or
8    * modify it under the terms of the GNU Lesser General Public
9    * License as published by the Free Software Foundation; either
10   * version 3 of the License, or (at your option) any later version.
11   *
12   * This library is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this library; if not, see
19   * <http://www.gnu.org/licenses/>.
20   */
21  
22  package org.jumpmind.symmetric.model;
23  
24  import java.util.Date;
25  
26  public class NodeSecurity {
27  
28      private static final long serialVersionUID = 1L;
29  
30      private String nodeId;
31  
32      private String password;
33  
34      private boolean registrationEnabled;
35  
36      private Date registrationTime;
37      
38      private boolean initialLoadEnabled;
39  
40      private Date initialLoadTime;
41      
42      private String createdByNodeId;
43  
44      public String getNodeId() {
45          return nodeId;
46      }
47  
48      public void setNodeId(String nodeId) {
49          this.nodeId = nodeId;
50      }
51  
52      public String getPassword() {
53          return password;
54      }
55  
56      public void setPassword(String password) {
57          this.password = password;
58      }
59  
60      public boolean isRegistrationEnabled() {
61          return registrationEnabled;
62      }
63  
64      public void setRegistrationEnabled(boolean registrationEnabled) {
65          this.registrationEnabled = registrationEnabled;
66      }
67  
68      public Date getRegistrationTime() {
69          return registrationTime;
70      }
71  
72      public void setRegistrationTime(Date registrationTime) {
73          this.registrationTime = registrationTime;
74      }
75  
76      public boolean isInitialLoadEnabled() {
77          return initialLoadEnabled;
78      }
79  
80      public void setInitialLoadEnabled(boolean initialLoadEnabled) {
81          this.initialLoadEnabled = initialLoadEnabled;
82      }
83  
84      public Date getInitialLoadTime() {
85          return initialLoadTime;
86      }
87  
88      public void setInitialLoadTime(Date initialLoadTime) {
89          this.initialLoadTime = initialLoadTime;
90      }
91  
92      public String getCreatedByNodeId() {
93          return createdByNodeId;
94      }
95  
96      public void setCreatedByNodeId(String createdByNodeId) {
97          this.createdByNodeId = createdByNodeId;
98      }
99  
100 }