Difference between revisions of "Object Types"
Jump to navigation
Jump to search
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
When Truxton must store a generic [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID,] it must also store a type value to let the caller know what type of GUID that is. | When Truxton must store a generic [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID,] it must also store a type value to let the caller know what type of GUID that is. | ||
| − | This information is also kept in the <code>ObjectType</code> database table. | + | This information is also kept in the <code>[ObjectType]</code> database table. |
{| class="wikitable" | {| class="wikitable" | ||
| Line 14: | Line 14: | ||
| <code>OBJECT_TYPE_INVESTIGATION</code> | | <code>OBJECT_TYPE_INVESTIGATION</code> | ||
| style="text-align:center;" | 1 | | style="text-align:center;" | 1 | ||
| − | | The identifier is an investigation. See the <code>ID</code> column of the <code>Investigation</code> table. | + | | The identifier is an investigation. See the <code>[ID]</code> column of the <code>[Investigation]</code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_MEDIA</code> | | <code>OBJECT_TYPE_MEDIA</code> | ||
| style="text-align:center;" | 2 | | style="text-align:center;" | 2 | ||
| − | | The identifier is a piece of media. See the <code>ID</code>column of the <code>Media</code> table. | + | | The identifier is a piece of media. See the <code>[ID]</code>column of the <code><nowiki>[</nowiki>[[Media Table|Media]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_DEPOT</code> | | <code>OBJECT_TYPE_DEPOT</code> | ||
| style="text-align:center;" | 3 | | style="text-align:center;" | 3 | ||
| − | | The identifier is a depot. See the <code>ID</code> column of the <code>Depot</code> table. | + | | The identifier is a depot. See the <code>[ID]</code> column of the <code><nowiki>[</nowiki>[[Depot Table|Depot]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_MESSAGE</code> | | <code>OBJECT_TYPE_MESSAGE</code> | ||
| style="text-align:center;" | 4 | | style="text-align:center;" | 4 | ||
| − | | The identifier is an email message. See the <code>ID</code> column of the <code>Message</code> table. | + | | The identifier is an email message. See the <code>[ID]</code> column of the <code>[Message]</code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_MESSAGE_ADDRESS</code> | | <code>OBJECT_TYPE_MESSAGE_ADDRESS</code> | ||
| style="text-align:center;" | 5 | | style="text-align:center;" | 5 | ||
| − | | The identifier is an email address. See the <code>ID</code> column of the <code>MessageAddress</code> table. | + | | The identifier is an email address. See the <code>[ID]</code> column of the <code>[MessageAddress]</code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_EXIF</code> | | <code>OBJECT_TYPE_EXIF</code> | ||
| style="text-align:center;" | 6 | | style="text-align:center;" | 6 | ||
| − | | The identifier is an EXIF record. See the <code>ID</code> column of the <code>[[EXIF Table|EXIF]]</code> table. | + | | The identifier is an EXIF record. See the <code>[ID]</code> column of the <code><nowiki>[</nowiki>[[EXIF Table|EXIF]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_ENTITY</code> | | <code>OBJECT_TYPE_ENTITY</code> | ||
| style="text-align:center;" | 7 | | style="text-align:center;" | 7 | ||
| − | | The identifier is an entity. See the <code>ID</code> column of the <code>Entity</code> table. | + | | The identifier is an entity. See the <code>[ID]</code> column of the <code><nowiki>[</nowiki>[[Entity Table|Entity]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_EVENT</code> | | <code>OBJECT_TYPE_EVENT</code> | ||
| style="text-align:center;" | 8 | | style="text-align:center;" | 8 | ||
| − | | The identifier is an event. See the <code>ID</code> column of the <code>[[Event Table|Event]]</code> table. | + | | The identifier is an event. See the <code>[ID]</code> column of the <code><nowiki>[</nowiki>[[Event Table|Event]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_FILE</code> | | <code>OBJECT_TYPE_FILE</code> | ||
| style="text-align:center;" | 9 | | style="text-align:center;" | 9 | ||
| − | | The identifier is a file. See the <code>ID</code> column of the <code>[[File Table|File]]</code> table. | + | | The identifier is a file. See the <code>[ID]</code> column of the <code><nowiki>[</nowiki>[[File Table|File]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_FREE</code> | | <code>OBJECT_TYPE_FREE</code> | ||
| style="text-align:center;" | 10 | | style="text-align:center;" | 10 | ||
| − | | The identifier is an area of free space. See the <code>ID</code> column of the <code>Free</code> table. | + | | The identifier is an area of free space. See the <code>[ID]</code> column of the <code><nowiki>[</nowiki>[[Free Table|Free]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_INVESTIGATOR</code> | | <code>OBJECT_TYPE_INVESTIGATOR</code> | ||
| style="text-align:center;" | 11 | | style="text-align:center;" | 11 | ||
| − | | The identifier is an investigator. See the <code>ID</code> column of the <code>Investigator</code> table. | + | | The identifier is an investigator. See the <code>[ID]</code> column of the <code>[Investigator]</code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_LIST</code> | | <code>OBJECT_TYPE_LIST</code> | ||
| style="text-align:center;" | 12 | | style="text-align:center;" | 12 | ||
| − | | The identifier is a list. See the <code>ID</code> column of the <code>List</code> table. | + | | The identifier is a list. See the <code>[ID]</code> column of the <code>[List]</code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_MACHINE</code> | | <code>OBJECT_TYPE_MACHINE</code> | ||
| Line 66: | Line 66: | ||
| <code>OBJECT_TYPE_LOCATION</code> | | <code>OBJECT_TYPE_LOCATION</code> | ||
| style="text-align:center;" | 14 | | style="text-align:center;" | 14 | ||
| − | | The identifier is a location. See the <code>ID</code> column of the <code>[[Location Table|Location]]</code> table. | + | | The identifier is a location. See the <code>[ID]</code> column of the <code><nowiki>[</nowiki>[[Location Table|Location]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_PPL</code> | | <code>OBJECT_TYPE_PPL</code> | ||
| style="text-align:center;" | 15 | | style="text-align:center;" | 15 | ||
| − | | The identifier is a person, place or thing. See the <code>ID</code> column of the <code>PPL</code> table. | + | | The identifier is a person, place or thing. See the <code>[ID]</code> column of the <code>[PPL]</code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_SETTING</code> | | <code>OBJECT_TYPE_SETTING</code> | ||
| style="text-align:center;" | 16 | | style="text-align:center;" | 16 | ||
| − | | The identifier is a setting. See the <code>ID</code> column of the <code>Setting</code> table. | + | | The identifier is a setting. See the <code>[ID]</code> column of the <code>[Setting]</code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_STATISTICS</code> | | <code>OBJECT_TYPE_STATISTICS</code> | ||
| style="text-align:center;" | 17 | | style="text-align:center;" | 17 | ||
| − | | The identifier is a statistics record. See the <code>ID</code> column of the <code>Statistics</code> table. | + | | The identifier is a statistics record. See the <code>[ID]</code> column of the <code><nowiki>[</nowiki>[[Statistics Table|Statistics]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_WEBSITE_VISIT</code> | | <code>OBJECT_TYPE_WEBSITE_VISIT</code> | ||
| style="text-align:center;" | 18 | | style="text-align:center;" | 18 | ||
| − | | The identifier is a website visit. See the <code>ID</code> column of the <code>[[WebsiteVisit Table|WebsiteVisit]]</code> table. | + | | The identifier is a website visit. See the <code>[ID]</code> column of the <code><nowiki>[</nowiki>[[WebsiteVisit Table|WebsiteVisit]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_HASH</code> | | <code>OBJECT_TYPE_HASH</code> | ||
| Line 90: | Line 90: | ||
| <code>OBJECT_TYPE_SUSPECT</code> | | <code>OBJECT_TYPE_SUSPECT</code> | ||
| style="text-align:center;" | 20 | | style="text-align:center;" | 20 | ||
| − | | The identifier is a suspect. See the <code>ID</code> column of the <code>Suspect</code> table. | + | | The identifier is a suspect. See the <code>[ID]</code> column of the <code>[Suspect]</code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_COMBINED_ID</code> | | <code>OBJECT_TYPE_COMBINED_ID</code> | ||
| style="text-align:center;" | 21 | | style="text-align:center;" | 21 | ||
| The identifier is the combined identifier of a message address. | | The identifier is the combined identifier of a message address. | ||
| + | |- | ||
| + | | <code>OBJECT_TYPE_USB</code> | ||
| + | | style="text-align:center;" | 22 | ||
| + | | The identifier is USB device. See the <code>[ID]</code> column of the <code>[USBDevice]</code> table. | ||
| + | |- | ||
| + | | <code>OBJECT_TYPE_ENTITY_STRING_ID</code> | ||
| + | | style="text-align:center;" | 23 | ||
| + | | The identifier is an entity string. See the <code>[ID]</code> column of the <code>[EntityString]</code> table. | ||
|- | |- | ||
| <code>OBJECT_TYPE_PHONE_NUMBER</code> | | <code>OBJECT_TYPE_PHONE_NUMBER</code> | ||
| Line 106: | Line 114: | ||
| <code>OBJECT_TYPE_ACCOUNT</code> | | <code>OBJECT_TYPE_ACCOUNT</code> | ||
| style="text-align:center;" | 102 | | style="text-align:center;" | 102 | ||
| − | | The identifier is an account. See the <code>ID</code> column <code>Account</code> table. | + | | The identifier is an account. See the <code>[ID]</code> column <code><nowiki>[</nowiki>[[Account Table|Account]]<nowiki>]</nowiki></code> table. |
|- | |- | ||
| <code>OBJECT_TYPE_CONTACT</code> | | <code>OBJECT_TYPE_CONTACT</code> | ||
Latest revision as of 08:41, 3 February 2024
When Truxton must store a generic GUID, it must also store a type value to let the caller know what type of GUID that is.
This information is also kept in the [ObjectType] database table.
| Name | Value | Meaning |
|---|---|---|
OBJECT_TYPE_UNKNOWN
|
0 | The identifier is of an unknown type. |
OBJECT_TYPE_INVESTIGATION
|
1 | The identifier is an investigation. See the [ID] column of the [Investigation] table.
|
OBJECT_TYPE_MEDIA
|
2 | The identifier is a piece of media. See the [ID]column of the [Media] table.
|
OBJECT_TYPE_DEPOT
|
3 | The identifier is a depot. See the [ID] column of the [Depot] table.
|
OBJECT_TYPE_MESSAGE
|
4 | The identifier is an email message. See the [ID] column of the [Message] table.
|
OBJECT_TYPE_MESSAGE_ADDRESS
|
5 | The identifier is an email address. See the [ID] column of the [MessageAddress] table.
|
OBJECT_TYPE_EXIF
|
6 | The identifier is an EXIF record. See the [ID] column of the [EXIF] table.
|
OBJECT_TYPE_ENTITY
|
7 | The identifier is an entity. See the [ID] column of the [Entity] table.
|
OBJECT_TYPE_EVENT
|
8 | The identifier is an event. See the [ID] column of the [Event] table.
|
OBJECT_TYPE_FILE
|
9 | The identifier is a file. See the [ID] column of the [File] table.
|
OBJECT_TYPE_FREE
|
10 | The identifier is an area of free space. See the [ID] column of the [Free] table.
|
OBJECT_TYPE_INVESTIGATOR
|
11 | The identifier is an investigator. See the [ID] column of the [Investigator] table.
|
OBJECT_TYPE_LIST
|
12 | The identifier is a list. See the [ID] column of the [List] table.
|
OBJECT_TYPE_MACHINE
|
13 | The identifier is a machine. |
OBJECT_TYPE_LOCATION
|
14 | The identifier is a location. See the [ID] column of the [Location] table.
|
OBJECT_TYPE_PPL
|
15 | The identifier is a person, place or thing. See the [ID] column of the [PPL] table.
|
OBJECT_TYPE_SETTING
|
16 | The identifier is a setting. See the [ID] column of the [Setting] table.
|
OBJECT_TYPE_STATISTICS
|
17 | The identifier is a statistics record. See the [ID] column of the [Statistics] table.
|
OBJECT_TYPE_WEBSITE_VISIT
|
18 | The identifier is a website visit. See the [ID] column of the [WebsiteVisit] table.
|
OBJECT_TYPE_HASH
|
19 | The identifier holds 128 bits of a hash value. |
OBJECT_TYPE_SUSPECT
|
20 | The identifier is a suspect. See the [ID] column of the [Suspect] table.
|
OBJECT_TYPE_COMBINED_ID
|
21 | The identifier is the combined identifier of a message address. |
OBJECT_TYPE_USB
|
22 | The identifier is USB device. See the [ID] column of the [USBDevice] table.
|
OBJECT_TYPE_ENTITY_STRING_ID
|
23 | The identifier is an entity string. See the [ID] column of the [EntityString] table.
|
OBJECT_TYPE_PHONE_NUMBER
|
100 | The identifier is a phone number. |
OBJECT_TYPE_NAME
|
101 | The identifier is a name. |
OBJECT_TYPE_ACCOUNT
|
102 | The identifier is an account. See the [ID] column [Account] table.
|
OBJECT_TYPE_CONTACT
|
103 | The identifier is a place holder for a contact list entry. It points to nothing. |