Project

General

Profile

Download (1.16 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2014 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
 * Class representing a CDM remote source
13
 */
14
public class CdmRemoteSource extends CdmRemoteSourceBase {
15

    
16
	/**
17
	 * Creates a new instance of CdmRemoteSource
18
	 */
19
	public static CdmRemoteSource NewInstance() {
20
		return new CdmRemoteSource(DEFAULT_NAME, DEFAULT_SERVER, DEFAULT_PORT, DEFAULT_CONTEXT_PATH);
21
	}
22

    
23
	/**
24
	 * Creates a new instance of CdmRemoteSource
25
	 *
26
	 * @param name
27
	 * @param server
28
	 * @param port
29
	 * @param contextPath
30
	 * @return
31
	 */
32
	public static CdmRemoteSource NewInstance(String name, String server, int port, String contextPath) {
33
		return new CdmRemoteSource(name, server, port, contextPath);
34
	}
35

    
36
	/**
37
	 * Creates a new CdmRemoteSource
38
	 *
39
	 * @param name
40
	 * @param server
41
	 * @param port
42
	 * @param contextPath
43
	 */
44
	private CdmRemoteSource(String name, String server, int port, String contextPath) {
45
		super(name, server, port, contextPath);
46
	}
47
}
(2-2/7)