Project

General

Profile

Download (747 Bytes) Statistics
| Branch: | Tag: | Revision:
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.cdm.persistence.hibernate.replace;
10

    
11
import java.util.List;
12

    
13
import org.hibernate.Session;
14

    
15
import eu.etaxonomy.cdm.model.common.CdmBase;
16

    
17
public interface ReferringObjectMetadata {
18
	public List<CdmBase> getReferringObjects(CdmBase x,Session session);
19

    
20
	public void replace(CdmBase referringObject, CdmBase x, CdmBase y) throws IllegalArgumentException, IllegalAccessException;
21

    
22
	public Class<? extends CdmBase> getType();
23

    
24
	public String getFieldName();
25

    
26
}
(1-1/2)