Major update to the latest CDM definition 2.Nov.2007
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / common / ImageFile.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:53
19 */
20 public class ImageFile extends MediaInstance {
21 static Logger logger = Logger.getLogger(ImageFile.class);
22
23 //image height in pixel
24 @Description("image height in pixel")
25 private int height;
26 //image width in pixel
27 @Description("image width in pixel")
28 private int width;
29
30 public int getHeight(){
31 return height;
32 }
33
34 /**
35 *
36 * @param newVal
37 */
38 public void setHeight(int newVal){
39 height = newVal;
40 }
41
42 public int getWidth(){
43 return width;
44 }
45
46 /**
47 *
48 * @param newVal
49 */
50 public void setWidth(int newVal){
51 width = newVal;
52 }
53
54 }