Autopsy  4.15.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata Class Reference

Classes

class  PersonaMetadataQueryCallback
 

Public Member Functions

 PersonaMetadata (long id, long personaId, String name, String value, String justification, Persona.Confidence confidence, long dateAdded, CentralRepoExaminer examiner)
 
Persona.Confidence getConfidence ()
 
long getDateAdded ()
 
CentralRepoExaminer getExaminer ()
 
long getId ()
 
String getJustification ()
 
String getName ()
 
long getPersonaId ()
 
String getValue ()
 

Static Private Member Functions

static CentralRepository getCRInstance () throws CentralRepoException
 

Private Attributes

final Persona.Confidence confidence
 
final long dateAdded
 
final CentralRepoExaminer examiner
 
final long id
 
final String justification
 
final String name
 
final long personaId
 
final String value
 

Static Private Attributes

static final String SELECT_QUERY_BASE
 

Detailed Description

This class abstracts metadata associated with a Persona. Metadata is in the form of a name/value pair.

A Persona may have zero or more metadata.

Definition at line 37 of file PersonaMetadata.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.PersonaMetadata ( long  id,
long  personaId,
String  name,
String  value,
String  justification,
Persona.Confidence  confidence,
long  dateAdded,
CentralRepoExaminer  examiner 
)

Member Function Documentation

Persona.Confidence org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.getConfidence ( )
static CentralRepository org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.getCRInstance ( ) throws CentralRepoException
staticprivate

Wraps the call to CentralRepository.getInstance() throwing an exception if instance is null;

Returns
Instance of CentralRepository
Exceptions
CentralRepoException

Definition at line 236 of file PersonaMetadata.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getInstance().

long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.getDateAdded ( )
CentralRepoExaminer org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.getExaminer ( )
long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.getId ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.getJustification ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.getName ( )
long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.getPersonaId ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.getValue ( )

Member Data Documentation

final Persona.Confidence org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.confidence
private
final long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.dateAdded
private
final CentralRepoExaminer org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.examiner
private
final long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.id
private
final String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.justification
private
final String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.name
private
final long org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.personaId
private
final String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.SELECT_QUERY_BASE
staticprivate
Initial value:
=
"SELECT pmd.id, pmd.persona_id, pmd.name, pmd.value, pmd.justification, pmd.confidence_id, pmd.date_added, pmd.examiner_id, e.login_name, e.display_name "
+ "FROM persona_metadata as pmd "
+ "INNER JOIN examiners as e ON e.id = pmd.examiner_id "

Definition at line 39 of file PersonaMetadata.java.

final String org.sleuthkit.autopsy.centralrepository.datamodel.PersonaMetadata.value
private

The documentation for this class was generated from the following file:

Copyright © 2012-2020 Basis Technology. Generated on: Mon Jul 6 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.