Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
913 | dev | 1 | package ak.hostcaptain.core.model; |
2 | |||
918 | dev | 3 | import java.util.Date; |
4 | |||
913 | dev | 5 | public abstract class GeneralModelObject |
6 | implements ModelObject |
||
7 | { |
||
8 | private Boolean enabled; |
||
9 | private String comment; |
||
918 | dev | 10 | private Date modStamp; |
11 | private User modUser; |
||
913 | dev | 12 | |
13 | /** |
||
14 | * |
||
15 | * @hibernate.property |
||
16 | */ |
||
17 | public Boolean getEnabled() |
||
18 | { |
||
19 | return enabled; |
||
20 | } |
||
21 | |||
22 | public void setEnabled(Boolean enabled) |
||
23 | { |
||
24 | this.enabled = enabled; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * |
||
29 | * @hibernate.property |
||
30 | */ |
||
31 | public String getComment() |
||
32 | { |
||
33 | return comment; |
||
34 | } |
||
35 | |||
36 | public void setComment(String comment) |
||
37 | { |
||
38 | this.comment = comment; |
||
39 | } |
||
918 | dev | 40 | |
41 | /** |
||
42 | * |
||
43 | * @hibernate.timestamp column="mod_stamp" |
||
44 | */ |
||
45 | public Date getModStamp() |
||
46 | { |
||
47 | return modStamp; |
||
48 | } |
||
49 | |||
50 | protected void setModStamp(Date modStamp) |
||
51 | { |
||
52 | this.modStamp = modStamp; |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * |
||
57 | * @hibernate.many-to-one column="mod_user" |
||
58 | */ |
||
59 | public User getModUser() |
||
60 | { |
||
61 | return modUser; |
||
62 | } |
||
63 | |||
64 | protected void setModUser(User modUser) |
||
65 | { |
||
66 | this.modUser = modUser; |
||
67 | } |
||
913 | dev | 68 | } |