Project

General

Profile

Revision 70f3e481

ID70f3e481216d1be9cecaaf0948b495771573d282
Parent 9e2583cf
Child d4f17a57

Added by Patrick Plitzner about 5 years ago

#5448 Add missing ranks to transformer

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenTransformer.java
48 48
        else if (key.equals("SER")){return Rank.SERIES();}
49 49
        else if (key.equals("GRE")){return Rank.GREX();}
50 50
        else if (key.equals("AGG")){return Rank.SPECIESAGGREGATE();}
51
        else if (key.equals("SFO")){return Rank.SUBFORM();}
52
        else if (key.equals("SLU")){return Rank.SUBLUSUS();}
53
        //FIXME implement ranks
54
//        else if (key.equals("LUS")){return Rank.LUSUS();}
55
//        else if (key.equals("SPR")){return Rank.SUBPROLES();}
56
//        else if (key.equals("SAM")){return Rank.SAMMELART();}
57
//        else if (key.equals("MOD")){return Rank.MODIFICATIO();}
58
//        else if (key.equals("KMB")){return Rank.COMBINATION();}
59
//        else if (key.equals("SPI")){return Rank.SUBSPECIESPRINCIPES();}
51 60
        else if (key.equals("GRO") || key.equals("GRU")){return Rank.SPECIESGROUP();}
52
        else if (key.equals("ORA")){return null;}
53 61
        else if (key.equals("?")){return Rank.UNKNOWN_RANK();}
54 62
        return null;
55 63
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)