Rename NonViralName authorteams to authorship #4968
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / name / AuthorshipDetailElement.java
index 38b14a29cc8b4946762908aa1bdffe1407605d54..23b0ca82f1cd505dacf8e93aa1664498b522856b 100644 (file)
@@ -72,21 +72,21 @@ public class AuthorshipDetailElement extends
                selectionCombinationAuthor = formFactory.createSelectionElement(TeamOrPersonBase.class,
                                getConversationHolder(),
                                formElement, "Author",
-                               entity.getCombinationAuthorTeam(),
+                               entity.getCombinationAuthorship(),
                                EntitySelectionElement.ALL, style);
                addElement(selectionCombinationAuthor);
                selectionExCombinationAuthor = formFactory.createSelectionElement(TeamOrPersonBase.class,
                                getConversationHolder(),
                                formElement, "Ex Author",
-                               entity.getExCombinationAuthorTeam(),
+                               entity.getExCombinationAuthorship(),
                                EntitySelectionElement.ALL, style);
                addElement(selectionExCombinationAuthor);
                selectionBasionymAuthor = formFactory.createSelectionElement(TeamOrPersonBase.class, getConversationHolder(),
-                formElement, "Basionym Author", entity.getBasionymAuthorTeam(),
+                formElement, "Basionym Author", entity.getBasionymAuthorship(),
                 EntitySelectionElement.ALL, style);
                addElement(selectionBasionymAuthor);
                selectionExBasionymAuthor = formFactory.createSelectionElement(TeamOrPersonBase.class, getConversationHolder(),
-                       formElement, "Ex Basionym Author", entity.getExBasionymAuthorTeam(),
+                       formElement, "Ex Basionym Author", entity.getExBasionymAuthorship(),
                        EntitySelectionElement.ALL, style);
 
                addElement(selectionExBasionymAuthor);
@@ -121,16 +121,16 @@ public class AuthorshipDetailElement extends
                                                Arrays.asList(new Object[] { toggleable_cache }));
                        }
                } else if (eventSource == selectionCombinationAuthor) {
-                       getEntity().setCombinationAuthorTeam(
+                       getEntity().setCombinationAuthorship(
                                        selectionCombinationAuthor.getSelection());
                } else if (eventSource == selectionExCombinationAuthor) {
-                       getEntity().setExCombinationAuthorTeam(
+                       getEntity().setExCombinationAuthorship(
                                        selectionExCombinationAuthor.getSelection());
                } else if (eventSource == selectionBasionymAuthor) {
-                       getEntity().setBasionymAuthorTeam(
+                       getEntity().setBasionymAuthorship(
                                        selectionBasionymAuthor.getSelection());
                } else if (eventSource == selectionExBasionymAuthor) {
-                       getEntity().setExBasionymAuthorTeam(
+                       getEntity().setExBasionymAuthorship(
                                        selectionExBasionymAuthor.getSelection());
                }