Merge branch 'release/4.0.0'
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / eu / etaxonomy / taxeditor / remoting / source / CdmServerInfoConfig.java
1 // $Id$
2 /**
3 * Copyright (C) 2016 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.taxeditor.remoting.source;
11
12 /**
13 * @author a.kohlbecker
14 * @date Feb 10, 2016
15 */
16 public class CdmServerInfoConfig {
17 /**
18 *
19 */
20 private String name;
21 /**
22 *
23 */
24 private String server;
25 /**
26 *
27 */
28 private int port;
29 /**
30 *
31 */
32 private String prefix;
33 /**
34 *
35 */
36 private boolean ignoreCdmLibVersion;
37
38 /**
39 *
40 */
41 public CdmServerInfoConfig(String name, String server, int port, String prefix, boolean ignoreCdmLibVersion) {
42 this.name = name;
43 this.server = server;
44 this.port = port;
45 this.prefix = prefix;
46 this.ignoreCdmLibVersion = ignoreCdmLibVersion;
47 }
48
49 public CdmServerInfoConfig() {
50
51 }
52
53 /**
54 * @return the name
55 */
56 public String getName() {
57 return name;
58 }
59
60 /**
61 * @param name the name to set
62 */
63 public void setName(String name) {
64 this.name = name;
65 }
66
67 /**
68 * @return the server
69 */
70 public String getServer() {
71 return server;
72 }
73
74 /**
75 * @param server the server to set
76 */
77 public void setServer(String server) {
78 this.server = server;
79 }
80
81 /**
82 * @return the port
83 */
84 public int getPort() {
85 return port;
86 }
87
88 /**
89 * @param port the port to set
90 */
91 public void setPort(int port) {
92 this.port = port;
93 }
94
95 /**
96 * @return the prefix
97 */
98 public String getPrefix() {
99 return prefix;
100 }
101
102 /**
103 * @param prefix the prefix to set
104 */
105 public void setPrefix(String prefix) {
106 this.prefix = prefix;
107 }
108
109 /**
110 * @return the ignoreCdmLibVersion
111 */
112 public boolean isIgnoreCdmLibVersion() {
113 return ignoreCdmLibVersion;
114 }
115
116 /**
117 * @param ignoreCdmLibVersion the ignoreCdmLibVersion to set
118 */
119 public void setIgnoreCdmLibVersion(boolean ignoreCdmLibVersion) {
120 this.ignoreCdmLibVersion = ignoreCdmLibVersion;
121 }
122 }