Project

General

Profile

Revision 16345de5

ID16345de54aa7134a6cbb0636a7454c8f2b4b2e27
Parent f2716206
Child ee6e93fe

Added by Katja Luther over 2 years ago

adapt source reference in ABCD import

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/abcd206/in/Abcd206Import.java
159 159
                            state.setRef(state.getConfig().getSourceReference());
160 160
                        }else{
161 161
                            state.setRef(ReferenceFactory.newGeneric());
162
                            state.getRef().setUri(sourceUri);
163
                            state.getRef().setTitle(StringUtils.substringAfter(sourceUri.toString(), "dsa="));
162 164

  
163
                            if (state.getConfig().getSourceReferenceTitle() != null){
165
                            if (!StringUtils.isBlank(state.getConfig().getSourceReferenceTitle())){
164 166
                                state.getRef().setTitle(state.getConfig().getSourceReferenceTitle());
165
                            } else{
166
                                state.getRef().setTitle("ABCD Import Source Reference");
167 167
                            }
168 168
                        }
169 169

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)