Difference between revisions of "Object Types"

From truxwiki.com
Jump to navigation Jump to search
Line 34: Line 34:
 
| <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</code> table.
+
| The identifier is an EXIF record. See the <code>ID</code> column of the <code>[[EXIF Table|EXIF]]</code> table.
 
|-
 
|-
 
| <code>OBJECT_TYPE_ENTITY</code>
 
| <code>OBJECT_TYPE_ENTITY</code>
Line 42: Line 42:
 
| <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</code> table.
+
| The identifier is an event. See the <code>ID</code> column of the <code>[[Event Table|Event]]</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</code> table.
+
| The identifier is a file. See the <code>ID</code> column of the <code>[[File Table|File]]</code> table.
 
|-
 
|-
 
| <code>OBJECT_TYPE_FREE</code>
 
| <code>OBJECT_TYPE_FREE</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</code> table.
+
| The identifier is a location. See the <code>ID</code> column of the <code>[[Location Table|Location]]</code> table.
 
|-
 
|-
 
| <code>OBJECT_TYPE_PPL</code>
 
| <code>OBJECT_TYPE_PPL</code>
Line 82: Line 82:
 
| <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</code> table.
+
| The identifier is a website visit. See the <code>ID</code> column of the <code>[[WebsiteVisit Table|WebsiteVisit]]</code> table.
 
|-
 
|-
 
| <code>OBJECT_TYPE_HASH</code>
 
| <code>OBJECT_TYPE_HASH</code>

Revision as of 15:35, 18 September 2020

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 IDcolumn 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_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.