Server.Reference Class Reference

The class represents a reference to a parent object. A reference holds a list of added comments. More...

Inheritance diagram for Server.Reference:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Reference (Project project, Literature literature, DateTime date, bool used, string status)
 Construct a new parent reference.

Protected Attributes

Project project
Literature literature
DateTime date
bool used
string status
List< Commentcomments

Properties

List< CommentComments [get, set]
 Set or get a list of attached comments to the reference.
string Status [get, set]
 Set or get the status of the parent.
bool Used [get, set]
 Set or get the boolean value indicating if the parent is used in the project.
DateTime Date [get, set]
 Set or get the time for creation of the reference.
Literature Literature [get]
 Return the Literature object which the reference point to.
Project Project [get]
 Returns the parent project.
ReferenceInfo Info [get]
 Return a new ReferenceInfo structs containing the current information.

Detailed Description

The class represents a reference to a parent object. A reference holds a list of added comments.

Definition at line 11 of file Reference.cs.


Constructor & Destructor Documentation

Server.Reference.Reference ( Project  project,
Literature  literature,
DateTime  date,
bool  used,
string  status 
)

Construct a new parent reference.

Parameters:
project The project this reference belongs to
literature The literature this reference refers to
date The date this reference was created.
used A bool which indicate whether or not the parent is actually used in the project.
status A string telling whether or not the parent is available. Is the book in the groups possesion or at the library? Is a web reference online or offline?

Definition at line 30 of file Reference.cs.

References Server.Reference.comments, Server.Literature.date, Server.Reference.literature, and Server.Reference.project.


Property Documentation

List<Comment> Server.Reference.Comments [get, set]

Set or get a list of attached comments to the reference.

Definition at line 44 of file Reference.cs.

Referenced by Server.Catalogue.CreateComment(), Server.Catalogue.CreateReview(), Server.Catalogue.CreateSuggestion(), and Server.Test.PersistentDataTest.TestDatabase().

string Server.Reference.Status [get, set]

Set or get the status of the parent.

Definition at line 53 of file Reference.cs.

Referenced by Server.Catalogue.UpdateReference(), Server.Catalogue.UpdateReview(), and Server.Catalogue.UpdateSuggestion().

bool Server.Reference.Used [get, set]

Set or get the boolean value indicating if the parent is used in the project.

Definition at line 62 of file Reference.cs.

Referenced by Server.Catalogue.UpdateReference(), Server.Catalogue.UpdateReview(), and Server.Catalogue.UpdateSuggestion().

DateTime Server.Reference.Date [get, set]

Set or get the time for creation of the reference.

Definition at line 71 of file Reference.cs.

Referenced by Server.Catalogue.UpdateReference(), Server.Catalogue.UpdateReview(), and Server.Catalogue.UpdateSuggestion().

Literature Server.Reference.Literature [get]

Return the Literature object which the reference point to.

Definition at line 80 of file Reference.cs.

Project Server.Reference.Project [get]

Returns the parent project.

Definition at line 87 of file Reference.cs.

ReferenceInfo Server.Reference.Info [get]

Return a new ReferenceInfo structs containing the current information.

Reimplemented in Server.Review, and Server.Suggestion.

Definition at line 98 of file Reference.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:04 2006 for SCRAML by  doxygen 1.5.1-p1