Autopsy
4.4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Serializable.
Public Member Functions | |
Type (int id, String displayName, String dbTableName, Boolean supported, Boolean enabled) throws EamDbException | |
Type (String displayName, String dbTableName, Boolean supported, Boolean enabled) throws EamDbException | |
boolean | equals (Object that) |
String | getDbTableName () |
String | getDisplayName () |
int | getId () |
int | hashCode () |
Boolean | isEnabled () |
Boolean | isSupported () |
void | setDbTableName (String dbTableName) throws EamDbException |
void | setDisplayName (String displayName) |
void | setEnabled (Boolean enabled) |
void | setId (int id) |
void | setSupported (Boolean supported) |
String | toString () |
Private Member Functions | |
boolean | sameType (CorrelationAttribute.Type that) |
Private Attributes | |
final String | DB_NAMES_REGEX = "[a-z][a-z0-9_]*" |
String | dbTableName |
String | displayName |
Boolean | enabled |
int | id |
Boolean | supported |
Definition at line 163 of file CorrelationAttribute.java.
org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.Type | ( | int | id, |
String | displayName, | ||
String | dbTableName, | ||
Boolean | supported, | ||
Boolean | enabled | ||
) | throws EamDbException |
id | Unique ID for this Correlation Type |
displayName | Name of this type displayed in the UI. |
dbTableName | Central repository db table where data of this type is stored. Must start with a lowercase letter and only contain lowercase letters, numbers, and '_' characters. |
supported | Is this Type currently supported |
enabled | Is this Type currentl enabled. |
Definition at line 182 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.dbTableName, org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.displayName, org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.enabled, org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.id, and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.supported.
org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.Type | ( | String | displayName, |
String | dbTableName, | ||
Boolean | supported, | ||
Boolean | enabled | ||
) | throws EamDbException |
Constructior for custom types where we do not know the Type ID until the row has been entered into the correlation_types table in the central repository.
displayName | Name of this type displayed in the UI. |
dbTableName | Central repository db table where data of this type is stored Must start with a lowercase letter and only contain lowercase letters, numbers, and '_' characters. |
supported | Is this Type currently supported |
enabled | Is this Type currentl enabled. |
Definition at line 205 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.dbTableName, org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.displayName, org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.enabled, and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.supported.
boolean org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.equals | ( | Object | that | ) |
Determine if 2 Type objects are equal
otherType | Type object for comparison. |
Definition at line 217 of file CorrelationAttribute.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.equals().
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.getDbTableName | ( | ) |
To support having different database tables for each Type, this field provides the prefix/suffix of the table name, which allows us to automatically compute the table names and index names.
It is the prefix for the instances tables *_instances. (i.e. file_instances) It is the suffix for the reference tables reference_*. (i.e. reference_file)
When custom Types are added in the future, they are already supported by just giving the desired value for the table name for each custom Type. Possibly having all custom Types use a common table name.
Definition at line 341 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.dbTableName.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.toString().
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.getDisplayName | ( | ) |
Definition at line 315 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.displayName.
Referenced by org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCasesTableModel.mapValueById(), and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.toString().
int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.getId | ( | ) |
Definition at line 265 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.id.
Referenced by org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.getReferenceInstancesAsArtifactInstances(), and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.toString().
int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.hashCode | ( | ) |
Definition at line 242 of file CorrelationAttribute.java.
Boolean org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.isEnabled | ( | ) |
Check if this Artifact Type is enabled.
Definition at line 299 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.enabled.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.toString().
Boolean org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.isSupported | ( | ) |
Check if this Artifact Type is supported.
Definition at line 281 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.supported.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.toString().
|
private |
Determines if the content of this artifact type object is equivalent to the content of another artifact type object.
that | the other type |
Definition at line 235 of file CorrelationAttribute.java.
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setDbTableName | ( | String | dbTableName | ) | throws EamDbException |
To support having different database tables for each Type, this field provides the prefix/suffix of the table name, which allows us to automatically compute the table names and index names.
It is the prefix for the instances tables *_instances. (i.e. file_instances) It is the suffix for the reference tables reference_*. (i.e. reference_file)
When custom Types are added in the future, they are already supported by just giving the desired value for the table name for each custom Type. Possibly having all custom Types use a common table name. (i.e. custom_instances)
dbTableName | the dbTableName to set. Must start with lowercase letter and can only contain lowercase letters, numbers, and '_' characters. |
EamDbException | if dbTableName contains invalid characters |
Definition at line 363 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.dbTableName.
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setDisplayName | ( | String | displayName | ) |
displayName | the displayName to set |
Definition at line 322 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.displayName.
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setEnabled | ( | Boolean | enabled | ) |
Set this Artifact Type as enabled or not enabled.
enabled | the enabled to set |
Definition at line 308 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.enabled.
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setId | ( | int | id | ) |
id | the id to set |
Definition at line 272 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.id.
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setSupported | ( | Boolean | supported | ) |
Set this Artifact Type as supported or not supported.
supported | the supported to set |
Definition at line 290 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.supported.
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.toString | ( | ) |
Definition at line 251 of file CorrelationAttribute.java.
References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.getDbTableName(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.getDisplayName(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.getId(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.isEnabled(), and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.isSupported().
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.toString().
|
private |
Definition at line 170 of file CorrelationAttribute.java.
|
private |
Definition at line 167 of file CorrelationAttribute.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.getDbTableName(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setDbTableName(), and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.Type().
|
private |
Definition at line 166 of file CorrelationAttribute.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.getDisplayName(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setDisplayName(), and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.Type().
|
private |
Definition at line 169 of file CorrelationAttribute.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.isEnabled(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setEnabled(), and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.Type().
|
private |
Definition at line 165 of file CorrelationAttribute.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.getId(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setId(), and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.Type().
|
private |
Definition at line 168 of file CorrelationAttribute.java.
Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.isSupported(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.setSupported(), and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttribute.Type.Type().
Copyright © 2012-2016 Basis Technology. Generated on: Fri Sep 29 2017
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.