ffc80bab87b22278bcfd4768f13ac1f15bf24d0a
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / common / NameAlias.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
10 package eu.etaxonomy.cdm.model.common;
11
12
13 import org.apache.log4j.Logger;
14 import java.util.*;
15 import javax.persistence.*;
16
17 /**
18 * @author Andreas Mueller
19 * @version 1.0
20 * @created 15-Aug-2007 18:36:07
21 */
22 @Entity
23 public class NameAlias extends VersionableEntity {
24 static Logger logger = Logger.getLogger(NameAlias.class);
25
26 private String alias;
27 private ArrayList sources;
28
29 public String getAlias(){
30 return alias;
31 }
32
33 public ArrayList getSources(){
34 return sources;
35 }
36
37 /**
38 *
39 * @param newVal
40 */
41 public void setAlias(String newVal){
42 alias = newVal;
43 }
44
45 /**
46 *
47 * @param newVal
48 */
49 public void setSources(ArrayList newVal){
50 sources = newVal;
51 }
52
53 }