Server.Role Class Reference

This class represents a given users role in a project. More...

Collaboration diagram for Server.Role:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

This class represents a given users role in a project.

Definition at line 11 of file Role.cs.


Constructor & Destructor Documentation

Server.Role.Role ( Person  person,
RoleType  type,
Project  project 
)

Constructs a new instance of Role.

Parameters:
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.


Property Documentation

Project Server.Role.Project [get, set]

Gets or sets the current project.

Definition at line 34 of file Role.cs.

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().


The documentation for this class was generated from the following file:
Generated on Thu Dec 21 06:25:07 2006 for SCRAML by  doxygen 1.5.1-p1