Inheritance diagram for Server.Reference:


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< Comment > | comments |
Properties | |
| List< Comment > | Comments [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. | |
Definition at line 11 of file Reference.cs.
| Server.Reference.Reference | ( | Project | project, | |
| Literature | literature, | |||
| DateTime | date, | |||
| bool | used, | |||
| string | status | |||
| ) |
Construct a new parent reference.
| 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.
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] |
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().
1.5.1-p1