FileDocCategorySizeDatePackage
User.javaAPI DocApache Struts 2.0.9 Apps1496Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.chat

User

public class User extends Object implements Serializable
Represends a user in the Chat example.

Fields Summary
private static final long
serialVersionUID
private String
name
private Date
creationDate
Constructors Summary
public User(String name)



       
        this.name = name;
        this.creationDate = new Date(System.currentTimeMillis());
    
Methods Summary
public java.util.DategetCreationDate()

        return creationDate;
    
public java.lang.StringgetName()

        return name;