View Javadoc

1   /*
2    * SymmetricDS is an open source database synchronization solution.
3    *   
4    * Copyright (C) Chris Henson <chenson42@users.sourceforge.net>
5    *
6    * This library is free software; you can redistribute it and/or
7    * modify it under the terms of the GNU Lesser General Public
8    * License as published by the Free Software Foundation; either
9    * version 3 of the License, or (at your option) any later version.
10   *
11   * This library is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14   * Lesser General Public License for more details.
15   *
16   * You should have received a copy of the GNU Lesser General Public
17   * License along with this library; if not, see
18   * <http://www.gnu.org/licenses/>.
19   */
20  
21  package org.jumpmind.symmetric.model;
22  
23  public class NodeChannel extends Channel {
24  
25      private static final long serialVersionUID = -2493052366767513160L;
26  
27      String nodeId;
28  
29      private boolean ignored;
30  
31      private boolean suspended;
32  
33      public boolean isIgnored() {
34          return ignored;
35      }
36  
37      public void setIgnored(boolean ignore) {
38          this.ignored = ignore;
39      }
40  
41      public boolean isSuspended() {
42          return suspended;
43      }
44  
45      public void setSuspended(boolean suspend) {
46          this.suspended = suspend;
47      }
48  
49      public String getNodeId() {
50          return nodeId;
51      }
52  
53      public void setNodeId(String nodeId) {
54          this.nodeId = nodeId;
55      }
56  }