first commit of new persistence layer. new model classes
[mir.git] / source / mir / core / model / UploadedMedia.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 UploadedMedia extends Media implements Serializable {
9
10     /** persistent field */
11     private boolean iconIsProduced;
12
13     /** nullable persistent field */
14     private String iconPath;
15
16     /** default constructor */
17     public UploadedMedia() {
18     }
19
20                 public boolean isIconIsProduced() {
21         return this.iconIsProduced;
22     }
23
24     public void setIconIsProduced(boolean iconIsProduced) {
25         this.iconIsProduced = iconIsProduced;
26     }
27
28     public java.lang.String getIconPath() {
29         return this.iconPath;
30     }
31
32     public void setIconPath(java.lang.String iconPath) {
33         this.iconPath = iconPath;
34     }
35
36     public String toString() {
37         return new ToStringBuilder(this)
38             .append("id", getId())
39             .toString();
40     }
41
42 }