![]() | Title Properties |
The Title type exposes the following members.
Name | Description | |
---|---|---|
![]() | Catalog | Catalogue identifier associated with the title. |
![]() | Comment | Longer comment for the title. |
![]() | Company | Company name associated with the title. |
![]() | Contributors | A non-null array of Contributor documents associated with the title |
![]() | Created | UTC time the title was created. |
![]() | EditionYear | Year that this edition of the title was published. |
![]() | Files | A non-null array of File documents associated with the title |
![]() | Genres | A non-null array of Genre documents associated with the title |
![]() | id | The id uniquely identifies a Title in the collection database. The id is used as the database primary key. The id string has the format T-XXXXXXXXXXXX where the 12 X characters are strongly random and taken from a pool of 34 easily identifiable alphanumeric uppercase characters. There are therefore about 2.4×1018 possible Ids assuming a flat distribution, which is about 61 bits of entropy. The chance of a birthday collision rises to 0.1% at around 68 million, and rises to 1% at around 215 million. Since the total number of titles in the database is around 6700, the probability of a collision is about 10-11 (see Birthday Attack). Note that the default id value is the special sentinel value UnassignedId so that this class can be passed into the web service and pass validation on the property. The service layer will recognise the special value and convert it into a valid random id before the Title is saved. |
![]() | InfoUri | Uri for information about the title. |
![]() | IsDiscarded | A flag indicating if a title has been discarded and is no longer physically present in the collection. |
![]() | IsHidden | A flag indicating if a title is hidden from unauthorized access for privacy reasons. |
![]() | LegacyId | A legacy SQL database IDENTITY Int32 primary key from a Title that was once stored in the Agate database. |
![]() | LegacyKey | A legacy primary key from a Title that was once stored in the Nimbus datbase. |
![]() | LegacyUid | A legacy SQL database GUID from a Title that was once stored in the Agate database. |
![]() | Location | The name of the location where the title is stored. |
![]() | Media | The required name of the media holding the title. The value is a short name like "CD", "Book", "Model Car", etc. |
![]() | Name | The public Name of the title. This important value is the commonly spoken and recognised name of the title. |
![]() | Note | Short note for the title. |
![]() | Owner | Name of the title's owner. |
![]() | PartCount | Number of identifiable distinct parts inside the title. A typical example is a "boxed set" of audio discs where the whole box has a title, but it may contain multiple disc 'parts'. |
![]() | Pictures | A non-null array of Picture documents associated with the title |
![]() | Pk | The Partition Key is the fixed value "P1". The Partition Key is intended to be used in Cosmos databases for horizontal scaling of very large numbers of records to improve query performance. Since the Hoarder database only contains several thousand documents, the use of a Partition Key is of no value, so it's set to a fixed value. |
![]() | Price | Purchase price of the title ($AUD). |
![]() | PublishYear | Year the title was originally published. |
![]() | Purchased | Date the title was purchased. |
![]() | SaveTime | The UTC time the title document was last saved. |
![]() | ScanHash | Hash of the label, full file names and file lengths of a digital data disc with a file system. |
![]() | ScanLabel | Label detected by scanning a digital data disc. |
![]() | SourceId | The optional id of a 'Source Title' that can be used as the source of information to complete this title. The concept of a 'Source Title' exists to help avoid duplicating information in many possible duplicate entries in the collection. This is an experimental property and feature that is not recognised by an client applications yet. |
![]() | Tags | A non-null array of Tag documents associated with the title |
![]() | Tracks | A non-null array of Track documents associated with the title |
![]() | Type | Discriminates different types of documents in the database. There are currently only two types: Title document (Type=2) and Configuration document (Type=3). |