19 package org.sleuthkit.autopsy.centralrepository.application;
 
   64         this.typeStr = type.getDisplayName();
 
   69         originalCorrelationInstance = instance;
 
   81         caseName = autopsyCase.getDisplayName();
 
   85             dataSourceName = dataSource.
getName();
 
   86         } 
catch (TskDataException | TskCoreException ex) {
 
   87             throw new CentralRepoException(
"Error loading data source for abstract file ID " + newFile.getId(), ex);
 
   90         filePath = newFile.getParentPath() + newFile.getName();
 
   92         value = newFile.getMd5Hash();
 
   93         known = newFile.getKnown();
 
   96         originalAbstractFile = newFile;
 
  104     boolean isFileType() {
 
  105         return FILE_TYPE_STR.
equals(typeStr);
 
  113     void updateKnown(TskData.FileKnown newKnownStatus) {
 
  114         known = newKnownStatus;
 
  123         comment = newComment;
 
  205         if (originalAbstractFile == null) {
 
  206             throw new CentralRepoException(
"AbstractFile is null");
 
  220         if (originalCorrelationInstance == null) {
 
  221             throw new CentralRepoException(
"CorrelationAttributeInstance is null");
 
  242     String toCsvString() {
 
  243         StringBuilder line = 
new StringBuilder(
"\"");
 
  244         line.append(
getCaseName()).append(CSV_ITEM_SEPARATOR)
 
  246                 .append(
getType()).append(CSV_ITEM_SEPARATOR)
 
  247                 .append(
getValue()).append(CSV_ITEM_SEPARATOR)
 
  248                 .append(
getKnown().toString()).append(CSV_ITEM_SEPARATOR)
 
  251                 .append(System.getProperty(
"line.separator"));
 
  252         return line.toString();
 
NodeData(CorrelationAttributeInstance instance, CorrelationAttributeInstance.Type type, String value)
AbstractFile originalAbstractFile
CorrelationAttributeInstance getCorrelationAttributeInstance()
TskData.FileKnown getKnown()
TskData.FileKnown getKnownStatus()
static final String CSV_ITEM_SEPARATOR
static String getCsvItemSeparator()
boolean equals(Object obj)
static final String FILE_TYPE_STR
CorrelationDataSource getCorrelationDataSource()
CorrelationCase getCorrelationCase()
CorrelationAttributeInstance originalCorrelationInstance
String getDataSourceName()
AbstractFile getAbstractFile()
void updateComment(String newComment)