Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247
WebSVN – general – Blame – /hostadmiral/trunk/src/ak/hostadmiral/core/model/SystemUser.java/ – Rev 904

Subversion Repositories general

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
904 dev 1
package ak.hostcaptain.core.model;
899 dev 2
 
3
import java.util.Date;
4
 
5
/**
6
 *
7
 * @hibernate.class table="systemusers"
8
 */
9
public class SystemUser
10
	implements ModelObject
11
{
12
	private Long    id;
13
 
14
	/** user id in the OS */
15
	private Integer uid;
16
	private String  name;
17
	private Date    modStamp;
18
 
19
	protected SystemUser()
20
	{
21
	}
22
 
23
	/**
24
	 *
25
	 * @hibernate.id generator-class="native"
26
	 */
27
	public Long getId()
28
	{
29
		return id;
30
	}
31
 
32
	public void setId(Long id)
33
	{
34
		this.id = id;
35
	}
36
 
37
	/**
38
	 *
39
	 * @hibernate.property
40
	 */
41
	public Integer getUid()
42
	{
43
		return uid;
44
	}
45
 
46
	public void setUid(Integer uid)
47
	{
48
		this.uid = uid;
49
	}
50
 
51
	/**
52
	 *
53
	 * @hibernate.property
54
	 */
55
	public String getName()
56
	{
57
		return name;
58
	}
59
 
60
	public void setName(String name)
61
	{
62
		this.name = name;
63
	}
64
 
65
	/**
66
	 *
67
	 * @hibernate.timestamp column="mod_stamp"
68
	 */
69
	public Date getModStamp()
70
	{
71
		return modStamp;
72
	}
73
 
74
	public void setModStamp(Date modStamp)
75
	{
76
		this.modStamp = modStamp;
77
	}
78
 
79
	public String getTypeKey()
80
	{
904 dev 81
		return ak.hostcaptain.core.CoreResources.TYPE_SYSTEM_USER;
899 dev 82
	}
83
 
84
	public String getIdentificationString()
85
	{
86
		return getName() + " (" + getUid() + ")"; // FIXME: is it really so good style?
87
	}
88
}