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