Revision 4abd9b52
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/remoting/source/CdmRemoteSource.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* Copyright (C) 2014 EDIT |
3 |
* European Distributed Institute of Taxonomy
|
|
3 |
* European Distributed Institute of Taxonomy |
|
4 | 4 |
* http://www.e-taxonomy.eu |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.taxeditor.remoting.source; |
10 | 10 |
|
11 |
import eu.etaxonomy.cdm.model.name.NomenclaturalCode; |
|
12 | 11 |
|
13 | 12 |
/** |
14 |
* Class representing a CDM remote source
|
|
13 |
* Class representing a CDM remote source |
|
15 | 14 |
* |
16 | 15 |
*/ |
17 | 16 |
public class CdmRemoteSource extends CdmRemoteSourceBase { |
18 |
|
|
17 |
|
|
19 | 18 |
/** |
20 | 19 |
* Creates a new instance of CdmRemoteSource |
21 |
*
|
|
20 |
* |
|
22 | 21 |
* @param name |
23 | 22 |
* @param server |
24 | 23 |
* @param port |
... | ... | |
29 | 28 |
public static CdmRemoteSource NewInstance() { |
30 | 29 |
return new CdmRemoteSource(DEFAULT_NAME, DEFAULT_SERVER, DEFAULT_PORT, DEFAULT_CONTEXT_PATH); |
31 | 30 |
} |
32 |
|
|
31 |
|
|
33 | 32 |
/** |
34 | 33 |
* Creates a new instance of CdmRemoteSource |
35 |
*
|
|
34 |
* |
|
36 | 35 |
* @param name |
37 | 36 |
* @param server |
38 | 37 |
* @param port |
... | ... | |
43 | 42 |
public static CdmRemoteSource NewInstance(String name, String server, int port, String contextPath) { |
44 | 43 |
return new CdmRemoteSource(name, server, port, contextPath); |
45 | 44 |
} |
46 |
|
|
45 |
|
|
47 | 46 |
/** |
48 | 47 |
* Creates a new CdmRemoteSource |
49 |
*
|
|
48 |
* |
|
50 | 49 |
* @param name |
51 | 50 |
* @param server |
52 | 51 |
* @param port |
53 | 52 |
* @param contextPath |
54 | 53 |
* @param nomenclaturalCode |
55 | 54 |
*/ |
56 |
private CdmRemoteSource(String name, String server, int port, String contextPath) {
|
|
55 |
private CdmRemoteSource(String name, String server, int port, String contextPath) { |
|
57 | 56 |
super(name, server, port, contextPath); |
58 |
|
|
57 |
|
|
59 | 58 |
} |
60 | 59 |
|
61 | 60 |
|
Also available in: Unified diff
Removed unused import