Source code: org/hibernate/test/version/sybase/User.java
1 // $Id: User.java 7805 2005-08-10 16:25:11Z steveebersole $
2 package org.hibernate.test.version.sybase;
3
4 import java.util.Set;
5 import java.sql.Timestamp;
6
7 /**
8 * Implementation of User.
9 *
10 * @author Steve Ebersole
11 */
12 public class User {
13 private Long id;
14 private byte[] timestamp;
15 private String username;
16 private Set groups;
17 private Set permissions;
18
19 public User() {
20 }
21
22 public User(String username) {
23 this.username = username;
24 }
25
26 public Long getId() {
27 return id;
28 }
29
30 public void setId(Long id) {
31 this.id = id;
32 }
33
34 public byte[] getTimestamp() {
35 return timestamp;
36 }
37
38 public void setTimestamp(byte[] timestamp) {
39 this.timestamp = timestamp;
40 }
41
42 public String getUsername() {
43 return username;
44 }
45
46 public void setUsername(String username) {
47 this.username = username;
48 }
49
50 public Set getGroups() {
51 return groups;
52 }
53
54 public void setGroups(Set groups) {
55 this.groups = groups;
56 }
57
58 public Set getPermissions() {
59 return permissions;
60 }
61
62 public void setPermissions(Set permissions) {
63 this.permissions = permissions;
64 }
65 }