Project

General

Profile

Revision 1f8fb182

ID1f8fb1822136f8591520d17eb641bef1c439db06
Parent 529e3037
Child 607c4d51

Added by Andreas Müller over 3 years ago

cleanup

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/DbImportConfiguratorBase.java
23 23
 * @author a.mueller
24 24
 * @created 20.03.2008
25 25
 */
26
public abstract class DbImportConfiguratorBase<STATE extends DbImportStateBase> extends ImportConfiguratorBase<STATE, Source> implements IImportConfigurator{
27
	@SuppressWarnings("unused")
26
public abstract class DbImportConfiguratorBase<STATE extends DbImportStateBase>
27
            extends ImportConfiguratorBase<STATE, Source> {
28

  
29
    private static final long serialVersionUID = 3474072167155099394L;
28 30
	private static Logger logger = Logger.getLogger(DbImportConfiguratorBase.class);
29 31

  
30 32
	private Method userTransformationMethod;
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/reference/ris/in/RisReferenceImportConfigurator.java
18 18
import org.apache.commons.io.IOUtils;
19 19

  
20 20
import eu.etaxonomy.cdm.database.ICdmDataSource;
21
import eu.etaxonomy.cdm.io.common.mapping.IInputTransformer;
22 21
import eu.etaxonomy.cdm.io.excel.common.ExcelImportConfiguratorBase;
23 22
import eu.etaxonomy.cdm.model.reference.Reference;
24 23
import eu.etaxonomy.cdm.model.reference.ReferenceFactory;
......
32 31
        extends ExcelImportConfiguratorBase{
33 32

  
34 33
    private static final long serialVersionUID = -5982826645441621962L;
35
    private static IInputTransformer defaultTransformer = null;
34
//    private static IInputTransformer defaultTransformer = null;
36 35

  
37 36
    /**
38 37
     * @param uri
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/ITaxonNameBase.java
90 90
     * @param toName          the taxon name of the target for this new name relationship
91 91
     * @param type            the type of this new name relationship
92 92
     * @param ruleConsidered  the string which specifies the rule on which this name relationship is based
93
     * @return
93 94
     * @see                   #getRelationsToThisName()
94 95
     * @see                   #getNameRelations()
95 96
     * @see                   #addRelationshipFromName(TaxonNameBase, NameRelationshipType, String)
96 97
     * @see                   #addNameRelationship(NameRelationship)
97 98
     */
98
    public void addRelationshipToName(TaxonNameBase toName, NameRelationshipType type, String ruleConsidered);
99
    public NameRelationship addRelationshipToName(TaxonNameBase toName, NameRelationshipType type, String ruleConsidered);
99 100

  
100 101
    /**
101 102
     * Creates a new {@link NameRelationship#NameRelationship(TaxonNameBase, TaxonNameBase, NameRelationshipType, String) name relationship} from <i>this</i> taxon name to another taxon name
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/TaxonNameBase.java
1610 1610
     * @param toName		  the taxon name of the target for this new name relationship
1611 1611
     * @param type			  the type of this new name relationship
1612 1612
     * @param ruleConsidered  the string which specifies the rule on which this name relationship is based
1613
     * @return
1613 1614
     * @see    				  #getRelationsToThisName()
1614 1615
     * @see    				  #getNameRelations()
1615 1616
     * @see    				  #addRelationshipFromName(TaxonNameBase, NameRelationshipType, String)
1616 1617
     * @see    				  #addNameRelationship(NameRelationship)
1617 1618
     */
1618 1619
    @Override
1619
    public void addRelationshipToName(TaxonNameBase toName, NameRelationshipType type, String ruleConsidered){
1620
        addRelationshipToName(toName, type, null, null, ruleConsidered);
1621
        //		NameRelationship rel = new NameRelationship(toName, this, type, ruleConsidered);
1620
    public NameRelationship addRelationshipToName(TaxonNameBase toName, NameRelationshipType type, String ruleConsidered){
1621
        return addRelationshipToName(toName, type, null, null, ruleConsidered);
1622 1622
    }
1623 1623

  
1624 1624
    /**
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/config/MatchingTaxonConfigurator.java
86 86
	}
87 87

  
88 88
	/**
89
	 * Default is <code>true</code>.
89 90
	 * @param includeSynonyms the includeSynonyms to set
90 91
	 */
91 92
	public void setIncludeSynonyms(boolean includeSynonyms) {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)