Project

General

Profile

Download (1.22 KB) 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

    
10
package eu.etaxonomy.cdm.model.common;
11

    
12

    
13
import org.apache.log4j.Logger;
14
import eu.etaxonomy.cdm.model.Description;
15
import java.util.*;
16
import javax.persistence.*;
17

    
18
/**
19
 * Other names/labels/titles (abreviated or not) for the same object (person,
20
 * reference, source, etc.)
21
 * @author m.doering
22
 * @version 1.0
23
 * @created 08-Nov-2007 13:06:22
24
 */
25

    
26
@Entity
27
public class OriginalSource extends ReferencedEntityBase {
28
	static Logger logger = Logger.getLogger(OriginalSource.class);
29
	//The object's ID in the source, where the alternative string comes from
30
	private String idInSource;
31
	private IdentifiableEntity parent;
32

    
33

    
34
	public String getIdInSource(){
35
		return this.idInSource;
36
	}
37

    
38
	/**
39
	 * 
40
	 * @param idInSource    idInSource
41
	 */
42
	public void setIdInSource(String idInSource){
43
		this.idInSource = idInSource;
44
	}
45

    
46
	protected IdentifiableEntity getParent() {
47
		return parent;
48
	}
49

    
50
	@ManyToOne		
51
	protected void setParent(IdentifiableEntity parent) {
52
		this.parent = parent;
53
	}
54

    
55
}
(24-24/32)