Object Types

From truxwiki.com
Revision as of 14:47, 20 May 2020 by Sam (talk | contribs)
Jump to navigation Jump to search

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.