PageRenderTime 12ms CodeModel.GetById 2ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 1ms

/example/src/main/java/example/shared/UserFormData.java

https://code.google.com/p/gwtrpccommlayer/
Java | 54 lines | 40 code | 11 blank | 3 comment | 0 complexity | 1bf5ba407779aecf5983ab25d635f648 MD5 | raw file
 1package example.shared;
 2
 3import java.io.Serializable;
 4
 5public class UserFormData implements Serializable
 6{
 7	/**
 8	 * 
 9	 */
10	private static final long	serialVersionUID	= -8480133366196663439L;
11
12	String accountId;
13	String name;
14	Integer age;
15	
16	public UserFormData()
17	{
18	}
19
20	public String toString()
21	{
22		return "accountId='" + getAccountId() + "' name='" + getName() + "' age=" + getAge();
23	}
24	
25	public String getAccountId()
26	{
27		return accountId;
28	}
29
30	public void setAccountId(String accountId)
31	{
32		this.accountId = accountId;
33	}
34
35	public String getName()
36	{
37		return name;
38	}
39
40	public void setName(String name)
41	{
42		this.name = name;
43	}
44
45	public Integer getAge()
46	{
47		return age;
48	}
49
50	public void setAge(Integer age)
51	{
52		this.age = age;
53	}
54}