Inherits Serializable.
|
boolean | sameType (CorrelationAttributeInstance.Type that) |
|
Correlation Types which determine which table to query in the CR
Definition at line 318 of file CorrelationAttributeInstance.java.
org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.Type |
( |
int |
typeId, |
|
|
String |
displayName, |
|
|
String |
dbTableName, |
|
|
Boolean |
supported, |
|
|
Boolean |
enabled |
|
) |
| throws CentralRepoException |
- Parameters
-
typeId | 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 currently enabled. |
Definition at line 340 of file CorrelationAttributeInstance.java.
org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.Type |
( |
String |
displayName, |
|
|
String |
dbTableName, |
|
|
Boolean |
supported, |
|
|
Boolean |
enabled |
|
) |
| throws CentralRepoException |
Constructor 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.
- Parameters
-
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 currently enabled. |
Definition at line 367 of file CorrelationAttributeInstance.java.
boolean org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.equals |
( |
Object |
that | ) |
|
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.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.
- Returns
- the dbTableName
Definition at line 508 of file CorrelationAttributeInstance.java.
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.getDisplayName |
( |
| ) |
|
int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.getId |
( |
| ) |
|
int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.hashCode |
( |
| ) |
|
Boolean org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.isEnabled |
( |
| ) |
|
Boolean org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.isSupported |
( |
| ) |
|
boolean org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.sameType |
( |
CorrelationAttributeInstance.Type |
that | ) |
|
|
private |
Determines if the content of this artifact type object is equivalent to the content of another artifact type object.
- Parameters
-
- Returns
- true if it is the same type
Definition at line 397 of file CorrelationAttributeInstance.java.
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.setDbTableName |
( |
String |
dbTableName | ) |
throws CentralRepoException |
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)
- Parameters
-
dbTableName | the dbTableName to set. Must start with lowercase letter and can only contain lowercase letters, numbers, and '_' characters. |
- Exceptions
-
Definition at line 532 of file CorrelationAttributeInstance.java.
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.setDisplayName |
( |
String |
displayName | ) |
|
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.setEnabled |
( |
Boolean |
enabled | ) |
|
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.setId |
( |
int |
typeId | ) |
|
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.setSupported |
( |
Boolean |
supported | ) |
|
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.toString |
( |
| ) |
|
final String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.DB_NAMES_REGEX = "[a-z][a-z0-9_]*" |
|
staticprivate |
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.dbTableName |
|
private |
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.displayName |
|
private |
Boolean org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.enabled |
|
private |
Boolean org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.supported |
|
private |
int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.Type.typeId |
|
private |
The documentation for this class was generated from the following file: