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.reference;
|
11
|
|
12
|
|
13
|
import javax.persistence.Entity;
|
14
|
|
15
|
import org.apache.log4j.Logger;
|
16
|
|
17
|
/**
|
18
|
* This class represents electronic publications the support of which are Cds
|
19
|
* (Compact Discs) or Dvds (Digital Versatile Discs). This class applies for Cds
|
20
|
* or Dvds as a whole but not for parts of it.
|
21
|
*
|
22
|
* @author m.doering
|
23
|
* @version 1.0
|
24
|
* @created 08-Nov-2007 13:06:15
|
25
|
*/
|
26
|
@Entity
|
27
|
public class CdDvd extends PublicationBase implements Cloneable{
|
28
|
static Logger logger = Logger.getLogger(CdDvd.class);
|
29
|
|
30
|
|
31
|
|
32
|
//*********** CLONE **********************************/
|
33
|
|
34
|
/**
|
35
|
* Clones <i>this</i> Cd or Dvd instance. This is a shortcut that enables to
|
36
|
* create a new instance that differs only slightly from <i>this</i>
|
37
|
* Cd or Dvd instance by modifying only some of the attributes.<BR>
|
38
|
* This method overrides the clone method from {@link StrictReferenceBase StrictReferenceBase}.
|
39
|
*
|
40
|
* @see StrictReferenceBase#clone()
|
41
|
* @see eu.etaxonomy.cdm.model.media.IdentifyableMediaEntity#clone()
|
42
|
* @see java.lang.Object#clone()
|
43
|
*/
|
44
|
@Override
|
45
|
public CdDvd clone(){
|
46
|
CdDvd result = (CdDvd)super.clone();
|
47
|
//no changes to: -
|
48
|
return result;
|
49
|
}
|
50
|
|
51
|
}
|