Major update to the latest CDM definition 2.Nov.2007
[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 etaxonomy.cdm.model.common;
11
12
13 import org.apache.log4j.Logger;
14
15 /**
16 * @author m.doering
17 * @version 1.0
18 * @created 02-Nov-2007 18:14:35
19 */
20 public class AudioFile extends MediaInstance {
21 static Logger logger = Logger.getLogger(AudioFile.class);
22
23 //length of recording in seconds
24 @Description("length of recording in seconds")
25 private int duration;
26
27 public int getDuration(){
28 return duration;
29 }
30
31 /**
32 *
33 * @param newVal
34 */
35 public void setDuration(int newVal){
36 duration = newVal;
37 }
38
39 }