|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.nidanet.dev.google.persistent_users.User
public class User
Represents a light-way, persistent user class.
| Field Summary | |
|---|---|
private Long |
id
The user's internal id. |
private String |
mail
The user's mail. |
private String |
name
The user's name. |
private Date |
regDate
The date when this user was created. |
| Constructor Summary | |
|---|---|
User()
The standard constructor creates a user without any name and mail. |
|
User(String name,
String mail)
Constructs a user with the given name and mail. |
|
| Method Summary | |
|---|---|
Long |
getId()
|
String |
getMail()
|
String |
getName()
|
Date |
getRegDate()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private Long id
private String name
private String mail
private Date regDate
| Constructor Detail |
|---|
public User()
name and mail.
public User(String name,
String mail)
name and mail.
name - user's namemail - user's mail| Method Detail |
|---|
public Long getId()
public String getName()
public String getMail()
public Date getRegDate()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||