View Javadoc

1   package org.whatsitcalled.webflange.model;
2   
3   import java.io.Serializable;
4   import java.util.List;
5   
6   public class User implements Serializable {
7   	private String username;
8   
9   	private String password;
10  
11  	private List<Project> projects;
12  
13  	public User(String username, String password, int enabled) {
14  		this.username = username;
15  		this.password = password;
16  	}
17  
18  	public User() {
19  	}
20  
21  	public String getPassword() {
22  		return password;
23  	}
24  
25  	public void setPassword(String password) {
26  		this.password = password;
27  	}
28  
29  	public List<Project> getProjects() {
30  		return projects;
31  	}
32  
33  	public void setProjects(List<Project> projects) {
34  		this.projects = projects;
35  	}
36  
37  	public String getUsername() {
38  		return username;
39  	}
40  
41  	public void setUsername(String username) {
42  		this.username = username;
43  	}
44  }