0,0 → 1,88 |
package ak.webcontrol.core.model; |
|
import java.util.Date; |
|
/** |
* |
* @hibernate.class table="systemusers" |
*/ |
public class SystemUser |
implements ModelObject |
{ |
private Long id; |
|
/** user id in the OS */ |
private Integer uid; |
private String name; |
private Date modStamp; |
|
protected SystemUser() |
{ |
} |
|
/** |
* |
* @hibernate.id generator-class="native" |
*/ |
public Long getId() |
{ |
return id; |
} |
|
public void setId(Long id) |
{ |
this.id = id; |
} |
|
/** |
* |
* @hibernate.property |
*/ |
public Integer getUid() |
{ |
return uid; |
} |
|
public void setUid(Integer uid) |
{ |
this.uid = uid; |
} |
|
/** |
* |
* @hibernate.property |
*/ |
public String getName() |
{ |
return name; |
} |
|
public void setName(String name) |
{ |
this.name = name; |
} |
|
/** |
* |
* @hibernate.timestamp column="mod_stamp" |
*/ |
public Date getModStamp() |
{ |
return modStamp; |
} |
|
public void setModStamp(Date modStamp) |
{ |
this.modStamp = modStamp; |
} |
|
public String getTypeKey() |
{ |
return ak.webcontrol.core.CoreResources.TYPE_SYSTEM_USER; |
} |
|
public String getIdentificationString() |
{ |
return getName() + " (" + getUid() + ")"; // FIXME: is it really so good style? |
} |
} |