Project

General

Profile

Revision 70e986c5

ID70e986c524696a68205c4ffe43c627d2550ee899
Parent 18d660e0
Child 1410780e

Added by Katja Luther over 2 years ago

outputmodel reference title for books

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/outputmodel/OutputModelClassificationExport.java
619 619
                    csvLine[table.getIndex(OutputModelTable.FULL_REF_AUTHOR)] = "";
620 620
                }
621 621
            }else{
622
                csvLine[table.getIndex(OutputModelTable.ABBREV_TITLE)] = "";
623
                csvLine[table.getIndex(OutputModelTable.FULL_TITLE)] = "";
624
                csvLine[table.getIndex(OutputModelTable.ABBREV_REF_AUTHOR)]= "";
625
                csvLine[table.getIndex(OutputModelTable.FULL_REF_AUTHOR)] = "";
622
                if (nomRef.getAbbrevTitle() == null){
623
                    csvLine[table.getIndex(OutputModelTable.ABBREV_TITLE)] = CdmUtils.Nz(nomRef.getAbbrevTitleCache());
624
                }else{
625
                    csvLine[table.getIndex(OutputModelTable.ABBREV_TITLE)] = CdmUtils.Nz(nomRef.getAbbrevTitle());
626
                }
627
                if (nomRef.getTitle() == null){
628
                    csvLine[table.getIndex(OutputModelTable.FULL_TITLE)] = CdmUtils.Nz(nomRef.getTitleCache());
629
                }else{
630
                    csvLine[table.getIndex(OutputModelTable.FULL_TITLE)] = CdmUtils.Nz(nomRef.getTitle());
631
                }
632
                TeamOrPersonBase author = nomRef.getAuthorship();
633
                if (author != null ){
634
                    csvLine[table.getIndex(OutputModelTable.ABBREV_REF_AUTHOR)] = CdmUtils.Nz(author.getNomenclaturalTitle());
635
                    csvLine[table.getIndex(OutputModelTable.FULL_REF_AUTHOR)] = CdmUtils.Nz(author.getTitleCache());
636
                }else{
637
                    csvLine[table.getIndex(OutputModelTable.ABBREV_REF_AUTHOR)] = "";
638
                    csvLine[table.getIndex(OutputModelTable.FULL_REF_AUTHOR)] = "";
639
                }
626 640

  
627 641
            }
628 642
        }else{

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)