19 package org.sleuthkit.autopsy.centralrepository.datamodel;
21 import java.io.Serializable;
22 import java.text.DateFormat;
23 import java.text.SimpleDateFormat;
24 import java.util.Date;
25 import org.openide.util.NbBundle.Messages;
35 private static final DateFormat
DATE_FORMAT =
new SimpleDateFormat(
"yyyy/MM/dd HH:mm:ss (z)");
54 this(-1,
caseUUID, null,
displayName, DATE_FORMAT.format(
new Date()), null, null, null, null, null);
81 StringBuilder str =
new StringBuilder();
83 str.append(
"ID=").append(Integer.toString(
getID()));
92 str.append(
",notes=").append(
getNotes());
94 return str.toString();
97 @Messages({
"EamCase.title.caseUUID=Case UUID: "})
99 return Bundle.EamCase_title_caseUUID();
102 @Messages({
"EamCase.title.creationDate=Creation Date: "})
104 return Bundle.EamCase_title_creationDate();
107 @Messages({
"EamCase.title.caseDisplayName=Case Name: "})
109 return Bundle.EamCase_title_caseDisplayName();
112 @Messages({
"EamCase.title.caseNumber=Case Number: "})
114 return Bundle.EamCase_title_caseNumber();
117 @Messages({
"EamCase.title.examinerName=Examiner Name: "})
119 return Bundle.EamCase_title_examinerName();
122 @Messages({
"EamCase.title.examinerEmail=Examiner Email: "})
124 return Bundle.EamCase_title_examinerEmail();
127 @Messages({
"EamCase.title.examinerPhone=Examiner Phone: "})
129 return Bundle.EamCase_title_examinerPhone();
132 @Messages({
"EamCase.title.org=Organization: "})
134 return Bundle.EamCase_title_org();
137 @Messages({
"EamCase.title.notes=Notes: "})
139 return Bundle.EamCase_title_notes();
143 StringBuilder content =
new StringBuilder();
153 return content.toString();
274 return null == notes ?
"" :
notes;
String getTitleExaminerEmail()
void setCreationDate(String creationDate)
String getTitleCaseNumber()
String getTitleExaminerName()
String getTitleExaminerPhone()
String getTitleOrganization()
String getTitleCaseUUID()
String getTitleCaseDisplayName()
void setExaminerPhone(String examinerPhone)
void setExaminerName(String examinerName)
void setCaseNumber(String caseNumber)
static final DateFormat DATE_FORMAT
void setDisplayName(String displayName)
void setOrg(EamOrganization org)
void setNotes(String notes)
String getCaseDetailsOptionsPaneDialog()
String getExaminerEmail()
String getExaminerPhone()
static long serialVersionUID
String getTitleCreationDate()
void setExaminerEmail(String examinerEmail)
CorrelationCase(String caseUUID, String displayName)