Project

General

Profile

« Previous | Next » 

Revision 9f6a56c9

Added by Andreas Müller almost 3 years ago

ref #9664 first implementation for TeamOrPersonBase.nomenclaturalTitleCache (update script still missing)

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/format/reference/ReferenceEllypsisFormatter.java
124 124
                if(entity.getAuthorship() != null){
125 125
                    if(entity.getAuthorship() instanceof Team){
126 126
                        team = (Team)entity.getAuthorship();
127
                        authorTeamCaches = team.getTeamMembers().stream().map(topb -> topb.getNomenclaturalTitle()).collect(Collectors.toList());
127
                        authorTeamCaches = team.getTeamMembers().stream().map(topb -> topb.getNomenclaturalTitleCache()).collect(Collectors.toList());
128 128
                        isProtectedAuthorsCache = team.isProtectedNomenclaturalTitleCache();
129 129
                    }
130
                    authorsCache = entity.getAuthorship().getNomenclaturalTitle();
130
                    authorsCache = entity.getAuthorship().getNomenclaturalTitleCache();
131 131
                }
132 132
                break;
133 133
            case BIBLIOGRAPHIC:

Also available in: Unified diff