2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.usecases.model.minimal;
19
20 import java.util.Date;
21 import org.apache.shale.usecases.model.User;
22
23 /***
24 * <p>Minimal implementation of {@link User} with no persistence support.</p>
25 *
26 * $Id: MinimalUser.java 464373 2006-10-16 04:21:54Z rahul $
27 */
28 public class MinimalUser implements User {
29
30
31
32
33
34 private int categories[] = new int[0];
35 public int[] getCategories() { return this.categories; }
36 public void setCategories(int categories[]) { this.categories = categories; }
37
38 private boolean confirmed = false;
39 public boolean isConfirmed() { return this.confirmed; }
40 public void setConfirmed(boolean confirmed) { this.confirmed = confirmed; }
41
42 private Date created = null;
43 public Date getCreated() { return this.created; }
44 public void setCreated(Date created) { this.created = created; }
45
46 private String emailAddress = null;
47 public String getEmailAddress() { return this.emailAddress; }
48 public void setEmailAddress(String emailAddress) { this.emailAddress = emailAddress; }
49
50 private String fullName = null;
51 public String getFullName() { return this.fullName; }
52 public void setFullName(String fullName) { this.fullName = fullName; }
53
54 private int id = 0;
55 public int getId() { return this.id; }
56 public void setId(int id) { this.id = id; }
57
58 private String password = null;
59 public String getPassword() { return this.password; }
60 public void setPassword(String password) { this.password = password; }
61
62 private Date updated = null;
63 public Date getUpdated() { return this.updated; }
64 public void setUpdated(Date updated) { this.updated = updated; }
65
66 private String username = null;
67 public String getUsername() { return this.username; }
68 public void setUsername(String username) { this.username = username; }
69
70
71 }