1 package mir.core.model;
3 import java.io.Serializable;
5 import org.apache.commons.lang.builder.ToStringBuilder;
7 /** @author Hibernate CodeGenerator */
8 public class Image extends UploadedMedia implements Serializable {
10 /** nullable persistent field */
11 private int imageData;
13 /** nullable persistent field */
16 /** nullable persistent field */
19 /** nullable persistent field */
20 private short imgWidth;
22 /** nullable persistent field */
23 private short imgHeight;
25 /** persistent field */
26 private short imgFormat;
28 /** persistent field */
29 private short imgLayout;
31 /** persistent field */
32 private short imgType;
34 /** persistent field */
35 private short imgColor;
37 /** nullable persistent field */
38 private short iconWidth;
40 /** nullable persistent field */
41 private short iconHeight;
43 /** default constructor */
47 public int getImageData() {
48 return this.imageData;
51 public void setImageData(int imageData) {
52 this.imageData = imageData;
55 public int getIconData() {
59 public void setIconData(int iconData) {
60 this.iconData = iconData;
63 public java.lang.String getYear() {
67 public void setYear(java.lang.String year) {
71 public short getImgWidth() {
75 public void setImgWidth(short imgWidth) {
76 this.imgWidth = imgWidth;
79 public short getImgHeight() {
80 return this.imgHeight;
83 public void setImgHeight(short imgHeight) {
84 this.imgHeight = imgHeight;
87 public short getImgFormat() {
88 return this.imgFormat;
91 public void setImgFormat(short imgFormat) {
92 this.imgFormat = imgFormat;
95 public short getImgLayout() {
96 return this.imgLayout;
99 public void setImgLayout(short imgLayout) {
100 this.imgLayout = imgLayout;
103 public short getImgType() {
107 public void setImgType(short imgType) {
108 this.imgType = imgType;
111 public short getImgColor() {
112 return this.imgColor;
115 public void setImgColor(short imgColor) {
116 this.imgColor = imgColor;
119 public short getIconWidth() {
120 return this.iconWidth;
123 public void setIconWidth(short iconWidth) {
124 this.iconWidth = iconWidth;
127 public short getIconHeight() {
128 return this.iconHeight;
131 public void setIconHeight(short iconHeight) {
132 this.iconHeight = iconHeight;
135 public String toString() {
136 return new ToStringBuilder(this)
137 .append("id", getId())