Project

General

Profile

« Previous | Next » 

Revision 9dc896c9

Added by Andreas Müller almost 7 years ago

fix #6368 rename table and class TaxonNameBase

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/TaxonNameDescription.java
29 29

  
30 30
import eu.etaxonomy.cdm.hibernate.search.NotNullAwareIdBridge;
31 31
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
32
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
32
import eu.etaxonomy.cdm.model.name.TaxonName;
33 33
import eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy;
34 34
import eu.etaxonomy.cdm.strategy.cache.common.IdentifiableEntityDefaultCacheStrategy;
35 35

  
36 36
/**
37 37
 * This class represents all piece of information (not ruled by a {@link NomenclaturalCode nomenclatural code})
38
 * concerning a {@link TaxonNameBase taxon name} like for instance the content of its first
38
 * concerning a {@link TaxonName taxon name} like for instance the content of its first
39 39
 * publication (protolog) or a picture of this publication.
40 40
 *
41 41
 * @author a.mueller
......
62 62
    @ManyToOne(fetch = FetchType.LAZY)
63 63
    @Cascade({CascadeType.SAVE_UPDATE,CascadeType.MERGE})
64 64
    @FieldBridge(impl=NotNullAwareIdBridge.class)
65
    private TaxonNameBase<?,?> taxonName;
65
    private TaxonName<?,?> taxonName;
66 66

  
67 67
//******************* FACTORY ********************************************/
68 68

  
......
75 75

  
76 76

  
77 77
    /**
78
     * Creates a new taxon name description instance for the given {@link TaxonNameBase name}.
79
     * The new taxon name description will be also added to the {@link TaxonNameBase#getDescriptions() set of descriptions}
78
     * Creates a new taxon name description instance for the given {@link TaxonName name}.
79
     * The new taxon name description will be also added to the {@link TaxonName#getDescriptions() set of descriptions}
80 80
     * assigned to the given name.
81 81
     *
82 82
     * @see	#NewInstance()
83 83
     */
84
    public static TaxonNameDescription NewInstance(TaxonNameBase name){
84
    public static TaxonNameDescription NewInstance(TaxonName name){
85 85
        TaxonNameDescription description = new TaxonNameDescription();
86 86
        name.addDescription(description);
87 87
        return description;
......
100 100
//************************* GETTER /SETTER ***************************************/
101 101

  
102 102
    /**
103
     * Returns the {@link TaxonNameBase taxon name} to which <i>this</i> taxon name description
103
     * Returns the {@link TaxonName taxon name} to which <i>this</i> taxon name description
104 104
     * provides additional information not ruled by a {@link NomenclaturalCode nomenclatural code}.
105 105
     */
106
    public TaxonNameBase<?,?> getTaxonName() {
106
    public TaxonName<?,?> getTaxonName() {
107 107
        return taxonName;
108 108
    }
109 109

  

Also available in: Unified diff