View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.1 on 2011-09-18 11:22:15,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.continuum.web.model;
9   
10  /**
11   * Class SessionUser.
12   * 
13   * @version $Revision$ $Date$
14   */
15  @SuppressWarnings( "all" )
16  public class SessionUser
17      implements java.io.Serializable
18  {
19  
20        //--------------------------/
21       //- Class/Member Variables -/
22      //--------------------------/
23  
24      /**
25       * id of the user.
26       */
27      private int id = 0;
28  
29      /**
30       * username.
31       */
32      private String username;
33  
34      /**
35       * full name of the user.
36       */
37      private String fullName;
38  
39      /**
40       * email of the user.
41       */
42      private String email;
43  
44      /**
45       * user group the user is a member of.
46       */
47      private int userGroupId = 0;
48  
49      /**
50       * boolean for the user is logged in or not.
51       */
52      private boolean loggedIn = false;
53  
54  
55        //-----------/
56       //- Methods -/
57      //-----------/
58  
59      /**
60       * Get email of the user.
61       * 
62       * @return String
63       */
64      public String getEmail()
65      {
66          return this.email;
67      } //-- String getEmail()
68  
69      /**
70       * Get full name of the user.
71       * 
72       * @return String
73       */
74      public String getFullName()
75      {
76          return this.fullName;
77      } //-- String getFullName()
78  
79      /**
80       * Get id of the user.
81       * 
82       * @return int
83       */
84      public int getId()
85      {
86          return this.id;
87      } //-- int getId()
88  
89      /**
90       * Get user group the user is a member of.
91       * 
92       * @return int
93       */
94      public int getUserGroupId()
95      {
96          return this.userGroupId;
97      } //-- int getUserGroupId()
98  
99      /**
100      * Get username.
101      * 
102      * @return String
103      */
104     public String getUsername()
105     {
106         return this.username;
107     } //-- String getUsername()
108 
109     /**
110      * Get boolean for the user is logged in or not.
111      * 
112      * @return boolean
113      */
114     public boolean isLoggedIn()
115     {
116         return this.loggedIn;
117     } //-- boolean isLoggedIn()
118 
119     /**
120      * Set email of the user.
121      * 
122      * @param email
123      */
124     public void setEmail( String email )
125     {
126         this.email = email;
127     } //-- void setEmail( String )
128 
129     /**
130      * Set full name of the user.
131      * 
132      * @param fullName
133      */
134     public void setFullName( String fullName )
135     {
136         this.fullName = fullName;
137     } //-- void setFullName( String )
138 
139     /**
140      * Set id of the user.
141      * 
142      * @param id
143      */
144     public void setId( int id )
145     {
146         this.id = id;
147     } //-- void setId( int )
148 
149     /**
150      * Set boolean for the user is logged in or not.
151      * 
152      * @param loggedIn
153      */
154     public void setLoggedIn( boolean loggedIn )
155     {
156         this.loggedIn = loggedIn;
157     } //-- void setLoggedIn( boolean )
158 
159     /**
160      * Set user group the user is a member of.
161      * 
162      * @param userGroupId
163      */
164     public void setUserGroupId( int userGroupId )
165     {
166         this.userGroupId = userGroupId;
167     } //-- void setUserGroupId( int )
168 
169     /**
170      * Set username.
171      * 
172      * @param username
173      */
174     public void setUsername( String username )
175     {
176         this.username = username;
177     } //-- void setUsername( String )
178 
179 }