comments and javadoc
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / eu / etaxonomy / cdm / remote / CdmPersistentRemoteSource.java
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
10 package eu.etaxonomy.cdm.remote;
11
12 import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
13
14 /**
15 * Class representing a CDM remote source which can be persisted to a source config file
16 *
17 */
18 public class CdmPersistentRemoteSource extends CdmRemoteSourceBase {
19
20 /**
21 * Creates a new instance of CdmPersistentRemoteSource
22 *
23 * @param name
24 * @param server
25 * @param port
26 * @param contextPath
27 * @param nomenclaturalCode
28 * @return
29 */
30 public CdmPersistentRemoteSource NewInstance(String name, String server, int port, String contextPath, NomenclaturalCode nomenclaturalCode) {
31 return new CdmPersistentRemoteSource(name, server, port, contextPath, nomenclaturalCode);
32 }
33
34 /**
35 * Creates a new CdmPersistentRemoteSource
36 *
37 * @param name
38 * @param server
39 * @param port
40 * @param contextPath
41 * @param nomenclaturalCode
42 */
43 private CdmPersistentRemoteSource(String name, String server, int port, String contextPath, NomenclaturalCode nomenclaturalCode) {
44 super(name, server, port, contextPath, nomenclaturalCode);
45
46 }
47
48 }