(no commit message)
[cdmlib.git] / cdmlib-model / 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 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:28
22 */
23 @Entity
24 public class ImageFile extends MediaInstance {
25 static Logger logger = Logger.getLogger(ImageFile.class);
26 //image height in pixel
27 private int height;
28 //image width in pixel
29 private int width;
30
31 public int getHeight(){
32 return this.height;
33 }
34
35 /**
36 *
37 * @param height height
38 */
39 public void setHeight(int height){
40 this.height = height;
41 }
42
43 public int getWidth(){
44 return this.width;
45 }
46
47 /**
48 *
49 * @param width width
50 */
51 public void setWidth(int width){
52 this.width = width;
53 }
54
55 }