65c132ee871436771f6df9a955edf1de977140bb
[mir.git] / source / mir / core / model / Image.java
1 package mir.core.model;
2
3 import java.io.Serializable;
4
5 import org.apache.commons.lang.builder.ToStringBuilder;
6
7 /** @author Hibernate CodeGenerator */
8 public class Image extends UploadedMedia implements Serializable {
9
10     /** nullable persistent field */
11     private int imageData;
12
13     /** nullable persistent field */
14     private int iconData;
15
16     /** nullable persistent field */
17     private String year;
18
19     /** nullable persistent field */
20     private short imgWidth;
21
22     /** nullable persistent field */
23     private short imgHeight;
24
25     /** persistent field */
26     private short imgFormat;
27
28     /** persistent field */
29     private short imgLayout;
30
31     /** persistent field */
32     private short imgType;
33
34     /** persistent field */
35     private short imgColor;
36
37     /** nullable persistent field */
38     private short iconWidth;
39
40     /** nullable persistent field */
41     private short iconHeight;
42
43     /** default constructor */
44     public Image() {
45     }
46
47     public int getImageData() {
48         return this.imageData;
49     }
50
51     public void setImageData(int imageData) {
52         this.imageData = imageData;
53     }
54
55     public int getIconData() {
56         return this.iconData;
57     }
58
59     public void setIconData(int iconData) {
60         this.iconData = iconData;
61     }
62
63     public java.lang.String getYear() {
64         return this.year;
65     }
66
67     public void setYear(java.lang.String year) {
68         this.year = year;
69     }
70
71     public short getImgWidth() {
72         return this.imgWidth;
73     }
74
75     public void setImgWidth(short imgWidth) {
76         this.imgWidth = imgWidth;
77     }
78
79     public short getImgHeight() {
80         return this.imgHeight;
81     }
82
83     public void setImgHeight(short imgHeight) {
84         this.imgHeight = imgHeight;
85     }
86
87     public short getImgFormat() {
88         return this.imgFormat;
89     }
90
91     public void setImgFormat(short imgFormat) {
92         this.imgFormat = imgFormat;
93     }
94
95     public short getImgLayout() {
96         return this.imgLayout;
97     }
98
99     public void setImgLayout(short imgLayout) {
100         this.imgLayout = imgLayout;
101     }
102
103     public short getImgType() {
104         return this.imgType;
105     }
106
107     public void setImgType(short imgType) {
108         this.imgType = imgType;
109     }
110
111     public short getImgColor() {
112         return this.imgColor;
113     }
114
115     public void setImgColor(short imgColor) {
116         this.imgColor = imgColor;
117     }
118
119     public short getIconWidth() {
120         return this.iconWidth;
121     }
122
123     public void setIconWidth(short iconWidth) {
124         this.iconWidth = iconWidth;
125     }
126
127     public short getIconHeight() {
128         return this.iconHeight;
129     }
130
131     public void setIconHeight(short iconHeight) {
132         this.iconHeight = iconHeight;
133     }
134
135     public String toString() {
136         return new ToStringBuilder(this)
137             .append("id", getId())
138             .toString();
139     }
140
141 }