Rev 1699 | Rev 1704 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1312 | jmachado | 1 | package pt.estgp.estgweb.domain; |
1703 | jmachado | 2 | // Generated 6/Abr/2017 16:54:01 by Hibernate Tools 3.2.0.b9 |
1312 | jmachado | 3 | |
4 | |||
5 | import java.util.Date; |
||
6 | import java.util.HashSet; |
||
7 | import java.util.Set; |
||
8 | |||
9 | /** |
||
10 | * Blog generated by hbm2java |
||
11 | */ |
||
12 | public abstract class Blog extends pt.estgp.estgweb.domain.OwnedDomainObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
||
13 | |||
14 | |||
15 | private long id; |
||
16 | private 5+0%2Fdocs%2Fapi+Date">Date updateDate; |
||
17 | private 5+0%2Fdocs%2Fapi+Date">Date saveDate; |
||
18 | private 1.5.0/docs/api/java/lang/String.html">String name; |
||
19 | private 1.5.0/docs/api/java/lang/String.html">String title; |
||
20 | private 1.5.0/docs/api/java/lang/String.html">String type; |
||
21 | private 1.5.0/docs/api/java/lang/String.html">String description; |
||
22 | private 1.5.0/docs/api/java/lang/String.html">String targetRoles; |
||
23 | private boolean internal; |
||
24 | private boolean status; |
||
25 | private boolean autoValidation; |
||
26 | private 1.5.0/docs/api/java/awt/Image.html">Image image; |
||
27 | private GenericUser owner; |
||
28 | private Set<BlogPost> posts = new HashSet<BlogPost>(0); |
||
29 | |||
30 | public Blog() { |
||
31 | } |
||
32 | |||
33 | |||
34 | public long getId() { |
||
35 | return this.id; |
||
36 | } |
||
37 | |||
38 | public void setId(long id) { |
||
39 | this.id = id; |
||
40 | } |
||
41 | public 5+0%2Fdocs%2Fapi+Date">Date getUpdateDate() { |
||
42 | return this.updateDate; |
||
43 | } |
||
44 | |||
45 | public void setUpdateDate(5+0%2Fdocs%2Fapi+Date">Date updateDate) { |
||
46 | this.updateDate = updateDate; |
||
47 | } |
||
48 | public 5+0%2Fdocs%2Fapi+Date">Date getSaveDate() { |
||
49 | return this.saveDate; |
||
50 | } |
||
51 | |||
52 | public void setSaveDate(5+0%2Fdocs%2Fapi+Date">Date saveDate) { |
||
53 | this.saveDate = saveDate; |
||
54 | } |
||
55 | public 1.5.0/docs/api/java/lang/String.html">String getName() { |
||
56 | return this.name; |
||
57 | } |
||
58 | |||
59 | public void setName(1.5.0/docs/api/java/lang/String.html">String name) { |
||
60 | this.name = name; |
||
61 | } |
||
62 | public 1.5.0/docs/api/java/lang/String.html">String getTitle() { |
||
63 | return this.title; |
||
64 | } |
||
65 | |||
66 | public void setTitle(1.5.0/docs/api/java/lang/String.html">String title) { |
||
67 | this.title = title; |
||
68 | } |
||
69 | public 1.5.0/docs/api/java/lang/String.html">String getType() { |
||
70 | return this.type; |
||
71 | } |
||
72 | |||
73 | public void setType(1.5.0/docs/api/java/lang/String.html">String type) { |
||
74 | this.type = type; |
||
75 | } |
||
76 | public 1.5.0/docs/api/java/lang/String.html">String getDescription() { |
||
77 | return this.description; |
||
78 | } |
||
79 | |||
80 | public void setDescription(1.5.0/docs/api/java/lang/String.html">String description) { |
||
81 | this.description = description; |
||
82 | } |
||
83 | public 1.5.0/docs/api/java/lang/String.html">String getTargetRoles() { |
||
84 | return this.targetRoles; |
||
85 | } |
||
86 | |||
87 | public void setTargetRoles(1.5.0/docs/api/java/lang/String.html">String targetRoles) { |
||
88 | this.targetRoles = targetRoles; |
||
89 | } |
||
90 | public boolean isInternal() { |
||
91 | return this.internal; |
||
92 | } |
||
93 | |||
94 | public void setInternal(boolean internal) { |
||
95 | this.internal = internal; |
||
96 | } |
||
97 | public boolean isStatus() { |
||
98 | return this.status; |
||
99 | } |
||
100 | |||
101 | public void setStatus(boolean status) { |
||
102 | this.status = status; |
||
103 | } |
||
104 | public boolean isAutoValidation() { |
||
105 | return this.autoValidation; |
||
106 | } |
||
107 | |||
108 | public void setAutoValidation(boolean autoValidation) { |
||
109 | this.autoValidation = autoValidation; |
||
110 | } |
||
111 | public 1.5.0/docs/api/java/awt/Image.html">Image getImage() { |
||
112 | return this.image; |
||
113 | } |
||
114 | |||
115 | public void setImage(1.5.0/docs/api/java/awt/Image.html">Image image) { |
||
116 | this.image = image; |
||
117 | } |
||
118 | public GenericUser getOwner() { |
||
119 | return this.owner; |
||
120 | } |
||
121 | |||
122 | public void setOwner(GenericUser owner) { |
||
123 | this.owner = owner; |
||
124 | } |
||
125 | public Set<BlogPost> getPosts() { |
||
126 | return this.posts; |
||
127 | } |
||
128 | |||
129 | public void setPosts(Set<BlogPost> posts) { |
||
130 | this.posts = posts; |
||
131 | } |
||
132 | |||
133 | |||
134 | |||
135 | |||
136 | } |
||
137 | |||
138 |