Collaboration diagram for Server.Role:

Public Member Functions | |
| Role (Person person, RoleType type, Project project) | |
| Constructs a new instance of Role. | |
Properties | |
| Project | Project [get, set] |
| Gets or sets the current project. | |
| Person | Person [get] |
| Gets or sets the current person. | |
| RoleType | Type [get, set] |
| Gets or sets the current type of role. | |
| RoleInfo | Info [get] |
| Return a new RoleInfo struct with the current information. | |
Private Attributes | |
| RoleType | type |
| Person | person |
| Project | project |
Definition at line 11 of file Role.cs.
Constructs a new instance of Role.
| person | The instance of Person which holds the users information. | |
| type | The type of role. Supervisor or member. | |
| project | The instance of Project in which the user has a role. |
Definition at line 23 of file Role.cs.
References Server.Role.person, and Server.Role.project.
Project Server.Role.Project [get, set] |
Person Server.Role.Person [get] |
Gets or sets the current person.
Definition at line 43 of file Role.cs.
Referenced by Server.Net.RMIAccessHandler.DeleteProject().
RoleType Server.Role.Type [get, set] |
Gets or sets the current type of role.
Definition at line 51 of file Role.cs.
Referenced by Server.Project.AddPerson(), Server.Net.RMIAccessHandler.AssignUser(), Server.Net.RMIAccessHandler.CreateReference(), Server.Net.RMIAccessHandler.CreateReview(), Server.Net.RMIAccessHandler.CreateSuggestion(), Server.Net.RMIAccessHandler.DeleteProject(), Server.Net.RMIAccessHandler.DeleteReference(), Server.Net.RMIAccessHandler.UnassignUser(), Server.Net.RMIAccessHandler.UpdateReference(), and Server.Net.RMIAccessHandler.UpdateReview().
RoleInfo Server.Role.Info [get] |
Return a new RoleInfo struct with the current information.
Definition at line 60 of file Role.cs.
Referenced by Server.Test.PersistentDataTest.TestDatabase().
1.5.1-p1