Server.Review Class Reference

The class represents a review. A review inherits from Reference, which 'connects' a project and a piece of parent. More...

Inheritance diagram for Server.Review:

Inheritance graph
[legend]
Collaboration diagram for Server.Review:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Review (Project project, Person person, Literature literature, DateTime date, bool used, string status, string title, string text, int rating)
 Construct a new review.

Properties

Person Person [get]
 Return the person who made the review.
int Rating [get, set]
 Get or set the rating of the review.
string Text [get, set]
 Get or set the text of the review.
string Title [get, set]
 Get or set the title of the review.
new ReviewInfo Info [get]
 Create a ReviewInfo struct with the information of the review. Fx used for communicating over a network.

Private Attributes

string title
string text
int rating
Person person

Detailed Description

The class represents a review. A review inherits from Reference, which 'connects' a project and a piece of parent.

Definition at line 13 of file Review.cs.


Constructor & Destructor Documentation

Server.Review.Review ( Project  project,
Person  person,
Literature  literature,
DateTime  date,
bool  used,
string  status,
string  title,
string  text,
int  rating 
)

Construct a new review.

Parameters:
project The relateted project.
person The person who made the review.
literature The Literature this review referes to
date The Date this review was created.
used A boolean value indicating whether the parent is actually used in the project.
status The current status of the parent.
title The title of the review.
text The review text.
rating The reviewers rating of the parent. An integer in the interval 1-100 where 100 is best.

Definition at line 33 of file Review.cs.

References Server.Review.person.


Property Documentation

Person Server.Review.Person [get]

Return the person who made the review.

Definition at line 46 of file Review.cs.

Referenced by Server.Data.XmlData.SaveProjects().

int Server.Review.Rating [get, set]

Get or set the rating of the review.

Definition at line 54 of file Review.cs.

Referenced by Server.Data.XmlData.SaveProjects(), and Server.Catalogue.UpdateReview().

string Server.Review.Text [get, set]

Get or set the text of the review.

Definition at line 63 of file Review.cs.

Referenced by Server.Data.XmlData.SaveProjects(), and Server.Catalogue.UpdateReview().

string Server.Review.Title [get, set]

Get or set the title of the review.

Definition at line 72 of file Review.cs.

Referenced by Server.Data.XmlData.SaveProjects(), and Server.Catalogue.UpdateReview().

new ReviewInfo Server.Review.Info [get]

Create a ReviewInfo struct with the information of the review. Fx used for communicating over a network.

Reimplemented from Server.Reference.

Definition at line 81 of file Review.cs.


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