Project

General

Profile

Download (2.23 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2016 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.taxeditor.remoting.source;
10

    
11
/**
12
 * @author  a.kohlbecker
13
 * @date  Feb 10, 2016
14
 */
15
public class CdmServerInfoConfig {
16
    /**
17
     *
18
     */
19
    private String name;
20
    /**
21
     *
22
     */
23
    private String server;
24
    /**
25
     *
26
     */
27
    private int port;
28
    /**
29
     *
30
     */
31
    private String prefix;
32
    /**
33
     *
34
     */
35
    private boolean ignoreCdmLibVersion;
36

    
37
    /**
38
     *
39
     */
40
    public CdmServerInfoConfig(String name, String server, int port, String prefix, boolean ignoreCdmLibVersion) {
41
        this.name = name;
42
        this.server = server;
43
        this.port = port;
44
        this.prefix = prefix;
45
        this.ignoreCdmLibVersion = ignoreCdmLibVersion;
46
    }
47

    
48
    public CdmServerInfoConfig() {
49

    
50
    }
51

    
52
    /**
53
     * @return the name
54
     */
55
    public String getName() {
56
        return name;
57
    }
58

    
59
    /**
60
     * @param name the name to set
61
     */
62
    public void setName(String name) {
63
        this.name = name;
64
    }
65

    
66
    /**
67
     * @return the server
68
     */
69
    public String getServer() {
70
        return server;
71
    }
72

    
73
    /**
74
     * @param server the server to set
75
     */
76
    public void setServer(String server) {
77
        this.server = server;
78
    }
79

    
80
    /**
81
     * @return the port
82
     */
83
    public int getPort() {
84
        return port;
85
    }
86

    
87
    /**
88
     * @param port the port to set
89
     */
90
    public void setPort(int port) {
91
        this.port = port;
92
    }
93

    
94
    /**
95
     * @return the prefix
96
     */
97
    public String getPrefix() {
98
        return prefix;
99
    }
100

    
101
    /**
102
     * @param prefix the prefix to set
103
     */
104
    public void setPrefix(String prefix) {
105
        this.prefix = prefix;
106
    }
107

    
108
    /**
109
     * @return the ignoreCdmLibVersion
110
     */
111
    public boolean isIgnoreCdmLibVersion() {
112
        return ignoreCdmLibVersion;
113
    }
114

    
115
    /**
116
     * @param ignoreCdmLibVersion the ignoreCdmLibVersion to set
117
     */
118
    public void setIgnoreCdmLibVersion(boolean ignoreCdmLibVersion) {
119
        this.ignoreCdmLibVersion = ignoreCdmLibVersion;
120
    }
121
}
(6-6/7)