rename AbstractCdmEditorPartE4 -> AbstractCdmEditorPart
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / model / PolytomousKeyRelationship.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
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.
8 */
9 package eu.etaxonomy.taxeditor.model;
10
11 import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
12
13 /**
14 * @author n.hoffmann
15 * @created Mar 30, 2011
16 */
17 public class PolytomousKeyRelationship {
18 private Object destination;
19 private Object source;
20
21 public PolytomousKeyRelationship(Object source, Object destination) {
22 this.source = HibernateProxyHelper.deproxy(source);
23 this.destination = HibernateProxyHelper.deproxy(destination);
24 }
25
26 public void setDestination(Object destination) {
27 this.destination = destination;
28 }
29 public Object getDestination() {
30 return destination;
31 }
32
33 public void setSource(Object source) {
34 this.source = source;
35 }
36 public Object getSource() {
37 return source;
38 }
39 }