(no commit message)
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / common / AudioFile.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
15 import java.util.*;
16 import javax.persistence.*;
17
18 /**
19 * @author m.doering
20 * @version 1.0
21 * @created 08-Nov-2007 13:06:11
22 */
23 @Entity
24 public class AudioFile extends MediaInstance {
25 static Logger logger = Logger.getLogger(AudioFile.class);
26 //length of recording in seconds
27 private int duration;
28
29 public int getDuration(){
30 return this.duration;
31 }
32
33 /**
34 *
35 * @param duration duration
36 */
37 public void setDuration(int duration){
38 this.duration = duration;
39 }
40
41 }