2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.taxeditor
.editor
.key
;
11 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
12 import eu
.etaxonomy
.cdm
.api
.conversation
.IConversationEnabled
;
13 import eu
.etaxonomy
.cdm
.model
.description
.IIdentificationKey
;
14 import eu
.etaxonomy
.cdm
.persistence
.hibernate
.CdmDataChangeMap
;
15 import eu
.etaxonomy
.taxeditor
.editor
.CdmEntitySessionInput
;
20 public abstract class AbstractIdentificationEditorInput
<T
extends IIdentificationKey
>
21 extends CdmEntitySessionInput
implements IConversationEnabled
{
23 private final ConversationHolder conversation
;
25 protected AbstractIdentificationEditorInput(ConversationHolder conversation
) {
27 this.conversation
= conversation
;
31 public ConversationHolder
getConversationHolder() {
35 public abstract T
getKey();
38 public void update(CdmDataChangeMap changeEvents
) {
42 public boolean equals(Object obj
) {
43 // TODO Auto-generated method stub
44 boolean result
= super.equals(obj
);