Project

General

Profile

Revision 310f2e0f

ID310f2e0fb610e6831ee5b949b39cb90f87cd3faf
Parent f0572620
Child 3c8d638c

Added by Andreas Müller about 3 years ago

#5981 Add abbreviation to Rank "Cultivar"

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/Rank.java
53 53
 * </ul>
54 54
 *
55 55
 * @author m.doering
56
 * @version 1.0
57 56
 * @created 08-Nov-2007 13:06:46
58 57
 */
59 58
@XmlAccessorType(XmlAccessType.FIELD)
......
955 954
        Language language = Language.getLanguageFromUuid(Language.uuidEnglish);
956 955
        String result = this.getRepresentation(language).getAbbreviatedLabel();
957 956
        if (result== null) {
958
             logger.warn("Abbreviation for this Rank " + this.toString() +  " not yet implemented");
957
            logger.warn("Abbreviation for rank " + this.toString() +  " not yet implemented");
959 958
            return "no abbreviation available.";
960 959
        }else{
961 960
            return result;
cdmlib-model/src/main/resources/terms/Rank.csv
66 66
"08dcb4ff-ac58-48a3-93af-efb3d836ac84",,"Grex","Grex","grex","IS"
67 67
"6b4063bc-f934-4796-9bf3-0ef3aea5c1cb",,"Graft Chimaera","Graft Chimaera",,"IS"
68 68
"d763e7d3-e7de-4bb1-9d75-225ca6948659",,"Cultivar Group","Cultivar Group",,"IS"
69
"5e98415b-dc6e-440b-95d6-ea33dbb39ad0",,"Cultivar","Cultivar",,"IS"
69
"5e98415b-dc6e-440b-95d6-ea33dbb39ad0",,"Cultivar","Cultivar","cv.","IS"
70 70
"5c4d6755-2cf6-44ca-9220-cccf8881700b",,"Unknown Rank","Unknown Rank","unknown","UN"

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)