Revision 48003e9f
Added by Andreas Müller about 8 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/cuba/CubaTransformer.java | ||
---|---|---|
207 | 207 |
}else if (key.equalsIgnoreCase("?Ind.")){return PresenceAbsenceTerm.NATIVE_PRESENCE_QUESTIONABLE(); |
208 | 208 |
}else if (key.equalsIgnoreCase("?")){return PresenceAbsenceTerm.NATIVE_PRESENCE_QUESTIONABLE(); |
209 | 209 |
|
210 |
}else if (key.equalsIgnoreCase("Adv.")){return PresenceAbsenceTerm.INTRODUCED_ADVENTITIOUS();
|
|
211 |
}else if (key.equalsIgnoreCase("A")){return PresenceAbsenceTerm.INTRODUCED_ADVENTITIOUS();
|
|
210 |
}else if (key.equalsIgnoreCase("Adv.")){return PresenceAbsenceTerm.CASUAL();
|
|
211 |
}else if (key.equalsIgnoreCase("A")){return PresenceAbsenceTerm.CASUAL();
|
|
212 | 212 |
|
213 | 213 |
}else if (key.equalsIgnoreCase("Nat.")){return PresenceAbsenceTerm.NATURALISED(); |
214 | 214 |
}else if (key.equalsIgnoreCase("N")){return PresenceAbsenceTerm.NATURALISED(); |
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/faunaEuropaea/FaunaEuropaeaTransformer.java | ||
---|---|---|
111 | 111 |
case 240: return PresenceAbsenceTerm.INTRODUCED_DOUBTFULLY_INTRODUCED(); |
112 | 112 |
case 250: return PresenceAbsenceTerm.INTRODUCED(); |
113 | 113 |
case 260: return PresenceAbsenceTerm.INTRODUCED_UNCERTAIN_DEGREE_OF_NATURALISATION(); |
114 |
case 270: return PresenceAbsenceTerm.INTRODUCED_ADVENTITIOUS();
|
|
115 |
case 280: return PresenceAbsenceTerm.INTRODUCED_NATURALIZED();
|
|
114 |
case 270: return PresenceAbsenceTerm.CASUAL();
|
|
115 |
case 280: return PresenceAbsenceTerm.NATURALISED();
|
|
116 | 116 |
//case 310: return AbsenceTerm.NATIVE_REPORTED_IN_ERROR(); |
117 | 117 |
case 320: return PresenceAbsenceTerm.NATIVE_PRESENCE_QUESTIONABLE(); |
118 | 118 |
case 330: return PresenceAbsenceTerm.NATIVE_FORMERLY_NATIVE(); |
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTransformer.java | ||
---|---|---|
952 | 952 |
} else if (presenceTerm.equals(PresenceAbsenceTerm.NATIVE())) { |
953 | 953 |
result = STATUS_NATIVE; |
954 | 954 |
} else if (presenceTerm.equals(PresenceAbsenceTerm.INTRODUCED()) || |
955 |
presenceTerm.equals(PresenceAbsenceTerm.INTRODUCED_ADVENTITIOUS()) ||
|
|
955 |
presenceTerm.equals(PresenceAbsenceTerm.CASUAL()) ||
|
|
956 | 956 |
presenceTerm.equals(PresenceAbsenceTerm.INTRODUCED_UNCERTAIN_DEGREE_OF_NATURALISATION())) { |
957 | 957 |
result = STATUS_INTRODUCED; |
958 | 958 |
} else if (presenceTerm.equals(PresenceAbsenceTerm.NATURALISED()) |
959 |
|| presenceTerm.equals(PresenceAbsenceTerm.INTRODUCED_NATURALIZED())) {
|
|
959 |
|| presenceTerm.equals(PresenceAbsenceTerm.NATURALISED())) {
|
|
960 | 960 |
result = STATUS_NATURALISED; |
961 | 961 |
} else if (presenceTerm.equals(PresenceAbsenceTerm.INVASIVE())) { |
962 | 962 |
result = STATUS_INVASIVE; |
Also available in: Unified diff
#6000 Use new CASUAL Method instead of deprecated INTRODUCED_ADVENTITIOUS